From petedao at gmail.com Fri Jan 1 11:02:33 2016 From: petedao at gmail.com (Pete Kay) Date: Fri, 1 Jan 2016 03:02:33 -0500 Subject: [Freeswitch-users] Alsa to RTP Message-ID: Hi I am able to use aplay to playback media from a wav file and arecord to record from sound card to a wav file. I would like to playback the media to freeswitch via playback and send the RTP to arecord. Does anyone know how to do it? Is there any sample that shows how this can be done? Thanks, Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160101/9e1cd5ae/attachment.html From vishal.s1504 at gmail.com Fri Jan 1 22:26:50 2016 From: vishal.s1504 at gmail.com (vishal) Date: Fri, 1 Jan 2016 19:26:50 +0000 (UTC) Subject: [Freeswitch-users] =?utf-8?q?how_enable_modules_in_freeswitch_or_?= =?utf-8?q?how_to_enble_mod=5Fh323=3F?= Message-ID: hello guyss...... plzz help me.... its argent plz give me the information how to enable module in freeswitch... i want enable mod_h323 or opal...??? i am newly working on that so please guide me... i am trying so much bt not hpnd.... plz help me..... me put information on my email... vishal.s1504 at gmail.com i am using freeswitch latest version. & also use on debian 8 machine... From alhakeem at gmail.com Fri Jan 1 23:10:30 2016 From: alhakeem at gmail.com (Abdul Hakeem) Date: Fri, 1 Jan 2016 20:10:30 -0000 Subject: [Freeswitch-users] sip simple delivery In-Reply-To: References: , , , , , , , , Message-ID: Hello Juan Pablo, Thanks for the previous message. I wanted to know if the text messages are simply on-Net with users registered to FS only or you are able to route to other networks via SMPP/HTTP as SMS. Best regards, Abdul Hakeem From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Juan Pablo L. Sent: Wednesday, October 21, 2015 12:18 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] sip simple delivery Hi Abdul, yes of course, this is what i m doing: I m creating an application that processes text messages from users, my application checks if a user has balance or not and depending on the case it allows or not the message to be delivered, so i have enabled mod_sms, and configured the chat plan as follows: smartvoip_sms is my application and as you can see that is how i set the 'final_delivery' flag, i could have done programmatically too but so far that works for me. tell me if this is what you need. regards!! _____ From: alhakeem at gmail.com To: freeswitch-users at lists.freeswitch.org Date: Tue, 20 Oct 2015 22:28:40 +0100 Subject: Re: [Freeswitch-users] sip simple delivery Juan, Are you able to share how you added the 'final delivery' header to the message ? Cheers, Abdul Hakeem From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Juan Pablo L. Sent: Tuesday, October 20, 2015 9:36 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] sip simple delivery just wanted to confirm that this was what i was looking for, thank you very much! _____ Date: Fri, 16 Oct 2015 18:43:48 +0000 From: jpablolorenzetti at hotmail.com To: freeswitch-users at lists.freeswitch.org; freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] sip simple delivery I will try .. thank you very much ... I will come back with the results ... Sent by Outlook for Android On Fri, Oct 16, 2015 at 8:43 AM -0700, "Russell Treleaven" wrote: I think this is what you want. Not sure because it was quite a while ago that I looked at this. you need to add a header "final_delivery" to the message with a value of "true" Hope that helps. On Fri, Oct 16, 2015 at 12:01 AM, Juan Pablo L. wrote: Hi, can anyone please give me a hint on this ? thank you! _____ From: jpablolorenzetti at hotmail.com To: freeswitch-users at lists.freeswitch.org Date: Wed, 14 Oct 2015 22:30:54 +0000 Subject: [Freeswitch-users] sip simple delivery Hi, i would like to find out how can i stop a sip simple from being delivered once it has been dealt with, i have a module that receives the event and decides whether to deliver it or not based on some criteria ($$), but it does not matter what the module does, after it has finished precessing the message, freeswitch still delivers it. i understand it does this by default, any advise would be 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160101/eed47a70/attachment-0001.html From derkan at gmail.com Sat Jan 2 00:15:38 2016 From: derkan at gmail.com (Erkan Durmus) Date: Fri, 1 Jan 2016 23:15:38 +0200 Subject: [Freeswitch-users] FreeSWITCHers' 2015 has been GREAT In-Reply-To: References: Message-ID: <5686EC7A.7020009@gmail.com> +1 On 12/31/2015 07:33 PM, Tony White wrote: > +1 > > ...and Happy New Year to all. > > On 31/12/2015, Giovanni Maruzzelli wrote: >> Heya fellas, >> >> first of all I want to thank our Supreme Master, Anthony Minessale II, and >> the Jedi Knights Brian West, Mike Jerris, Ken Rice, William King, Kathleen >> King, Italo Rossi. >> >> It's because of these persons, of their craft, of their sleepless nights, >> of their creativity, vision and dedication that we can use and contribute >> to the most advanced audio/video application platform in the known >> Universe. >> >> Then I want to thank our beautiful, friendly, caring and wise Community. >> We're never alone. >> >> Forward! >> >> Toward further future achievements ! >> >> -giovanni >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> > From andrew.keil at visytel.com Sat Jan 2 02:33:45 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Fri, 1 Jan 2016 23:33:45 +0000 Subject: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved In-Reply-To: References: Message-ID: Brian, Sorry for the delay in responding to your message. I will be looking into this next week and should have a response for you then. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Thursday, 31 December 2015 12:10 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Your posting was very helpful. Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd? Doesn?t appear that the old init.d method appropriate. I saw a hint for a shell script in the source but it is no longer there. Thank you, Brian Edgar From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, September 21, 2015 10:38 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Yeah you shouldn't shy away from IPv6 it's really easy to setup. On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" > wrote: Brian, Sorry this was only relevant to my test setup. I should have removed these lines prior to posting my last message. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 22 September 2015 12:15 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Whats the purpose of disabling ipv6 support? On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil > wrote: To all, Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm Now when I perform the yum install commands and it pulls down the right version and everything works as expected. Here is my procedure (for those who wish to use the manual configure/make approach): Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation): Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command) 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect. 3) yum -y install git 4) yum -y install epel-release 5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm 6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel 7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml Change: {!!set it to something different!!} Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/sip_profiles 20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support} 21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support} 22) cd /usr/local/freeswitch/bin 23) ./freeswitch -nonat -nonatmap 24) ... to exit from FreeSWITCH console FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 12:06 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) This worked! However mod_opus fails now. Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz Getting there! Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 8:46 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) Thanks I will give this a try. On 19 Sep 2015, at 12:07 AM, Christopher Rienzo > wrote: sudo yum install lua-devel On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil > wrote: To FreeSWITCH users, I am attempting to make the latest FreeSWITCH release on CentOS 7 (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH). CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully). As root user: yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel {also did the following to see if these will help} yum install libyuv-devel yum install libvpx-devel yum install libidn-devel yum install unbound-devel yum install libdb4* yum install libuuid-devel cd /usr/local/src git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh vi modules.conf {comment out mod_fsv (due to libyuv-devel error)} ./configure ./make making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory #include "lua.h" The mod_fsv issue I do not care so much about however Lua I need. FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2. I hope someone has an idea of what to try next. Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here! | 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/20160101/a71d851a/attachment-0001.html From shishko69 at gmail.com Sat Jan 2 08:56:58 2016 From: shishko69 at gmail.com (Denis Papes) Date: Sat, 2 Jan 2016 06:56:58 +0100 Subject: [Freeswitch-users] how enable modules in freeswitch or how to enble mod_h323? In-Reply-To: References: Message-ID: <568766AA.4040806@gmail.com> First you should install libpt-dev and libh323plus-dev packages apt-get install libpt-dev libh323plus-dev and then build and install h323 module make mod_h323 make mod_h323-install On 01/01/2016 08:26 PM, vishal wrote: > hello guyss...... > > plzz help me.... > its argent plz give me the information how to enable module in freeswitch... > i want enable mod_h323 or opal...??? > > i am newly working on that so please guide me... > i am trying so much bt not hpnd.... > plz help me..... > > me put information on my email... > vishal.s1504 at gmail.com > > i am using freeswitch latest version. > & also use on debian 8 machine... > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 abalashov at evaristesys.com Sat Jan 2 23:22:11 2016 From: abalashov at evaristesys.com (Alex Balashov) Date: Sat, 2 Jan 2016 15:22:11 -0500 Subject: [Freeswitch-users] Crash in v1.6.5 Message-ID: <56883173.2080008@evaristesys.com> (Cross-posting from Freeswitch-dev because that list doesn't appear to be terribly active? Perhaps I am mistaken, in which case, sorry!) Hi, I'm running v1.6.5:70b8c17, and recently ran into this crash scenario: (gdb) where #0 switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1357 #1 0x00007f955ec53ce9 in sofia_update_callee_id (session=0x0, profile=0x1a7ce80, sip=0x7f940c20b728, send=SWITCH_TRUE) at sofia.c:1086 #2 0x00007f955ec59e55 in our_sofia_event_callback (event=nua_i_update, status=200, phrase=0x7f9525d82270 "OK", nua=0x7f953c0120e0, profile=0x1a7ce80, nh=0x7f944fc705a0, sofia_private=0x7f944ef34460, sip=0x7f940c20b728, de=0x7f953c012d40, tags=0x7f9525d82260) at sofia.c:1594 #3 0x00007f955ec5f4fb in sofia_process_dispatch_event (dep=) at sofia.c:1983 #4 0x00007f955ec60266 in sofia_msg_thread_run (thread=, obj=0x7f955ebf5ad8) at sofia.c:2031 #5 0x00007f95625f899b in dummy_worker (opaque=0x1a732d0) at threadproc/unix/thread.c:151 #6 0x00007f95617a2a51 in start_thread () from /lib64/libpthread.so.0 #7 0x0000003acfae893d in clone () from /lib64/libc.so.6 Specifically, the crash was on an assertion that tried to dereference a null session pointer: #0 switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1357 1357 switch_assert(session->channel); However, while I am a C programmer, I don't know the first thing about FS internals and thus don't know what else to look for in this core dump so as to make a useful report. My assumption is that a check for NULL session pointer somewhere in frames 0/1 isn't really an adequate compensatory mechanism because the root of the problem lies elsewhere. I did manage to track down the definition of Sofia's 'sip_t' structure and, it looks to me like this happened while either generating a 200 OK response to an UPDATE request: (gdb) print sip->sip_request->rq_method $1 = sip_method_update And it doesn't appear to be in the course of processing a reply, because the status substructure seems blank: (gdb) print sip->sip_status $2 = (sip_status_t *) 0x0 However, I don't know how to get at the raw message buffer of the UPDATE request. Any help would be appreciated! -- Alex -- 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 krice at freeswitch.org Sat Jan 2 23:30:13 2016 From: krice at freeswitch.org (Ken Rice) Date: Sat, 2 Jan 2016 14:30:13 -0600 Subject: [Freeswitch-users] Crash in v1.6.5 In-Reply-To: <56883173.2080008@evaristesys.com> References: <56883173.2080008@evaristesys.com> Message-ID: <0ce501d1459c$62ac2a80$28047f80$@freeswitch.org> Bug Reports go to Jira https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex Balashov Sent: Saturday, January 2, 2016 2:22 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Crash in v1.6.5 (Cross-posting from Freeswitch-dev because that list doesn't appear to be terribly active? Perhaps I am mistaken, in which case, sorry!) Hi, I'm running v1.6.5:70b8c17, and recently ran into this crash scenario: (gdb) where #0 switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1357 #1 0x00007f955ec53ce9 in sofia_update_callee_id (session=0x0, profile=0x1a7ce80, sip=0x7f940c20b728, send=SWITCH_TRUE) at sofia.c:1086 #2 0x00007f955ec59e55 in our_sofia_event_callback (event=nua_i_update, status=200, phrase=0x7f9525d82270 "OK", nua=0x7f953c0120e0, profile=0x1a7ce80, nh=0x7f944fc705a0, sofia_private=0x7f944ef34460, sip=0x7f940c20b728, de=0x7f953c012d40, tags=0x7f9525d82260) at sofia.c:1594 #3 0x00007f955ec5f4fb in sofia_process_dispatch_event (dep=) at sofia.c:1983 #4 0x00007f955ec60266 in sofia_msg_thread_run (thread=, obj=0x7f955ebf5ad8) at sofia.c:2031 #5 0x00007f95625f899b in dummy_worker (opaque=0x1a732d0) at threadproc/unix/thread.c:151 #6 0x00007f95617a2a51 in start_thread () from /lib64/libpthread.so.0 #7 0x0000003acfae893d in clone () from /lib64/libc.so.6 Specifically, the crash was on an assertion that tried to dereference a null session pointer: #0 switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1357 1357 switch_assert(session->channel); However, while I am a C programmer, I don't know the first thing about FS internals and thus don't know what else to look for in this core dump so as to make a useful report. My assumption is that a check for NULL session pointer somewhere in frames 0/1 isn't really an adequate compensatory mechanism because the root of the problem lies elsewhere. I did manage to track down the definition of Sofia's 'sip_t' structure and, it looks to me like this happened while either generating a 200 OK response to an UPDATE request: (gdb) print sip->sip_request->rq_method $1 = sip_method_update And it doesn't appear to be in the course of processing a reply, because the status substructure seems blank: (gdb) print sip->sip_status $2 = (sip_status_t *) 0x0 However, I don't know how to get at the raw message buffer of the UPDATE request. Any help would be appreciated! -- Alex -- 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 bedgar at vseinc.com Sun Jan 3 04:05:26 2016 From: bedgar at vseinc.com (Brian Edgar) Date: Sun, 3 Jan 2016 01:05:26 +0000 Subject: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved In-Reply-To: References: Message-ID: Andrew, Much appreciated. Brian From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Friday, January 1, 2016 6:34 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Brian, Sorry for the delay in responding to your message. I will be looking into this next week and should have a response for you then. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Thursday, 31 December 2015 12:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Your posting was very helpful. Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd? Doesn?t appear that the old init.d method appropriate. I saw a hint for a shell script in the source but it is no longer there. Thank you, Brian Edgar From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, September 21, 2015 10:38 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Yeah you shouldn't shy away from IPv6 it's really easy to setup. On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" > wrote: Brian, Sorry this was only relevant to my test setup. I should have removed these lines prior to posting my last message. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 22 September 2015 12:15 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Whats the purpose of disabling ipv6 support? On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil > wrote: To all, Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm Now when I perform the yum install commands and it pulls down the right version and everything works as expected. Here is my procedure (for those who wish to use the manual configure/make approach): Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation): Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command) 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect. 3) yum -y install git 4) yum -y install epel-release 5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm 6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel 7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml Change: {!!set it to something different!!} Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/sip_profiles 20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support} 21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support} 22) cd /usr/local/freeswitch/bin 23) ./freeswitch -nonat -nonatmap 24) ... to exit from FreeSWITCH console FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 12:06 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) This worked! However mod_opus fails now. Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz Getting there! Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 8:46 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) Thanks I will give this a try. On 19 Sep 2015, at 12:07 AM, Christopher Rienzo > wrote: sudo yum install lua-devel On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil > wrote: To FreeSWITCH users, I am attempting to make the latest FreeSWITCH release on CentOS 7 (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH). CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully). As root user: yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel {also did the following to see if these will help} yum install libyuv-devel yum install libvpx-devel yum install libidn-devel yum install unbound-devel yum install libdb4* yum install libuuid-devel cd /usr/local/src git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh vi modules.conf {comment out mod_fsv (due to libyuv-devel error)} ./configure ./make making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory #include "lua.h" The mod_fsv issue I do not care so much about however Lua I need. FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2. I hope someone has an idea of what to try next. Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here! | 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/20160103/87bcf146/attachment-0001.html From nbhatti at gmail.com Sun Jan 3 16:14:01 2016 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Sun, 3 Jan 2016 16:14:01 +0300 Subject: [Freeswitch-users] Call rejecting while IP in the ACL Message-ID: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 true freeswitch at internal> reloadacl +OK acl reloaded 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26] to list domains 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] But when I make a call, it goes straight to HANGUP. 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_NEW 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26) State NEW 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_HANGUP 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26) Callstate Change DOWN -> HANGUP 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26) State HANGUP 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26) State HANGUP going to sleep 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26) State Change CS_HANGUP -> CS_REPORTING 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_REPORTING 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26) State REPORTING 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26) State REPORTING going to sleep 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26) State Change CS_REPORTING -> CS_DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26) Locked, Waiting on external entities 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26) Ended 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26) State DESTROY 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26) State DESTROY going to sleep Can?t seem to figure out if I am missing something here. My acl is served as, Thanks, Muhammad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160103/da1d28d1/attachment.html From therebel22 at gmail.com Sun Jan 3 12:45:25 2016 From: therebel22 at gmail.com (Marc S) Date: Sun, 3 Jan 2016 10:45:25 +0100 Subject: [Freeswitch-users] Freeswitch as Registrar for SIP Trunk Message-ID: Hello, i'm discovering FS. I hav read a lot about users and gateways. I would like to FS act as registrar for authenticated SIP trunking. - Customers IPBX would register with login/password to Freeswitch. - Incoming call would be routed to these SIP trunks in dialplan XML. directory/users does not seem to be the solution because in dialplan, destination DID can't be defined, only user id : gateway seems to be designed for SIP trunking to remote SIP gateway, not for FS to act as registrar. Is it possible to FS to act as authenticated SIP trunking registrar ? Thanks a lot, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160103/3da11f1f/attachment.html From bhavikpatel.aha at gmail.com Sun Jan 3 17:00:45 2016 From: bhavikpatel.aha at gmail.com (Bhavik Patel) Date: Sun, 3 Jan 2016 19:30:45 +0530 Subject: [Freeswitch-users] Add codec Message-ID: Hi, in FreeSWITCH, how can I add following codec: codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE -- Bhavik Patel DA-IICT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160103/8a9e56ff/attachment.html From brian at freeswitch.org Sun Jan 3 21:10:39 2016 From: brian at freeswitch.org (Brian West) Date: Sun, 3 Jan 2016 12:10:39 -0600 Subject: [Freeswitch-users] Add codec In-Reply-To: References: Message-ID: In what context do you wish to add them, because it would appear it's already loaded! On Sunday, January 3, 2016, Bhavik Patel wrote: > Hi, > > in FreeSWITCH, how can I add following codec: > > codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE > > > > -- > Bhavik Patel > DA-IICT > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160103/1daab6b9/attachment.html From bhavikpatel.aha at gmail.com Mon Jan 4 06:36:15 2016 From: bhavikpatel.aha at gmail.com (Bhavik Patel) Date: Mon, 4 Jan 2016 09:06:15 +0530 Subject: [Freeswitch-users] Add codec In-Reply-To: References: Message-ID: Hi, Actually, I am trying to set up FreeSWITCH with twilio. But I am getting "SIP/2.0 415 Unsupported media type". Here is the log : https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace According to twilio support, this is because I have not enable G.711 codec in my FreeSWITCH. Thanks, On Sun, Jan 3, 2016 at 11:40 PM, Brian West wrote: > In what context do you wish to add them, because it would appear it's > already loaded! > > > On Sunday, January 3, 2016, Bhavik Patel > wrote: > >> Hi, >> >> in FreeSWITCH, how can I add following codec: >> >> codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE >> >> >> >> -- >> Bhavik Patel >> DA-IICT >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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 > -- Bhavik Patel DA-IICT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/f737a2ce/attachment-0001.html From john.nash778 at gmail.com Mon Jan 4 08:02:18 2016 From: john.nash778 at gmail.com (John Nash) Date: Mon, 4 Jan 2016 10:32:18 +0530 Subject: [Freeswitch-users] Dialogs stay in memory until restart in state 5 Message-ID: I am using OpenSIPS (2.1.1 (x86_64/linux)) with dialogs module and topology hiding modules. I am not saving dialogs in database. After I run it for few hours and stop traffic i see hundreds of dialogs using fifo command which wont be deleted from memory until I restart. I see dialogs like .. dialog:: hash=4094:1281471850 state:: 5 user_flags:: 0 timestart:: 0 timeout:: 0 callid:: 8abe7f9e-2cd5-1234-84b0-d4ae52bce047 from_uri:: sip:4117834663 at 127.0.0.1 to_uri:: sip:119603452947 at 127.0.0.1:5060 I saw couple of old posts and tried using "Pp" parameter in create_dialog but it does not seem to be of any effect. In logs I also see messages like "ERROR:dialog:push_reply_in_dialog: [487] reply in dlg state [2]: missing TAG param in TO hdr" which I am not sure are related to my problem. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/ac77748e/attachment.html From andrew.keil at visytel.com Mon Jan 4 09:27:06 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Mon, 4 Jan 2016 06:27:06 +0000 Subject: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved In-Reply-To: References: Message-ID: Brian, I am a little pushed for time this week. I checked performing the following which works and should get you up and running for now. Login as root user from inside the Terminal (su -) cd /etc/rc.d/init.d vi freeswitch Add the the following lines (changing FS_USER=${FS_USER-your_user ? replace ?your_user? with the user that you login to CentOS-7}: #!/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-/usr/local/freeswitch/run/freeswitch.pid} #FS_USER=${FS_USER-freeswitch} FS_USER=${FS_USER-your_user} FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch} FS_HOME=${FS_HOME-/usr/local/freeswitch} LOCK_FILE=/var/lock/subsys/freeswitch #FREESWITCH_ARGS="-nc" FREESWITCH_ARGS="-nc -nonat -nonatmap" 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 Save and close (wq!) chmod 0750 freeswitch chkconfig --add freeswitch && chkconfig --levels 35 freeswitch on service freeswitch start This will autostart freeswitch when you next restart CentOS 7. You can still use the old ?service freeswitch stop? and ?service freeswitch start? when logged in as root user. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Sunday, 3 January 2016 12:05 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Much appreciated. Brian From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Friday, January 1, 2016 6:34 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Brian, Sorry for the delay in responding to your message. I will be looking into this next week and should have a response for you then. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Thursday, 31 December 2015 12:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Your posting was very helpful. Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd? Doesn?t appear that the old init.d method appropriate. I saw a hint for a shell script in the source but it is no longer there. Thank you, Brian Edgar From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, September 21, 2015 10:38 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Yeah you shouldn't shy away from IPv6 it's really easy to setup. On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" > wrote: Brian, Sorry this was only relevant to my test setup. I should have removed these lines prior to posting my last message. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 22 September 2015 12:15 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Whats the purpose of disabling ipv6 support? On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil > wrote: To all, Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm Now when I perform the yum install commands and it pulls down the right version and everything works as expected. Here is my procedure (for those who wish to use the manual configure/make approach): Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation): Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command) 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect. 3) yum -y install git 4) yum -y install epel-release 5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm 6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel 7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml Change: {!!set it to something different!!} Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/sip_profiles 20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support} 21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support} 22) cd /usr/local/freeswitch/bin 23) ./freeswitch -nonat -nonatmap 24) ... to exit from FreeSWITCH console FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 12:06 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) This worked! However mod_opus fails now. Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz Getting there! Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 8:46 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) Thanks I will give this a try. On 19 Sep 2015, at 12:07 AM, Christopher Rienzo > wrote: sudo yum install lua-devel On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil > wrote: To FreeSWITCH users, I am attempting to make the latest FreeSWITCH release on CentOS 7 (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH). CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully). As root user: yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel {also did the following to see if these will help} yum install libyuv-devel yum install libvpx-devel yum install libidn-devel yum install unbound-devel yum install libdb4* yum install libuuid-devel cd /usr/local/src git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh vi modules.conf {comment out mod_fsv (due to libyuv-devel error)} ./configure ./make making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory #include "lua.h" The mod_fsv issue I do not care so much about however Lua I need. FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2. I hope someone has an idea of what to try next. Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here! | 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/20160104/f2d3637b/attachment-0001.html From shishko69 at gmail.com Mon Jan 4 09:11:18 2016 From: shishko69 at gmail.com (Denis Papes) Date: Mon, 4 Jan 2016 07:11:18 +0100 Subject: [Freeswitch-users] Add codec In-Reply-To: References: Message-ID: <568A0D06.7010603@gmail.com> Try putting {absolute_codec_string=PCMA} in bridge command On 01/04/2016 04:36 AM, Bhavik Patel wrote: > Hi, > > Actually, I am trying to set up FreeSWITCH with twilio. But I am > getting "SIP/2.0 415 Unsupported media type". > Here is the log : > https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace > > > According to twilio support, this is because I have not enable G.711 > codec in my FreeSWITCH. > > > Thanks, > > On Sun, Jan 3, 2016 at 11:40 PM, Brian West > wrote: > > In what context do you wish to add them, because it would appear > it's already loaded! > > > On Sunday, January 3, 2016, Bhavik Patel > > wrote: > > Hi, > > in FreeSWITCH, how can I add following codec: > > codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE > > -- > Bhavik Patel > DA-IICT > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | > 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 > > > > > -- > Bhavik Patel > DA-IICT > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/ea89c551/attachment.html From abalashov at evaristesys.com Mon Jan 4 09:43:46 2016 From: abalashov at evaristesys.com (Alex Balashov) Date: Mon, 4 Jan 2016 01:43:46 -0500 Subject: [Freeswitch-users] Dialogs stay in memory until restart in state 5 In-Reply-To: References: Message-ID: <568A14A2.20307@evaristesys.com> Hello, This sounds like an OpenSIPS question, not a FreeSWITCH question. On 01/04/2016 12:02 AM, John Nash wrote: > I am using OpenSIPS (2.1.1 (x86_64/linux)) with dialogs module and > topology hiding modules. > I am not saving dialogs in database. > > After I run it for few hours and stop traffic i see hundreds of dialogs > using fifo command which wont be deleted from memory until I restart. I > see dialogs like .. > dialog:: hash=4094:1281471850 > state:: 5 > user_flags:: 0 > timestart:: 0 > timeout:: 0 > callid:: 8abe7f9e-2cd5-1234-84b0-d4ae52bce047 > from_uri:: sip:4117834663 at 127.0.0.1 > > to_uri:: sip:119603452947 at 127.0.0.1:5060 > > > I saw couple of old posts and tried using "Pp" parameter in > create_dialog but it does not seem to be of any effect. > > In logs I also see messages like "ERROR:dialog:push_reply_in_dialog: > [487] reply in dlg state [2]: missing TAG param in TO hdr" which I am > not sure are related to my problem. > > > John > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- 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 bhavikpatel.aha at gmail.com Mon Jan 4 10:20:13 2016 From: bhavikpatel.aha at gmail.com (Bhavik Patel) Date: Mon, 4 Jan 2016 12:50:13 +0530 Subject: [Freeswitch-users] Add codec In-Reply-To: <568A0D06.7010603@gmail.com> References: <568A0D06.7010603@gmail.com> Message-ID: Hi, Thanks Denis, it worked. Now it is showing another error. "CODEC NEGOTIATION ERROR". I think it is because of "[WARNING] switch_core_media.c:3700 Crypto not negotiated but required.". I tried to solve it by putting "" in dialplan. but not solved. Here is the log: https://gist.githubusercontent.com/Bhavik3/47bfebe7d9d290b3f3c5/raw/49760fa0be14fd353122387096a2ac659eedd309/sofiaTrace2 Thanks, On Mon, Jan 4, 2016 at 11:41 AM, Denis Papes wrote: > Try putting {absolute_codec_string=PCMA} in bridge command > > > > > On 01/04/2016 04:36 AM, Bhavik Patel wrote: > > Hi, > > Actually, I am trying to set up FreeSWITCH with twilio. But I am getting "SIP/2.0 > 415 Unsupported media type". > Here is the log : > https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace > > > According to twilio support, this is because I have not enable G.711 codec > in my FreeSWITCH. > > > Thanks, > > On Sun, Jan 3, 2016 at 11:40 PM, Brian West wrote: > >> In what context do you wish to add them, because it would appear it's >> already loaded! >> >> >> On Sunday, January 3, 2016, Bhavik Patel < >> bhavikpatel.aha at gmail.com> wrote: >> >>> Hi, >>> >>> in FreeSWITCH, how can I add following codec: >>> >>> codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE >>> >>> -- >>> Bhavik Patel >>> DA-IICT >>> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | 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 >> > > > > -- > Bhavik Patel > DA-IICT > > > _________________________________________________________________________ > 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 > -- Bhavik Patel DA-IICT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/67f0f017/attachment-0001.html From brian at freeswitch.org Mon Jan 4 15:01:05 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 4 Jan 2016 06:01:05 -0600 Subject: [Freeswitch-users] Add codec In-Reply-To: References: <568A0D06.7010603@gmail.com> Message-ID: He already had PCMA in the SDP, what he probably needs is verbose SDP... Again it's a mistake to say PCMA isn't there, it's the number 8 in the audio m line. On Monday, January 4, 2016, Bhavik Patel wrote: > Hi, > > Thanks Denis, it worked. > > Now it is showing another error. "CODEC NEGOTIATION ERROR". > I think it is because of "[WARNING] switch_core_media.c:3700 Crypto not > negotiated but required.". > > I tried to solve it by putting " data="sip_secure_media=true"/>" in dialplan. but not solved. > > Here is the log: > > https://gist.githubusercontent.com/Bhavik3/47bfebe7d9d290b3f3c5/raw/49760fa0be14fd353122387096a2ac659eedd309/sofiaTrace2 > > > > Thanks, > > On Mon, Jan 4, 2016 at 11:41 AM, Denis Papes > wrote: > >> Try putting {absolute_codec_string=PCMA} in bridge command >> >> >> >> >> On 01/04/2016 04:36 AM, Bhavik Patel wrote: >> >> Hi, >> >> Actually, I am trying to set up FreeSWITCH with twilio. But I am getting "SIP/2.0 >> 415 Unsupported media type". >> Here is the log : >> https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace >> >> >> According to twilio support, this is because I have not enable G.711 >> codec in my FreeSWITCH. >> >> >> Thanks, >> >> On Sun, Jan 3, 2016 at 11:40 PM, Brian West > > wrote: >> >>> In what context do you wish to add them, because it would appear it's >>> already loaded! >>> >>> >>> On Sunday, January 3, 2016, Bhavik Patel < >>> >>> bhavikpatel.aha at gmail.com >>> > wrote: >>> >>>> Hi, >>>> >>>> in FreeSWITCH, how can I add following codec: >>>> >>>> codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE >>>> >>>> -- >>>> Bhavik Patel >>>> DA-IICT >>>> >>> >>> >>> -- >>> >>> *Brian West* >>> >>> brian at freeswitch.org >>> >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | 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 >>> >> >> >> >> -- >> Bhavik Patel >> DA-IICT >> >> >> _________________________________________________________________________ >> 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 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Bhavik Patel > DA-IICT > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160104/de520966/attachment.html From brian at freeswitch.org Mon Jan 4 15:02:12 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 4 Jan 2016 06:02:12 -0600 Subject: [Freeswitch-users] Add codec In-Reply-To: References: <568A0D06.7010603@gmail.com> Message-ID: It's no longer sip_secure_media, it's rtp_secure_media, and read the outline of this variable in vars.xml it's different in 1.4+ On Monday, January 4, 2016, Bhavik Patel wrote: > Hi, > > Thanks Denis, it worked. > > Now it is showing another error. "CODEC NEGOTIATION ERROR". > I think it is because of "[WARNING] switch_core_media.c:3700 Crypto not > negotiated but required.". > > I tried to solve it by putting " data="sip_secure_media=true"/>" in dialplan. but not solved. > > Here is the log: > > https://gist.githubusercontent.com/Bhavik3/47bfebe7d9d290b3f3c5/raw/49760fa0be14fd353122387096a2ac659eedd309/sofiaTrace2 > > > > Thanks, > > On Mon, Jan 4, 2016 at 11:41 AM, Denis Papes > wrote: > >> Try putting {absolute_codec_string=PCMA} in bridge command >> >> >> >> >> On 01/04/2016 04:36 AM, Bhavik Patel wrote: >> >> Hi, >> >> Actually, I am trying to set up FreeSWITCH with twilio. But I am getting "SIP/2.0 >> 415 Unsupported media type". >> Here is the log : >> https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace >> >> >> According to twilio support, this is because I have not enable G.711 >> codec in my FreeSWITCH. >> >> >> Thanks, >> >> On Sun, Jan 3, 2016 at 11:40 PM, Brian West > > wrote: >> >>> In what context do you wish to add them, because it would appear it's >>> already loaded! >>> >>> >>> On Sunday, January 3, 2016, Bhavik Patel < >>> >>> bhavikpatel.aha at gmail.com >>> > wrote: >>> >>>> Hi, >>>> >>>> in FreeSWITCH, how can I add following codec: >>>> >>>> codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE >>>> >>>> -- >>>> Bhavik Patel >>>> DA-IICT >>>> >>> >>> >>> -- >>> >>> *Brian West* >>> >>> brian at freeswitch.org >>> >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | 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 >>> >> >> >> >> -- >> Bhavik Patel >> DA-IICT >> >> >> _________________________________________________________________________ >> 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 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Bhavik Patel > DA-IICT > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160104/bf37cec5/attachment-0001.html From bhavikpatel.aha at gmail.com Mon Jan 4 16:37:14 2016 From: bhavikpatel.aha at gmail.com (Bhavik Patel) Date: Mon, 4 Jan 2016 19:07:14 +0530 Subject: [Freeswitch-users] Add codec In-Reply-To: References: <568A0D06.7010603@gmail.com> Message-ID: Hi, Thanks a lot! Problem solved. Thanks, On Mon, Jan 4, 2016 at 5:32 PM, Brian West wrote: > It's no longer sip_secure_media, it's rtp_secure_media, and read the > outline of this variable in vars.xml it's different in 1.4+ > > > On Monday, January 4, 2016, Bhavik Patel > wrote: > >> Hi, >> >> Thanks Denis, it worked. >> >> Now it is showing another error. "CODEC NEGOTIATION ERROR". >> I think it is because of "[WARNING] switch_core_media.c:3700 Crypto not >> negotiated but required.". >> >> I tried to solve it by putting "> data="sip_secure_media=true"/>" in dialplan. but not solved. >> >> Here is the log: >> >> https://gist.githubusercontent.com/Bhavik3/47bfebe7d9d290b3f3c5/raw/49760fa0be14fd353122387096a2ac659eedd309/sofiaTrace2 >> >> >> >> Thanks, >> >> On Mon, Jan 4, 2016 at 11:41 AM, Denis Papes wrote: >> >>> Try putting {absolute_codec_string=PCMA} in bridge command >>> >>> >>> >>> >>> On 01/04/2016 04:36 AM, Bhavik Patel wrote: >>> >>> Hi, >>> >>> Actually, I am trying to set up FreeSWITCH with twilio. But I am getting >>> "SIP/2.0 415 Unsupported media type". >>> Here is the log : >>> https://gist.githubusercontent.com/Bhavik3/1f2cb6ada3c2cdd4a9ed/raw/ab6ea7a27f9f66d726947cce3a56663b977a6266/sofiaTrace >>> >>> >>> According to twilio support, this is because I have not enable G.711 >>> codec in my FreeSWITCH. >>> >>> >>> Thanks, >>> >>> On Sun, Jan 3, 2016 at 11:40 PM, Brian West >>> wrote: >>> >>>> In what context do you wish to add them, because it would appear it's >>>> already loaded! >>>> >>>> >>>> On Sunday, January 3, 2016, Bhavik Patel >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> in FreeSWITCH, how can I add following codec: >>>>> >>>>> codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE >>>>> >>>>> -- >>>>> Bhavik Patel >>>>> DA-IICT >>>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> Got Bugs? Report them here ! | 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 >>>> >>> >>> >>> >>> -- >>> Bhavik Patel >>> DA-IICT >>> >>> >>> _________________________________________________________________________ >>> 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 >>> >> >> >> >> -- >> Bhavik Patel >> DA-IICT >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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 > -- Bhavik Patel DA-IICT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/e25e94d7/attachment.html From bedgar at vseinc.com Mon Jan 4 18:05:48 2016 From: bedgar at vseinc.com (Brian Edgar) Date: Mon, 4 Jan 2016 15:05:48 +0000 Subject: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved In-Reply-To: References: Message-ID: Andrew, I will perform the tasks and provide a result. Thank you for the timely response. Regards and Happy New Year! Brian From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Monday, January 4, 2016 1:27 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Brian, I am a little pushed for time this week. I checked performing the following which works and should get you up and running for now. Login as root user from inside the Terminal (su -) cd /etc/rc.d/init.d vi freeswitch Add the the following lines (changing FS_USER=${FS_USER-your_user ? replace ?your_user? with the user that you login to CentOS-7}: #!/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-/usr/local/freeswitch/run/freeswitch.pid} #FS_USER=${FS_USER-freeswitch} FS_USER=${FS_USER-your_user} FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch} FS_HOME=${FS_HOME-/usr/local/freeswitch} LOCK_FILE=/var/lock/subsys/freeswitch #FREESWITCH_ARGS="-nc" FREESWITCH_ARGS="-nc -nonat -nonatmap" 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 Save and close (wq!) chmod 0750 freeswitch chkconfig --add freeswitch && chkconfig --levels 35 freeswitch on service freeswitch start This will autostart freeswitch when you next restart CentOS 7. You can still use the old ?service freeswitch stop? and ?service freeswitch start? when logged in as root user. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Sunday, 3 January 2016 12:05 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Much appreciated. Brian From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Friday, January 1, 2016 6:34 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Brian, Sorry for the delay in responding to your message. I will be looking into this next week and should have a response for you then. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Thursday, 31 December 2015 12:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Your posting was very helpful. Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd? Doesn?t appear that the old init.d method appropriate. I saw a hint for a shell script in the source but it is no longer there. Thank you, Brian Edgar From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, September 21, 2015 10:38 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Yeah you shouldn't shy away from IPv6 it's really easy to setup. On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" > wrote: Brian, Sorry this was only relevant to my test setup. I should have removed these lines prior to posting my last message. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 22 September 2015 12:15 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Whats the purpose of disabling ipv6 support? On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil > wrote: To all, Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm Now when I perform the yum install commands and it pulls down the right version and everything works as expected. Here is my procedure (for those who wish to use the manual configure/make approach): Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation): Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command) 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect. 3) yum -y install git 4) yum -y install epel-release 5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm 6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel 7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml Change: {!!set it to something different!!} Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/sip_profiles 20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support} 21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support} 22) cd /usr/local/freeswitch/bin 23) ./freeswitch -nonat -nonatmap 24) ... to exit from FreeSWITCH console FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 12:06 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) This worked! However mod_opus fails now. Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz Getting there! Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 8:46 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) Thanks I will give this a try. On 19 Sep 2015, at 12:07 AM, Christopher Rienzo > wrote: sudo yum install lua-devel On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil > wrote: To FreeSWITCH users, I am attempting to make the latest FreeSWITCH release on CentOS 7 (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH). CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully). As root user: yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel {also did the following to see if these will help} yum install libyuv-devel yum install libvpx-devel yum install libidn-devel yum install unbound-devel yum install libdb4* yum install libuuid-devel cd /usr/local/src git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh vi modules.conf {comment out mod_fsv (due to libyuv-devel error)} ./configure ./make making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory #include "lua.h" The mod_fsv issue I do not care so much about however Lua I need. FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2. I hope someone has an idea of what to try next. Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here! | 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/20160104/5a2f4bae/attachment-0001.html From mike at jerris.com Mon Jan 4 19:30:51 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 4 Jan 2016 11:30:51 -0500 Subject: [Freeswitch-users] Alsa to RTP In-Reply-To: References: Message-ID: <4AD624FA-26E1-4BF3-B56A-5A1F31A508C9@jerris.com> Freeswitch has built in capabilites to playback and record. You could originate a session to the playback or record applications to accomplish this. I would try using mod_portaudio, mod_alsa was made specifically for some embedded platforms that couldn't use mod_portaudio due to limited alsa api and mod_portaudio is maintained and more feature-rich. Mike > On Jan 1, 2016, at 3:02 AM, Pete Kay wrote: > > Hi > > I am able to use aplay to playback media from a wav file and arecord to record from sound card to a wav file. > > I would like to playback the media to freeswitch via playback and send the RTP to arecord. > > Does anyone know how to do it? > > Is there any sample that shows how this can be done? > > Thanks, > Pete From mike at jerris.com Mon Jan 4 19:32:16 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 4 Jan 2016 11:32:16 -0500 Subject: [Freeswitch-users] sip simple delivery In-Reply-To: References: Message-ID: check out mod_smpp > On Jan 1, 2016, at 3:10 PM, Abdul Hakeem wrote: > > Hello Juan Pablo, > > Thanks for the previous message. > I wanted to know if the text messages are simply on-Net with users registered to FS only or you are able to route to other networks via SMPP/HTTP as SMS. > > Best regards, > Abdul Hakeem > ? <> > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Juan Pablo L. > Sent: Wednesday, October 21, 2015 12:18 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] sip simple delivery > > > Hi Abdul, yes of course, this is what i m doing: > I m creating an application that processes text messages from users, > my application checks if a user has balance or not and depending on the case > it allows or not the message to be delivered, > so i have enabled mod_sms, and configured the chat plan as follows: > > > > > > > > > > > smartvoip_sms is my application and as you can see that is how i set > the 'final_delivery' flag, i could have done programmatically too but so > far that works for me. tell me if this is what you need. regards!! > > > > > > From: alhakeem at gmail.com > To: freeswitch-users at lists.freeswitch.org > Date: Tue, 20 Oct 2015 22:28:40 +0100 > Subject: Re: [Freeswitch-users] sip simple delivery > > Juan, > Are you able to share how you added the ?final delivery? header to the message ? > Cheers, > Abdul Hakeem > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Juan Pablo L. > Sent: Tuesday, October 20, 2015 9:36 PM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] sip simple delivery > > just wanted to confirm that this was what i was looking for, thank you very much! > Date: Fri, 16 Oct 2015 18:43:48 +0000 > From: jpablolorenzetti at hotmail.com > To: freeswitch-users at lists.freeswitch.org ; freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] sip simple delivery > I will try .. thank you very much ... I will come back with the results ... > Sent by Outlook for Android > > > On Fri, Oct 16, 2015 at 8:43 AM -0700, "Russell Treleaven" > wrote: > I think this is what you want. > Not sure because it was quite a while ago that I looked at this. > > you need to add a header "final_delivery" to the message with a value of "true" > > Hope that helps. > > On Fri, Oct 16, 2015 at 12:01 AM, Juan Pablo L. > wrote: > Hi, can anyone please give me a hint on this ? thank you! > From: jpablolorenzetti at hotmail.com > To: freeswitch-users at lists.freeswitch.org > Date: Wed, 14 Oct 2015 22:30:54 +0000 > Subject: [Freeswitch-users] sip simple delivery > > Hi, i would like to find out how can i stop a sip simple from being delivered once it has been dealt with, > i have a module that receives the event and decides whether to deliver it or not based on > some criteria ($$), but it does not matter what the module does, after it has finished precessing the > message, freeswitch still delivers it. i understand it does this by default, any advise would be 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 > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org > > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/ce00ad5e/attachment-0001.html From nbhatti at gmail.com Mon Jan 4 22:11:51 2016 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Mon, 4 Jan 2016 22:11:51 +0300 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> Message-ID: <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> Bump ? > On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti wrote: > > I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. > > freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 > true > > freeswitch at internal> reloadacl > +OK acl reloaded > 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) > 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 ] to list domains > 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] > > But when I make a call, it goes straight to HANGUP. > > 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] > 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_NEW > 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit > 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26 ) State NEW > 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e > 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e > 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit > 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] > 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_HANGUP > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26 ) Callstate Change DOWN -> HANGUP > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP > 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP going to sleep > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_HANGUP -> CS_REPORTING > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_REPORTING > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING going to sleep > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_REPORTING -> CS_DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Locked, Waiting on external entities > 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Ended > 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY going to sleep > > Can?t seem to figure out if I am missing something here. > > My acl is served as, > > > Thanks, > Muhammad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/5160240b/attachment.html From brian at freeswitch.org Mon Jan 4 22:43:04 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 4 Jan 2016 13:43:04 -0600 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> Message-ID: The call is probably not going into the context you think it is. On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti wrote: > Bump ? > > On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti > wrote: > > I am trying to authenticate with cidr attribute for the directory and > configure sofia profile is to use apply-inbound-acl for value: domains. > While the IP address is set there in the ACL list and seen by the ACL, the > call is not hitting the dialplan. > > freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 > true > > freeswitch at internal> reloadacl > +OK acl reloaded > 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list > domains default (deny) > *2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding > 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 > <8449347 at 10.211.55.26>] to list domains* > 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel > sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] > > But when I make a call, it goes straight to HANGUP. > > 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel > sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] > 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 ( > sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_NEW > 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 > sofia/vBilling/8449347 at 10.211.55.26 receiving invite from > 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit > 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 ( > sofia/vBilling/8449347 at 10.211.55.26) State NEW > 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session > 19164d10-b21b-11e5-8b77-3f5672d9ef1e > 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session > 19164d10-b21b-11e5-8b77-3f5672d9ef1e > 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 > sofia/vBilling/8449347 at 10.211.55.26 receiving invite from > 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit > 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup > sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] > 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 ( > sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_HANGUP > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 ( > sofia/vBilling/8449347 at 10.211.55.26) Callstate Change DOWN -> HANGUP > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 ( > sofia/vBilling/8449347 at 10.211.55.26) State HANGUP > 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel > sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 > sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 ( > sofia/vBilling/8449347 at 10.211.55.26) State HANGUP going to sleep > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 ( > sofia/vBilling/8449347 at 10.211.55.26) State Change CS_HANGUP -> > CS_REPORTING > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 ( > sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_REPORTING > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 ( > sofia/vBilling/8449347 at 10.211.55.26) State REPORTING > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 > sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: > CALL_REJECTED > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 ( > sofia/vBilling/8449347 at 10.211.55.26) State REPORTING going to sleep > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 ( > sofia/vBilling/8449347 at 10.211.55.26) State Change CS_REPORTING -> > CS_DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 ( > sofia/vBilling/8449347 at 10.211.55.26) Locked, Waiting on external entities > 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 ( > sofia/vBilling/8449347 at 10.211.55.26) Ended > 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close > Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 ( > sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 ( > sofia/vBilling/8449347 at 10.211.55.26) State DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 > sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 > sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY > 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 ( > sofia/vBilling/8449347 at 10.211.55.26) State DESTROY going to sleep > > Can?t seem to figure out if I am missing something here. > > My acl is served as, > > > Thanks, > Muhammad > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160104/9e0a54d8/attachment-0001.html From nbhatti at gmail.com Mon Jan 4 22:48:14 2016 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Mon, 4 Jan 2016 22:48:14 +0300 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> Message-ID: <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> But I don?t see it?s hitting any context at all or am I missing something again? > On Jan 4, 2016, at 10:43 PM, Brian West wrote: > > The call is probably not going into the context you think it is. > > On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti > wrote: > Bump ? > >> On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti > wrote: >> >> I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. >> >> freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 >> true >> >> freeswitch at internal> reloadacl >> +OK acl reloaded >> 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) >> 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 ] to list domains >> 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] >> >> But when I make a call, it goes straight to HANGUP. >> >> 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] >> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_NEW >> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26 ) State NEW >> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >> 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >> 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] >> 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_HANGUP >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26 ) Callstate Change DOWN -> HANGUP >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP >> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP going to sleep >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_HANGUP -> CS_REPORTING >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_REPORTING >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING going to sleep >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_REPORTING -> CS_DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Locked, Waiting on external entities >> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Ended >> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY going to sleep >> >> Can?t seem to figure out if I am missing something here. >> >> My acl is served as, >> >> >> Thanks, >> Muhammad > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > Got Bugs? Report them here ! | 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/20160104/c291d97b/attachment.html From anthony.minessale at gmail.com Mon Jan 4 22:53:30 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 4 Jan 2016 13:53:30 -0600 Subject: [Freeswitch-users] FreeSWITCHers' 2015 has been GREAT In-Reply-To: <5686EC7A.7020009@gmail.com> References: <5686EC7A.7020009@gmail.com> Message-ID: Giovanni, Thank you! You deserve a round of applause yourself for all your efforts with documentation and as a role model for all community members. On Fri, Jan 1, 2016 at 3:15 PM, Erkan Durmus wrote: > +1 > > On 12/31/2015 07:33 PM, Tony White wrote: > > +1 > > > > ...and Happy New Year to all. > > > > On 31/12/2015, Giovanni Maruzzelli wrote: > >> Heya fellas, > >> > >> first of all I want to thank our Supreme Master, Anthony Minessale II, > and > >> the Jedi Knights Brian West, Mike Jerris, Ken Rice, William King, > Kathleen > >> King, Italo Rossi. > >> > >> It's because of these persons, of their craft, of their sleepless > nights, > >> of their creativity, vision and dedication that we can use and > contribute > >> to the most advanced audio/video application platform in the known > >> Universe. > >> > >> Then I want to thank our beautiful, friendly, caring and wise Community. > >> We're never alone. > >> > >> Forward! > >> > >> Toward further future achievements ! > >> > >> -giovanni > >> > >> -- > >> 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 > -- 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/20160104/335c9f93/attachment-0001.html From mike at jerris.com Mon Jan 4 22:53:39 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 4 Jan 2016 14:53:39 -0500 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> Message-ID: Looks like an outbound call that is getting a 403 to me. Turn on sip trace to confirm. > On Jan 4, 2016, at 2:48 PM, Muhammad Naseer Bhatti wrote: > > But I don?t see it?s hitting any context at all or am I missing something again? > >> On Jan 4, 2016, at 10:43 PM, Brian West > wrote: >> >> The call is probably not going into the context you think it is. >> >> On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti > wrote: >> Bump ? >> >>> On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti > wrote: >>> >>> I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. >>> >>> freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 >>> true >>> >>> freeswitch at internal> reloadacl >>> +OK acl reloaded >>> 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) >>> 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 ] to list domains >>> 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] >>> >>> But when I make a call, it goes straight to HANGUP. >>> >>> 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] >>> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_NEW >>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >>> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26 ) State NEW >>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >>> 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >>> 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] >>> 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_HANGUP >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26 ) Callstate Change DOWN -> HANGUP >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP >>> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP going to sleep >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_HANGUP -> CS_REPORTING >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_REPORTING >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING going to sleep >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_REPORTING -> CS_DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Locked, Waiting on external entities >>> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Ended >>> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY going to sleep >>> >>> Can?t seem to figure out if I am missing something here. >>> >>> My acl is served as, >>> >>> >>> Thanks, >>> Muhammad >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> Got Bugs? Report them here ! | 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/20160104/317b5fb9/attachment.html From brian at freeswitch.org Mon Jan 4 22:54:49 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 4 Jan 2016 13:54:49 -0600 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> Message-ID: turn up the debug level, it may show you more, see vars.xml for the default log level. On Mon, Jan 4, 2016 at 1:48 PM, Muhammad Naseer Bhatti wrote: > But I don?t see it?s hitting any context at all or am I missing something > again? > > On Jan 4, 2016, at 10:43 PM, Brian West wrote: > > The call is probably not going into the context you think it is. > > On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti > wrote: > >> Bump ? >> >> On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti >> wrote: >> >> I am trying to authenticate with cidr attribute for the directory and >> configure sofia profile is to use apply-inbound-acl for value: domains. >> While the IP address is set there in the ACL list and seen by the ACL, the >> call is not hitting the dialplan. >> >> freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 >> true >> >> freeswitch at internal> reloadacl >> +OK acl reloaded >> 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list >> domains default (deny) >> *2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding >> 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 >> <8449347 at 10.211.55.26>] to list domains* >> 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel >> sofia/vBilling/8449347 at 10.211.55.26 >> [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] >> >> But when I make a call, it goes straight to HANGUP. >> >> 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel >> sofia/vBilling/8449347 at 10.211.55.26 >> [19164d10-b21b-11e5-8b77-3f5672d9ef1e] >> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 ( >> sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_NEW >> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 >> sofia/vBilling/8449347 at 10.211.55.26 receiving invite from >> 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 ( >> sofia/vBilling/8449347 at 10.211.55.26) State NEW >> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session >> 19164d10-b21b-11e5-8b77-3f5672d9ef1e >> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session >> 19164d10-b21b-11e5-8b77-3f5672d9ef1e >> 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 >> sofia/vBilling/8449347 at 10.211.55.26 receiving invite from >> 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >> 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup >> sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] >> 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 ( >> sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_HANGUP >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 ( >> sofia/vBilling/8449347 at 10.211.55.26) Callstate Change DOWN -> HANGUP >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 ( >> sofia/vBilling/8449347 at 10.211.55.26) State HANGUP >> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel >> sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 >> sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 ( >> sofia/vBilling/8449347 at 10.211.55.26) State HANGUP going to sleep >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 ( >> sofia/vBilling/8449347 at 10.211.55.26) State Change CS_HANGUP -> >> CS_REPORTING >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 ( >> sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_REPORTING >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 ( >> sofia/vBilling/8449347 at 10.211.55.26) State REPORTING >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 >> sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: >> CALL_REJECTED >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 ( >> sofia/vBilling/8449347 at 10.211.55.26) State REPORTING going to sleep >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 ( >> sofia/vBilling/8449347 at 10.211.55.26) State Change CS_REPORTING -> >> CS_DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 ( >> sofia/vBilling/8449347 at 10.211.55.26) Locked, Waiting on external entities >> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 ( >> sofia/vBilling/8449347 at 10.211.55.26) Ended >> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 ( >> sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 ( >> sofia/vBilling/8449347 at 10.211.55.26) State DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 >> sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 >> sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY >> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 ( >> sofia/vBilling/8449347 at 10.211.55.26) State DESTROY going to sleep >> >> Can?t seem to figure out if I am missing something here. >> >> My acl is served as, >> >> >> Thanks, >> Muhammad >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > Got Bugs? Report them here ! | 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 Got Bugs? Report them here ! | 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/20160104/e4dc2d7a/attachment-0001.html From nbhatti at gmail.com Mon Jan 4 23:04:13 2016 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Mon, 4 Jan 2016 23:04:13 +0300 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> Message-ID: It is an outgoing call, SIP Trace here, http://pastebin.com/a3GxEMdd If the IP is there in ACL where acl and reloadacl confirms, I should be able to hit a context atleast? > On Jan 4, 2016, at 10:54 PM, Brian West wrote: > > turn up the debug level, it may show you more, see vars.xml for the default log level. > > On Mon, Jan 4, 2016 at 1:48 PM, Muhammad Naseer Bhatti > wrote: > But I don?t see it?s hitting any context at all or am I missing something again? > >> On Jan 4, 2016, at 10:43 PM, Brian West > wrote: >> >> The call is probably not going into the context you think it is. >> >> On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti > wrote: >> Bump ? >> >>> On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti > wrote: >>> >>> I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. >>> >>> freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 >>> true >>> >>> freeswitch at internal> reloadacl >>> +OK acl reloaded >>> 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) >>> 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 ] to list domains >>> 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] >>> >>> But when I make a call, it goes straight to HANGUP. >>> >>> 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] >>> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_NEW >>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >>> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26 ) State NEW >>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >>> 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >>> 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] >>> 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_HANGUP >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26 ) Callstate Change DOWN -> HANGUP >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP >>> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP going to sleep >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_HANGUP -> CS_REPORTING >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_REPORTING >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING going to sleep >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_REPORTING -> CS_DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Locked, Waiting on external entities >>> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Ended >>> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY >>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY going to sleep >>> >>> Can?t seem to figure out if I am missing something here. >>> >>> My acl is served as, >>> >>> >>> Thanks, >>> Muhammad >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> Got Bugs? Report them here ! | 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 > Got Bugs? Report them here ! | 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/20160104/9c7c9ef5/attachment-0001.html From mike at jerris.com Mon Jan 4 23:15:06 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 4 Jan 2016 15:15:06 -0500 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> Message-ID: <007531FA-2756-4812-844C-AB7C40E17572@jerris.com> I can't tell from this debug what is rejecting the call. Looks like we don't have any debug log in whatever code path its hitting, which is strange. > On Jan 4, 2016, at 3:04 PM, Muhammad Naseer Bhatti wrote: > > It is an outgoing call, > > SIP Trace here, http://pastebin.com/a3GxEMdd > > If the IP is there in ACL where acl and reloadacl confirms, I should be able to hit a context atleast? > > >> On Jan 4, 2016, at 10:54 PM, Brian West > wrote: >> >> turn up the debug level, it may show you more, see vars.xml for the default log level. >> >> On Mon, Jan 4, 2016 at 1:48 PM, Muhammad Naseer Bhatti > wrote: >> But I don?t see it?s hitting any context at all or am I missing something again? >> >>> On Jan 4, 2016, at 10:43 PM, Brian West > wrote: >>> >>> The call is probably not going into the context you think it is. >>> >>> On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti > wrote: >>> Bump ? >>> >>>> On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti > wrote: >>>> >>>> I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. >>>> >>>> freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 >>>> true >>>> >>>> freeswitch at internal> reloadacl >>>> +OK acl reloaded >>>> 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) >>>> 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26 ] to list domains >>>> 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] >>>> >>>> But when I make a call, it goes straight to HANGUP. >>>> >>>> 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] >>>> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_NEW >>>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >>>> 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26 ) State NEW >>>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >>>> 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e >>>> 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit >>>> 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] >>>> 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_HANGUP >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26 ) Callstate Change DOWN -> HANGUP >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP >>>> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26 ) State HANGUP going to sleep >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_HANGUP -> CS_REPORTING >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_REPORTING >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26 ) State REPORTING going to sleep >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26 ) State Change CS_REPORTING -> CS_DESTROY >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Locked, Waiting on external entities >>>> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26 ) Ended >>>> 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26 ) Running State Change CS_DESTROY >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY >>>> 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY >>>> 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26 ) State DESTROY going to sleep >>>> >>>> Can?t seem to figure out if I am missing something here. >>>> >>>> My acl is served as, >>>> >>>> >>>> Thanks, >>>> Muhammad >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> Got Bugs? Report them here ! | 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 >> Got Bugs? Report them here ! | 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/20160104/eece327a/attachment-0001.html From nbhatti at gmail.com Mon Jan 4 23:26:27 2016 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Mon, 4 Jan 2016 23:26:27 +0300 Subject: [Freeswitch-users] Call rejecting while IP in the ACL In-Reply-To: <007531FA-2756-4812-844C-AB7C40E17572@jerris.com> References: <8CD816DE-75D2-4C5F-A775-9C3FB1C50C13@gmail.com> <00EDC8A6-D8CB-4A53-BE81-3ADF7BBF7B87@gmail.com> <8E90880F-9616-4A93-B4B8-F45226B05882@gmail.com> <007531FA-2756-4812-844C-AB7C40E17572@jerris.com> Message-ID: While the debug log was originally in this email thread, here is another copy along with SIP/Sofia trace enabled. Debug Log:?http://pastebin.com/tSC4gg5z SIP/Sofia Trace:?http://pastebin.com/JwTDTTah --? Sent with Airmail From:?Michael Jerris Reply:?FreeSWITCH Users Help Date:?January 4, 2016 at 11:16:15 PM To:?FreeSWITCH Users Help Subject:? Re: [Freeswitch-users] Call rejecting while IP in the ACL I can't tell from this debug what is rejecting the call. ?Looks like we don't have any debug log in whatever code path its hitting, which is strange. On Jan 4, 2016, at 3:04 PM, Muhammad Naseer Bhatti wrote: It is an outgoing call, SIP Trace here,?http://pastebin.com/a3GxEMdd If the IP is there in ACL where acl and reloadacl confirms, I should be able to hit a context atleast? On Jan 4, 2016, at 10:54 PM, Brian West wrote: turn up the debug level, it may show you more, see vars.xml for the default log level. On Mon, Jan 4, 2016 at 1:48 PM, Muhammad Naseer Bhatti wrote: But I don?t see it?s hitting any context at all or am I missing something again? On Jan 4, 2016, at 10:43 PM, Brian West wrote: The call is probably not going into the context you think it is. On Mon, Jan 4, 2016 at 1:11 PM, Muhammad Naseer Bhatti wrote: Bump ? On Jan 3, 2016, at 4:14 PM, Muhammad Naseer Bhatti wrote: I am trying to authenticate with cidr attribute for the directory and configure sofia profile is to use apply-inbound-acl ?for value: domains. While the IP address is set there in the ACL list and seen by the ACL, the call is not hitting the dialplan. freeswitch at internal> acl 10.211.55.2 10.211.55.0/24 true freeswitch at internal> reloadacl +OK acl reloaded 2016-01-03 16:05:14.920901 [NOTICE] switch_core.c:1568 Created ip list domains default (deny) 2016-01-03 16:05:14.920901 [NOTICE] switch_utils.c:545 Adding 10.211.55.0/24 (allow) [8449347 at 10.211.55.26] to list domains 2016-01-03 16:05:31.141849 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [aaf18f0c-b21a-11e5-8b74-3f5672d9ef1e] But when I make a call, it goes straight to HANGUP. 2016-01-03 16:08:35.941031 [NOTICE] switch_channel.c:1091 New Channel sofia/vBilling/8449347 at 10.211.55.26 [19164d10-b21b-11e5-8b77-3f5672d9ef1e] 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_NEW 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit 2016-01-03 16:08:35.941031 [DEBUG] switch_core_state_machine.c:492 (sofia/vBilling/8449347 at 10.211.55.26) State NEW 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2147 detaching session 19164d10-b21b-11e5-8b77-3f5672d9ef1e 2016-01-03 16:08:35.941031 [DEBUG] sofia.c:2255 Re-attaching to session 19164d10-b21b-11e5-8b77-3f5672d9ef1e 2016-01-03 16:08:35.960967 [DEBUG] sofia.c:9244 sofia/vBilling/8449347 at 10.211.55.26 receiving invite from 10.211.55.2:51025 version: 1.7.0 git de5bbef 2015-12-31 16:03:11Z 64bit 2016-01-03 16:08:35.960967 [NOTICE] sofia.c:2145 Hangup sofia/vBilling/8449347 at 10.211.55.26 [CS_NEW] [CALL_REJECTED] 2016-01-03 16:08:35.980992 [DEBUG] sofia.c:1355 Channel is already hungup. 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_HANGUP 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:739 (sofia/vBilling/8449347 at 10.211.55.26) Callstate Change DOWN -> HANGUP 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26) State HANGUP 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:431 Channel sofia/vBilling/8449347 at 10.211.55.26 hanging up, cause: CALL_REJECTED 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:60 sofia/vBilling/8449347 at 10.211.55.26 Standard HANGUP, cause: CALL_REJECTED 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:741 (sofia/vBilling/8449347 at 10.211.55.26) State HANGUP going to sleep 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:508 (sofia/vBilling/8449347 at 10.211.55.26) State Change CS_HANGUP -> CS_REPORTING 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:473 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_REPORTING 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26) State REPORTING 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:104 sofia/vBilling/8449347 at 10.211.55.26 Standard REPORTING, cause: CALL_REJECTED 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:827 (sofia/vBilling/8449347 at 10.211.55.26) State REPORTING going to sleep 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:499 (sofia/vBilling/8449347 at 10.211.55.26) State Change CS_REPORTING -> CS_DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/vBilling/8449347 at 10.211.55.26) Locked, Waiting on external entities 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/vBilling/8449347 at 10.211.55.26) Ended 2016-01-03 16:08:35.980992 [NOTICE] switch_core_session.c:1668 Close Channel sofia/vBilling/8449347 at 10.211.55.26 [CS_DESTROY] 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:630 (sofia/vBilling/8449347 at 10.211.55.26) Running State Change CS_DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26) State DESTROY 2016-01-03 16:08:35.980992 [DEBUG] mod_sofia.c:341 sofia/vBilling/8449347 at 10.211.55.26 SOFIA DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:111 sofia/vBilling/8449347 at 10.211.55.26 Standard DESTROY 2016-01-03 16:08:35.980992 [DEBUG] switch_core_state_machine.c:640 (sofia/vBilling/8449347 at 10.211.55.26) State DESTROY going to sleep Can?t seem to figure out if I am missing something here. My acl is served as, Thanks, Muhammad _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here! | 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 Got Bugs? Report them here! | 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/20160104/28cf7a25/attachment-0001.html From lexxua at gmail.com Mon Jan 4 23:34:12 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Mon, 4 Jan 2016 21:34:12 +0100 Subject: [Freeswitch-users] Digest-realm for hidden caller-id Message-ID: Hi community, I experience interesting issue. Freeswitch running in multi-domain environment. UA generates invite with anonymous at anonymous.invalid in FROM which is quite normal according to rfc3325. Sample bellow: === INVITE sip:44264 at pbx-sumy.co.ia.com SIP/2.0 Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport From: "Anonymous" ;tag=1989469488 To: Call-ID: 1409580995-5062-3 at BA.BA.G.BHA CSeq: 20 INVITE Contact: "Anonymous" Max-Forwards: 70 User-Agent: Grandstream GXP1625 1.0.3.6 Privacy: id P-Preferred-Identity: Supported: replaces, path, timer Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE Content-Type: application/sdp Accept: application/sdp, application/dtmf-relay Content-Length: 332 === Freeswitch sends 407 and uses as Digest-realm domain part from FROM : "Proxy-Authenticate: Digest realm="anonymous.invalid"" Example: === SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport=5062 From: "Anonymous" ;tag=1989469488 To: ;tag=ZamrKr7UecpNp Call-ID: 1409580995-5062-3 at BA.BA.G.BHA CSeq: 20 INVITE User-Agent: FreeSWITCH-mod_sofia/1.4.26-37~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.win , message-summary, refer Proxy-Authenticate: Digest realm="anonymous.invalid", nonce="917b30c9-9070-4ae5-87e6-1814b379fd94", algorithm=MD5, qop="auth" Content-Length: 0 === And call fails 403 Forbidden. So main question how to rid this. And is it feature or bug. Maybe I can use domain part from P-Preferred-Identity header ? Thank you in advance. -- Best regards, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/50870277/attachment.html From steveayre at gmail.com Mon Jan 4 23:56:23 2016 From: steveayre at gmail.com (Steven Ayre) Date: Mon, 4 Jan 2016 20:56:23 +0000 Subject: [Freeswitch-users] outbound proxy and port In-Reply-To: References: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> Message-ID: Sorry for resurrecting a very old thread. Has anyone got this working? I've just tried this on 1.4.26 and seem to be seeing the same result. With a outbound-proxy value of "a.b.c.d:port" sofia's log (sofia loglevel all 9) shows sofia is trying the DNS lookup itself apparently without sending anything to the proxy, which fails as this side of proxy can't resolve the address. With the :port removed so its value is just "a.b.c.d" it shows a different output of trying to send to the proxy which fails with an ICMP error (tport_udp_error) - expected since it tries 5060 instead of the proxy's actual port. If no-one has it working, I'll try to reproduce on 1.6 and file a Jira. On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < cal.leeming at simplicitymedialtd.co.uk> wrote: > Hi Chris, > > From what I can tell, the value from profile->outbound-proxy is > passed into sofia NTATAG_DEFAULT_PROXY() and accepts a url_t structure [1], > which clearly allows for a port to be specified [2]. However, I was unable > to find any working examples from others on setting a port value inside > outbound-proxy, nor did the documentation reference this. > > Can you please tell us; > > * Are you running against the latest stable version of FS? > * Have you tried this against the most recent master? > * Can you please pastebin the logs of what happens when you try including > a port? > > Once you've sent this through, we can determine if it's a bug or not. > > Hope this helps > > Cal > > [1] > http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7 > [2] > http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html > > > > On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware > wrote: > >> Hi, >> >> I need to send registrations and calls from external profile to a si >> provider, passing through an outbound proxy, port 5080. >> >> I I set on sofia: >> >> >> >> Registrations pass through the OB Proxy, but using, of course, standard >> 5060 port. >> >> I I set on sofia: >> >> >> >> Param seems to be not understood and registrations go directly to the sip >> provider. >> >> How can I set outbound proxy port? >> >> Thanks >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/9e6f5b3b/attachment.html From s.safarov at gmail.com Tue Jan 5 00:00:50 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 5 Jan 2016 00:00:50 +0300 Subject: [Freeswitch-users] Digest-realm for hidden caller-id In-Reply-To: References: Message-ID: In default config challenge will be for "anonymous.invalid" domain. To change this edit profile. Sergey On Mon, Jan 4, 2016 at 11:34 PM, Volodymyr Fedorov wrote: > Hi community, > I experience interesting issue. Freeswitch running in multi-domain > environment. > UA generates invite with anonymous at anonymous.invalid in FROM which is > quite normal according to rfc3325. > Sample bellow: > === > INVITE sip:44264 at pbx-sumy.co.ia.com SIP/2.0 > Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport > From: "Anonymous" ;tag=1989469488 > To: > Call-ID: 1409580995-5062-3 at BA.BA.G.BHA > CSeq: 20 INVITE > Contact: "Anonymous" > Max-Forwards: 70 > User-Agent: Grandstream GXP1625 1.0.3.6 > Privacy: id > P-Preferred-Identity: > Supported: replaces, path, timer > Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, > UPDATE, MESSAGE > Content-Type: application/sdp > Accept: application/sdp, application/dtmf-relay > Content-Length: 332 > === > Freeswitch sends 407 and uses as Digest-realm domain part from FROM : > "Proxy-Authenticate: Digest realm="anonymous.invalid"" > > Example: > === > SIP/2.0 407 Proxy Authentication Required > Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport=5062 > From: "Anonymous" ;tag=1989469488 > To: ;tag=ZamrKr7UecpNp > Call-ID: 1409580995-5062-3 at BA.BA.G.BHA > CSeq: 20 INVITE > User-Agent: FreeSWITCH-mod_sofia/1.4.26-37~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.win > , message-summary, refer > Proxy-Authenticate: Digest realm="anonymous.invalid", > nonce="917b30c9-9070-4ae5-87e6-1814b379fd94", algorithm=MD5, qop="auth" > Content-Length: 0 > === > > And call fails 403 Forbidden. So main question how to rid this. And is it > feature or bug. Maybe I can use domain part from P-Preferred-Identity > header ? > > Thank you in advance. > > -- > Best regards, > Volodymyr > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/96ab5061/attachment-0001.html From mike at jerris.com Tue Jan 5 00:03:48 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 4 Jan 2016 16:03:48 -0500 Subject: [Freeswitch-users] outbound proxy and port In-Reply-To: References: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> Message-ID: I haven't seen anyone working on this but id be happy to review patches that address the issue. I wouldn't expect a difference in 1.6 behavior on this issue On Monday, January 4, 2016, Steven Ayre wrote: > Sorry for resurrecting a very old thread. Has anyone got this working? > > I've just tried this on 1.4.26 and seem to be seeing the same result. With > a outbound-proxy value of "a.b.c.d:port" sofia's log (sofia loglevel all 9) > shows sofia is trying the DNS lookup itself apparently without sending > anything to the proxy, which fails as this side of proxy can't resolve the > address. With the :port removed so its value is just "a.b.c.d" it shows a > different output of trying to send to the proxy which fails with an ICMP > error (tport_udp_error) - expected since it tries 5060 instead of the > proxy's actual port. > > If no-one has it working, I'll try to reproduce on 1.6 and file a Jira. > > > On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < > cal.leeming at simplicitymedialtd.co.uk > > > wrote: > >> Hi Chris, >> >> From what I can tell, the value from profile->outbound-proxy is >> passed into sofia NTATAG_DEFAULT_PROXY() and accepts a url_t structure [1], >> which clearly allows for a port to be specified [2]. However, I was unable >> to find any working examples from others on setting a port value inside >> outbound-proxy, nor did the documentation reference this. >> >> Can you please tell us; >> >> * Are you running against the latest stable version of FS? >> * Have you tried this against the most recent master? >> * Can you please pastebin the logs of what happens when you try including >> a port? >> >> Once you've sent this through, we can determine if it's a bug or not. >> >> Hope this helps >> >> Cal >> >> [1] >> http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7 >> [2] >> http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html >> >> >> >> On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware > > wrote: >> >>> Hi, >>> >>> I need to send registrations and calls from external profile to a si >>> provider, passing through an outbound proxy, port 5080. >>> >>> I I set on sofia: >>> >>> >>> >>> Registrations pass through the OB Proxy, but using, of course, standard >>> 5060 port. >>> >>> I I set on sofia: >>> >>> >>> >>> Param seems to be not understood and registrations go directly to the >>> sip provider. >>> >>> How can I set outbound proxy port? >>> >>> Thanks >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>> http://www.cudatel.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://wiki.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160104/25f1bd9d/attachment.html From steveayre at gmail.com Tue Jan 5 00:14:32 2016 From: steveayre at gmail.com (Steven Ayre) Date: Mon, 4 Jan 2016 21:14:32 +0000 Subject: [Freeswitch-users] outbound proxy and port In-Reply-To: References: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> Message-ID: Just got it working by using the format "sip:a.b.c.d:port" or "sips:a.b.c.d:port" It looks like there's a difference in the handling of outbound-proxy for a gateway compared to a profile. A gateway prepends sip: if it's missing, while a profile does not. So it seems both the documentation could be improved, and the code could be patched so they use the value consistently as ip:port would presumably work ok for a gateway. That's from a reading of the source code in master, so I would expect 1.6 should have the same behaviour as 1.4.26. On 4 January 2016 at 21:03, Michael Jerris wrote: > I haven't seen anyone working on this but id be happy to review patches > that address the issue. I wouldn't expect a difference in 1.6 behavior on > this issue > > > On Monday, January 4, 2016, Steven Ayre wrote: > >> Sorry for resurrecting a very old thread. Has anyone got this working? >> >> I've just tried this on 1.4.26 and seem to be seeing the same result. >> With a outbound-proxy value of "a.b.c.d:port" sofia's log (sofia loglevel >> all 9) shows sofia is trying the DNS lookup itself apparently without >> sending anything to the proxy, which fails as this side of proxy can't >> resolve the address. With the :port removed so its value is just "a.b.c.d" >> it shows a different output of trying to send to the proxy which fails with >> an ICMP error (tport_udp_error) - expected since it tries 5060 instead of >> the proxy's actual port. >> >> If no-one has it working, I'll try to reproduce on 1.6 and file a Jira. >> >> >> On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < >> cal.leeming at simplicitymedialtd.co.uk> wrote: >> >>> Hi Chris, >>> >>> From what I can tell, the value from profile->outbound-proxy is >>> passed into sofia NTATAG_DEFAULT_PROXY() and accepts a url_t structure [1], >>> which clearly allows for a port to be specified [2]. However, I was unable >>> to find any working examples from others on setting a port value inside >>> outbound-proxy, nor did the documentation reference this. >>> >>> Can you please tell us; >>> >>> * Are you running against the latest stable version of FS? >>> * Have you tried this against the most recent master? >>> * Can you please pastebin the logs of what happens when you try >>> including a port? >>> >>> Once you've sent this through, we can determine if it's a bug or not. >>> >>> Hope this helps >>> >>> Cal >>> >>> [1] >>> http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7 >>> [2] >>> http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html >>> >>> >>> >>> On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware >>> wrote: >>> >>>> Hi, >>>> >>>> I need to send registrations and calls from external profile to a si >>>> provider, passing through an outbound proxy, port 5080. >>>> >>>> I I set on sofia: >>>> >>>> >>>> >>>> Registrations pass through the OB Proxy, but using, of course, standard >>>> 5060 port. >>>> >>>> I I set on sofia: >>>> >>>> >>>> >>>> Param seems to be not understood and registrations go directly to the >>>> sip provider. >>>> >>>> How can I set outbound proxy port? >>>> >>>> Thanks >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>> http://www.cudatel.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://wiki.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>> http://www.cudatel.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://wiki.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/c5dabe2d/attachment-0001.html From gmaruzz at gmail.com Tue Jan 5 02:05:16 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 5 Jan 2016 00:05:16 +0100 Subject: [Freeswitch-users] FreeSWITCHers' 2015 has been GREAT In-Reply-To: References: <5686EC7A.7020009@gmail.com> Message-ID: sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 04/Gen/2016 20:54, "Anthony Minessale" ha scritto: > > Giovanni, > > Thank you! > > You deserve a round of applause yourself for all your efforts with documentation and as a role model for all community members. > :))) (blush) > On Fri, Jan 1, 2016 at 3:15 PM, Erkan Durmus wrote: >> >> +1 >> >> On 12/31/2015 07:33 PM, Tony White wrote: >> > +1 >> > >> > ...and Happy New Year to all. >> > >> > On 31/12/2015, Giovanni Maruzzelli wrote: >> >> Heya fellas, >> >> >> >> first of all I want to thank our Supreme Master, Anthony Minessale II, and >> >> the Jedi Knights Brian West, Mike Jerris, Ken Rice, William King, Kathleen >> >> King, Italo Rossi. >> >> >> >> It's because of these persons, of their craft, of their sleepless nights, >> >> of their creativity, vision and dedication that we can use and contribute >> >> to the most advanced audio/video application platform in the known >> >> Universe. >> >> >> >> Then I want to thank our beautiful, friendly, caring and wise Community. >> >> We're never alone. >> >> >> >> Forward! >> >> >> >> Toward further future achievements ! >> >> >> >> -giovanni >> >> >> >> -- >> >> 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 > > > > > -- > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/65deee52/attachment.html From abaci64 at gmail.com Tue Jan 5 02:22:13 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 4 Jan 2016 18:22:13 -0500 Subject: [Freeswitch-users] digit_action_set_realm question Message-ID: Hi, I was wondering if there is any way to unset the bind_digit_action realm once it's set using digit_action_set_realm, I tried setting it to "_UNDEF_" and "" none which seem to work. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160104/54e54574/attachment.html From anthony.minessale at gmail.com Tue Jan 5 02:43:01 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 4 Jan 2016 17:43:01 -0600 Subject: [Freeswitch-users] digit_action_set_realm question In-Reply-To: References: Message-ID: app: clear_digit_action args: |all[,target] no args is the same as all target is "peer" or "both" On Mon, Jan 4, 2016 at 5:22 PM, Abaci B wrote: > Hi, > I was wondering if there is any way to unset the bind_digit_action realm > once it's set using digit_action_set_realm, I tried setting it to "_UNDEF_" > and "" none which seem to work. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/12465320/attachment.html From abaci64 at gmail.com Tue Jan 5 02:49:17 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 4 Jan 2016 18:49:17 -0500 Subject: [Freeswitch-users] digit_action_set_realm question In-Reply-To: References: Message-ID: If I understand this clears all the bindings, my question was if the bindings can stay (for future use) and just unset the realm, if that's not possible I'll have to just clear the actions as you suggested and set it again every time I want to use it. On Mon, Jan 4, 2016 at 6:43 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > app: clear_digit_action args: |all[,target] > > no args is the same as all > > target is "peer" or "both" > > On Mon, Jan 4, 2016 at 5:22 PM, Abaci B wrote: > >> Hi, >> I was wondering if there is any way to unset the bind_digit_action realm >> once it's set using digit_action_set_realm, I tried setting it to "_UNDEF_" >> and "" none which seem to work. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/bab77e72/attachment-0001.html From anthony.minessale at gmail.com Tue Jan 5 03:22:10 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 4 Jan 2016 18:22:10 -0600 Subject: [Freeswitch-users] digit_action_set_realm question In-Reply-To: References: Message-ID: We have https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+digit_action_set_realm This lets you change between active realms. We don't have one to clear the realm without destroying it but it could be possible with a feature req / bounty. as a workaround you could make a realm with some single obscure mapping that just does some noop and change to that one with digit_action_set_realm when you want to disable it. On Mon, Jan 4, 2016 at 5:49 PM, Abaci B wrote: > If I understand this clears all the bindings, my question was if the > bindings can stay (for future use) and just unset the realm, if that's not > possible I'll have to just clear the actions as you suggested and set it > again every time I want to use it. > > On Mon, Jan 4, 2016 at 6:43 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> app: clear_digit_action args: |all[,target] >> >> no args is the same as all >> >> target is "peer" or "both" >> >> On Mon, Jan 4, 2016 at 5:22 PM, Abaci B wrote: >> >>> Hi, >>> I was wondering if there is any way to unset the bind_digit_action realm >>> once it's set using digit_action_set_realm, I tried setting it to "_UNDEF_" >>> and "" none which seem to work. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/afdbbcbc/attachment.html From abaci64 at gmail.com Tue Jan 5 03:30:53 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 4 Jan 2016 19:30:53 -0500 Subject: [Freeswitch-users] digit_action_set_realm question In-Reply-To: References: Message-ID: Thanks for your help, for now I will just clear the actions, eventually I will probably open a bounty for that. On Mon, Jan 4, 2016 at 7:22 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > We have > > > https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+digit_action_set_realm > > This lets you change between active realms. > We don't have one to clear the realm without destroying it but it could be > possible with a feature req / bounty. > > as a workaround you could make a realm with some single obscure mapping > that just does some noop and change to that one with digit_action_set_realm > when you want to disable it. > > > > > On Mon, Jan 4, 2016 at 5:49 PM, Abaci B wrote: > >> If I understand this clears all the bindings, my question was if the >> bindings can stay (for future use) and just unset the realm, if that's not >> possible I'll have to just clear the actions as you suggested and set it >> again every time I want to use it. >> >> On Mon, Jan 4, 2016 at 6:43 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> app: clear_digit_action args: |all[,target] >>> >>> no args is the same as all >>> >>> target is "peer" or "both" >>> >>> On Mon, Jan 4, 2016 at 5:22 PM, Abaci B wrote: >>> >>>> Hi, >>>> I was wondering if there is any way to unset the >>>> bind_digit_action realm once it's set using digit_action_set_realm, I tried >>>> setting it to "_UNDEF_" and "" none which seem to work. >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160104/37f4aa16/attachment-0001.html From v.kovalyshyn at gmail.com Tue Jan 5 10:17:51 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Tue, 5 Jan 2016 09:17:51 +0200 Subject: [Freeswitch-users] =?utf-8?q?mod=5Fverto=3A_WS_SETUP_FAILED_=5B?= =?utf-8?b?77+9TSA1Z10=?= Message-ID: <2DCC5522-36C2-443E-BA32-6A80B0AFCD50@gmail.com> Hello! FreeSWITCH (Version 1.6.5 git d5520a6 2015-11-19 20:27:21Z 64bit) mod_verto with WSS: None stop in the FreeSWITCH log: 2016-01-05 06:52:19.654908 [INFO] mod_verto.c:1973 194.183.YY.XX:60874 Starting client thread. 2016-01-05 06:52:19.674904 [INFO] mod_verto.c:3997 194.183.YY.XX:60873 Client Connect. 2016-01-05 06:52:19.794942 [DEBUG] mod_verto.c:1820 194.183.YY.XX:57780 WS SETUP FAILED [_???] 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2000 194.183.YY.XX:57780 Ending client thread. 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2007 194.183.YY.XX:57780 Thread ended 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15759 WS SETUP FAILED [`?)g] 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15771 WS SETUP FAILED ] 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15759 Ending client thread. 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15771 Ending client thread. 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15759 Thread ended 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15771 Thread ended 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15770 WS SETUP FAILED [1g] 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15770 Ending client thread. 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15770 Thread ended 2016-01-05 07:00:32.044808 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15746 WS SETUP FAILED ] 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2000 194.183.YY.XX:15746 Ending client thread. 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2007 194.183.YY.XX:15746 Thread ended 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15757 WS SETUP FAILED [?M 5g] 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2000 194.183.YY.XX:15757 Ending client thread. 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2007 194.183.YY.XX:15757 Thread ended 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15768 WS SETUP FAILED ] And FreeSWITCH use all free memory and swap in Debian Linux 8.2. What does it mean ? Best regards, Vitaly Kovalyshyn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/8f7ee115/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2191 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/8f7ee115/attachment.bin From shishko69 at gmail.com Tue Jan 5 10:53:03 2016 From: shishko69 at gmail.com (Denis Papes) Date: Tue, 05 Jan 2016 07:53:03 +0000 Subject: [Freeswitch-users] =?utf-8?q?mod=5Fverto=3A_WS_SETUP_FAILED_=5B?= =?utf-8?b?77+9TSA1Z10=?= In-Reply-To: <2DCC5522-36C2-443E-BA32-6A80B0AFCD50@gmail.com> References: <2DCC5522-36C2-443E-BA32-6A80B0AFCD50@gmail.com> Message-ID: Does your browser trust WSS certificate? CA certificate you used to create WSS certificate should be installed in Trusted Root Certification Authority in your browser. On Tue, Jan 5, 2016 at 8:19 AM Vitaly Kovalyshyn wrote: > Hello! > > FreeSWITCH (Version 1.6.5 git d5520a6 2015-11-19 20:27:21Z 64bit) > mod_verto with WSS: > > None stop in the FreeSWITCH log: > > 2016-01-05 06:52:19.654908 [INFO] mod_verto.c:1973 194.183.YY.XX:60874 > Starting client thread. > 2016-01-05 06:52:19.674904 [INFO] mod_verto.c:3997 194.183.YY.XX:60873 > Client Connect. > 2016-01-05 06:52:19.794942 [DEBUG] mod_verto.c:1820 194.183.YY.XX:57780 WS > SETUP FAILED [_???] > 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2000 194.183.YY.XX:57780 > Ending client thread. > 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2007 194.183.YY.XX:57780 > Thread ended > > 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15759 WS > SETUP FAILED [`?)g] > 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15771 WS > SETUP FAILED ] > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15759 > Ending client thread. > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15771 > Ending client thread. > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15759 > Thread ended > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15771 > Thread ended > 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15770 WS > SETUP FAILED [1g] > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15770 > Ending client thread. > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15770 > Thread ended > 2016-01-05 07:00:32.044808 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15746 WS > SETUP FAILED ] > 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2000 194.183.YY.XX:15746 > Ending client thread. > 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2007 194.183.YY.XX:15746 > Thread ended > 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15757 WS > SETUP FAILED [?M 5g] > 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2000 194.183.YY.XX:15757 > Ending client thread. > 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2007 194.183.YY.XX:15757 > Thread ended > 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15768 WS > SETUP FAILED ] > > > And FreeSWITCH use all free memory and swap in Debian Linux 8.2. > > What does it mean ? > > Best regards, > Vitaly Kovalyshyn > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/58786b9c/attachment.html From v.kovalyshyn at gmail.com Tue Jan 5 10:59:11 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Tue, 5 Jan 2016 09:59:11 +0200 Subject: [Freeswitch-users] =?utf-8?q?mod=5Fverto=3A_WS_SETUP_FAILED_=5B?= =?utf-8?b?77+9TSA1Z10=?= In-Reply-To: References: <2DCC5522-36C2-443E-BA32-6A80B0AFCD50@gmail.com> Message-ID: <4639CA5E-F9A9-47CF-858D-8A064B251395@gmail.com> I have trusted wildcard certificate. Maybe problem with client side, when site use only http? Best regards, Vitaly Kovalyshyn > On 5 ???. 2016 ?., at 09:53, Denis Papes wrote: > > Does your browser trust WSS certificate? CA certificate you used to create WSS certificate should be installed in Trusted Root Certification Authority in your browser. > > On Tue, Jan 5, 2016 at 8:19 AM Vitaly Kovalyshyn > wrote: > Hello! > > FreeSWITCH (Version 1.6.5 git d5520a6 2015-11-19 20:27:21Z 64bit) > mod_verto with WSS: > > None stop in the FreeSWITCH log: > > 2016-01-05 06:52:19.654908 [INFO] mod_verto.c:1973 194.183.YY.XX:60874 Starting client thread. > 2016-01-05 06:52:19.674904 [INFO] mod_verto.c:3997 194.183.YY.XX:60873 Client Connect. > 2016-01-05 06:52:19.794942 [DEBUG] mod_verto.c:1820 194.183.YY.XX:57780 WS SETUP FAILED [_???] > 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2000 194.183.YY.XX:57780 Ending client thread. > 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2007 194.183.YY.XX:57780 Thread ended > > 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15759 WS SETUP FAILED [`?)g] > 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15771 WS SETUP FAILED ] > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15759 Ending client thread. > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15771 Ending client thread. > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15759 Thread ended > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15771 Thread ended > 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15770 WS SETUP FAILED [1g] > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15770 Ending client thread. > 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15770 Thread ended > 2016-01-05 07:00:32.044808 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15746 WS SETUP FAILED ] > 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2000 194.183.YY.XX:15746 Ending client thread. > 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2007 194.183.YY.XX:15746 Thread ended > 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15757 WS SETUP FAILED [?M 5g] > 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2000 194.183.YY.XX:15757 Ending client thread. > 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2007 194.183.YY.XX:15757 Thread ended > 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15768 WS SETUP FAILED ] > > > And FreeSWITCH use all free memory and swap in Debian Linux 8.2. > > What does it mean ? > > Best regards, > Vitaly Kovalyshyn > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/53ff4878/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2191 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/53ff4878/attachment-0001.bin From carlosj.gf at gmail.com Tue Jan 5 11:50:51 2016 From: carlosj.gf at gmail.com (=?UTF-8?Q?Carlos_Gonz=C3=A1lez_Florido?=) Date: Tue, 5 Jan 2016 09:50:51 +0100 Subject: [Freeswitch-users] =?utf-8?q?mod=5Fverto=3A_WS_SETUP_FAILED_=5B?= =?utf-8?b?77+9TSA1Z10=?= In-Reply-To: <4639CA5E-F9A9-47CF-858D-8A064B251395@gmail.com> References: <2DCC5522-36C2-443E-BA32-6A80B0AFCD50@gmail.com> <4639CA5E-F9A9-47CF-858D-8A064B251395@gmail.com> Message-ID: Hi, for us to work, the page must be served using https, and the certificate must be known to FS. FS is happy to receive WS connections, but Verto Communicator client seems to need WSS. Regards, Carlos On Tue, Jan 5, 2016 at 8:59 AM, Vitaly Kovalyshyn wrote: > I have trusted wildcard certificate. Maybe problem with client side, when > site use only http? > > Best regards, > Vitaly Kovalyshyn > > > > On 5 ???. 2016 ?., at 09:53, Denis Papes wrote: > > Does your browser trust WSS certificate? CA certificate you used to create > WSS certificate should be installed in Trusted Root Certification Authority > in your browser. > > On Tue, Jan 5, 2016 at 8:19 AM Vitaly Kovalyshyn > wrote: > >> Hello! >> >> FreeSWITCH (Version 1.6.5 git d5520a6 2015-11-19 20:27:21Z 64bit) >> mod_verto with WSS: >> >> None stop in the FreeSWITCH log: >> >> 2016-01-05 06:52:19.654908 [INFO] mod_verto.c:1973 194.183.YY.XX:60874 >> Starting client thread. >> 2016-01-05 06:52:19.674904 [INFO] mod_verto.c:3997 194.183.YY.XX:60873 >> Client Connect. >> 2016-01-05 06:52:19.794942 [DEBUG] mod_verto.c:1820 194.183.YY.XX:57780 >> WS SETUP FAILED [_???] >> 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2000 194.183.YY.XX:57780 >> Ending client thread. >> 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2007 194.183.YY.XX:57780 >> Thread ended >> >> 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15759 >> WS SETUP FAILED [`?)g] >> 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15771 >> WS SETUP FAILED ] >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15759 >> Ending client thread. >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15771 >> Ending client thread. >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15759 >> Thread ended >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15771 >> Thread ended >> 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15770 >> WS SETUP FAILED [1g] >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15770 >> Ending client thread. >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15770 >> Thread ended >> 2016-01-05 07:00:32.044808 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15746 >> WS SETUP FAILED ] >> 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2000 194.183.YY.XX:15746 >> Ending client thread. >> 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2007 194.183.YY.XX:15746 >> Thread ended >> 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15757 >> WS SETUP FAILED [?M 5g] >> 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2000 194.183.YY.XX:15757 >> Ending client thread. >> 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2007 194.183.YY.XX:15757 >> Thread ended >> 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15768 >> WS SETUP FAILED ] >> >> >> And FreeSWITCH use all free memory and swap in Debian Linux 8.2. >> >> What does it mean ? >> >> Best regards, >> Vitaly Kovalyshyn >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/b3737256/attachment.html From v.kovalyshyn at gmail.com Tue Jan 5 11:57:29 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Tue, 5 Jan 2016 10:57:29 +0200 Subject: [Freeswitch-users] =?utf-8?q?mod=5Fverto=3A_WS_SETUP_FAILED_=5B?= =?utf-8?b?77+9TSA1Z10=?= In-Reply-To: References: <2DCC5522-36C2-443E-BA32-6A80B0AFCD50@gmail.com> <4639CA5E-F9A9-47CF-858D-8A064B251395@gmail.com> Message-ID: <6FD7015B-46B0-4EA1-8B2C-2FB0917BF742@gmail.com> Thank You, Carlos. Some of my clients use only HTTP site and it was a problem. After I've disconnected them, all is Ok. Best regards, Vitaly Kovalyshyn http://kovalyshyn.pp.ua/ Twitter: @kovalyshyn http://???????.???/ > On 5 ???. 2016 ?., at 10:50, Carlos Gonz?lez Florido wrote: > > Hi, > > for us to work, the page must be served using https, and the certificate must be known to FS. > > FS is happy to receive WS connections, but Verto Communicator client seems to need WSS. > > Regards, > Carlos > > > On Tue, Jan 5, 2016 at 8:59 AM, Vitaly Kovalyshyn > wrote: > I have trusted wildcard certificate. Maybe problem with client side, when site use only http? > > Best regards, > Vitaly Kovalyshyn > > > >> On 5 ???. 2016 ?., at 09:53, Denis Papes > wrote: >> >> Does your browser trust WSS certificate? CA certificate you used to create WSS certificate should be installed in Trusted Root Certification Authority in your browser. >> >> On Tue, Jan 5, 2016 at 8:19 AM Vitaly Kovalyshyn > wrote: >> Hello! >> >> FreeSWITCH (Version 1.6.5 git d5520a6 2015-11-19 20:27:21Z 64bit) >> mod_verto with WSS: >> >> None stop in the FreeSWITCH log: >> >> 2016-01-05 06:52:19.654908 [INFO] mod_verto.c:1973 194.183.YY.XX:60874 Starting client thread. >> 2016-01-05 06:52:19.674904 [INFO] mod_verto.c:3997 194.183.YY.XX:60873 Client Connect. >> 2016-01-05 06:52:19.794942 [DEBUG] mod_verto.c:1820 194.183.YY.XX:57780 WS SETUP FAILED [_???] >> 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2000 194.183.YY.XX:57780 Ending client thread. >> 2016-01-05 06:52:19.834964 [INFO] mod_verto.c:2007 194.183.YY.XX:57780 Thread ended >> >> 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15759 WS SETUP FAILED [`?)g] >> 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15771 WS SETUP FAILED ] >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15759 Ending client thread. >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15771 Ending client thread. >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15759 Thread ended >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15771 Thread ended >> 2016-01-05 07:00:32.004805 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15770 WS SETUP FAILED [1g] >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2000 194.183.YY.XX:15770 Ending client thread. >> 2016-01-05 07:00:32.004805 [INFO] mod_verto.c:2007 194.183.YY.XX:15770 Thread ended >> 2016-01-05 07:00:32.044808 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15746 WS SETUP FAILED ] >> 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2000 194.183.YY.XX:15746 Ending client thread. >> 2016-01-05 07:00:32.044808 [INFO] mod_verto.c:2007 194.183.YY.XX:15746 Thread ended >> 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15757 WS SETUP FAILED [?M 5g] >> 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2000 194.183.YY.XX:15757 Ending client thread. >> 2016-01-05 07:00:32.064935 [INFO] mod_verto.c:2007 194.183.YY.XX:15757 Thread ended >> 2016-01-05 07:00:32.064935 [DEBUG] mod_verto.c:1820 194.183.YY.XX:15768 WS SETUP FAILED ] >> >> >> And FreeSWITCH use all free memory and swap in Debian Linux 8.2. >> >> What does it mean ? >> >> Best regards, >> Vitaly Kovalyshyn >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/a0b2f41f/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2191 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/a0b2f41f/attachment-0001.bin From mic.niel84 at gmail.com Tue Jan 5 13:43:40 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 5 Jan 2016 11:43:40 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call Message-ID: Is it possible to dial multiple users at once, for initiating a conference call - without the need for a conference room. And without having the client as "connection-point" for all the parties involved, but having FreeSWITCH handling the merging of calls, so the RTP stream for each client is similar to a 1-1 call for all parties. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/f591841e/attachment.html From ssinyagin at gmail.com Tue Jan 5 15:01:52 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 5 Jan 2016 13:01:52 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: of course you can, you just use mod_conference and some magic. Here's my script which does approximately what you described, but its main purpose is test automation. https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen wrote: > Is it possible to dial multiple users at once, for initiating a conference > call - without the need for a conference room. > > And without having the client as "connection-point" for all the parties > involved, but having FreeSWITCH handling the merging of calls, so the RTP > stream for each client is similar to a 1-1 call for all parties. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mic.niel84 at gmail.com Tue Jan 5 15:35:51 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 5 Jan 2016 13:35:51 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: Hi, Many thanks for the link - I'l have a look at it. But it seems quite "difficult" to do. After browsing on the mod_conference, I found this example: Doesn't that do something similar? On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin wrote: > of course you can, you just use mod_conference and some magic. > > Here's my script which does approximately what you described, but its > main purpose is test automation. > > https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer > > > > > > > On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen > wrote: > > Is it possible to dial multiple users at once, for initiating a > conference > > call - without the need for a conference room. > > > > And without having the client as "connection-point" for all the parties > > involved, but having FreeSWITCH handling the merging of calls, so the RTP > > stream for each client is similar to a 1-1 call for all parties. > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/6e6cfd46/attachment.html From rutu.patel at inextrix.com Tue Jan 5 17:43:50 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Tue, 5 Jan 2016 20:13:50 +0530 Subject: [Freeswitch-users] Call rejecting with asterisk Message-ID: Hi All, I am trying to send calls from freeswitch to asterisk. I have setup gateway in freeswitch with proxy as asterisk IP. But when I dial the number it is sending the call to asterisk and showing as below in asterisk: username mismatch <123456> , digest has and then call rejected. I have tried by setting From-User = 123456 in gateway but no luck. 123456 is an extension on freeswitch. Can anyone please help to solve this ? -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/ac3f2022/attachment.html From oseslija at gmail.com Tue Jan 5 19:00:33 2016 From: oseslija at gmail.com (Ognjen Seslija) Date: Tue, 5 Jan 2016 17:00:33 +0100 Subject: [Freeswitch-users] outbound proxy and port In-Reply-To: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> References: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> Message-ID: Use register-proxy as well as outbound-proxy. On Sep 26, 2013 9:30 PM, "Chris B. Ware" wrote: > Hi, > > I need to send registrations and calls from external profile to a si > provider, passing through an outbound proxy, port 5080. > > I I set on sofia: > > > > Registrations pass through the OB Proxy, but using, of course, standard > 5060 port. > > I I set on sofia: > > > > Param seems to be not understood and registrations go directly to the sip > provider. > > How can I set outbound proxy port? > > Thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/c23001b0/attachment.html From covici at ccs.covici.com Tue Jan 5 19:18:24 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 05 Jan 2016 11:18:24 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute Message-ID: <10415.1452010704@ccs.covici.com> Hi. I am having dtmf problems when calling numbers via flowroute. They seem not to detect the dtmf at all. I am using 2833 in all cases. Have you done anything in say the last 4 or 5 months which might be related? I am not having these problems when using another carrier, so I am quite puzzled. Thanks in advance for any suggestions. -- 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 rtreleaven at bunnykick.ca Tue Jan 5 19:22:12 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Tue, 5 Jan 2016 11:22:12 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <10415.1452010704@ccs.covici.com> References: <10415.1452010704@ccs.covici.com> Message-ID: look at the sdp, there was an issue with dtmf and sample rate not being 8000. On Tue, Jan 5, 2016 at 11:18 AM, wrote: > Hi. I am having dtmf problems when calling numbers via flowroute. They > seem not to detect the dtmf at all. I am using 2833 in all cases. Have > you done anything in say the last 4 or 5 months which might be related? > I am not having these problems when using another carrier, so I am quite > puzzled. > > Thanks in advance for any suggestions. > > -- > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/043c8be4/attachment.html From andrew at cassidywebservices.co.uk Tue Jan 5 19:55:37 2016 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Tue, 5 Jan 2016 16:55:37 +0000 Subject: [Freeswitch-users] outbound proxy and port In-Reply-To: References: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> Message-ID: register-proxy parameter also On 5 January 2016 at 16:00, Ognjen Seslija wrote: > Use register-proxy as well as outbound-proxy. > On Sep 26, 2013 9:30 PM, "Chris B. Ware" wrote: > >> Hi, >> >> I need to send registrations and calls from external profile to a si >> provider, passing through an outbound proxy, port 5080. >> >> I I set on sofia: >> >> >> >> Registrations pass through the OB Proxy, but using, of course, standard >> 5060 port. >> >> I I set on sofia: >> >> >> >> Param seems to be not understood and registrations go directly to the sip >> provider. >> >> How can I set outbound proxy port? >> >> Thanks >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/174d743a/attachment.html From brian at freeswitch.org Tue Jan 5 20:04:10 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 5 Jan 2016 11:04:10 -0600 Subject: [Freeswitch-users] outbound proxy and port In-Reply-To: References: <1380223393.47155.YahooMailNeo@web171803.mail.ir2.yahoo.com> Message-ID: File a JIRA, lets correct the behaviors to be consistent. On Mon, Jan 4, 2016 at 3:14 PM, Steven Ayre wrote: > Just got it working by using the format "sip:a.b.c.d:port" or > "sips:a.b.c.d:port" > > It looks like there's a difference in the handling of outbound-proxy for a > gateway compared to a profile. A gateway prepends sip: if it's missing, > while a profile does not. So it seems both the documentation could be > improved, and the code could be patched so they use the value consistently > as ip:port would presumably work ok for a gateway. That's from a reading of > the source code in master, so I would expect 1.6 should have the same > behaviour as 1.4.26. > > > > > On 4 January 2016 at 21:03, Michael Jerris wrote: > >> I haven't seen anyone working on this but id be happy to review patches >> that address the issue. I wouldn't expect a difference in 1.6 behavior on >> this issue >> >> >> On Monday, January 4, 2016, Steven Ayre wrote: >> >>> Sorry for resurrecting a very old thread. Has anyone got this working? >>> >>> I've just tried this on 1.4.26 and seem to be seeing the same result. >>> With a outbound-proxy value of "a.b.c.d:port" sofia's log (sofia loglevel >>> all 9) shows sofia is trying the DNS lookup itself apparently without >>> sending anything to the proxy, which fails as this side of proxy can't >>> resolve the address. With the :port removed so its value is just "a.b.c.d" >>> it shows a different output of trying to send to the proxy which fails with >>> an ICMP error (tport_udp_error) - expected since it tries 5060 instead of >>> the proxy's actual port. >>> >>> If no-one has it working, I'll try to reproduce on 1.6 and file a Jira. >>> >>> >>> On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < >>> cal.leeming at simplicitymedialtd.co.uk> wrote: >>> >>>> Hi Chris, >>>> >>>> From what I can tell, the value from profile->outbound-proxy is >>>> passed into sofia NTATAG_DEFAULT_PROXY() and accepts a url_t structure [1], >>>> which clearly allows for a port to be specified [2]. However, I was unable >>>> to find any working examples from others on setting a port value inside >>>> outbound-proxy, nor did the documentation reference this. >>>> >>>> Can you please tell us; >>>> >>>> * Are you running against the latest stable version of FS? >>>> * Have you tried this against the most recent master? >>>> * Can you please pastebin the logs of what happens when you try >>>> including a port? >>>> >>>> Once you've sent this through, we can determine if it's a bug or not. >>>> >>>> Hope this helps >>>> >>>> Cal >>>> >>>> [1] >>>> http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7 >>>> [2] >>>> http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html >>>> >>>> >>>> >>>> On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I need to send registrations and calls from external profile to a si >>>>> provider, passing through an outbound proxy, port 5080. >>>>> >>>>> I I set on sofia: >>>>> >>>>> >>>>> >>>>> Registrations pass through the OB Proxy, but using, of course, >>>>> standard 5060 port. >>>>> >>>>> I I set on sofia: >>>>> >>>>> >>>>> >>>>> Param seems to be not understood and registrations go directly to the >>>>> sip provider. >>>>> >>>>> How can I set outbound proxy port? >>>>> >>>>> Thanks >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>> http://www.cudatel.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://wiki.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>> http://www.cudatel.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://wiki.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160105/b3d05d7c/attachment-0001.html From dcorbe at hammerfiber.com Tue Jan 5 20:45:26 2016 From: dcorbe at hammerfiber.com (Daniel Corbe) Date: Tue, 5 Jan 2016 12:45:26 -0500 Subject: [Freeswitch-users] Authentication of REGISTERs through a RADIUS server Message-ID: <06E0FA1D-D3E6-4D98-99EA-197CB8F5552E@hammerfiber.com> Hello, I took note of mod_xml_radius but the documentation on this module is thin in comparison to the rest of the mod set. It isn?t clear to me how I?d tell FreeSWITCH to begin routing REGISTER requests to my RADIUS server once I?ve enabled and configured the mod. I?ve got a pretty simple configuration in place as I?m only interested in registrations (below). Is there something I need to do now either from the dialplan or the Sofia config? Someone hitting me with a cluebat here would be lovely. freeswitch at voice-lab.hammerfiber.net> load mod_xml_radius 2016-01-05 12:43:33.179332 [INFO] mod_xml_radius.c:170 Could not find 'auth_invite' section in config file. 2016-01-05 12:43:33.198334 [INFO] mod_enum.c:880 ENUM Reloaded 2016-01-05 12:43:33.198334 [INFO] switch_time.c:1415 Timezone reloaded 1781 definitions 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:257 Could not find 'auth_app' section in config file. 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:291 Could not find 'acct_start' section in config file. 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:325 Could not find 'acct_end' section in config file. 2016-01-05 12:43:33.198334 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_xml_radius] 2016-01-05 12:43:33.198334 [NOTICE] switch_loadable_module.c:292 Adding Application 'radius_auth' 2016-01-05 12:43:33.198334 [NOTICE] switch_loadable_module.c:338 Adding API Function ?xml_radius_debug' From mike at jerris.com Tue Jan 5 20:58:51 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 5 Jan 2016 12:58:51 -0500 Subject: [Freeswitch-users] Authentication of REGISTERs through a RADIUS server In-Reply-To: <06E0FA1D-D3E6-4D98-99EA-197CB8F5552E@hammerfiber.com> References: <06E0FA1D-D3E6-4D98-99EA-197CB8F5552E@hammerfiber.com> Message-ID: <362D6B65-B03B-4309-854A-AD4370470BF6@jerris.com> It would be doing the user lookup for authentication... that would be for all auth, not just for register. > On Jan 5, 2016, at 12:45 PM, Daniel Corbe wrote: > > Hello, > > I took note of mod_xml_radius but the documentation on this module is thin in comparison to the rest of the mod set. It isn?t clear to me how I?d tell FreeSWITCH to begin routing REGISTER requests to my RADIUS server once I?ve enabled and configured the mod. I?ve got a pretty simple configuration in place as I?m only interested in registrations (below). Is there something I need to do now either from the dialplan or the Sofia config? Someone hitting me with a cluebat here would be lovely. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > freeswitch at voice-lab.hammerfiber.net> load mod_xml_radius > 2016-01-05 12:43:33.179332 [INFO] mod_xml_radius.c:170 Could not find 'auth_invite' section in config file. > 2016-01-05 12:43:33.198334 [INFO] mod_enum.c:880 ENUM Reloaded > 2016-01-05 12:43:33.198334 [INFO] switch_time.c:1415 Timezone reloaded 1781 definitions > 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:257 Could not find 'auth_app' section in config file. > 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:291 Could not find 'acct_start' section in config file. > 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:325 Could not find 'acct_end' section in config file. > 2016-01-05 12:43:33.198334 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_xml_radius] > 2016-01-05 12:43:33.198334 [NOTICE] switch_loadable_module.c:292 Adding Application 'radius_auth' > 2016-01-05 12:43:33.198334 [NOTICE] switch_loadable_module.c:338 Adding API Function ?xml_radius_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 From sdevoy at bizfocused.com Tue Jan 5 21:16:36 2016 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 5 Jan 2016 18:16:36 +0000 Subject: [Freeswitch-users] Longtime working user's phone now disconnecting Message-ID: Hi, I have an emotional user who now claims her phone fails at least once a week and everyone else's must be, but no one has ever reported it! My very favorite kind of complaint - entirely founded in emotion, myth and misunderstanding. In any case, I called her. I spent 4:11 listening to her complain, but not be able to sight a single instance I could research. Then the connection was lost. She claims she did not hang up, the line went dead. Perhaps there is an actual problem after all. I will add at least one of the errors she reported would lead me to believe there is a hardware (or power) issue on her desk phone (Cisco SPA540). I did look on the phone after the dropped call and the phone did NOT reboot and said it was still registered from 45 minutes earlier. Just FYI: The problems are reported to have started when COMCAST replaced their DSL and they got new external IP addresses. The phones are NATed. Can someone tell me what [BREAK], [NORMAL CLEARING], then "port ending bridge by request from write function" means? Just for background, this was an internal ext to ext dial in separate "domains" on my FS server. NO IVR involved. Here is a log excerpt: 12:32:12.178673 [DEBUG] sofia_glue.c:3429 sofia/external/220 at redacted.com Setting audio receive payload in Re-INVITE to 0 12:36:23.318530 [DEBUG] switch_core_session.c:1016 Send signal sofia/external/sip:10 at redacted_too:port [BREAK] 12:36:23.338532 [NOTICE] sofia.c:737 Hangup sofia/external/sip:10 at redacted_too:port [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:569 sofia/external/sip:10 at redacted_too:port ending bridge by request from write function 12:36:23.338532 [DEBUG] switch_channel.c:3187 Send signal sofia/external/sip:10 at redacted_too:port [KILL] 12:36:23.338532 [DEBUG] switch_core_session.c:1351 Send signal sofia/external/sip:10 at redacted_too:port [BREAK] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:645 BRIDGE THREAD DONE [sofia/external/220 at redacted.com] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:675 Send signal sofia/external/sip:10 at redacted_too:port [BREAK] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:645 BRIDGE THREAD DONE [sofia/external/sip:10 at redacted_too:port] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:675 Send signal sofia/external/220 at redacted.com [BREAK] Any ideas where I should look next or even what the problem is? NOTHING has changed on the server for months and months. The FS version is rather out of date, but has been stable for a long time. Thanks in advance. Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/7c5013e0/attachment.html From dcorbe at hammerfiber.com Tue Jan 5 22:12:23 2016 From: dcorbe at hammerfiber.com (Daniel Corbe) Date: Tue, 5 Jan 2016 14:12:23 -0500 Subject: [Freeswitch-users] Authentication of REGISTERs through a RADIUS server In-Reply-To: <362D6B65-B03B-4309-854A-AD4370470BF6@jerris.com> References: <06E0FA1D-D3E6-4D98-99EA-197CB8F5552E@hammerfiber.com> <362D6B65-B03B-4309-854A-AD4370470BF6@jerris.com> Message-ID: Well re-enabling the rest of the configuration certainly worked. So it is as automatic as I thought it would be. I suppose I?m happy to run everything else through RADIUS as well. Thanks for the help! -Daniel > On Jan 5, 2016, at 12:58 PM, Michael Jerris wrote: > > It would be doing the user lookup for authentication... that would be for all auth, not just for register. > >> On Jan 5, 2016, at 12:45 PM, Daniel Corbe wrote: >> >> Hello, >> >> I took note of mod_xml_radius but the documentation on this module is thin in comparison to the rest of the mod set. It isn?t clear to me how I?d tell FreeSWITCH to begin routing REGISTER requests to my RADIUS server once I?ve enabled and configured the mod. I?ve got a pretty simple configuration in place as I?m only interested in registrations (below). Is there something I need to do now either from the dialplan or the Sofia config? Someone hitting me with a cluebat here would be lovely. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> freeswitch at voice-lab.hammerfiber.net> load mod_xml_radius >> 2016-01-05 12:43:33.179332 [INFO] mod_xml_radius.c:170 Could not find 'auth_invite' section in config file. >> 2016-01-05 12:43:33.198334 [INFO] mod_enum.c:880 ENUM Reloaded >> 2016-01-05 12:43:33.198334 [INFO] switch_time.c:1415 Timezone reloaded 1781 definitions >> 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:257 Could not find 'auth_app' section in config file. >> 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:291 Could not find 'acct_start' section in config file. >> 2016-01-05 12:43:33.198334 [INFO] mod_xml_radius.c:325 Could not find 'acct_end' section in config file. >> 2016-01-05 12:43:33.198334 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_xml_radius] >> 2016-01-05 12:43:33.198334 [NOTICE] switch_loadable_module.c:292 Adding Application 'radius_auth' >> 2016-01-05 12:43:33.198334 [NOTICE] switch_loadable_module.c:338 Adding API Function ?xml_radius_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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 rayk at pontimax.com Wed Jan 6 02:58:18 2016 From: rayk at pontimax.com (Ray Keating) Date: Tue, 5 Jan 2016 18:58:18 -0500 Subject: [Freeswitch-users] lua IVR interactivity problem Message-ID: <017d01d14814$f561d3f0$e0257bd0$@pontimax.com> >> Does anyone use a scripting language based IVR and have this solved? >> Or otherwise have a solution that doesn't involve maintaining 2 >> distinct IVRs If I correctly understand your requirements, then, yes there is a solution. Dave Kompel of Xarix.net has a set of C# classes that wrap the mod_managed FreeSWITCH/FreeSWITCH.Native Event and FreeSWITCH core interface routines to provide the capabilities that you are seeking. His ivr.cs class includes a Play() method that has overloads for playing a prompt file or a list of prompt files. A GetDTMF() method fully supports DTMF barge-in, as well as integrated speech recognition for mixed speech recognition/DTMF based barge-in. Helper classes for dial plan and directory configuration and handling are provided as is FreeSWITCH event accessing and processing. He makes the source freely available for redistribution. We have implemented a mod_managed, C# based version of the classic "Pizza Ordering" speech recognition demo, using Dave's C# classes and our recently introduced MRCPv1, Microsoft Speech Platform 11 based speech recognition server, "mrcpSP11-STT". It fully illustrates the use of single prompt/multiple prompts, prompt barge-in and integrated speech and DTMF handling. It also provides multiple examples of the use of his recently added ASR interfacing capability, via session exec of "detect_speech" and ASR event tracking. A Visual Studio solution containing Dave's C# classes and of course the IVR application classes is available for download at www.pontimax.com/downloads. The IVR prompt files are not contained in the application solution but can be provided upon request. Ray Keating www.pontimax.com 203-526-0170 On Mon, Dec 28, 2015 at 5:41 PM, Stanislav Sinyagin wrote: > it's much easier to implement the IVR logic via an ESL connection. > Then you can script it in your preferred programming language and > perform all necessary database lookups or whatever your application > requires. > > But in both cases (Lua or mod_perl or mod_python or an ESL > application), you would need to execute playAndGetDigits in order to > let the user enter DTMF during the playback of the prompt. If you have > multiple audio files to play back, you just execute playAndGetDigits > with every audio file in the sequence until the DTMF input is > detected. You can also build a phrase macro and use it instead. > > In case of ESL, you can also subscribe to DTMF events and play audio > files asynchronously if playAndGetDigits is not sufficient for your > needs. > > Here is a short example in Golang, probably you'll find it useful: > https://github.com/xlab1/go-fs-secretary-prototype/blob/master/golang/secretary_server.go > > > > > On Mon, Dec 28, 2015 at 6:46 PM, Peter Hartmann > wrote: >> I'm trying to port an IVR to lua. I'm new to lua by the way. The big >> picture: the goal is that the IVR should change based on the output of >> a shell script. >> >> I've followed the basic example over here, substituting my several wav files >> for the TTS prompts. >> >> https://freeswitch.org/confluence/display/FREESWITCH/Lua+Welcome+IVR+example >> >> But I've noticed a huge difference between this and the core IVR >> functionality. DTMF will not interrupt the prompts, it will only be >> accepted when the script reaches the session:getDigits line. It >> seems like session:playAndGetDigits could be interactive, but it only >> accepts one wav. Is there a way for either playAndGetDigits to accept >> multiple wav files (without concatinating)? Or otherwise is there a >> way for a scripted IVR to have this interactive functionality? Seems >> like I need to fork the getDigits first and then play the wavs, right? >> >> I realize I could probably do the logic in the dialplan and then send >> the caller to different IVRs, but I'd rather not maintain 2 mostly >> similar IVRs. >> >> Does anyone use a scripting language based IVR and have this solved? >> Or otherwise have a solution that doesn't involve maintaining 2 >> distinct IVRs? >> >> Thanks much >> >> >> >> >> >> Peter Hartmann >> Hartmann Computer Consulting >> http://blog.hartmanncomputer.com >> (212)203-8870 >> >> If I can't explain it to you in plain language, that means I don't >> understand it. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Wed Jan 6 04:57:43 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 5 Jan 2016 20:57:43 -0500 Subject: [Freeswitch-users] digit_action_set_realm question In-Reply-To: References: Message-ID: Thanks for clarifying that, Anthony. I have added that to the page https://freeswitch.org/confluence/display/FREESWITCH/clear_digit_action Happy New Year! Bote On Mon, Jan 4, 2016 at 6:43 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > app: clear_digit_action args: |all[,target] > > no args is the same as all > > target is "peer" or "both" > > On Mon, Jan 4, 2016 at 5:22 PM, Abaci B wrote: > >> Hi, >> I was wondering if there is any way to unset the bind_digit_action realm >> once it's set using digit_action_set_realm, I tried setting it to "_UNDEF_" >> and "" none which seem to work. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/55b11aee/attachment.html From bote_radio at botecomm.com Wed Jan 6 05:01:34 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 5 Jan 2016 21:01:34 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: There exists an API command for the conference called "relate" which can mute one conferee relative to another specified conferee. If you wish to keep conferees separate this might help you, but it requires some scripting to implement at call setup time. Perhaps I don't understand your question fully? Bote On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen wrote: > Hi, > > Many thanks for the link - I'l have a look at it. But it seems quite > "difficult" to do. After browsing on the mod_conference, I found this > example: > data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> > > Doesn't that do something similar? > > On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin > wrote: > >> of course you can, you just use mod_conference and some magic. >> >> Here's my script which does approximately what you described, but its >> main purpose is test automation. >> >> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >> >> >> >> >> >> >> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen >> wrote: >> > Is it possible to dial multiple users at once, for initiating a >> conference >> > call - without the need for a conference room. >> > >> > And without having the client as "connection-point" for all the parties >> > involved, but having FreeSWITCH handling the merging of calls, so the >> RTP >> > stream for each client is similar to a 1-1 call for all parties. >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160105/a04c7f27/attachment.html From brian at freeswitch.org Wed Jan 6 05:13:50 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 5 Jan 2016 20:13:50 -0600 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: Or better yet, look at the madboss example in our vanilla config! On Tue, Jan 5, 2016 at 8:01 PM, Bote Man wrote: > There exists an API command for the conference called "relate" which can > mute one conferee relative to another specified conferee. If you wish to > keep conferees separate this might help you, but it requires some scripting > to implement at call setup time. Perhaps I don't understand your question > fully? > > Bote > > > On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen > wrote: > >> Hi, >> >> Many thanks for the link - I'l have a look at it. But it seems quite >> "difficult" to do. After browsing on the mod_conference, I found this >> example: >> > data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >> >> Doesn't that do something similar? >> >> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin >> wrote: >> >>> of course you can, you just use mod_conference and some magic. >>> >>> Here's my script which does approximately what you described, but its >>> main purpose is test automation. >>> >>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>> >>> >>> >>> >>> >>> >>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen >>> wrote: >>> > Is it possible to dial multiple users at once, for initiating a >>> conference >>> > call - without the need for a conference room. >>> > >>> > And without having the client as "connection-point" for all the parties >>> > involved, but having FreeSWITCH handling the merging of calls, so the >>> RTP >>> > stream for each client is similar to a 1-1 call for all parties. >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160105/84a264f1/attachment-0001.html From bote_radio at botecomm.com Wed Jan 6 05:37:50 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 5 Jan 2016 21:37:50 -0500 Subject: [Freeswitch-users] FS conference limitations Message-ID: This is probably best answered by Anthony or Mike J. I need to make extensive use of the "relate" conference API command to eliminate feedback between a bunch of VoIP speakers that have microphone talkback capability. Is there a practical limit on how many "relations" I can set up to mute conferees from hearing each other? I have 16 endpoints in one building and probably 8 to 10 of them need to be muted relative to their nearest neighbors so that list can get fairly large I imagine. I just don't know how far I can push it. Then I have to become a wizard at Lua script programming in a matter of a few hours to make this all work. Pointers to help are greatly appreciated. If I get stuck look for a bounty request :-) I'm thinking I can set up a linked-list populated with the extension number (which I know and is fixed) paired with the conference user id (which varies with each call, but is used by the 'relate' command). I'm just going to make it very simple with everything defined in the script header since it won't change. Once this is done I hope to donate it back to the community in the rare chance that somebody else finds it useful. Thanks! Bote -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160105/b0e6f749/attachment.html From covici at ccs.covici.com Wed Jan 6 11:51:27 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Wed, 06 Jan 2016 03:51:27 -0500 Subject: [Freeswitch-users] lua IVR interactivity problem In-Reply-To: <017d01d14814$f561d3f0$e0257bd0$@pontimax.com> References: <017d01d14814$f561d3f0$e0257bd0$@pontimax.com> Message-ID: <20998.1452070287@ccs.covici.com> I get a 403 error when trying to access your page. Ray Keating wrote: > >> Does anyone use a scripting language based IVR and have this solved? > >> Or otherwise have a solution that doesn't involve maintaining 2 > >> distinct IVRs > > If I correctly understand your requirements, then, yes there is a solution. > > Dave Kompel of Xarix.net has a set of C# classes that wrap the mod_managed > FreeSWITCH/FreeSWITCH.Native Event and FreeSWITCH core interface routines to > provide the capabilities that you are seeking. His ivr.cs class includes a Play() method > that has overloads for playing a prompt file or a list of prompt files. A GetDTMF() > method fully supports DTMF barge-in, as well as integrated speech recognition for mixed > speech recognition/DTMF based barge-in. Helper classes for dial plan and > directory configuration and handling are provided as is FreeSWITCH event accessing and > processing. He makes the source freely available for redistribution. > > We have implemented a mod_managed, C# based version of the classic "Pizza Ordering" > speech recognition demo, using Dave's C# classes and our recently introduced > MRCPv1, Microsoft Speech Platform 11 based speech recognition server, "mrcpSP11-STT". > It fully illustrates the use of single prompt/multiple prompts, prompt barge-in and > integrated speech and DTMF handling. It also provides multiple examples of the use of his > recently added ASR interfacing capability, via session exec of "detect_speech" and ASR > event tracking. > > A Visual Studio solution containing Dave's C# classes and of course the IVR application > classes is available for download at www.pontimax.com/downloads. The IVR prompt > files are not contained in the application solution but can be provided upon request. > > > Ray Keating > www.pontimax.com > 203-526-0170 > > On Mon, Dec 28, 2015 at 5:41 PM, Stanislav Sinyagin wrote: > > it's much easier to implement the IVR logic via an ESL connection. > > Then you can script it in your preferred programming language and > > perform all necessary database lookups or whatever your application > > requires. > > > > But in both cases (Lua or mod_perl or mod_python or an ESL > > application), you would need to execute playAndGetDigits in order to > > let the user enter DTMF during the playback of the prompt. If you have > > multiple audio files to play back, you just execute playAndGetDigits > > with every audio file in the sequence until the DTMF input is > > detected. You can also build a phrase macro and use it instead. > > > > In case of ESL, you can also subscribe to DTMF events and play audio > > files asynchronously if playAndGetDigits is not sufficient for your > > needs. > > > > Here is a short example in Golang, probably you'll find it useful: > > https://github.com/xlab1/go-fs-secretary-prototype/blob/master/golang/secretary_server.go > > > > > > > > > > On Mon, Dec 28, 2015 at 6:46 PM, Peter Hartmann > > wrote: > >> I'm trying to port an IVR to lua. I'm new to lua by the way. The big > >> picture: the goal is that the IVR should change based on the output of > >> a shell script. > >> > >> I've followed the basic example over here, substituting my several wav files > >> for the TTS prompts. > >> > >> https://freeswitch.org/confluence/display/FREESWITCH/Lua+Welcome+IVR+example > >> > >> But I've noticed a huge difference between this and the core IVR > >> functionality. DTMF will not interrupt the prompts, it will only be > >> accepted when the script reaches the session:getDigits line. It > >> seems like session:playAndGetDigits could be interactive, but it only > >> accepts one wav. Is there a way for either playAndGetDigits to accept > >> multiple wav files (without concatinating)? Or otherwise is there a > >> way for a scripted IVR to have this interactive functionality? Seems > >> like I need to fork the getDigits first and then play the wavs, right? > >> > >> I realize I could probably do the logic in the dialplan and then send > >> the caller to different IVRs, but I'd rather not maintain 2 mostly > >> similar IVRs. > >> > >> Does anyone use a scripting language based IVR and have this solved? > >> Or otherwise have a solution that doesn't involve maintaining 2 > >> distinct IVRs? > >> > >> Thanks much > >> > >> > >> > >> > >> > >> Peter Hartmann > >> Hartmann Computer Consulting > >> http://blog.hartmanncomputer.com > >> (212)203-8870 > >> > >> If I can't explain it to you in plain language, that means I don't > >> understand it. > >> > >> _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 chad at apartmentlines.com Wed Jan 6 16:59:10 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Wed, 6 Jan 2016 06:59:10 -0700 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: Message-ID: If you can compile FS for your use case, this PR I have pending might simplify things for you: https://freeswitch.org/jira/browse/FS-8685 Basically allows you to form multiple relations with one command. Note that it doesn't reduce the amount of relations core forms, just the number of individual relate commands you need to issue from the Lua script. I'm also pretty good with Lua, if you're interested in going the bounty route. You can probably catch me in #freeswitch today, nick hunmonk. Chad On Tue, Jan 5, 2016 at 7:37 PM, Bote Man wrote: > This is probably best answered by Anthony or Mike J. > > I need to make extensive use of the "relate" conference API command to > eliminate feedback between a bunch of VoIP speakers that have microphone > talkback capability. > > Is there a practical limit on how many "relations" I can set up to mute > conferees from hearing each other? I have 16 endpoints in one building and > probably 8 to 10 of them need to be muted relative to their nearest > neighbors so that list can get fairly large I imagine. I just don't know > how far I can push it. > > Then I have to become a wizard at Lua script programming in a matter of a > few hours to make this all work. Pointers to help are greatly appreciated. > If I get stuck look for a bounty request :-) > > I'm thinking I can set up a linked-list populated with the extension > number (which I know and is fixed) paired with the conference user id > (which varies with each call, but is used by the 'relate' command). I'm > just going to make it very simple with everything defined in the script > header since it won't change. > > Once this is done I hope to donate it back to the community in the rare > chance that somebody else finds it useful. > > Thanks! > > Bote > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/173b7ae4/attachment.html From mic.niel84 at gmail.com Wed Jan 6 17:38:46 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 6 Jan 2016 15:38:46 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: I see, so I somehow need to dynamically create my dialplan upon dialing. On Wed, Jan 6, 2016 at 3:13 AM, Brian West wrote: > Or better yet, look at the madboss example in our vanilla config! > > > > > > > > > > > > "conference_auto_outcall_caller_id_number=0911"/> > > "conference_auto_outcall_timeout=60"/> > > "conference_auto_outcall_flags=none"/> > > > > > > "loopback/9664"/> > > > > > > > > On Tue, Jan 5, 2016 at 8:01 PM, Bote Man wrote: > >> There exists an API command for the conference called "relate" which can >> mute one conferee relative to another specified conferee. If you wish to >> keep conferees separate this might help you, but it requires some scripting >> to implement at call setup time. Perhaps I don't understand your question >> fully? >> >> Bote >> >> >> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen >> wrote: >> >>> Hi, >>> >>> Many thanks for the link - I'l have a look at it. But it seems quite >>> "difficult" to do. After browsing on the mod_conference, I found this >>> example: >>> >> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>> >>> Doesn't that do something similar? >>> >>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin >>> wrote: >>> >>>> of course you can, you just use mod_conference and some magic. >>>> >>>> Here's my script which does approximately what you described, but its >>>> main purpose is test automation. >>>> >>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen >>>> wrote: >>>> > Is it possible to dial multiple users at once, for initiating a >>>> conference >>>> > call - without the need for a conference room. >>>> > >>>> > And without having the client as "connection-point" for all the >>>> parties >>>> > involved, but having FreeSWITCH handling the merging of calls, so the >>>> RTP >>>> > stream for each client is similar to a 1-1 call for all parties. >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > Got Bugs? Report them here ! | 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/20160106/2895648a/attachment-0001.html From mic.niel84 at gmail.com Wed Jan 6 17:40:45 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 6 Jan 2016 15:40:45 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: My idea was, whenever dialing from my SIP client: 1001;1002;1003, all of them would be called at the same time - and all of them would join a mutual call. On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen wrote: > I see, so I somehow need to dynamically create my dialplan upon dialing. > > On Wed, Jan 6, 2016 at 3:13 AM, Brian West wrote: > >> Or better yet, look at the madboss example in our vanilla config! >> >> >> >> >> >> >> >> >> >> >> >> > "conference_auto_outcall_caller_id_number=0911"/> >> >> > "conference_auto_outcall_timeout=60"/> >> >> > "conference_auto_outcall_flags=none"/> >> >> >> >> >> >> > "loopback/9664"/> >> >> >> >> >> >> >> >> On Tue, Jan 5, 2016 at 8:01 PM, Bote Man wrote: >> >>> There exists an API command for the conference called "relate" which can >>> mute one conferee relative to another specified conferee. If you wish to >>> keep conferees separate this might help you, but it requires some scripting >>> to implement at call setup time. Perhaps I don't understand your question >>> fully? >>> >>> Bote >>> >>> >>> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen >>> wrote: >>> >>>> Hi, >>>> >>>> Many thanks for the link - I'l have a look at it. But it seems quite >>>> "difficult" to do. After browsing on the mod_conference, I found this >>>> example: >>>> >>> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>>> >>>> Doesn't that do something similar? >>>> >>>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin >>> > wrote: >>>> >>>>> of course you can, you just use mod_conference and some magic. >>>>> >>>>> Here's my script which does approximately what you described, but its >>>>> main purpose is test automation. >>>>> >>>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen >>>>> wrote: >>>>> > Is it possible to dial multiple users at once, for initiating a >>>>> conference >>>>> > call - without the need for a conference room. >>>>> > >>>>> > And without having the client as "connection-point" for all the >>>>> parties >>>>> > involved, but having FreeSWITCH handling the merging of calls, so >>>>> the RTP >>>>> > stream for each client is similar to a 1-1 call for all parties. >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> Got Bugs? Report them here ! | 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/20160106/c18fe83b/attachment.html From bote_radio at botecomm.com Wed Jan 6 18:00:46 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 6 Jan 2016 10:00:46 -0500 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: Message-ID: Thanks! I actually found a very helpful Lua tutorial on YouTube from a guy named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. so I'm gonna take a stab at it. It will be very quick and dirty with hard-coded relations, but it is a fixed application so once it is tweaked it should never need to be changed so I can live with that. But we're still talking about ME so don't stray too far from that irc client today, OK? :-) I'm up against a huge time crunch so even though I did build this FS installation from source code I just can't take the time for experimentation at this point. (Also, I hope to perform one other simple conference function in the script while I'm already at it). I'm a big user of mod_conference so when I get back home under calmer circumstances I'll have to take a look at it as this could prove very useful in certain niche applications. Thanks again! Bote On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips wrote: > If you can compile FS for your use case, this PR I have pending might > simplify things for you: https://freeswitch.org/jira/browse/FS-8685 > > Basically allows you to form multiple relations with one command. Note > that it doesn't reduce the amount of relations core forms, just the number > of individual relate commands you need to issue from the Lua script. > > I'm also pretty good with Lua, if you're interested in going the bounty > route. You can probably catch me in #freeswitch today, nick hunmonk. > > Chad > > On Tue, Jan 5, 2016 at 7:37 PM, Bote Man wrote: > >> This is probably best answered by Anthony or Mike J. >> >> I need to make extensive use of the "relate" conference API command to >> eliminate feedback between a bunch of VoIP speakers that have microphone >> talkback capability. >> >> Is there a practical limit on how many "relations" I can set up to mute >> conferees from hearing each other? I have 16 endpoints in one building and >> probably 8 to 10 of them need to be muted relative to their nearest >> neighbors so that list can get fairly large I imagine. I just don't know >> how far I can push it. >> >> Then I have to become a wizard at Lua script programming in a matter of a >> few hours to make this all work. Pointers to help are greatly appreciated. >> If I get stuck look for a bounty request :-) >> >> I'm thinking I can set up a linked-list populated with the extension >> number (which I know and is fixed) paired with the conference user id >> (which varies with each call, but is used by the 'relate' command). I'm >> just going to make it very simple with everything defined in the script >> header since it won't change. >> >> Once this is done I hope to donate it back to the community in the rare >> chance that somebody else finds it useful. >> >> Thanks! >> >> Bote >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/86054347/attachment-0001.html From bote_radio at botecomm.com Wed Jan 6 18:05:20 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 6 Jan 2016 10:05:20 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: That's what the outbound conference call does, it originates outbound legs to the specified endpoints and joins them to the specified conference. I use it all the time in a fixed group application. I imagine that with a curl lookup you could fill in the blanks to be called with a little scripting magic. Bote On Wed, Jan 6, 2016 at 9:40 AM, Michael Nielsen wrote: > My idea was, whenever dialing from my SIP client: 1001;1002;1003, all of > them would be called at the same time - and all of them would join a mutual > call. > > On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen > wrote: > >> I see, so I somehow need to dynamically create my dialplan upon dialing. >> >> On Wed, Jan 6, 2016 at 3:13 AM, Brian West wrote: >> >>> Or better yet, look at the madboss example in our vanilla config! >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> "conference_auto_outcall_caller_id_number=0911"/> >>> >>> >> "conference_auto_outcall_timeout=60"/> >>> >>> >> "conference_auto_outcall_flags=none"/> >>> >>> >>> >>> >>> >>> >> "loopback/9664"/> >>> >>> >>> >>> >>> >>> >>> >>> On Tue, Jan 5, 2016 at 8:01 PM, Bote Man >>> wrote: >>> >>>> There exists an API command for the conference called "relate" which >>>> can mute one conferee relative to another specified conferee. If you wish >>>> to keep conferees separate this might help you, but it requires some >>>> scripting to implement at call setup time. Perhaps I don't understand your >>>> question fully? >>>> >>>> Bote >>>> >>>> >>>> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> Many thanks for the link - I'l have a look at it. But it seems quite >>>>> "difficult" to do. After browsing on the mod_conference, I found this >>>>> example: >>>>> >>>> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>>>> >>>>> Doesn't that do something similar? >>>>> >>>>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>>> of course you can, you just use mod_conference and some magic. >>>>>> >>>>>> Here's my script which does approximately what you described, but its >>>>>> main purpose is test automation. >>>>>> >>>>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen < >>>>>> mic.niel84 at gmail.com> wrote: >>>>>> > Is it possible to dial multiple users at once, for initiating a >>>>>> conference >>>>>> > call - without the need for a conference room. >>>>>> > >>>>>> > And without having the client as "connection-point" for all the >>>>>> parties >>>>>> > involved, but having FreeSWITCH handling the merging of calls, so >>>>>> the RTP >>>>>> > stream for each client is similar to a 1-1 call for all parties. >>>>>> > >>>>>> > >>>>>> _________________________________________________________________________ >>>>>> > Professional FreeSWITCH Consulting Services: >>>>>> > consulting at freeswitch.org >>>>>> > http://www.freeswitchsolutions.com >>>>>> > >>>>>> > Official FreeSWITCH Sites >>>>>> > http://www.freeswitch.org >>>>>> > http://confluence.freeswitch.org >>>>>> > http://www.cluecon.com >>>>>> > >>>>>> > FreeSWITCH-users mailing list >>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> > UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> > http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> Got Bugs? Report them here ! | 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/20160106/b30ffaf5/attachment.html From mic.niel84 at gmail.com Wed Jan 6 18:08:33 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 6 Jan 2016 16:08:33 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: I'll try the following: Create a LUA script placed in the dialplan directory. Match any destination_number which contains ; (semi-colon). Create the madboss example and loop through the destination_number split between semi-colons for conference_set_auto_outcall. Does this make sense? On Wed, Jan 6, 2016 at 4:05 PM, Bote Man wrote: > That's what the outbound conference call does, it originates outbound legs > to the specified endpoints and joins them to the specified conference. I > use it all the time in a fixed group application. I imagine that with a > curl lookup you could fill in the blanks to be called with a little > scripting magic. > > Bote > > > On Wed, Jan 6, 2016 at 9:40 AM, Michael Nielsen > wrote: > >> My idea was, whenever dialing from my SIP client: 1001;1002;1003, all of >> them would be called at the same time - and all of them would join a mutual >> call. >> >> On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen >> wrote: >> >>> I see, so I somehow need to dynamically create my dialplan upon dialing. >>> >>> On Wed, Jan 6, 2016 at 3:13 AM, Brian West wrote: >>> >>>> Or better yet, look at the madboss example in our vanilla config! >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> "conference_auto_outcall_caller_id_number=0911"/> >>>> >>>> >>> "conference_auto_outcall_timeout=60"/> >>>> >>>> >>> "conference_auto_outcall_flags=none"/> >>>> >>>> >>>> >>>> >>>> >>>> >>> "loopback/9664"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Jan 5, 2016 at 8:01 PM, Bote Man >>>> wrote: >>>> >>>>> There exists an API command for the conference called "relate" which >>>>> can mute one conferee relative to another specified conferee. If you wish >>>>> to keep conferees separate this might help you, but it requires some >>>>> scripting to implement at call setup time. Perhaps I don't understand your >>>>> question fully? >>>>> >>>>> Bote >>>>> >>>>> >>>>> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> Many thanks for the link - I'l have a look at it. But it seems quite >>>>>> "difficult" to do. After browsing on the mod_conference, I found this >>>>>> example: >>>>>> >>>>> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>>>>> >>>>>> Doesn't that do something similar? >>>>>> >>>>>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin < >>>>>> ssinyagin at gmail.com> wrote: >>>>>> >>>>>>> of course you can, you just use mod_conference and some magic. >>>>>>> >>>>>>> Here's my script which does approximately what you described, but its >>>>>>> main purpose is test automation. >>>>>>> >>>>>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> > Is it possible to dial multiple users at once, for initiating a >>>>>>> conference >>>>>>> > call - without the need for a conference room. >>>>>>> > >>>>>>> > And without having the client as "connection-point" for all the >>>>>>> parties >>>>>>> > involved, but having FreeSWITCH handling the merging of calls, so >>>>>>> the RTP >>>>>>> > stream for each client is similar to a 1-1 call for all parties. >>>>>>> > >>>>>>> > >>>>>>> _________________________________________________________________________ >>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>> > consulting at freeswitch.org >>>>>>> > http://www.freeswitchsolutions.com >>>>>>> > >>>>>>> > Official FreeSWITCH Sites >>>>>>> > http://www.freeswitch.org >>>>>>> > http://confluence.freeswitch.org >>>>>>> > http://www.cluecon.com >>>>>>> > >>>>>>> > FreeSWITCH-users mailing list >>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> > UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> > http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> >>>> Got Bugs? Report them here ! | 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/20160106/3899ac76/attachment-0001.html From bote_radio at botecomm.com Wed Jan 6 18:17:48 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 6 Jan 2016 10:17:48 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: I can't comment on Lua code as I am a total Lua newbie. But I'm fearful that you are trying to complicate this where it is not necessary. If your extensions are fixed or can be parsed from a list or table, just assign each destination number to a channel variable and reference each channel variable in the _outcall app line like this: ... More at: https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-OutboundConference If it's a variable quantity of destinations each time then you'll have to script it, but if it's a fixed quantity of destinations with varying numbers you can just use the channel variable approach, or just hard-code a dialplan extension that matches one number or string and blasts the auto_outcall to all those numbers and joins them to the conference as they answer. I'll be out of communications for a bit in transit, but if they are holding the weekly conference call today at 13:00 ET you might strike gold there after the formal presentation is over. Success to you! Bote On Wed, Jan 6, 2016 at 10:08 AM, Michael Nielsen wrote: > I'll try the following: > > Create a LUA script placed in the dialplan directory. > Match any destination_number which contains ; (semi-colon). > Create the madboss example and loop through the destination_number split > between semi-colons for conference_set_auto_outcall. > > Does this make sense? > > On Wed, Jan 6, 2016 at 4:05 PM, Bote Man wrote: > >> That's what the outbound conference call does, it originates outbound >> legs to the specified endpoints and joins them to the specified conference. >> I use it all the time in a fixed group application. I imagine that with a >> curl lookup you could fill in the blanks to be called with a little >> scripting magic. >> >> Bote >> >> >> On Wed, Jan 6, 2016 at 9:40 AM, Michael Nielsen >> wrote: >> >>> My idea was, whenever dialing from my SIP client: 1001;1002;1003, all of >>> them would be called at the same time - and all of them would join a mutual >>> call. >>> >>> On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen >>> wrote: >>> >>>> I see, so I somehow need to dynamically create my dialplan upon dialing. >>>> >>>> On Wed, Jan 6, 2016 at 3:13 AM, Brian West >>>> wrote: >>>> >>>>> Or better yet, look at the madboss example in our vanilla config! >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> "conference_auto_outcall_caller_id_number=0911"/> >>>>> >>>>> >>>> "conference_auto_outcall_timeout=60"/> >>>>> >>>>> >>>> "conference_auto_outcall_flags=none"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> "loopback/9664"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Jan 5, 2016 at 8:01 PM, Bote Man >>>>> wrote: >>>>> >>>>>> There exists an API command for the conference called "relate" which >>>>>> can mute one conferee relative to another specified conferee. If you wish >>>>>> to keep conferees separate this might help you, but it requires some >>>>>> scripting to implement at call setup time. Perhaps I don't understand your >>>>>> question fully? >>>>>> >>>>>> Bote >>>>>> >>>>>> >>>>>> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen >>>>> > wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Many thanks for the link - I'l have a look at it. But it seems quite >>>>>>> "difficult" to do. After browsing on the mod_conference, I found this >>>>>>> example: >>>>>>> >>>>>> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>>>>>> >>>>>>> Doesn't that do something similar? >>>>>>> >>>>>>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin < >>>>>>> ssinyagin at gmail.com> wrote: >>>>>>> >>>>>>>> of course you can, you just use mod_conference and some magic. >>>>>>>> >>>>>>>> Here's my script which does approximately what you described, but >>>>>>>> its >>>>>>>> main purpose is test automation. >>>>>>>> >>>>>>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen < >>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>> > Is it possible to dial multiple users at once, for initiating a >>>>>>>> conference >>>>>>>> > call - without the need for a conference room. >>>>>>>> > >>>>>>>> > And without having the client as "connection-point" for all the >>>>>>>> parties >>>>>>>> > involved, but having FreeSWITCH handling the merging of calls, so >>>>>>>> the RTP >>>>>>>> > stream for each client is similar to a 1-1 call for all parties. >>>>>>>> > >>>>>>>> > >>>>>>>> _________________________________________________________________________ >>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>> > consulting at freeswitch.org >>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>> > >>>>>>>> > Official FreeSWITCH Sites >>>>>>>> > http://www.freeswitch.org >>>>>>>> > http://confluence.freeswitch.org >>>>>>>> > http://www.cluecon.com >>>>>>>> > >>>>>>>> > FreeSWITCH-users mailing list >>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> > UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> > http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 >>>>> >>>>> Got Bugs? Report them here ! | 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/20160106/bdf8d398/attachment-0001.html From ankit_doshi2011 at yahoo.com Wed Jan 6 18:40:24 2016 From: ankit_doshi2011 at yahoo.com (ankitdoshi) Date: Wed, 6 Jan 2016 08:40:24 -0700 (MST) Subject: [Freeswitch-users] How to get the answered call live duration? Message-ID: <1452094824196-7596197.post@n2.nabble.com> Hello, How can I get the answered call live duration ? Let me give an example what i want to ask, let's say user A dialed a call to B and B receives it after 10 seconds, they talked for 20 seconds so now i am getting 30 seconds in cdr, i want it exact 20 seconds Now let me explain what I did so far that I am getting this o/p I am doing current time - created_epoch but its giving total duration of ringing + answered duration (as per exp, 30 secs) Let me provide you the 'show calls' info while call ringing, 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 bce09d00-6**1-4**7-baa1-803f633b57cd,inbound,2016-01-06 19:30:26,14520***26,sofia/default/48******81@*.*.*.*,CS_EXECUTE,48******81,48******81,*.*.*.*,12345678,48******81@*.*.*.*,,RINGING,,,,,server,,,,,,,,,,,,,,,,,,,,, 97e47575-5**4-4**6-91cb-b6e75fea713e,outbound,2016-01-06 19:30:26,14520***26,sofia/default/12345678,CS_CONSUME_MEDIA,48******81,48******81,*.*.*.*,12345678,,,RINGING,Outbound Call,12345678,,bce09d00-6**1-4**7-baa1-803f633b57cd,server,,,,,,,,,,,,,,,,,,,,, And also 'show detailed_bridged_calls' info while call is on going 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,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_application,b_application_data,b_dialplan,b_context,b_read_codec,b_read_rate,b_read_bit_rate,b_write_codec,b_write_rate,b_write_bit_rate,b_secure,b_hostname,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_call_uuid,b_sent_callee_name,b_sent_callee_num,call_created_epoch bce09d00-6**1-4**7-baa1-803f633b57cd,inbound,2016-01-06 19:30:26,14520***26,sofia/default/48******81@*.*.*.*,CS_EXECUTE,48******81,48******81,*.*.*.*,12345678,,,XML,default,PCMA,8000,64000,PCMA,8000,64000,,servertwo,48******81@*.*.*.*,,HELD,,,,bce09d00-6**1-4**7-baa1-803f633b57cd,,,97e47575-5**4-4**6-91cb-b6e75fea713e,outbound,2016-01-06 19:30:26,14520***26,sofia/default/12345678,CS_EXCHANGE_MEDIA,48******81,48******81,*.*.*.*,12345678,playback,local_stream://moh,XML,default,PCMA,8000,64000,PCMA,8000,64000,,servertwo,,,ACTIVE,Outbound Call,12345678,,bce09d00-6**1-4**7-baa1-803f633b57cd,,,1452088836 Here, everywhere i am getting same time '2016-01-06 19:30:26' as created_epoch so is there any variable like 'answered_epoch' or 'bridged_epoch' which provide the exact time of answered call duration (as per exp, 20 secs) ? and not provide the ringing + answered duration (as per exp, 30 secs)? Any insights would be helpful. Thanks. ----- Thanks Ankit Doshi -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-get-the-answered-call-live-duration-tp7596197.html Sent from the freeswitch-users mailing list archive at Nabble.com. From avi at avimarcus.net Wed Jan 6 19:26:46 2016 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 6 Jan 2016 16:26:46 +0000 Subject: [Freeswitch-users] How to get the answered call live duration? In-Reply-To: <1452094824196-7596197.post@n2.nabble.com> References: <1452094824196-7596197.post@n2.nabble.com> Message-ID: <0000015217c3110c-4a533d07-da40-416d-8094-43b5498afee3-000000@email.amazonses.com> "duration" is the entire call, and "billsec" is just the connected time, without the ring. This is probably what you want. -Avi Marcus BestFone On Wed, Jan 6, 2016 at 5:40 PM, ankitdoshi wrote: > Hello, > > How can I get the answered call live duration ? > > Let me give an example what i want to ask, > let's say user A dialed a call to B and B receives it after 10 seconds, > they > talked for 20 seconds so now i am getting 30 seconds in cdr, i want it > exact > 20 seconds > > Now let me explain what I did so far that I am getting this o/p > I am doing current time - created_epoch but its giving total duration of > ringing + answered duration (as per exp, 30 secs) > > Let me provide you the 'show calls' info while call ringing, > > > 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 > bce09d00-6**1-4**7-baa1-803f633b57cd,inbound,2016-01-06 > 19:30:26,14520***26,sofia/default/48******81@ > *.*.*.*,CS_EXECUTE,48******81,48******81,*.*.*.*,12345678,48******81@ > *.*.*.*,,RINGING,,,,,server,,,,,,,,,,,,,,,,,,,,, > 97e47575-5**4-4**6-91cb-b6e75fea713e,outbound,2016-01-06 > > 19:30:26,14520***26,sofia/default/12345678,CS_CONSUME_MEDIA,48******81,48******81,*.*.*.*,12345678,,,RINGING,Outbound > > Call,12345678,,bce09d00-6**1-4**7-baa1-803f633b57cd,server,,,,,,,,,,,,,,,,,,,,, > > And also 'show detailed_bridged_calls' info while call is on going > > > 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,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_application,b_application_data,b_dialplan,b_context,b_read_codec,b_read_rate,b_read_bit_rate,b_write_codec,b_write_rate,b_write_bit_rate,b_secure,b_hostname,b_presence_id,b_presence_data,b_callstate,b_callee_name,b_callee_num,b_callee_direction,b_call_uuid,b_sent_callee_name,b_sent_callee_num,call_created_epoch > bce09d00-6**1-4**7-baa1-803f633b57cd,inbound,2016-01-06 > 19:30:26,14520***26,sofia/default/48******81@ > *.*.*.*,CS_EXECUTE,48******81,48******81,*.*.*.*,12345678,,,XML,default,PCMA,8000,64000,PCMA,8000,64000,,servertwo,48******81@ > *.*.*.*,,HELD,,,,bce09d00-6**1-4**7-baa1-803f633b57cd,,,97e47575-5**4-4**6-91cb-b6e75fea713e,outbound,2016-01-06 > > 19:30:26,14520***26,sofia/default/12345678,CS_EXCHANGE_MEDIA,48******81,48******81,*.*.*.*,12345678,playback,local_stream://moh,XML,default,PCMA,8000,64000,PCMA,8000,64000,,servertwo,,,ACTIVE,Outbound > Call,12345678,,bce09d00-6**1-4**7-baa1-803f633b57cd,,,1452088836 > > Here, everywhere i am getting same time '2016-01-06 19:30:26' as > created_epoch > so is there any variable like 'answered_epoch' or 'bridged_epoch' which > provide the exact time of answered call duration (as per exp, 20 secs) ? > and > not provide the ringing + answered duration (as per exp, 30 secs)? > > Any insights would be helpful. > Thanks. > > > > ----- > Thanks > Ankit Doshi > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/How-to-get-the-answered-call-live-duration-tp7596197.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160106/4f37890a/attachment.html From mike at jerris.com Wed Jan 6 19:55:42 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 6 Jan 2016 11:55:42 -0500 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: Message-ID: <0EA262D1-0113-483D-9880-663CDB01A654@jerris.com> Honestly I don?t think we have ever really stressed relate as far as number of members to see how it performs with a lot of them, maybe chad has experience in that? I was totally going to mention the couple pull requests in the works to make this easier too, but the performance question still stands, > On Jan 6, 2016, at 10:00 AM, Bote Man wrote: > > Thanks! I actually found a very helpful Lua tutorial on YouTube from a guy named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. so I'm gonna take a stab at it. It will be very quick and dirty with hard-coded relations, but it is a fixed application so once it is tweaked it should never need to be changed so I can live with that. > > But we're still talking about ME so don't stray too far from that irc client today, OK? :-) > > I'm up against a huge time crunch so even though I did build this FS installation from source code I just can't take the time for experimentation at this point. (Also, I hope to perform one other simple conference function in the script while I'm already at it). I'm a big user of mod_conference so when I get back home under calmer circumstances I'll have to take a look at it as this could prove very useful in certain niche applications. > > Thanks again! > > Bote > > > On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips > wrote: > If you can compile FS for your use case, this PR I have pending might simplify things for you: https://freeswitch.org/jira/browse/FS-8685 > > Basically allows you to form multiple relations with one command. Note that it doesn't reduce the amount of relations core forms, just the number of individual relate commands you need to issue from the Lua script. > > I'm also pretty good with Lua, if you're interested in going the bounty route. You can probably catch me in #freeswitch today, nick hunmonk. > > Chad > > On Tue, Jan 5, 2016 at 7:37 PM, Bote Man > wrote: > This is probably best answered by Anthony or Mike J. > > I need to make extensive use of the "relate" conference API command to eliminate feedback between a bunch of VoIP speakers that have microphone talkback capability. > > Is there a practical limit on how many "relations" I can set up to mute conferees from hearing each other? I have 16 endpoints in one building and probably 8 to 10 of them need to be muted relative to their nearest neighbors so that list can get fairly large I imagine. I just don't know how far I can push it. > > Then I have to become a wizard at Lua script programming in a matter of a few hours to make this all work. Pointers to help are greatly appreciated. If I get stuck look for a bounty request :-) > > I'm thinking I can set up a linked-list populated with the extension number (which I know and is fixed) paired with the conference user id (which varies with each call, but is used by the 'relate' command). I'm just going to make it very simple with everything defined in the script header since it won't change. > > Once this is done I hope to donate it back to the community in the rare chance that somebody else finds it useful. > > Thanks! > > Bote > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/b3d11fa6/attachment-0001.html From dutangp at gmail.com Wed Jan 6 16:47:32 2016 From: dutangp at gmail.com (Pierre-Emmanuel Dutang) Date: Wed, 6 Jan 2016 14:47:32 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" Message-ID: Hello, I need to create a cluster of Freeswitch for a project. the project is simple, we call people through freeswitch and we want to bridge 2 sessions, pretty simple :) But to be more scalable I want to use multiple freeswitch, that mean a call can go through one freeswitch F1 and another call through freeswitch F2. What I want is to be able to bridge a call from F1 with a call from F2. The solution can be bridge both sessions from 2 different freeswitch or move a channel to be in the same freeswitch to be able to bridge both sessions. I have no idea if I can do that and how to do it. I just read some stuff about mods_cluster but nothing clear with explanation. Thanks for you help :) -- Pierre 06 52 08 00 52 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160106/0571481f/attachment.html From bote_radio at botecomm.com Wed Jan 6 20:00:54 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 6 Jan 2016 12:00:54 -0500 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: <0EA262D1-0113-483D-9880-663CDB01A654@jerris.com> References: <0EA262D1-0113-483D-9880-663CDB01A654@jerris.com> Message-ID: I'll let ya know :-) Bote On Wed, Jan 6, 2016 at 11:55 AM, Michael Jerris wrote: > Honestly I don?t think we have ever really stressed relate as far as > number of members to see how it performs with a lot of them, maybe chad has > experience in that? I was totally going to mention the couple pull > requests in the works to make this easier too, but the performance question > still stands, > > On Jan 6, 2016, at 10:00 AM, Bote Man wrote: > > Thanks! I actually found a very helpful Lua tutorial on YouTube from a guy > named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. so > I'm gonna take a stab at it. It will be very quick and dirty with > hard-coded relations, but it is a fixed application so once it is tweaked > it should never need to be changed so I can live with that. > > But we're still talking about ME so don't stray too far from that irc > client today, OK? :-) > > I'm up against a huge time crunch so even though I did build this FS > installation from source code I just can't take the time for > experimentation at this point. (Also, I hope to perform one other simple > conference function in the script while I'm already at it). I'm a big user > of mod_conference so when I get back home under calmer circumstances I'll > have to take a look at it as this could prove very useful in certain niche > applications. > > Thanks again! > > Bote > > > On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips > wrote: > >> If you can compile FS for your use case, this PR I have pending might >> simplify things for you: https://freeswitch.org/jira/browse/FS-8685 >> >> Basically allows you to form multiple relations with one command. Note >> that it doesn't reduce the amount of relations core forms, just the number >> of individual relate commands you need to issue from the Lua script. >> >> I'm also pretty good with Lua, if you're interested in going the bounty >> route. You can probably catch me in #freeswitch today, nick hunmonk. >> >> Chad >> >> On Tue, Jan 5, 2016 at 7:37 PM, Bote Man wrote: >> >>> This is probably best answered by Anthony or Mike J. >>> >>> I need to make extensive use of the "relate" conference API command to >>> eliminate feedback between a bunch of VoIP speakers that have microphone >>> talkback capability. >>> >>> Is there a practical limit on how many "relations" I can set up to mute >>> conferees from hearing each other? I have 16 endpoints in one building and >>> probably 8 to 10 of them need to be muted relative to their nearest >>> neighbors so that list can get fairly large I imagine. I just don't know >>> how far I can push it. >>> >>> Then I have to become a wizard at Lua script programming in a matter of >>> a few hours to make this all work. Pointers to help are greatly >>> appreciated. If I get stuck look for a bounty request :-) >>> >>> I'm thinking I can set up a linked-list populated with the extension >>> number (which I know and is fixed) paired with the conference user id >>> (which varies with each call, but is used by the 'relate' command). I'm >>> just going to make it very simple with everything defined in the script >>> header since it won't change. >>> >>> Once this is done I hope to donate it back to the community in the rare >>> chance that somebody else finds it useful. >>> >>> Thanks! >>> >>> Bote >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/3fa3ad9f/attachment.html From mike at jerris.com Wed Jan 6 20:20:48 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 6 Jan 2016 12:20:48 -0500 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: <0EA262D1-0113-483D-9880-663CDB01A654@jerris.com> Message-ID: Just talking through how it works with Tony, sounds like the vast majority of additional compute with relate happens as soon as you do even one relate command, there should be minimal additional load for more than 1. Specifically, once you do any relate commands, it will be creating a muxed copy of the audio for each participant instead of optimizing by using a single muxed frame and subtracting your own audio out. > On Jan 6, 2016, at 12:00 PM, Bote Man wrote: > > I'll let ya know :-) > > Bote > > > On Wed, Jan 6, 2016 at 11:55 AM, Michael Jerris > wrote: > Honestly I don?t think we have ever really stressed relate as far as number of members to see how it performs with a lot of them, maybe chad has experience in that? I was totally going to mention the couple pull requests in the works to make this easier too, but the performance question still stands, >> On Jan 6, 2016, at 10:00 AM, Bote Man > wrote: >> >> Thanks! I actually found a very helpful Lua tutorial on YouTube from a guy named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. so I'm gonna take a stab at it. It will be very quick and dirty with hard-coded relations, but it is a fixed application so once it is tweaked it should never need to be changed so I can live with that. >> >> But we're still talking about ME so don't stray too far from that irc client today, OK? :-) >> >> I'm up against a huge time crunch so even though I did build this FS installation from source code I just can't take the time for experimentation at this point. (Also, I hope to perform one other simple conference function in the script while I'm already at it). I'm a big user of mod_conference so when I get back home under calmer circumstances I'll have to take a look at it as this could prove very useful in certain niche applications. >> >> Thanks again! >> >> Bote >> >> >> On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips > wrote: >> If you can compile FS for your use case, this PR I have pending might simplify things for you: https://freeswitch.org/jira/browse/FS-8685 >> >> Basically allows you to form multiple relations with one command. Note that it doesn't reduce the amount of relations core forms, just the number of individual relate commands you need to issue from the Lua script. >> >> I'm also pretty good with Lua, if you're interested in going the bounty route. You can probably catch me in #freeswitch today, nick hunmonk. >> >> Chad >> >> On Tue, Jan 5, 2016 at 7:37 PM, Bote Man > wrote: >> This is probably best answered by Anthony or Mike J. >> >> I need to make extensive use of the "relate" conference API command to eliminate feedback between a bunch of VoIP speakers that have microphone talkback capability. >> >> Is there a practical limit on how many "relations" I can set up to mute conferees from hearing each other? I have 16 endpoints in one building and probably 8 to 10 of them need to be muted relative to their nearest neighbors so that list can get fairly large I imagine. I just don't know how far I can push it. >> >> Then I have to become a wizard at Lua script programming in a matter of a few hours to make this all work. Pointers to help are greatly appreciated. If I get stuck look for a bounty request :-) >> >> I'm thinking I can set up a linked-list populated with the extension number (which I know and is fixed) paired with the conference user id (which varies with each call, but is used by the 'relate' command). I'm just going to make it very simple with everything defined in the script header since it won't change. >> >> Once this is done I hope to donate it back to the community in the rare chance that somebody else finds it useful. >> >> Thanks! >> >> Bote >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/5f45ef3c/attachment-0001.html From bote_radio at botecomm.com Wed Jan 6 20:50:25 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 6 Jan 2016 12:50:25 -0500 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: <0EA262D1-0113-483D-9880-663CDB01A654@jerris.com> Message-ID: OK, that's good to know since I already ran a manual proof-of-concept on about 4 conferees and it did what I'd hoped. The total (fixed) number of conferees in this system will be 21 and I suspect I'll need to "nohear" 3-4 neighbors. My concern was that I might overflow a table or data structure internal to the conference bridge if I did that enough times to include enough members. I'll let you know. Thanks. Bote On Wed, Jan 6, 2016 at 12:20 PM, Michael Jerris wrote: > Just talking through how it works with Tony, sounds like the vast majority > of additional compute with relate happens as soon as you do even one relate > command, there should be minimal additional load for more than 1. > Specifically, once you do any relate commands, it will be creating a muxed > copy of the audio for each participant instead of optimizing by using a > single muxed frame and subtracting your own audio out. > > > On Jan 6, 2016, at 12:00 PM, Bote Man wrote: > > I'll let ya know :-) > > Bote > > > On Wed, Jan 6, 2016 at 11:55 AM, Michael Jerris wrote: > >> Honestly I don?t think we have ever really stressed relate as far as >> number of members to see how it performs with a lot of them, maybe chad has >> experience in that? I was totally going to mention the couple pull >> requests in the works to make this easier too, but the performance question >> still stands, >> >> On Jan 6, 2016, at 10:00 AM, Bote Man wrote: >> >> Thanks! I actually found a very helpful Lua tutorial on YouTube from a >> guy named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. >> so I'm gonna take a stab at it. It will be very quick and dirty with >> hard-coded relations, but it is a fixed application so once it is tweaked >> it should never need to be changed so I can live with that. >> >> But we're still talking about ME so don't stray too far from that irc >> client today, OK? :-) >> >> I'm up against a huge time crunch so even though I did build this FS >> installation from source code I just can't take the time for >> experimentation at this point. (Also, I hope to perform one other simple >> conference function in the script while I'm already at it). I'm a big user >> of mod_conference so when I get back home under calmer circumstances I'll >> have to take a look at it as this could prove very useful in certain niche >> applications. >> >> Thanks again! >> >> Bote >> >> >> On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips >> wrote: >> >>> If you can compile FS for your use case, this PR I have pending might >>> simplify things for you: https://freeswitch.org/jira/browse/FS-8685 >>> >>> Basically allows you to form multiple relations with one command. Note >>> that it doesn't reduce the amount of relations core forms, just the number >>> of individual relate commands you need to issue from the Lua script. >>> >>> I'm also pretty good with Lua, if you're interested in going the bounty >>> route. You can probably catch me in #freeswitch today, nick hunmonk. >>> >>> Chad >>> >>> On Tue, Jan 5, 2016 at 7:37 PM, Bote Man >>> wrote: >>> >>>> This is probably best answered by Anthony or Mike J. >>>> >>>> I need to make extensive use of the "relate" conference API command to >>>> eliminate feedback between a bunch of VoIP speakers that have microphone >>>> talkback capability. >>>> >>>> Is there a practical limit on how many "relations" I can set up to mute >>>> conferees from hearing each other? I have 16 endpoints in one building and >>>> probably 8 to 10 of them need to be muted relative to their nearest >>>> neighbors so that list can get fairly large I imagine. I just don't know >>>> how far I can push it. >>>> >>>> Then I have to become a wizard at Lua script programming in a matter of >>>> a few hours to make this all work. Pointers to help are greatly >>>> appreciated. If I get stuck look for a bounty request :-) >>>> >>>> I'm thinking I can set up a linked-list populated with the extension >>>> number (which I know and is fixed) paired with the conference user id >>>> (which varies with each call, but is used by the 'relate' command). I'm >>>> just going to make it very simple with everything defined in the script >>>> header since it won't change. >>>> >>>> Once this is done I hope to donate it back to the community in the rare >>>> chance that somebody else finds it useful. >>>> >>>> Thanks! >>>> >>>> Bote >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/ac8220da/attachment.html From gmaruzz at gmail.com Wed Jan 6 21:06:56 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 6 Jan 2016 19:06:56 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: you may be interested in this presentation: http://www.opentelecom.it/cluecon/ClueCon_2015_Load_Balancing_HA.pdf was discussed at http://www.cluecon.com -giovanni On Wed, Jan 6, 2016 at 2:47 PM, Pierre-Emmanuel Dutang wrote: > Hello, > > I need to create a cluster of Freeswitch for a project. the project is > simple, we call people through freeswitch and we want to bridge 2 sessions, > pretty simple :) But to be more scalable I want to use multiple freeswitch, > that mean a call can go through one freeswitch F1 and another call through > freeswitch F2. What I want is to be able to bridge a call from F1 with a > call from F2. > > The solution can be bridge both sessions from 2 different freeswitch or > move a channel to be in the same freeswitch to be able to bridge both > sessions. > > I have no idea if I can do that and how to do it. I just read some stuff > about mods_cluster but nothing clear with explanation. > > Thanks for you help :) > > -- > Pierre > 06 52 08 00 52 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/ffeecb8a/attachment-0001.html From rayk at pontimax.com Wed Jan 6 21:15:26 2016 From: rayk at pontimax.com (Ray Keating) Date: Wed, 6 Jan 2016 13:15:26 -0500 Subject: [Freeswitch-users] lua IVR interactivity problem Message-ID: <024201d148ae$3a00b7d0$ae022770$@pontimax.com> > I get a 403 error when trying to access your page. Thanks for the feedback. The mod_managed/C# PizzaDemo direct download page URL should have been: http://www.pontimax.com/#/downloads (Dang, SPA "#"s) You can of course just go to www.pontimax.com and select "Downloads" -Ray From john.nash778 at gmail.com Wed Jan 6 21:33:58 2016 From: john.nash778 at gmail.com (John Nash) Date: Thu, 7 Jan 2016 00:03:58 +0530 Subject: [Freeswitch-users] switch_r_sdp change for 183 and 200 OK Message-ID: I am trying to experiment few things that required me to change SDP (Using media bypass mode). I am able to change switch_r_sdp from a /perl/lua script successfully for Invite message using ... $session->execute("set","switch_r_sdp=$$resp{sdp}"); but I also want to change SDP of 183 session progress message I tried executing same code in scripts fired on 183 message but it doesnt seem to be changing SDP Is that even possible? John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160107/98edd7a9/attachment.html From anthony.minessale at gmail.com Wed Jan 6 22:55:14 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 6 Jan 2016 13:55:14 -0600 Subject: [Freeswitch-users] switch_r_sdp change for 183 and 200 OK In-Reply-To: References: Message-ID: you are better of putting a sip proxy in front and using that to modify messages in that manner. On Wed, Jan 6, 2016 at 12:33 PM, John Nash wrote: > I am trying to experiment few things that required me to change SDP (Using > media bypass mode). > > I am able to change switch_r_sdp from a /perl/lua script successfully for > Invite message using ... > $session->execute("set","switch_r_sdp=$$resp{sdp}"); > > but I also want to change SDP of 183 session progress message I tried > executing same code in scripts fired on 183 message but it doesnt seem to > be changing SDP > > Is that even possible? > > John > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/dcf4a93b/attachment.html From chad at apartmentlines.com Wed Jan 6 22:59:58 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Wed, 6 Jan 2016 12:59:58 -0700 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: Message-ID: Mike, I don't have any data yet on my end for large numbers of relations. However, once that PR I'm working on lands, I'll be running tests that will have ~800 individual core relate commands run. That should be a pretty good test. :) And if I see any big performance hit, I'll let y'all know... chad On Wed, Jan 6, 2016 at 8:00 AM, Bote Man wrote: > Thanks! I actually found a very helpful Lua tutorial on YouTube from a guy > named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. so > I'm gonna take a stab at it. It will be very quick and dirty with > hard-coded relations, but it is a fixed application so once it is tweaked > it should never need to be changed so I can live with that. > > But we're still talking about ME so don't stray too far from that irc > client today, OK? :-) > > I'm up against a huge time crunch so even though I did build this FS > installation from source code I just can't take the time for > experimentation at this point. (Also, I hope to perform one other simple > conference function in the script while I'm already at it). I'm a big user > of mod_conference so when I get back home under calmer circumstances I'll > have to take a look at it as this could prove very useful in certain niche > applications. > > Thanks again! > > Bote > > > On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips > wrote: > >> If you can compile FS for your use case, this PR I have pending might >> simplify things for you: https://freeswitch.org/jira/browse/FS-8685 >> >> Basically allows you to form multiple relations with one command. Note >> that it doesn't reduce the amount of relations core forms, just the number >> of individual relate commands you need to issue from the Lua script. >> >> I'm also pretty good with Lua, if you're interested in going the bounty >> route. You can probably catch me in #freeswitch today, nick hunmonk. >> >> Chad >> >> On Tue, Jan 5, 2016 at 7:37 PM, Bote Man wrote: >> >>> This is probably best answered by Anthony or Mike J. >>> >>> I need to make extensive use of the "relate" conference API command to >>> eliminate feedback between a bunch of VoIP speakers that have microphone >>> talkback capability. >>> >>> Is there a practical limit on how many "relations" I can set up to mute >>> conferees from hearing each other? I have 16 endpoints in one building and >>> probably 8 to 10 of them need to be muted relative to their nearest >>> neighbors so that list can get fairly large I imagine. I just don't know >>> how far I can push it. >>> >>> Then I have to become a wizard at Lua script programming in a matter of >>> a few hours to make this all work. Pointers to help are greatly >>> appreciated. If I get stuck look for a bounty request :-) >>> >>> I'm thinking I can set up a linked-list populated with the extension >>> number (which I know and is fixed) paired with the conference user id >>> (which varies with each call, but is used by the 'relate' command). I'm >>> just going to make it very simple with everything defined in the script >>> header since it won't change. >>> >>> Once this is done I hope to donate it back to the community in the rare >>> chance that somebody else finds it useful. >>> >>> Thanks! >>> >>> Bote >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/53d4edd6/attachment.html From covici at ccs.covici.com Thu Jan 7 02:16:38 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Wed, 06 Jan 2016 18:16:38 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: References: <10415.1452010704@ccs.covici.com> Message-ID: <28740.1452122198@ccs.covici.com> hmmm, flowroute is telling me I am not sending a=rtpmap:0 PCMU/8000^M a=rtpmap:101 telephone-event/8000^M I don't see how this is possible, it looks like I can see those lines in the log. Any other ideas? I can do a sip trace if that would help. Russell Treleaven wrote: > look at the sdp, there was an issue with dtmf and sample rate not being > 8000. > > On Tue, Jan 5, 2016 at 11:18 AM, wrote: > > > Hi. I am having dtmf problems when calling numbers via flowroute. They > > seem not to detect the dtmf at all. I am using 2833 in all cases. Have > > you done anything in say the last 4 or 5 months which might be related? > > I am not having these problems when using another carrier, so I am quite > > puzzled. > > > > Thanks in advance for any suggestions. > > > > -- > > 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 rtreleaven at bunnykick.ca Thu Jan 7 02:18:31 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Wed, 6 Jan 2016 18:18:31 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <28740.1452122198@ccs.covici.com> References: <10415.1452010704@ccs.covici.com> <28740.1452122198@ccs.covici.com> Message-ID: Yes a sip trace might help. On Jan 6, 2016 6:16 PM, wrote: > hmmm, flowroute is telling me I am not sending > a=rtpmap:0 PCMU/8000^M > a=rtpmap:101 telephone-event/8000^M > > I don't see how this is possible, it looks like I can see those lines in > the log. Any other ideas? I can do a sip trace if that would help. > > > Russell Treleaven wrote: > > > look at the sdp, there was an issue with dtmf and sample rate not being > > 8000. > > > > On Tue, Jan 5, 2016 at 11:18 AM, wrote: > > > > > Hi. I am having dtmf problems when calling numbers via flowroute. > They > > > seem not to detect the dtmf at all. I am using 2833 in all cases. > Have > > > you done anything in say the last 4 or 5 months which might be related? > > > I am not having these problems when using another carrier, so I am > quite > > > puzzled. > > > > > > Thanks in advance for any suggestions. > > > > > > -- > > > 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 > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/eb77104e/attachment.html From covici at ccs.covici.com Thu Jan 7 02:58:09 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Wed, 06 Jan 2016 18:58:09 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: References: <10415.1452010704@ccs.covici.com> <28740.1452122198@ccs.covici.com> Message-ID: <30088.1452124689@ccs.covici.com> OK, sip trace is here https://covici.com/owncloud/index.php/s/rZrOpMnGkoDBFB9 Russell Treleaven wrote: > Yes a sip trace might help. > On Jan 6, 2016 6:16 PM, wrote: > > > hmmm, flowroute is telling me I am not sending > > a=rtpmap:0 PCMU/8000^M > > a=rtpmap:101 telephone-event/8000^M > > > > I don't see how this is possible, it looks like I can see those lines in > > the log. Any other ideas? I can do a sip trace if that would help. > > > > > > Russell Treleaven wrote: > > > > > look at the sdp, there was an issue with dtmf and sample rate not being > > > 8000. > > > > > > On Tue, Jan 5, 2016 at 11:18 AM, wrote: > > > > > > > Hi. I am having dtmf problems when calling numbers via flowroute. > > They > > > > seem not to detect the dtmf at all. I am using 2833 in all cases. > > Have > > > > you done anything in say the last 4 or 5 months which might be related? > > > > I am not having these problems when using another carrier, so I am > > quite > > > > puzzled. > > > > > > > > Thanks in advance for any suggestions. > > > > > > > > -- > > > > 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 > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 rtreleaven at bunnykick.ca Thu Jan 7 03:31:39 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Wed, 6 Jan 2016 19:31:39 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <30088.1452124689@ccs.covici.com> References: <10415.1452010704@ccs.covici.com> <28740.1452122198@ccs.covici.com> <30088.1452124689@ccs.covici.com> Message-ID: I had a look at the log and its not the bug I thought it might be. Just a hunch, make your phone not offer g722 and try the test again. On Wed, Jan 6, 2016 at 6:58 PM, wrote: > OK, sip trace is here > https://covici.com/owncloud/index.php/s/rZrOpMnGkoDBFB9 > > Russell Treleaven wrote: > > > Yes a sip trace might help. > > On Jan 6, 2016 6:16 PM, wrote: > > > > > hmmm, flowroute is telling me I am not sending > > > a=rtpmap:0 PCMU/8000^M > > > a=rtpmap:101 telephone-event/8000^M > > > > > > I don't see how this is possible, it looks like I can see those lines > in > > > the log. Any other ideas? I can do a sip trace if that would help. > > > > > > > > > Russell Treleaven wrote: > > > > > > > look at the sdp, there was an issue with dtmf and sample rate not > being > > > > 8000. > > > > > > > > On Tue, Jan 5, 2016 at 11:18 AM, wrote: > > > > > > > > > Hi. I am having dtmf problems when calling numbers via flowroute. > > > They > > > > > seem not to detect the dtmf at all. I am using 2833 in all cases. > > > Have > > > > > you done anything in say the last 4 or 5 months which might be > related? > > > > > I am not having these problems when using another carrier, so I am > > > quite > > > > > puzzled. > > > > > > > > > > Thanks in advance for any suggestions. > > > > > > > > > > -- > > > > > 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 > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > > consulting at freeswitch.org > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > > http://www.freeswitch.org > > > > > http://confluence.freeswitch.org > > > > > http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at 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 > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160106/a5d152e9/attachment-0001.html From covici at ccs.covici.com Thu Jan 7 05:00:01 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Wed, 06 Jan 2016 21:00:01 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: References: <10415.1452010704@ccs.covici.com> <28740.1452122198@ccs.covici.com> <30088.1452124689@ccs.covici.com> Message-ID: <2089.1452132001@ccs.covici.com> It happens with another phone which does not offer g722. Russell Treleaven wrote: > I had a look at the log and its not the bug I thought it might be. > Just a hunch, make your phone not offer g722 and try the test again. > > > > On Wed, Jan 6, 2016 at 6:58 PM, wrote: > > > OK, sip trace is here > > https://covici.com/owncloud/index.php/s/rZrOpMnGkoDBFB9 > > > > Russell Treleaven wrote: > > > > > Yes a sip trace might help. > > > On Jan 6, 2016 6:16 PM, wrote: > > > > > > > hmmm, flowroute is telling me I am not sending > > > > a=rtpmap:0 PCMU/8000^M > > > > a=rtpmap:101 telephone-event/8000^M > > > > > > > > I don't see how this is possible, it looks like I can see those lines > > in > > > > the log. Any other ideas? I can do a sip trace if that would help. > > > > > > > > > > > > Russell Treleaven wrote: > > > > > > > > > look at the sdp, there was an issue with dtmf and sample rate not > > being > > > > > 8000. > > > > > > > > > > On Tue, Jan 5, 2016 at 11:18 AM, wrote: > > > > > > > > > > > Hi. I am having dtmf problems when calling numbers via flowroute. > > > > They > > > > > > seem not to detect the dtmf at all. I am using 2833 in all cases. > > > > Have > > > > > > you done anything in say the last 4 or 5 months which might be > > related? > > > > > > I am not having these problems when using another carrier, so I am > > > > quite > > > > > > puzzled. > > > > > > > > > > > > Thanks in advance for any suggestions. > > > > > > > > > > > > -- > > > > > > 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 > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > Professional FreeSWITCH Consulting Services: > > > > > > consulting at freeswitch.org > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > > > http://www.cluecon.com > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > FreeSWITCH-users at 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 > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 mike at jerris.com Thu Jan 7 09:44:56 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 7 Jan 2016 01:44:56 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <28740.1452122198@ccs.covici.com> References: <10415.1452010704@ccs.covici.com> <28740.1452122198@ccs.covici.com> Message-ID: The sip trace would indicate otherwise. I would confirm for sure they are not getting what you are sending, if so, something is in between you and them modifying the sip traffic, most likely a sip alg on a router or firewall. If so, try disabling that. Also, you might want to review your codec settings as you are transcoding in this case for no reason, you might want to switch around settings to minimize this. On Wednesday, January 6, 2016, wrote: > hmmm, flowroute is telling me I am not sending > a=rtpmap:0 PCMU/8000^M > a=rtpmap:101 telephone-event/8000^M > > I don't see how this is possible, it looks like I can see those lines in > the log. Any other ideas? I can do a sip trace if that would help. > > > Russell Treleaven > wrote: > > > look at the sdp, there was an issue with dtmf and sample rate not being > > 8000. > > > > On Tue, Jan 5, 2016 at 11:18 AM, > > wrote: > > > > > Hi. I am having dtmf problems when calling numbers via flowroute. > They > > > seem not to detect the dtmf at all. I am using 2833 in all cases. > Have > > > you done anything in say the last 4 or 5 months which might be related? > > > I am not having these problems when using another carrier, so I am > quite > > > puzzled. > > > > > > Thanks in advance for any suggestions. > > > > > > -- > > > 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 > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/a2484323/attachment.html From andrew.keil at visytel.com Thu Jan 7 10:50:33 2016 From: andrew.keil at visytel.com (Andrew Keil) Date: Thu, 7 Jan 2016 07:50:33 +0000 Subject: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved In-Reply-To: References: Message-ID: Brian, Just thought I would check to see how you have got on? Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Tuesday, 5 January 2016 2:06 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, I will perform the tasks and provide a result. Thank you for the timely response. Regards and Happy New Year! Brian From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Monday, January 4, 2016 1:27 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Brian, I am a little pushed for time this week. I checked performing the following which works and should get you up and running for now. Login as root user from inside the Terminal (su -) cd /etc/rc.d/init.d vi freeswitch Add the the following lines (changing FS_USER=${FS_USER-your_user ? replace ?your_user? with the user that you login to CentOS-7}: #!/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-/usr/local/freeswitch/run/freeswitch.pid} #FS_USER=${FS_USER-freeswitch} FS_USER=${FS_USER-your_user} FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch} FS_HOME=${FS_HOME-/usr/local/freeswitch} LOCK_FILE=/var/lock/subsys/freeswitch #FREESWITCH_ARGS="-nc" FREESWITCH_ARGS="-nc -nonat -nonatmap" 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 Save and close (wq!) chmod 0750 freeswitch chkconfig --add freeswitch && chkconfig --levels 35 freeswitch on service freeswitch start This will autostart freeswitch when you next restart CentOS 7. You can still use the old ?service freeswitch stop? and ?service freeswitch start? when logged in as root user. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Sunday, 3 January 2016 12:05 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Much appreciated. Brian From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Friday, January 1, 2016 6:34 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Brian, Sorry for the delay in responding to your message. I will be looking into this next week and should have a response for you then. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian Edgar Sent: Thursday, 31 December 2015 12:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Andrew, Your posting was very helpful. Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd? Doesn?t appear that the old init.d method appropriate. I saw a hint for a shell script in the source but it is no longer there. Thank you, Brian Edgar From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, September 21, 2015 10:38 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Yeah you shouldn't shy away from IPv6 it's really easy to setup. On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" > wrote: Brian, Sorry this was only relevant to my test setup. I should have removed these lines prior to posting my last message. Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, 22 September 2015 12:15 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved Whats the purpose of disabling ipv6 support? On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil > wrote: To all, Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm Now when I perform the yum install commands and it pulls down the right version and everything works as expected. Here is my procedure (for those who wish to use the manual configure/make approach): Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation): Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command) 1) Make sure yum update is run and CentOS is up-to-date 2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60. Close terminal and re-open for the change to take affect. 3) yum -y install git 4) yum -y install epel-release 5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm 6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel 7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel 8) cd /usr/local/src 9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 10) cd /usr/local/src/freeswitch 11) ./bootstrap.sh 12) ./configure 13) make 14) make install 15) make cd-sounds-install 16) make cd-moh-install 17) cd /usr/local/freeswitch/conf 18) vi vars.xml Change: {!!set it to something different!!} Save and close ( :wq!) 19) cd /usr/local/freeswitch/conf/sip_profiles 20) mv internal-ipv6.xml internal-ipv6.xml.removed {disables ipv6 support} 21) mv external-ipv6.xml external-ipv6.xml.removed {disables ipv6 support} 22) cd /usr/local/freeswitch/bin 23) ./freeswitch -nonat -nonatmap 24) ... to exit from FreeSWITCH console FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 12:06 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) This worked! However mod_opus fails now. Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz Getting there! Andrew From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Keil Sent: Saturday, 19 September 2015 8:46 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) Thanks I will give this a try. On 19 Sep 2015, at 12:07 AM, Christopher Rienzo > wrote: sudo yum install lua-devel On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil > wrote: To FreeSWITCH users, I am attempting to make the latest FreeSWITCH release on CentOS 7 (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH). CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully). As root user: yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel {also did the following to see if these will help} yum install libyuv-devel yum install libvpx-devel yum install libidn-devel yum install unbound-devel yum install libdb4* yum install libuuid-devel cd /usr/local/src git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git cd freeswitch ./bootstrap.sh vi modules.conf {comment out mod_fsv (due to libyuv-devel error)} ./configure ./make making all mod_lua make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua' CXX mod_lua_la-mod_lua.lo mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory #include "lua.h" The mod_fsv issue I do not care so much about however Lua I need. FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2. I hope someone has an idea of what to try next. Regards, Andrew Keil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here! | 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/20160107/a00f14d0/attachment-0001.html From lexxua at gmail.com Thu Jan 7 10:55:52 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Thu, 7 Jan 2016 08:55:52 +0100 Subject: [Freeswitch-users] Digest-realm for hidden caller-id In-Reply-To: References: Message-ID: But as I mentioned above I`m using https://wiki.freeswitch.org/wiki/Multiple_Companies . So using one REALM for all domains it`s not ideal solution. On Mon, Jan 4, 2016 at 10:00 PM, Sergey Safarov wrote: > In default config challenge will be for "anonymous.invalid" domain. > To change this edit profile. > > Sergey > > On Mon, Jan 4, 2016 at 11:34 PM, Volodymyr Fedorov > wrote: > >> Hi community, >> I experience interesting issue. Freeswitch running in multi-domain >> environment. >> UA generates invite with anonymous at anonymous.invalid in FROM which is >> quite normal according to rfc3325. >> Sample bellow: >> === >> INVITE sip:44264 at pbx-sumy.co.ia.com SIP/2.0 >> Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport >> From: "Anonymous" ;tag=1989469488 >> To: >> Call-ID: 1409580995-5062-3 at BA.BA.G.BHA >> CSeq: 20 INVITE >> Contact: "Anonymous" >> Max-Forwards: 70 >> User-Agent: Grandstream GXP1625 1.0.3.6 >> Privacy: id >> P-Preferred-Identity: >> Supported: replaces, path, timer >> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, >> UPDATE, MESSAGE >> Content-Type: application/sdp >> Accept: application/sdp, application/dtmf-relay >> Content-Length: 332 >> === >> Freeswitch sends 407 and uses as Digest-realm domain part from FROM : >> "Proxy-Authenticate: Digest realm="anonymous.invalid"" >> >> Example: >> === >> SIP/2.0 407 Proxy Authentication Required >> Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport=5062 >> From: "Anonymous" ;tag=1989469488 >> To: ;tag=ZamrKr7UecpNp >> Call-ID: 1409580995-5062-3 at BA.BA.G.BHA >> CSeq: 20 INVITE >> User-Agent: FreeSWITCH-mod_sofia/1.4.26-37~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.win >> , message-summary, refer >> Proxy-Authenticate: Digest realm="anonymous.invalid", >> nonce="917b30c9-9070-4ae5-87e6-1814b379fd94", algorithm=MD5, qop="auth" >> Content-Length: 0 >> === >> >> And call fails 403 Forbidden. So main question how to rid this. And is it >> feature or bug. Maybe I can use domain part from P-Preferred-Identity >> header ? >> >> Thank you in advance. >> >> -- >> Best regards, >> Volodymyr >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160107/e688e6ac/attachment.html From john.nash778 at gmail.com Thu Jan 7 13:35:14 2016 From: john.nash778 at gmail.com (John Nash) Date: Thu, 7 Jan 2016 16:05:14 +0530 Subject: [Freeswitch-users] Unable to get sip_to_tag as session variable Message-ID: I am trying to get sip_to_tag session variable in a lua script which is executed on media (183) I can see from tag call id but not to tag I saw this was fixed in https://freeswitch.org/jira/browse/FS-7137 but I am using higher version FreeSWITCH Version 1.4.26+git~20151124T001158Z~45534616c6~64bit (git 4553461 2015-11-24 00:11:58Z 64bit) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160107/1e3ed896/attachment.html From treitinger at as-infodienste.de Thu Jan 7 13:53:51 2016 From: treitinger at as-infodienste.de (Melanie Treitinger) Date: Thu, 7 Jan 2016 11:53:51 +0100 Subject: [Freeswitch-users] What is the core DEBUG level in switch.conf.xml? Message-ID: <568E43BF.2040103@as-infodienste.de> Hi, I've found this in the switch.conf.xml What exactly does this parameter do? There seems to be no documentation in the confluence. What is the difference to other debug variables, e.g. the Gobal Log Level right above: Thanks a lot! Melanie From steveayre at gmail.com Thu Jan 7 14:35:25 2016 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 7 Jan 2016 11:35:25 +0000 Subject: [Freeswitch-users] What is the core DEBUG level in switch.conf.xml? In-Reply-To: <568E43BF.2040103@as-infodienste.de> References: <568E43BF.2040103@as-infodienste.de> Message-ID: It enables some additional debug messages. Probably at a lower level than you need. On 7 January 2016 at 10:53, Melanie Treitinger wrote: > Hi, > > I've found this in the switch.conf.xml > > > > > What exactly does this parameter do? There seems to be no documentation > in the confluence. > > What is the difference to other debug variables, e.g. the Gobal Log > Level right above: > > > Thanks a lot! > > Melanie > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/7f163894/attachment.html From flokrrr at gmail.com Thu Jan 7 14:37:36 2016 From: flokrrr at gmail.com (Florent Krieg) Date: Thu, 7 Jan 2016 12:37:36 +0100 Subject: [Freeswitch-users] Unable to get sip_to_tag as session variable In-Reply-To: References: Message-ID: Hello John, I just checked the c file and it appears my comment on the Jira case is still relevant: the variable is only available on a 180-Ringing provisional response (not on a 183). The patch is present in "case SWITCH_MESSAGE_INDICATE_RINGING", to be working for your needs it has to be added in "case SWITCH_MESSAGE_INDICATE_PROGRESS" a little bit below in the code too. Regards Florent 2016-01-07 11:35 GMT+01:00 John Nash : > I am trying to get sip_to_tag session variable in a lua script which is > executed on media (183) I can see from tag call id but not to tag > > I saw this was fixed in https://freeswitch.org/jira/browse/FS-7137 but I > am using higher version > > FreeSWITCH Version 1.4.26+git~20151124T001158Z~45534616c6~64bit (git > 4553461 2015-11-24 00:11:58Z 64bit) > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/385198df/attachment-0001.html From s.safarov at gmail.com Thu Jan 7 14:40:19 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 07 Jan 2016 11:40:19 +0000 Subject: [Freeswitch-users] Digest-realm for hidden caller-id In-Reply-To: References: Message-ID: Place kamailio before FS and rewrite From header On Thu, Jan 7, 2016, 10:56 Volodymyr Fedorov wrote: > But as I mentioned above I`m using > https://wiki.freeswitch.org/wiki/Multiple_Companies . So using one REALM > for all domains it`s not ideal solution. > > On Mon, Jan 4, 2016 at 10:00 PM, Sergey Safarov > wrote: > >> In default config challenge will be for "anonymous.invalid" domain. >> To change this edit profile. >> >> Sergey >> >> On Mon, Jan 4, 2016 at 11:34 PM, Volodymyr Fedorov >> wrote: >> >>> Hi community, >>> I experience interesting issue. Freeswitch running in multi-domain >>> environment. >>> UA generates invite with anonymous at anonymous.invalid in FROM which is >>> quite normal according to rfc3325. >>> Sample bellow: >>> === >>> INVITE sip:44264 at pbx-sumy.co.ia.com SIP/2.0 >>> Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport >>> From: "Anonymous" ;tag=1989469488 >>> To: >>> Call-ID: 1409580995-5062-3 at BA.BA.G.BHA >>> CSeq: 20 INVITE >>> Contact: "Anonymous" >>> Max-Forwards: 70 >>> User-Agent: Grandstream GXP1625 1.0.3.6 >>> Privacy: id >>> P-Preferred-Identity: >>> Supported: replaces, path, timer >>> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, >>> REFER, UPDATE, MESSAGE >>> Content-Type: application/sdp >>> Accept: application/sdp, application/dtmf-relay >>> Content-Length: 332 >>> === >>> Freeswitch sends 407 and uses as Digest-realm domain part from FROM : >>> "Proxy-Authenticate: Digest realm="anonymous.invalid"" >>> >>> Example: >>> === >>> SIP/2.0 407 Proxy Authentication Required >>> Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport=5062 >>> From: "Anonymous" ;tag=1989469488 >>> To: ;tag=ZamrKr7UecpNp >>> Call-ID: 1409580995-5062-3 at BA.BA.G.BHA >>> CSeq: 20 INVITE >>> User-Agent: FreeSWITCH-mod_sofia/1.4.26-37~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.win >>> , message-summary, refer >>> Proxy-Authenticate: Digest realm="anonymous.invalid", >>> nonce="917b30c9-9070-4ae5-87e6-1814b379fd94", algorithm=MD5, qop="auth" >>> Content-Length: 0 >>> === >>> >>> And call fails 403 Forbidden. So main question how to rid this. And is >>> it feature or bug. Maybe I can use domain part from P-Preferred-Identity >>> header ? >>> >>> Thank you in advance. >>> >>> -- >>> Best regards, >>> Volodymyr >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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, > Volodymyr > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/52b1652f/attachment.html From covici at ccs.covici.com Thu Jan 7 14:59:05 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Thu, 07 Jan 2016 06:59:05 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: References: <10415.1452010704@ccs.covici.com> <28740.1452122198@ccs.covici.com> Message-ID: <21345.1452167945@ccs.covici.com> hmmm, so after doing a git bisect, I found that the following commit breaks the dtmf detection using flowroute commit 56d83d1967a4d3e278de72887587c767a82364ba Author: Anthony Minessale Date: Thu Oct 8 13:17:24 2015 -0500 FS-8321 #resolve [BEHAVIOR CHANGE Add variable media_mix_inbound_outbound_codecs to mix inbound and outbound codecs] Now I do have that variable set just before the bridge So, am I doing something wrong or what? Thanks. Michael Jerris wrote: > The sip trace would indicate otherwise. I would confirm for sure they are > not getting what you are sending, if so, something is in between you and > them modifying the sip traffic, most likely a sip alg on a router or > firewall. If so, try disabling that. Also, you might want to review your > codec settings as you are transcoding in this case for no reason, you might > want to switch around settings to minimize this. > > On Wednesday, January 6, 2016, wrote: > > > hmmm, flowroute is telling me I am not sending > > a=rtpmap:0 PCMU/8000^M > > a=rtpmap:101 telephone-event/8000^M > > > > I don't see how this is possible, it looks like I can see those lines in > > the log. Any other ideas? I can do a sip trace if that would help. > > > > > > Russell Treleaven > wrote: > > > > > look at the sdp, there was an issue with dtmf and sample rate not being > > > 8000. > > > > > > On Tue, Jan 5, 2016 at 11:18 AM, > > > wrote: > > > > > > > Hi. I am having dtmf problems when calling numbers via flowroute. > > They > > > > seem not to detect the dtmf at all. I am using 2833 in all cases. > > Have > > > > you done anything in say the last 4 or 5 months which might be related? > > > > I am not having these problems when using another carrier, so I am > > quite > > > > puzzled. > > > > > > > > Thanks in advance for any suggestions. > > > > > > > > -- > > > > 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 > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 john.nash778 at gmail.com Thu Jan 7 15:00:19 2016 From: john.nash778 at gmail.com (John Nash) Date: Thu, 7 Jan 2016 17:30:19 +0530 Subject: [Freeswitch-users] Unable to get sip_to_tag as session variable In-Reply-To: References: Message-ID: OK looks like I can make this change should i change /test and send the code snippet to devel list? On Thu, Jan 7, 2016 at 5:07 PM, Florent Krieg wrote: > Hello John, > > I just checked the c file and it appears my comment on the Jira case is > still relevant: the variable is only available on a 180-Ringing provisional > response (not on a 183). > The patch is present in "case SWITCH_MESSAGE_INDICATE_RINGING", to be > working for your needs it has to be added in "case > SWITCH_MESSAGE_INDICATE_PROGRESS" a little bit below in the code too. > > Regards > Florent > > > > 2016-01-07 11:35 GMT+01:00 John Nash : > >> I am trying to get sip_to_tag session variable in a lua script which is >> executed on media (183) I can see from tag call id but not to tag >> >> I saw this was fixed in https://freeswitch.org/jira/browse/FS-7137 but I >> am using higher version >> >> FreeSWITCH Version 1.4.26+git~20151124T001158Z~45534616c6~64bit (git >> 4553461 2015-11-24 00:11:58Z 64bit) >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/c6f763a8/attachment-0001.html From john.nash778 at gmail.com Thu Jan 7 15:12:31 2016 From: john.nash778 at gmail.com (John Nash) Date: Thu, 7 Jan 2016 17:42:31 +0530 Subject: [Freeswitch-users] Unable to get sip_to_tag as session variable In-Reply-To: References: Message-ID: sorry I think block of code in session progress is quite different then ringing so wont be easy for me unless I have help. On Thu, Jan 7, 2016 at 5:30 PM, John Nash wrote: > OK looks like I can make this change should i change /test and send the > code snippet to devel list? > > On Thu, Jan 7, 2016 at 5:07 PM, Florent Krieg wrote: > >> Hello John, >> >> I just checked the c file and it appears my comment on the Jira case is >> still relevant: the variable is only available on a 180-Ringing provisional >> response (not on a 183). >> The patch is present in "case SWITCH_MESSAGE_INDICATE_RINGING", to be >> working for your needs it has to be added in "case >> SWITCH_MESSAGE_INDICATE_PROGRESS" a little bit below in the code too. >> >> Regards >> Florent >> >> >> >> 2016-01-07 11:35 GMT+01:00 John Nash : >> >>> I am trying to get sip_to_tag session variable in a lua script which is >>> executed on media (183) I can see from tag call id but not to tag >>> >>> I saw this was fixed in https://freeswitch.org/jira/browse/FS-7137 but >>> I am using higher version >>> >>> FreeSWITCH Version 1.4.26+git~20151124T001158Z~45534616c6~64bit (git >>> 4553461 2015-11-24 00:11:58Z 64bit) >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160107/46181fb5/attachment.html From mic.niel84 at gmail.com Thu Jan 7 17:06:21 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Thu, 7 Jan 2016 15:06:21 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: It will always be a dynamic list of called numbers - no groups, no nothing. So every call should be treated differently... That's why I need to have it very dynamic. On Wed, Jan 6, 2016 at 4:17 PM, Bote Man wrote: > I can't comment on Lua code as I am a total Lua newbie. > > But I'm fearful that you are trying to complicate this where it is not > necessary. If your extensions are fixed or can be parsed from a list or > table, just assign each destination number to a channel variable and > reference each channel variable in the _outcall app line like this: > > > > ... > > More at: > > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-OutboundConference > > If it's a variable quantity of destinations each time then you'll have to > script it, but if it's a fixed quantity of destinations with varying > numbers you can just use the channel variable approach, or just hard-code a > dialplan extension that matches one number or string and blasts the > auto_outcall to all those numbers and joins them to the conference as they > answer. > > I'll be out of communications for a bit in transit, but if they are > holding the weekly conference call today at 13:00 ET you might strike gold > there after the formal presentation is over. > > Success to you! > > Bote > > > On Wed, Jan 6, 2016 at 10:08 AM, Michael Nielsen > wrote: > >> I'll try the following: >> >> Create a LUA script placed in the dialplan directory. >> Match any destination_number which contains ; (semi-colon). >> Create the madboss example and loop through the destination_number split >> between semi-colons for conference_set_auto_outcall. >> >> Does this make sense? >> >> On Wed, Jan 6, 2016 at 4:05 PM, Bote Man wrote: >> >>> That's what the outbound conference call does, it originates outbound >>> legs to the specified endpoints and joins them to the specified conference. >>> I use it all the time in a fixed group application. I imagine that with a >>> curl lookup you could fill in the blanks to be called with a little >>> scripting magic. >>> >>> Bote >>> >>> >>> On Wed, Jan 6, 2016 at 9:40 AM, Michael Nielsen >>> wrote: >>> >>>> My idea was, whenever dialing from my SIP client: 1001;1002;1003, all >>>> of them would be called at the same time - and all of them would join a >>>> mutual call. >>>> >>>> On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen >>>> wrote: >>>> >>>>> I see, so I somehow need to dynamically create my dialplan upon >>>>> dialing. >>>>> >>>>> On Wed, Jan 6, 2016 at 3:13 AM, Brian West >>>>> wrote: >>>>> >>>>>> Or better yet, look at the madboss example in our vanilla config! >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> "conference_auto_outcall_caller_id_number=0911"/> >>>>>> >>>>>> >>>>> "conference_auto_outcall_timeout=60"/> >>>>>> >>>>>> >>>>> "conference_auto_outcall_flags=none"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> "loopback/9664"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jan 5, 2016 at 8:01 PM, Bote Man >>>>>> wrote: >>>>>> >>>>>>> There exists an API command for the conference called "relate" which >>>>>>> can mute one conferee relative to another specified conferee. If you wish >>>>>>> to keep conferees separate this might help you, but it requires some >>>>>>> scripting to implement at call setup time. Perhaps I don't understand your >>>>>>> question fully? >>>>>>> >>>>>>> Bote >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen < >>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> Many thanks for the link - I'l have a look at it. But it seems >>>>>>>> quite "difficult" to do. After browsing on the mod_conference, I found this >>>>>>>> example: >>>>>>>> >>>>>>> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>>>>>>> >>>>>>>> Doesn't that do something similar? >>>>>>>> >>>>>>>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin < >>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>> >>>>>>>>> of course you can, you just use mod_conference and some magic. >>>>>>>>> >>>>>>>>> Here's my script which does approximately what you described, but >>>>>>>>> its >>>>>>>>> main purpose is test automation. >>>>>>>>> >>>>>>>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen < >>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>> > Is it possible to dial multiple users at once, for initiating a >>>>>>>>> conference >>>>>>>>> > call - without the need for a conference room. >>>>>>>>> > >>>>>>>>> > And without having the client as "connection-point" for all the >>>>>>>>> parties >>>>>>>>> > involved, but having FreeSWITCH handling the merging of calls, >>>>>>>>> so the RTP >>>>>>>>> > stream for each client is similar to a 1-1 call for all parties. >>>>>>>>> > >>>>>>>>> > >>>>>>>>> _________________________________________________________________________ >>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>> > consulting at freeswitch.org >>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>> > >>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>> > http://www.freeswitch.org >>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>> > http://www.cluecon.com >>>>>>>>> > >>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> > UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> > http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at 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 >>>>>> >>>>>> Got Bugs? Report them here ! | 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/3fa03796/attachment-0001.html From mike at jerris.com Thu Jan 7 17:30:16 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 7 Jan 2016 09:30:16 -0500 Subject: [Freeswitch-users] Unable to get sip_to_tag as session variable In-Reply-To: References: Message-ID: once you figure out the patch and test it, you can create a pull request. Confluence has docs that explain this process https://FreeSWITCH.org/confluence On Thursday, January 7, 2016, John Nash wrote: > OK looks like I can make this change should i change /test and send the > code snippet to devel list? > > On Thu, Jan 7, 2016 at 5:07 PM, Florent Krieg > wrote: > >> Hello John, >> >> I just checked the c file and it appears my comment on the Jira case is >> still relevant: the variable is only available on a 180-Ringing provisional >> response (not on a 183). >> The patch is present in "case SWITCH_MESSAGE_INDICATE_RINGING", to be >> working for your needs it has to be added in "case >> SWITCH_MESSAGE_INDICATE_PROGRESS" a little bit below in the code too. >> >> Regards >> Florent >> >> >> >> 2016-01-07 11:35 GMT+01:00 John Nash > >: >> >>> I am trying to get sip_to_tag session variable in a lua script which is >>> executed on media (183) I can see from tag call id but not to tag >>> >>> I saw this was fixed in https://freeswitch.org/jira/browse/FS-7137 but >>> I am using higher version >>> >>> FreeSWITCH Version 1.4.26+git~20151124T001158Z~45534616c6~64bit (git >>> 4553461 2015-11-24 00:11:58Z 64bit) >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160107/d0427e26/attachment.html From mic.niel84 at gmail.com Thu Jan 7 17:33:40 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Thu, 7 Jan 2016 15:33:40 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: It actually seems to work - somewhat... 3 questions,which I hope is ok. 1) If I call some numbers, and hang up before the 60 seconds timeout - the numbers keeps ringing for 60 seconds, even though I as initiator have hung up. 2) doesn't seems to be acknowledge, it shows Unknown number. 3) The , does the loopback means that it takes the number and look for another matching dialplan in my FS and dial that number according to the dialplan? On Thu, Jan 7, 2016 at 3:06 PM, Michael Nielsen wrote: > It will always be a dynamic list of called numbers - no groups, no nothing. > So every call should be treated differently... > > That's why I need to have it very dynamic. > > On Wed, Jan 6, 2016 at 4:17 PM, Bote Man wrote: > >> I can't comment on Lua code as I am a total Lua newbie. >> >> But I'm fearful that you are trying to complicate this where it is not >> necessary. If your extensions are fixed or can be parsed from a list or >> table, just assign each destination number to a channel variable and >> reference each channel variable in the _outcall app line like this: >> >> >> >> ... >> >> More at: >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conference-OutboundConference >> >> If it's a variable quantity of destinations each time then you'll have to >> script it, but if it's a fixed quantity of destinations with varying >> numbers you can just use the channel variable approach, or just hard-code a >> dialplan extension that matches one number or string and blasts the >> auto_outcall to all those numbers and joins them to the conference as they >> answer. >> >> I'll be out of communications for a bit in transit, but if they are >> holding the weekly conference call today at 13:00 ET you might strike gold >> there after the formal presentation is over. >> >> Success to you! >> >> Bote >> >> >> On Wed, Jan 6, 2016 at 10:08 AM, Michael Nielsen >> wrote: >> >>> I'll try the following: >>> >>> Create a LUA script placed in the dialplan directory. >>> Match any destination_number which contains ; (semi-colon). >>> Create the madboss example and loop through the destination_number split >>> between semi-colons for conference_set_auto_outcall. >>> >>> Does this make sense? >>> >>> On Wed, Jan 6, 2016 at 4:05 PM, Bote Man >>> wrote: >>> >>>> That's what the outbound conference call does, it originates outbound >>>> legs to the specified endpoints and joins them to the specified conference. >>>> I use it all the time in a fixed group application. I imagine that with a >>>> curl lookup you could fill in the blanks to be called with a little >>>> scripting magic. >>>> >>>> Bote >>>> >>>> >>>> On Wed, Jan 6, 2016 at 9:40 AM, Michael Nielsen >>>> wrote: >>>> >>>>> My idea was, whenever dialing from my SIP client: 1001;1002;1003, all >>>>> of them would be called at the same time - and all of them would join a >>>>> mutual call. >>>>> >>>>> On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen >>>>> wrote: >>>>> >>>>>> I see, so I somehow need to dynamically create my dialplan upon >>>>>> dialing. >>>>>> >>>>>> On Wed, Jan 6, 2016 at 3:13 AM, Brian West >>>>>> wrote: >>>>>> >>>>>>> Or better yet, look at the madboss example in our vanilla config! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> "conference_auto_outcall_caller_id_number=0911"/> >>>>>>> >>>>>>> >>>>>> "conference_auto_outcall_timeout=60"/> >>>>>>> >>>>>>> >>>>>> "conference_auto_outcall_flags=none"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> "loopback/9664"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 5, 2016 at 8:01 PM, Bote Man >>>>>>> wrote: >>>>>>> >>>>>>>> There exists an API command for the conference called "relate" >>>>>>>> which can mute one conferee relative to another specified conferee. If you >>>>>>>> wish to keep conferees separate this might help you, but it requires some >>>>>>>> scripting to implement at call setup time. Perhaps I don't understand your >>>>>>>> question fully? >>>>>>>> >>>>>>>> Bote >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen < >>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> Many thanks for the link - I'l have a look at it. But it seems >>>>>>>>> quite "difficult" to do. After browsing on the mod_conference, I found this >>>>>>>>> example: >>>>>>>>> >>>>>>>> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >>>>>>>>> >>>>>>>>> Doesn't that do something similar? >>>>>>>>> >>>>>>>>> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin < >>>>>>>>> ssinyagin at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> of course you can, you just use mod_conference and some magic. >>>>>>>>>> >>>>>>>>>> Here's my script which does approximately what you described, but >>>>>>>>>> its >>>>>>>>>> main purpose is test automation. >>>>>>>>>> >>>>>>>>>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen < >>>>>>>>>> mic.niel84 at gmail.com> wrote: >>>>>>>>>> > Is it possible to dial multiple users at once, for initiating a >>>>>>>>>> conference >>>>>>>>>> > call - without the need for a conference room. >>>>>>>>>> > >>>>>>>>>> > And without having the client as "connection-point" for all the >>>>>>>>>> parties >>>>>>>>>> > involved, but having FreeSWITCH handling the merging of calls, >>>>>>>>>> so the RTP >>>>>>>>>> > stream for each client is similar to a 1-1 call for all parties. >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>>>> > consulting at freeswitch.org >>>>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>>>> > >>>>>>>>>> > Official FreeSWITCH Sites >>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>> > http://confluence.freeswitch.org >>>>>>>>>> > http://www.cluecon.com >>>>>>>>>> > >>>>>>>>>> > FreeSWITCH-users mailing list >>>>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> > UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> > http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> http://confluence.freeswitch.org >>>>>>>>>> http://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> http://www.freeswitch.org >>>>>>>>> http://confluence.freeswitch.org >>>>>>>>> http://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at 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 >>>>>>> >>>>>>> Got Bugs? Report them here ! | 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 >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160107/c86c7ec7/attachment-0001.html From treitinger at as-infodienste.de Thu Jan 7 19:00:12 2016 From: treitinger at as-infodienste.de (Melanie Treitinger) Date: Thu, 7 Jan 2016 17:00:12 +0100 Subject: [Freeswitch-users] What is the core DEBUG level in switch.conf.xml? In-Reply-To: References: <568E43BF.2040103@as-infodienste.de> Message-ID: <568E8B8C.7030905@as-infodienste.de> Is there any more precise information about this parameter? What kind of "additional debug messages"? Am 07.01.2016 um 12:35 schrieb Steven Ayre: > It enables some additional debug messages. Probably at a lower level > than you need. > > On 7 January 2016 at 10:53, Melanie Treitinger > > wrote: > > Hi, > > I've found this in the switch.conf.xml > > > > > What exactly does this parameter do? There seems to be no documentation > in the confluence. > > What is the difference to other debug variables, e.g. the Gobal Log > Level right above: > > > Thanks a lot! > > Melanie > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > E-Mail ist virenfrei. > Von AVG ?berpr?ft - www.avg.de > Version: 2013.0.3544 / Virendatenbank: 4477/11346 - Ausgabedatum: > 07.01.2016 > From anthony.minessale at gmail.com Thu Jan 7 20:12:51 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 7 Jan 2016 11:12:51 -0600 Subject: [Freeswitch-users] What is the core DEBUG level in switch.conf.xml? In-Reply-To: <568E8B8C.7030905@as-infodienste.de> References: <568E43BF.2040103@as-infodienste.de> <568E8B8C.7030905@as-infodienste.de> Message-ID: The debug level is for debugging not meant to be seen typically. There is no need for documentation other than some places in the code log at DEBUG1-DEBUG10 which which will not be visible unless the appropriate debug level is set. On Thu, Jan 7, 2016 at 10:00 AM, Melanie Treitinger < treitinger at as-infodienste.de> wrote: > Is there any more precise information about this parameter? What kind of > "additional debug messages"? > > > > Am 07.01.2016 um 12:35 schrieb Steven Ayre: > > It enables some additional debug messages. Probably at a lower level > > than you need. > > > > On 7 January 2016 at 10:53, Melanie Treitinger > > > > wrote: > > > > Hi, > > > > I've found this in the switch.conf.xml > > > > > > > > > > What exactly does this parameter do? There seems to be no > documentation > > in the confluence. > > > > What is the difference to other debug variables, e.g. the Gobal Log > > Level right above: > > > > > > Thanks a lot! > > > > Melanie > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > E-Mail ist virenfrei. > > Von AVG ?berpr?ft - www.avg.de > > Version: 2013.0.3544 / Virendatenbank: 4477/11346 - Ausgabedatum: > > 07.01.2016 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/cd90525f/attachment.html From anthony.minessale at gmail.com Thu Jan 7 20:40:18 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 7 Jan 2016 11:40:18 -0600 Subject: [Freeswitch-users] Longtime working user's phone now disconnecting In-Reply-To: References: Message-ID: You probably want to go a little higher up in the excerpt and even better if the sip trace was enabled as well. ending bridge by request from write function just means one of the legs is hungup and is no longer accepting writes so the bridge ends. You are missing the place where the leg hangs up, most likely from some sip transaction. Look for lines with "Hangup" in them. On Tue, Jan 5, 2016 at 12:16 PM, Sean Devoy wrote: > Hi, > > > > I have an emotional user who now claims her phone fails at least once a > week and everyone else?s must be, but no one has ever reported it! My very > favorite kind of complaint ? entirely founded in emotion, myth and > misunderstanding. > > > > In any case, I called her. I spent 4:11 listening to her complain, but > not be able to sight a single instance I could research. Then the > connection was lost. She claims she did not hang up, the line went dead. > Perhaps there is an actual problem after all. > > > > I will add at least one of the errors she reported would lead me to > believe there is a hardware (or power) issue on her desk phone (Cisco > SPA540). I did look on the phone after the dropped call and the phone did > NOT reboot and said it was still registered from 45 minutes earlier. > > > > Just FYI: The problems are reported to have started when COMCAST replaced > their DSL and they got new external IP addresses. The phones are NATed. > > > > Can someone tell me what [BREAK], [NORMAL CLEARING], then ?port ending > bridge by request from write function? means? > > Just for background, this was an internal ext to ext dial in separate > ?domains? on my FS server. NO IVR involved. > > > > Here is a log excerpt: > > 12:32:12.178673 [DEBUG] sofia_glue.c:3429 sofia/external/220 at redacted.com > Setting audio receive payload in Re-INVITE to 0 > > 12:36:23.318530 [DEBUG] switch_core_session.c:1016 Send signal > sofia/external/sip:10 at redacted_too:port [BREAK] > > 12:36:23.338532 [NOTICE] sofia.c:737 Hangup > sofia/external/sip:10 at redacted_too:port [CS_EXCHANGE_MEDIA] > [NORMAL_CLEARING] > > 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:569 > sofia/external/sip:10 at redacted_too:port ending bridge by request from > write function > > 12:36:23.338532 [DEBUG] switch_channel.c:3187 Send signal > sofia/external/sip:10 at redacted_too:port [KILL] > > 12:36:23.338532 [DEBUG] switch_core_session.c:1351 Send signal > sofia/external/sip:10 at redacted_too:port [BREAK] > > 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:645 BRIDGE THREAD DONE > [sofia/external/220 at redacted.com] > > 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:675 Send signal > sofia/external/sip:10 at redacted_too:port [BREAK] > > 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:645 BRIDGE THREAD DONE > [sofia/external/sip:10 at redacted_too:port] > > 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:675 Send signal sofia/external/ > 220 at redacted.com [BREAK] > > > > > > Any ideas where I should look next or even what the problem is? > > NOTHING has changed on the server for months and months. The FS version > is rather out of date, but has been stable for a long time. > > > > Thanks in advance. > > Sean > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160107/42273327/attachment-0001.html From dutangp at gmail.com Fri Jan 8 00:40:19 2016 From: dutangp at gmail.com (Pierre-Emmanuel Dutang) Date: Thu, 7 Jan 2016 22:40:19 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: Hello, Yes it's kinda that, but I'm not sure to understand the explanation. What I'm looking for it's to be able to bridge 2 sessions from 2 differents freeswitch, if an application can manage a link between different freeswitch I m interested. Bests, On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > Is this what you are looking for? > > > https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html > > Long text, please read it. > > -- > Luis Daniel Lucio Quiroz > CISSP, CISM, CISA > Linux, VoIP and much more fun > www.okay.com.mx > > Need LCR? Check out LCR for FusionPBX with FreeSWITCH > Need Billing? Check out Billing for FusionPBX with FreeSWITCH > > 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang : > >> Hello, >> >> I need to create a cluster of Freeswitch for a project. the project is >> simple, we call people through freeswitch and we want to bridge 2 sessions, >> pretty simple :) But to be more scalable I want to use multiple freeswitch, >> that mean a call can go through one freeswitch F1 and another call through >> freeswitch F2. What I want is to be able to bridge a call from F1 with a >> call from F2. >> >> The solution can be bridge both sessions from 2 different freeswitch or >> move a channel to be in the same freeswitch to be able to bridge both >> sessions. >> >> I have no idea if I can do that and how to do it. I just read some stuff >> about mods_cluster but nothing clear with explanation. >> >> Thanks for you help :) >> >> -- >> Pierre >> 06 52 08 00 52 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -- Pierre 06 52 08 00 52 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160107/570c2bd9/attachment.html From lmorley at neny.cslimits.net Fri Jan 8 03:42:52 2016 From: lmorley at neny.cslimits.net (Larry Morley) Date: Thu, 7 Jan 2016 19:42:52 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: > I see, so I somehow need to > dynamically create my dialplan Not if you use the "mad boss" dialplan like Brian suggested; nothing dynamic there. Unless I'm not understanding some aspect of what you're asking. Also, there's a feature known as "enterprise originate" which can dial multiple users simultaneously. I've only ever used it to call multiple parties simultaneously. You might want to check that out, too (or perhaps someone more familiar with it than I am can provide some insight as to whether or not it's worth exploring, etc.). Good Luck. - Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160107/c802d4a3/attachment.html From mgg at giagnocavo.net Fri Jan 8 05:27:41 2016 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Fri, 8 Jan 2016 02:27:41 +0000 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: The ?bridge? command will literally bridge two sessions between FS boxes. Or any other box that speaks a protocol in common. -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Pierre-Emmanuel Dutang Sent: Thursday, 7 January, 2016 15:40 To: Luis Daniel Lucio Quiroz ; FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch "Cluster" Hello, Yes it's kinda that, but I'm not sure to understand the explanation. What I'm looking for it's to be able to bridge 2 sessions from 2 differents freeswitch, if an application can manage a link between different freeswitch I m interested. Bests, On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz > wrote: Is this what you are looking for? https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html Long text, please read it. -- Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang >: Hello, I need to create a cluster of Freeswitch for a project. the project is simple, we call people through freeswitch and we want to bridge 2 sessions, pretty simple :) But to be more scalable I want to use multiple freeswitch, that mean a call can go through one freeswitch F1 and another call through freeswitch F2. What I want is to be able to bridge a call from F1 with a call from F2. The solution can be bridge both sessions from 2 different freeswitch or move a channel to be in the same freeswitch to be able to bridge both sessions. I have no idea if I can do that and how to do it. I just read some stuff about mods_cluster but nothing clear with explanation. Thanks for you help :) -- Pierre 06 52 08 00 52 [https://static.licdn.com/scds/common/u/img/logos/logo_132x32_2.png] _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Pierre 06 52 08 00 52 [https://static.licdn.com/scds/common/u/img/logos/logo_132x32_2.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160108/b3df92e0/attachment-0001.html From steveayre at gmail.com Fri Jan 8 10:50:02 2016 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 8 Jan 2016 07:50:02 +0000 Subject: [Freeswitch-users] What is the core DEBUG level in switch.conf.xml? In-Reply-To: References: <568E43BF.2040103@as-infodienste.de> <568E8B8C.7030905@as-infodienste.de> Message-ID: If you're really interested use "grep -RE 'SWITCH_LOG_DEBUG[0-9]' src/" in a checkout of the repository. Think of them as trace levels rather than debug log messages. On 7 January 2016 at 17:12, Anthony Minessale wrote: > The debug level is for debugging not meant to be seen typically. > There is no need for documentation other than some places in the code log > at DEBUG1-DEBUG10 which which will not be visible unless the appropriate > debug level is set. > > > On Thu, Jan 7, 2016 at 10:00 AM, Melanie Treitinger < > treitinger at as-infodienste.de> wrote: > >> Is there any more precise information about this parameter? What kind of >> "additional debug messages"? >> >> >> >> Am 07.01.2016 um 12:35 schrieb Steven Ayre: >> > It enables some additional debug messages. Probably at a lower level >> > than you need. >> > >> > On 7 January 2016 at 10:53, Melanie Treitinger >> > > >> wrote: >> > >> > Hi, >> > >> > I've found this in the switch.conf.xml >> > >> > >> > >> > >> > What exactly does this parameter do? There seems to be no >> documentation >> > in the confluence. >> > >> > What is the difference to other debug variables, e.g. the Gobal Log >> > Level right above: >> > >> > >> > Thanks a lot! >> > >> > Melanie >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > E-Mail ist virenfrei. >> > Von AVG ?berpr?ft - www.avg.de >> > Version: 2013.0.3544 / Virendatenbank: 4477/11346 - Ausgabedatum: >> > 07.01.2016 >> > >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160108/395edbfb/attachment.html From mic.niel84 at gmail.com Fri Jan 8 11:03:34 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Fri, 8 Jan 2016 09:03:34 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: It sounds exactly as what I'm looking for - calling multiple parties simultaneously. If it allows all parties to speak together when dialled? It nothing more advanced than that, which I'm looking for. Basic example: I call two of my colleagues, when they answer we all speak together. On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley wrote: > > I see, so I somehow need to > > dynamically create my dialplan > > Not if you use the "mad boss" dialplan like Brian suggested; nothing > dynamic there. Unless I'm not understanding some aspect of what you're > asking. > > Also, there's a feature known as "enterprise originate" which can dial > multiple users simultaneously. I've only ever used it to call multiple > parties simultaneously. You might want to check that out, too (or perhaps > someone more familiar with it than I am can provide some insight as to > whether or not it's worth exploring, etc.). > > Good Luck. > > - Larry > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160108/dd402ca2/attachment.html From giggsey at gmail.com Fri Jan 8 12:17:04 2016 From: giggsey at gmail.com (Joshua Gigg) Date: Fri, 08 Jan 2016 09:17:04 +0000 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: Do you have any examples of the bridge command working with two sessions on different FS boxes? The confluence page only shows examples for numbers. I have the same need as Pierre, where we have a pairs of FreeSWITCH, and need to join calls between them. The biggest problem we've had so far is the so called 'nightmare transfer'. On Fri, 8 Jan 2016 at 02:29 Michael Giagnocavo wrote: > The ?bridge? command will literally bridge two sessions between FS boxes. > Or any other box that speaks a protocol in common. > > -Michael > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Pierre-Emmanuel > Dutang > *Sent:* Thursday, 7 January, 2016 15:40 > *To:* Luis Daniel Lucio Quiroz ; FreeSWITCH > Users Help > *Subject:* Re: [Freeswitch-users] Freeswitch "Cluster" > > > > Hello, > > Yes it's kinda that, but I'm not sure to understand the explanation. What > I'm looking for it's to be able to bridge 2 sessions from 2 differents > freeswitch, if an application can manage a link between different > freeswitch I m interested. > > Bests, > > > > On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < > luis.daniel.lucio at gmail.com> wrote: > > Is this what you are looking for? > > > > > https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html > > > > Long text, please read it. > > > -- > > Luis Daniel Lucio Quiroz > CISSP, CISM, CISA > Linux, VoIP and much more fun > www.okay.com.mx > > Need LCR? Check out LCR for FusionPBX with FreeSWITCH > Need Billing? Check out Billing for FusionPBX with FreeSWITCH > > > > 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang : > > Hello, > > I need to create a cluster of Freeswitch for a project. the project is > simple, we call people through freeswitch and we want to bridge 2 sessions, > pretty simple :) But to be more scalable I want to use multiple freeswitch, > that mean a call can go through one freeswitch F1 and another call through > freeswitch F2. What I want is to be able to bridge a call from F1 with a > call from F2. > > The solution can be bridge both sessions from 2 different freeswitch or > move a channel to be in the same freeswitch to be able to bridge both > sessions. > > I have no idea if I can do that and how to do it. I just read some stuff > about mods_cluster but nothing clear with explanation. > > Thanks for you help :) > > > -- > > Pierre > > 06 52 08 00 52 > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > > -- > > Pierre > > 06 52 08 00 52 > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160108/f8669c54/attachment-0001.html From dutangp at gmail.com Fri Jan 8 15:34:53 2016 From: dutangp at gmail.com (Pierre-Emmanuel Dutang) Date: Fri, 8 Jan 2016 13:34:53 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: There is not a tutorial or more documentary, do I need to install fusionPBX as told Luis or do I just need freeswitch modules? On Fri, Jan 8, 2016 at 10:17 AM, Joshua Gigg wrote: > Do you have any examples of the bridge command working with two sessions > on different FS boxes? > > The confluence page only shows examples for numbers. > > > I have the same need as Pierre, where we have a pairs of FreeSWITCH, and > need to join calls between them. The biggest problem we've had so far is > the so called 'nightmare transfer'. > > On Fri, 8 Jan 2016 at 02:29 Michael Giagnocavo wrote: > >> The ?bridge? command will literally bridge two sessions between FS boxes. >> Or any other box that speaks a protocol in common. >> >> -Michael >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Pierre-Emmanuel >> Dutang >> *Sent:* Thursday, 7 January, 2016 15:40 >> *To:* Luis Daniel Lucio Quiroz ; FreeSWITCH >> Users Help >> *Subject:* Re: [Freeswitch-users] Freeswitch "Cluster" >> >> >> >> Hello, >> >> Yes it's kinda that, but I'm not sure to understand the explanation. What >> I'm looking for it's to be able to bridge 2 sessions from 2 differents >> freeswitch, if an application can manage a link between different >> freeswitch I m interested. >> >> Bests, >> >> >> >> On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < >> luis.daniel.lucio at gmail.com> wrote: >> >> Is this what you are looking for? >> >> >> >> >> https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html >> >> >> >> Long text, please read it. >> >> >> -- >> >> Luis Daniel Lucio Quiroz >> CISSP, CISM, CISA >> Linux, VoIP and much more fun >> www.okay.com.mx >> >> Need LCR? Check out LCR for FusionPBX with FreeSWITCH >> Need Billing? Check out Billing for FusionPBX with FreeSWITCH >> >> >> >> 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang : >> >> Hello, >> >> I need to create a cluster of Freeswitch for a project. the project is >> simple, we call people through freeswitch and we want to bridge 2 sessions, >> pretty simple :) But to be more scalable I want to use multiple freeswitch, >> that mean a call can go through one freeswitch F1 and another call through >> freeswitch F2. What I want is to be able to bridge a call from F1 with a >> call from F2. >> >> The solution can be bridge both sessions from 2 different freeswitch or >> move a channel to be in the same freeswitch to be able to bridge both >> sessions. >> >> I have no idea if I can do that and how to do it. I just read some stuff >> about mods_cluster but nothing clear with explanation. >> >> Thanks for you help :) >> >> >> -- >> >> Pierre >> >> 06 52 08 00 52 >> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> >> >> -- >> >> Pierre >> >> 06 52 08 00 52 >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Pierre 06 52 08 00 52 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160108/085a6039/attachment.html From regis.freeswitch.org at tornad.net Fri Jan 8 15:39:19 2016 From: regis.freeswitch.org at tornad.net (Regis M) Date: Fri, 8 Jan 2016 13:39:19 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: It's not possible to internaly bridge 2 channels between 2 freeswitchs... You need to make a call from FS1 to FS2. Once this fact is posed, you could be a specific and logical dialplan between boxes incoming dialplan destination="uuid_(.+)" with action uuid_intercept data="$1". FS2 channel uuid AAA to bridge with FS1 uuid BBB ESL event on FS1 transfer BBB to FS/uuid_AAA * done * ... :) It's only theory, never done it ;) Regards, R?gis 2016-01-08 10:17 GMT+01:00 Joshua Gigg : > Do you have any examples of the bridge command working with two sessions > on different FS boxes? > > The confluence page only shows examples for numbers. > > > I have the same need as Pierre, where we have a pairs of FreeSWITCH, and > need to join calls between them. The biggest problem we've had so far is > the so called 'nightmare transfer'. > > On Fri, 8 Jan 2016 at 02:29 Michael Giagnocavo wrote: > >> The ?bridge? command will literally bridge two sessions between FS boxes. >> Or any other box that speaks a protocol in common. >> >> -Michael >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Pierre-Emmanuel >> Dutang >> *Sent:* Thursday, 7 January, 2016 15:40 >> *To:* Luis Daniel Lucio Quiroz ; FreeSWITCH >> Users Help >> *Subject:* Re: [Freeswitch-users] Freeswitch "Cluster" >> >> >> >> Hello, >> >> Yes it's kinda that, but I'm not sure to understand the explanation. What >> I'm looking for it's to be able to bridge 2 sessions from 2 differents >> freeswitch, if an application can manage a link between different >> freeswitch I m interested. >> >> Bests, >> >> >> >> On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < >> luis.daniel.lucio at gmail.com> wrote: >> >> Is this what you are looking for? >> >> >> >> >> https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html >> >> >> >> Long text, please read it. >> >> >> -- >> >> Luis Daniel Lucio Quiroz >> CISSP, CISM, CISA >> Linux, VoIP and much more fun >> www.okay.com.mx >> >> Need LCR? Check out LCR for FusionPBX with FreeSWITCH >> Need Billing? Check out Billing for FusionPBX with FreeSWITCH >> >> >> >> 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang : >> >> Hello, >> >> I need to create a cluster of Freeswitch for a project. the project is >> simple, we call people through freeswitch and we want to bridge 2 sessions, >> pretty simple :) But to be more scalable I want to use multiple freeswitch, >> that mean a call can go through one freeswitch F1 and another call through >> freeswitch F2. What I want is to be able to bridge a call from F1 with a >> call from F2. >> >> The solution can be bridge both sessions from 2 different freeswitch or >> move a channel to be in the same freeswitch to be able to bridge both >> sessions. >> >> I have no idea if I can do that and how to do it. I just read some stuff >> about mods_cluster but nothing clear with explanation. >> >> Thanks for you help :) >> >> >> -- >> >> Pierre >> >> 06 52 08 00 52 >> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> >> >> -- >> >> Pierre >> >> 06 52 08 00 52 >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160108/84eb5619/attachment-0001.html From dutangp at gmail.com Fri Jan 8 15:43:49 2016 From: dutangp at gmail.com (Pierre-Emmanuel Dutang) Date: Fri, 8 Jan 2016 13:43:49 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: @Regis, your theory works cause I did it but I wanted something more efficient, like database between all FS to share the session and when I need to bridge from another FS the connection between both is automatic. On Fri, Jan 8, 2016 at 1:39 PM, Regis M wrote: > It's not possible to internaly bridge 2 channels between 2 freeswitchs... > You need to make a call from FS1 to FS2. > Once this fact is posed, you could be a specific and logical dialplan > between boxes > > incoming dialplan destination="uuid_(.+)" with action uuid_intercept > data="$1". > FS2 channel uuid AAA to bridge with FS1 uuid BBB > ESL event on FS1 transfer BBB to FS/uuid_AAA > > * done * ... :) > > It's only theory, never done it ;) > > Regards, > > R?gis > > > > 2016-01-08 10:17 GMT+01:00 Joshua Gigg : > >> Do you have any examples of the bridge command working with two sessions >> on different FS boxes? >> >> The confluence page only shows examples for numbers. >> >> >> I have the same need as Pierre, where we have a pairs of FreeSWITCH, and >> need to join calls between them. The biggest problem we've had so far is >> the so called 'nightmare transfer'. >> >> On Fri, 8 Jan 2016 at 02:29 Michael Giagnocavo >> wrote: >> >>> The ?bridge? command will literally bridge two sessions between FS >>> boxes. Or any other box that speaks a protocol in common. >>> >>> -Michael >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Pierre-Emmanuel >>> Dutang >>> *Sent:* Thursday, 7 January, 2016 15:40 >>> *To:* Luis Daniel Lucio Quiroz ; >>> FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] Freeswitch "Cluster" >>> >>> >>> >>> Hello, >>> >>> Yes it's kinda that, but I'm not sure to understand the explanation. >>> What I'm looking for it's to be able to bridge 2 sessions from 2 differents >>> freeswitch, if an application can manage a link between different >>> freeswitch I m interested. >>> >>> Bests, >>> >>> >>> >>> On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < >>> luis.daniel.lucio at gmail.com> wrote: >>> >>> Is this what you are looking for? >>> >>> >>> >>> >>> https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html >>> >>> >>> >>> Long text, please read it. >>> >>> >>> -- >>> >>> Luis Daniel Lucio Quiroz >>> CISSP, CISM, CISA >>> Linux, VoIP and much more fun >>> www.okay.com.mx >>> >>> Need LCR? Check out LCR for FusionPBX with FreeSWITCH >>> Need Billing? Check out Billing for FusionPBX with FreeSWITCH >>> >>> >>> >>> 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang : >>> >>> Hello, >>> >>> I need to create a cluster of Freeswitch for a project. the project is >>> simple, we call people through freeswitch and we want to bridge 2 sessions, >>> pretty simple :) But to be more scalable I want to use multiple freeswitch, >>> that mean a call can go through one freeswitch F1 and another call through >>> freeswitch F2. What I want is to be able to bridge a call from F1 with a >>> call from F2. >>> >>> The solution can be bridge both sessions from 2 different freeswitch or >>> move a channel to be in the same freeswitch to be able to bridge both >>> sessions. >>> >>> I have no idea if I can do that and how to do it. I just read some stuff >>> about mods_cluster but nothing clear with explanation. >>> >>> Thanks for you help :) >>> >>> >>> -- >>> >>> Pierre >>> >>> 06 52 08 00 52 >>> >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Pierre >>> >>> 06 52 08 00 52 >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Pierre 06 52 08 00 52 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160108/5d4d0afb/attachment.html From regis.freeswitch.org at tornad.net Fri Jan 8 19:31:56 2016 From: regis.freeswitch.org at tornad.net (Regis M) Date: Fri, 8 Jan 2016 17:31:56 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: You realise that "As a concept", it's not a really stable concept.. which will have lot of side effects.. but it's interesting... globaly, it could be done.. you have to code a function called uuid_distribued_bridge(uuid)... that will check if uuid is local or not, ask a remote centralized repository, find the freeswitch handle it and then... back to my first proposal (packaged). It doesn't exists for the moment :) Regards 2016-01-08 13:43 GMT+01:00 Pierre-Emmanuel Dutang : > @Regis, your theory works cause I did it but I wanted something more > efficient, like database between all FS to share the session and when I > need to bridge from another FS the connection between both is automatic. > > On Fri, Jan 8, 2016 at 1:39 PM, Regis M > wrote: > >> It's not possible to internaly bridge 2 channels between 2 freeswitchs... >> You need to make a call from FS1 to FS2. >> Once this fact is posed, you could be a specific and logical dialplan >> between boxes >> >> incoming dialplan destination="uuid_(.+)" with action uuid_intercept >> data="$1". >> FS2 channel uuid AAA to bridge with FS1 uuid BBB >> ESL event on FS1 transfer BBB to FS/uuid_AAA >> >> * done * ... :) >> >> It's only theory, never done it ;) >> >> Regards, >> >> R?gis >> >> >> >> 2016-01-08 10:17 GMT+01:00 Joshua Gigg : >> >>> Do you have any examples of the bridge command working with two sessions >>> on different FS boxes? >>> >>> The confluence page only shows examples for numbers. >>> >>> >>> I have the same need as Pierre, where we have a pairs of FreeSWITCH, and >>> need to join calls between them. The biggest problem we've had so far is >>> the so called 'nightmare transfer'. >>> >>> On Fri, 8 Jan 2016 at 02:29 Michael Giagnocavo >>> wrote: >>> >>>> The ?bridge? command will literally bridge two sessions between FS >>>> boxes. Or any other box that speaks a protocol in common. >>>> >>>> -Michael >>>> >>>> >>>> >>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Pierre-Emmanuel >>>> Dutang >>>> *Sent:* Thursday, 7 January, 2016 15:40 >>>> *To:* Luis Daniel Lucio Quiroz ; >>>> FreeSWITCH Users Help >>>> *Subject:* Re: [Freeswitch-users] Freeswitch "Cluster" >>>> >>>> >>>> >>>> Hello, >>>> >>>> Yes it's kinda that, but I'm not sure to understand the explanation. >>>> What I'm looking for it's to be able to bridge 2 sessions from 2 differents >>>> freeswitch, if an application can manage a link between different >>>> freeswitch I m interested. >>>> >>>> Bests, >>>> >>>> >>>> >>>> On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < >>>> luis.daniel.lucio at gmail.com> wrote: >>>> >>>> Is this what you are looking for? >>>> >>>> >>>> >>>> >>>> https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html >>>> >>>> >>>> >>>> Long text, please read it. >>>> >>>> >>>> -- >>>> >>>> Luis Daniel Lucio Quiroz >>>> CISSP, CISM, CISA >>>> Linux, VoIP and much more fun >>>> www.okay.com.mx >>>> >>>> Need LCR? Check out LCR for FusionPBX with FreeSWITCH >>>> Need Billing? Check out Billing for FusionPBX with FreeSWITCH >>>> >>>> >>>> >>>> 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang : >>>> >>>> Hello, >>>> >>>> I need to create a cluster of Freeswitch for a project. the project is >>>> simple, we call people through freeswitch and we want to bridge 2 sessions, >>>> pretty simple :) But to be more scalable I want to use multiple freeswitch, >>>> that mean a call can go through one freeswitch F1 and another call through >>>> freeswitch F2. What I want is to be able to bridge a call from F1 with a >>>> call from F2. >>>> >>>> The solution can be bridge both sessions from 2 different freeswitch or >>>> move a channel to be in the same freeswitch to be able to bridge both >>>> sessions. >>>> >>>> I have no idea if I can do that and how to do it. I just read some >>>> stuff about mods_cluster but nothing clear with explanation. >>>> >>>> Thanks for you help :) >>>> >>>> >>>> -- >>>> >>>> Pierre >>>> >>>> 06 52 08 00 52 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Pierre >>>> >>>> 06 52 08 00 52 >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Pierre > 06 52 08 00 52 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160108/c53d4b72/attachment-0001.html From luke.milbourne at gmail.com Fri Jan 8 19:58:31 2016 From: luke.milbourne at gmail.com (Luke Milbourne) Date: Fri, 8 Jan 2016 16:58:31 +0000 Subject: [Freeswitch-users] outbound proxy and port Message-ID: https://freeswitch.org/jira/browse/FS-8715 has been created and could be used? On 5 January 2016 at 17:04, wrote: > Send FreeSWITCH-users mailing list submissions to > freeswitch-users at lists.freeswitch.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > or, via email, send a message with subject or body 'help' to > freeswitch-users-request at lists.freeswitch.org > > You can reach the person managing the list at > freeswitch-users-owner at lists.freeswitch.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FreeSWITCH-users digest..." > > Today's Topics: > > 1. Re: dtmf problems when using flowroute (Russell Treleaven) > 2. Re: outbound proxy and port (Andrew Cassidy) > 3. Re: outbound proxy and port (Brian West) > > > ---------- Forwarded message ---------- > From: Russell Treleaven > To: FreeSWITCH Users Help > Cc: > Date: Tue, 5 Jan 2016 11:22:12 -0500 > Subject: Re: [Freeswitch-users] dtmf problems when using flowroute > look at the sdp, there was an issue with dtmf and sample rate not being > 8000. > > On Tue, Jan 5, 2016 at 11:18 AM, wrote: > >> Hi. I am having dtmf problems when calling numbers via flowroute. They >> seem not to detect the dtmf at all. I am using 2833 in all cases. Have >> you done anything in say the last 4 or 5 months which might be related? >> I am not having these problems when using another carrier, so I am quite >> puzzled. >> >> Thanks in advance for any suggestions. >> >> -- >> 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > ---------- Forwarded message ---------- > From: Andrew Cassidy > To: FreeSWITCH Users Help > Cc: > Date: Tue, 5 Jan 2016 16:55:37 +0000 > Subject: Re: [Freeswitch-users] outbound proxy and port > register-proxy parameter also > > > > On 5 January 2016 at 16:00, Ognjen Seslija wrote: > >> Use register-proxy as well as outbound-proxy. >> On Sep 26, 2013 9:30 PM, "Chris B. Ware" wrote: >> >>> Hi, >>> >>> I need to send registrations and calls from external profile to a si >>> provider, passing through an outbound proxy, port 5080. >>> >>> I I set on sofia: >>> >>> >>> >>> Registrations pass through the OB Proxy, but using, of course, standard >>> 5060 port. >>> >>> I I set on sofia: >>> >>> >>> >>> Param seems to be not understood and registrations go directly to the >>> sip provider. >>> >>> How can I set outbound proxy port? >>> >>> Thanks >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>> http://www.cudatel.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://wiki.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > ---------- Forwarded message ---------- > From: Brian West > To: FreeSWITCH Users Help > Cc: > Date: Tue, 5 Jan 2016 11:04:10 -0600 > Subject: Re: [Freeswitch-users] outbound proxy and port > File a JIRA, lets correct the behaviors to be consistent. > > On Mon, Jan 4, 2016 at 3:14 PM, Steven Ayre wrote: > >> Just got it working by using the format "sip:a.b.c.d:port" or >> "sips:a.b.c.d:port" >> >> It looks like there's a difference in the handling of outbound-proxy for >> a gateway compared to a profile. A gateway prepends sip: if it's missing, >> while a profile does not. So it seems both the documentation could be >> improved, and the code could be patched so they use the value consistently >> as ip:port would presumably work ok for a gateway. That's from a reading of >> the source code in master, so I would expect 1.6 should have the same >> behaviour as 1.4.26. >> >> >> >> >> On 4 January 2016 at 21:03, Michael Jerris wrote: >> >>> I haven't seen anyone working on this but id be happy to review patches >>> that address the issue. I wouldn't expect a difference in 1.6 behavior on >>> this issue >>> >>> >>> On Monday, January 4, 2016, Steven Ayre wrote: >>> >>>> Sorry for resurrecting a very old thread. Has anyone got this working? >>>> >>>> I've just tried this on 1.4.26 and seem to be seeing the same result. >>>> With a outbound-proxy value of "a.b.c.d:port" sofia's log (sofia loglevel >>>> all 9) shows sofia is trying the DNS lookup itself apparently without >>>> sending anything to the proxy, which fails as this side of proxy can't >>>> resolve the address. With the :port removed so its value is just "a.b.c.d" >>>> it shows a different output of trying to send to the proxy which fails with >>>> an ICMP error (tport_udp_error) - expected since it tries 5060 instead of >>>> the proxy's actual port. >>>> >>>> If no-one has it working, I'll try to reproduce on 1.6 and file a Jira. >>>> >>>> >>>> On 30 September 2013 at 08:58, Cal Leeming [Simplicity Media Ltd] < >>>> cal.leeming at simplicitymedialtd.co.uk> wrote: >>>> >>>>> Hi Chris, >>>>> >>>>> From what I can tell, the value from profile->outbound-proxy is >>>>> passed into sofia NTATAG_DEFAULT_PROXY() and accepts a url_t structure [1], >>>>> which clearly allows for a port to be specified [2]. However, I was unable >>>>> to find any working examples from others on setting a port value inside >>>>> outbound-proxy, nor did the documentation reference this. >>>>> >>>>> Can you please tell us; >>>>> >>>>> * Are you running against the latest stable version of FS? >>>>> * Have you tried this against the most recent master? >>>>> * Can you please pastebin the logs of what happens when you try >>>>> including a port? >>>>> >>>>> Once you've sent this through, we can determine if it's a bug or not. >>>>> >>>>> Hope this helps >>>>> >>>>> Cal >>>>> >>>>> [1] >>>>> http://sofia-sip.sourcearchive.com/documentation/1.12.7/nta__tag_8h_470c3d7c598ed2d4514836d3bb916fc7.html#470c3d7c598ed2d4514836d3bb916fc7 >>>>> [2] >>>>> http://sofia-sip.sourcearchive.com/documentation/1.12.7/structurl__t.html >>>>> >>>>> >>>>> >>>>> On Thu, Sep 26, 2013 at 8:23 PM, Chris B. Ware >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I need to send registrations and calls from external profile to a si >>>>>> provider, passing through an outbound proxy, port 5080. >>>>>> >>>>>> I I set on sofia: >>>>>> >>>>>> >>>>>> >>>>>> Registrations pass through the OB Proxy, but using, of course, >>>>>> standard 5060 port. >>>>>> >>>>>> I I set on sofia: >>>>>> >>>>>> >>>>>> >>>>>> Param seems to be not understood and registrations go directly to the >>>>>> sip provider. >>>>>> >>>>>> How can I set outbound proxy port? >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>>> http://www.cudatel.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://wiki.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >>>>> http://www.cudatel.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://wiki.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Luke Milbourne Tel: 07857154817 Google Talk/Email: luke.milbourne at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160108/624f52ee/attachment-0001.html From mike at jerris.com Fri Jan 8 20:58:07 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 8 Jan 2016 12:58:07 -0500 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: It could easily be implemented in dial plan with a db backed or key value backed storage. On Friday, January 8, 2016, Regis M wrote: > You realise that "As a concept", it's not a really stable concept.. which > will have lot of side effects.. but it's interesting... > > globaly, it could be done.. you have to code a function called > uuid_distribued_bridge(uuid)... that will check if uuid is local or not, > ask a remote centralized repository, find the freeswitch handle it and > then... back to my first proposal (packaged). > > It doesn't exists for the moment :) > > Regards > > > 2016-01-08 13:43 GMT+01:00 Pierre-Emmanuel Dutang >: > >> @Regis, your theory works cause I did it but I wanted something more >> efficient, like database between all FS to share the session and when I >> need to bridge from another FS the connection between both is automatic. >> >> On Fri, Jan 8, 2016 at 1:39 PM, Regis M > > wrote: >> >>> It's not possible to internaly bridge 2 channels between 2 >>> freeswitchs... You need to make a call from FS1 to FS2. >>> Once this fact is posed, you could be a specific and logical dialplan >>> between boxes >>> >>> incoming dialplan destination="uuid_(.+)" with action uuid_intercept >>> data="$1". >>> FS2 channel uuid AAA to bridge with FS1 uuid BBB >>> ESL event on FS1 transfer BBB to FS/uuid_AAA >>> >>> * done * ... :) >>> >>> It's only theory, never done it ;) >>> >>> Regards, >>> >>> R?gis >>> >>> >>> >>> 2016-01-08 10:17 GMT+01:00 Joshua Gigg >> >: >>> >>>> Do you have any examples of the bridge command working with two >>>> sessions on different FS boxes? >>>> >>>> The confluence page only shows examples for numbers. >>>> >>>> >>>> I have the same need as Pierre, where we have a pairs of FreeSWITCH, >>>> and need to join calls between them. The biggest problem we've had so far >>>> is the so called 'nightmare transfer'. >>>> >>>> On Fri, 8 Jan 2016 at 02:29 Michael Giagnocavo >>> > wrote: >>>> >>>>> The ?bridge? command will literally bridge two sessions between FS >>>>> boxes. Or any other box that speaks a protocol in common. >>>>> >>>>> -Michael >>>>> >>>>> >>>>> >>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org >>>>> >>>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org >>>>> ] >>>>> *On Behalf Of *Pierre-Emmanuel Dutang >>>>> *Sent:* Thursday, 7 January, 2016 15:40 >>>>> *To:* Luis Daniel Lucio Quiroz >>>> >; >>>>> FreeSWITCH Users Help >>>> >>>>> > >>>>> *Subject:* Re: [Freeswitch-users] Freeswitch "Cluster" >>>>> >>>>> >>>>> >>>>> Hello, >>>>> >>>>> Yes it's kinda that, but I'm not sure to understand the explanation. >>>>> What I'm looking for it's to be able to bridge 2 sessions from 2 differents >>>>> freeswitch, if an application can manage a link between different >>>>> freeswitch I m interested. >>>>> >>>>> Bests, >>>>> >>>>> >>>>> >>>>> On Wed, Jan 6, 2016 at 9:26 PM, Luis Daniel Lucio Quiroz < >>>>> luis.daniel.lucio at gmail.com >>>>> > wrote: >>>>> >>>>> Is this what you are looking for? >>>>> >>>>> >>>>> >>>>> >>>>> https://okay.com.mx/en/entrepreneurs/balancing-clustering-and-high-availability-with-fusionpbx.html >>>>> >>>>> >>>>> >>>>> Long text, please read it. >>>>> >>>>> >>>>> -- >>>>> >>>>> Luis Daniel Lucio Quiroz >>>>> CISSP, CISM, CISA >>>>> Linux, VoIP and much more fun >>>>> www.okay.com.mx >>>>> >>>>> Need LCR? Check out LCR for FusionPBX with FreeSWITCH >>>>> Need Billing? Check out Billing for FusionPBX with FreeSWITCH >>>>> >>>>> >>>>> >>>>> 2016-01-06 8:47 GMT-05:00 Pierre-Emmanuel Dutang >>>> >: >>>>> >>>>> Hello, >>>>> >>>>> I need to create a cluster of Freeswitch for a project. the project is >>>>> simple, we call people through freeswitch and we want to bridge 2 sessions, >>>>> pretty simple :) But to be more scalable I want to use multiple freeswitch, >>>>> that mean a call can go through one freeswitch F1 and another call through >>>>> freeswitch F2. What I want is to be able to bridge a call from F1 with a >>>>> call from F2. >>>>> >>>>> The solution can be bridge both sessions from 2 different freeswitch >>>>> or move a channel to be in the same freeswitch to be able to bridge both >>>>> sessions. >>>>> >>>>> I have no idea if I can do that and how to do it. I just read some >>>>> stuff about mods_cluster but nothing clear with explanation. >>>>> >>>>> Thanks for you help :) >>>>> >>>>> >>>>> -- >>>>> >>>>> Pierre >>>>> >>>>> 06 52 08 00 52 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Pierre >>>>> >>>>> 06 52 08 00 52 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Pierre >> 06 52 08 00 52 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160108/2364993a/attachment-0001.html From petedao at gmail.com Sat Jan 9 15:37:08 2016 From: petedao at gmail.com (Pete Kay) Date: Sat, 9 Jan 2016 20:37:08 +0800 Subject: [Freeswitch-users] Need Help with mod_portaudio Message-ID: Hi, I tried to stream audio from aloop to outside and stream outside audio to bloop. Then I want to do : originate user/1000 bridge:portaudio/auto_answer inline Here is my pa devlist, but I tried pa outdev and pa indev and i got "indev not set (invalid value)" Does anyone know how I should set it up so media can stream? pa indev 5 indev not set (invalid value) freeswitch at vps57327> pa devlist 0;Loopback: Loopback PCM (hw:0,0)(ALSA);32;32;r,i,o 1;Loopback: Loopback PCM (hw:0,1)(ALSA);2;32; 2;amix(ALSA);0;2; 3;asnoop(ALSA);2;0; 4;aduplex(ALSA);2;2; 5;aloop(ALSA);128;128; 6;bloop(ALSA);2;0; 7;card0(ALSA);128;128; 8;default(ALSA);128;128; -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160109/4d065d14/attachment.html From sdevoy at bizfocused.com Sun Jan 10 07:24:54 2016 From: sdevoy at bizfocused.com (Sean Devoy) Date: Sun, 10 Jan 2016 04:24:54 +0000 Subject: [Freeswitch-users] Longtime working user's phone now disconnecting In-Reply-To: References: Message-ID: Thank you for the reply Anthony. It appears you are correct OF COURSE! I dug in deeper to the setup (and dialplan, etc) for that user?s extension. I found a difference from the working models that I should have seen before even posting, sorry. The extension did not have And all the working extensions do have it. I added it. I don?t know what else happens when that is set, but I know it makes my extension re-register every 30 seconds (which seems excessive to me). I think that is probably just masking the underlying problem where the Comcast router is dropping the NAT connection after some time period. I am thrilled to have it working, but there must be a cleaner fix. Is there at least a way to extend that 30 second time to 60, 90, 120? Can you direct me to a good resource to help me understand this parameter better? Thank you again, Sean From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Thursday, January 07, 2016 12:40 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Longtime working user's phone now disconnecting You probably want to go a little higher up in the excerpt and even better if the sip trace was enabled as well. ending bridge by request from write function just means one of the legs is hungup and is no longer accepting writes so the bridge ends. You are missing the place where the leg hangs up, most likely from some sip transaction. Look for lines with "Hangup" in them. On Tue, Jan 5, 2016 at 12:16 PM, Sean Devoy > wrote: Hi, I have an emotional user who now claims her phone fails at least once a week and everyone else?s must be, but no one has ever reported it! My very favorite kind of complaint ? entirely founded in emotion, myth and misunderstanding. In any case, I called her. I spent 4:11 listening to her complain, but not be able to sight a single instance I could research. Then the connection was lost. She claims she did not hang up, the line went dead. Perhaps there is an actual problem after all. I will add at least one of the errors she reported would lead me to believe there is a hardware (or power) issue on her desk phone (Cisco SPA540). I did look on the phone after the dropped call and the phone did NOT reboot and said it was still registered from 45 minutes earlier. Just FYI: The problems are reported to have started when COMCAST replaced their DSL and they got new external IP addresses. The phones are NATed. Can someone tell me what [BREAK], [NORMAL CLEARING], then ?port ending bridge by request from write function? means? Just for background, this was an internal ext to ext dial in separate ?domains? on my FS server. NO IVR involved. Here is a log excerpt: 12:32:12.178673 [DEBUG] sofia_glue.c:3429 sofia/external/220 at redacted.com Setting audio receive payload in Re-INVITE to 0 12:36:23.318530 [DEBUG] switch_core_session.c:1016 Send signal sofia/external/sip:10 at redacted_too:port [BREAK] 12:36:23.338532 [NOTICE] sofia.c:737 Hangup sofia/external/sip:10 at redacted_too:port [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:569 sofia/external/sip:10 at redacted_too:port ending bridge by request from write function 12:36:23.338532 [DEBUG] switch_channel.c:3187 Send signal sofia/external/sip:10 at redacted_too:port [KILL] 12:36:23.338532 [DEBUG] switch_core_session.c:1351 Send signal sofia/external/sip:10 at redacted_too:port [BREAK] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:645 BRIDGE THREAD DONE [sofia/external/220 at redacted.com] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:675 Send signal sofia/external/sip:10 at redacted_too:port [BREAK] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:645 BRIDGE THREAD DONE [sofia/external/sip:10 at redacted_too:port] 12:36:23.338532 [DEBUG] switch_ivr_bridge.c:675 Send signal sofia/external/220 at redacted.com [BREAK] Any ideas where I should look next or even what the problem is? NOTHING has changed on the server for months and months. The FS version is rather out of date, but has been stable for a long time. Thanks in advance. Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160110/b5e029e7/attachment-0001.html From dcorbe at hammerfiber.com Sun Jan 10 11:48:31 2016 From: dcorbe at hammerfiber.com (Daniel Corbe) Date: Sun, 10 Jan 2016 03:48:31 -0500 Subject: [Freeswitch-users] Longtime working user's phone now disconnecting In-Reply-To: References: Message-ID: > On Jan 9, 2016, at 11:24 PM, Sean Devoy wrote: > > I don?t know what else happens when that is set, but I know it makes my extension re-register every 30 seconds (which seems excessive to me). I think that is probably just masking the underlying problem where the Comcast router is dropping the NAT connection after some time period. I am thrilled to have it working, but there must be a cleaner fix. Is there at least a way to extend that 30 second time to 60, 90, 120? This is slightly off-topic; however, it really is your Comcast-supplied CPE causing this particular issue. You?re better off buying an inexpensive cable modem that only runs in bridge mode and using a router that you have more direct configuration control over. The person that maintained this before you obviously took note of how stupidly aggressive the default timers are on their CPE. From mic.niel84 at gmail.com Mon Jan 11 10:48:09 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Mon, 11 Jan 2016 08:48:09 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: Seems as if it has nothing to do with multiple parties speaking together, just simultaneously calling them. Back to mod_conferece and the madboss example. It seems to work, but not getting the variable from the caller: 1) If I call some numbers, and hang up before the 60 seconds timeout - the numbers keeps ringing for 60 seconds, even though I as initiator have hung up. 2) doesn't seems to be acknowledge, it shows Unknown number. On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen wrote: > It sounds exactly as what I'm looking for - calling multiple parties > simultaneously. If it allows all parties to speak together when dialled? > > It nothing more advanced than that, which I'm looking for. Basic example: > I call two of my colleagues, when they answer we all speak together. > > On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley > wrote: > >> > I see, so I somehow need to >> > dynamically create my dialplan >> >> Not if you use the "mad boss" dialplan like Brian suggested; nothing >> dynamic there. Unless I'm not understanding some aspect of what you're >> asking. >> >> Also, there's a feature known as "enterprise originate" which can dial >> multiple users simultaneously. I've only ever used it to call multiple >> parties simultaneously. You might want to check that out, too (or perhaps >> someone more familiar with it than I am can provide some insight as to >> whether or not it's worth exploring, etc.). >> >> Good Luck. >> >> - Larry >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160111/1648865a/attachment.html From idokan at gmail.com Mon Jan 11 13:02:38 2016 From: idokan at gmail.com (ik) Date: Mon, 11 Jan 2016 12:02:38 +0200 Subject: [Freeswitch-users] deflect vs redirect vs bridge Message-ID: Hello, I have an incoming call that on some occurrences, instead of answering it, I need to "move" the call to a different Freeswitch server. I have tried to use deflect, and redirect, however the call with deflect just hangup immediately, and with redirect, it arrive to timeout and then hangup. I'ved noticed at the wiki page (confluence) that the call must be answered with deflect. Only when I use bridge, the other Freeswitch see's the SIP request and handle the call properly, but as a statful request. How can I make the original Freeswitch out of the routing or at least make it stateless redirect (302) instead of stateful one? Thanks, Ido -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/0d19ebdd/attachment.html From idokan at gmail.com Mon Jan 11 14:40:40 2016 From: idokan at gmail.com (ik) Date: Mon, 11 Jan 2016 13:40:40 +0200 Subject: [Freeswitch-users] Knowing who is talking in a conference In-Reply-To: References: Message-ID: Thank you very much, Now I'm playing with the energy levels to see what best match the threshold for my requirements. On Thu, Dec 24, 2015 at 9:05 PM, Michael Jerris wrote: > There are talking events of you are watching events. There is also a live > table accessible via verto. > > > On Thursday, December 24, 2015, ik wrote: > >> Hello, >> >> How can I know what channel (uuid) is talking at a specific conference >> room? >> >> Thanks, >> Ido >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160111/89e055ae/attachment.html From mylists at polite.se Mon Jan 11 15:19:23 2016 From: mylists at polite.se (Oivvio Polite) Date: Mon, 11 Jan 2016 13:19:23 +0100 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? Message-ID: <20160111121922.GA32708@blomma.liberationtech.net> I'm just getting started with FS and want to hook up a couple of SIP trunk for experimentation. Right now I'm looking for a provider that'll let me pick numbers from a web interface and pay with credit card. Many of the providers I come across when googling seem to only sell SIP trunks in bulk and want me to contact a sales rep to get started. That might make sense later on in the project but right now I'm looking for something more light weight. Any tips? From sos at sokhapkin.dyndns.org Mon Jan 11 15:36:17 2016 From: sos at sokhapkin.dyndns.org (Sergey Okhapkin) Date: Mon, 11 Jan 2016 07:36:17 -0500 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <20160111121922.GA32708@blomma.liberationtech.net> References: <20160111121922.GA32708@blomma.liberationtech.net> Message-ID: <2258908.0pNYaz22sV@sos> Look at http://www.callwithus.com/ On Monday 11 January 2016 13:19:23 Oivvio Polite wrote: > I'm just getting started with FS and want to hook up a couple of SIP > trunk for experimentation. Right now I'm looking for a provider that'll > let me pick numbers from a web interface and pay with credit card. > > Many of the providers I come across when googling seem to only sell SIP > trunks in bulk and want me to contact a sales rep to get started. That > might make sense later on in the project but right now I'm looking for > something more light weight. > > Any tips? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 sms at icefire.qza.net.au Mon Jan 11 15:39:55 2016 From: sms at icefire.qza.net.au (Francis) Date: Mon, 11 Jan 2016 22:39:55 +1000 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <20160111121922.GA32708@blomma.liberationtech.net> References: <20160111121922.GA32708@blomma.liberationtech.net> Message-ID: <5693A29B.6020608@icefire.qza.net.au> Single user voip accounts will be sufficient in most cases, unless there is some special feature that these providers are offering. On 11/01/2016 10:19 PM, Oivvio Polite wrote: > I'm just getting started with FS and want to hook up a couple of SIP > trunk for experimentation. Right now I'm looking for a provider that'll > let me pick numbers from a web interface and pay with credit card. > > Many of the providers I come across when googling seem to only sell SIP > trunks in bulk and want me to contact a sales rep to get started. That > might make sense later on in the project but right now I'm looking for > something more light weight. > > Any tips? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 giggsey at gmail.com Mon Jan 11 15:45:03 2016 From: giggsey at gmail.com (Joshua Gigg) Date: Mon, 11 Jan 2016 12:45:03 +0000 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <5693A29B.6020608@icefire.qza.net.au> References: <20160111121922.GA32708@blomma.liberationtech.net> <5693A29B.6020608@icefire.qza.net.au> Message-ID: I haven't tried using them for SIP Trunking, but Twilio ? https://www.twilio.com/blog/2014/12/getting-started-placing-outbound-calls-with-twilio-elastic-sip-trunking-and-freeswitch.html On Mon, 11 Jan 2016 at 12:42 Francis wrote: > Single user voip accounts will be sufficient in most cases, unless there > is some special feature that these providers are offering. > > On 11/01/2016 10:19 PM, Oivvio Polite wrote: > > I'm just getting started with FS and want to hook up a couple of SIP > > trunk for experimentation. Right now I'm looking for a provider that'll > > let me pick numbers from a web interface and pay with credit card. > > > > Many of the providers I come across when googling seem to only sell SIP > > trunks in bulk and want me to contact a sales rep to get started. That > > might make sense later on in the project but right now I'm looking for > > something more light weight. > > > > Any tips? > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160111/413cd710/attachment-0001.html From jurij.ivo at gmail.com Mon Jan 11 15:50:34 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 11 Jan 2016 14:50:34 +0200 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: References: <20160111121922.GA32708@blomma.liberationtech.net> <5693A29B.6020608@icefire.qza.net.au> Message-ID: Hi, If you are US based, probably best option is Flowroute? They used to give 0.5$ for test purposes, without buying any credits With kind regards, 2016-01-11 14:45 GMT+02:00 Joshua Gigg : > I haven't tried using them for SIP Trunking, but Twilio > ? > > > https://www.twilio.com/blog/2014/12/getting-started-placing-outbound-calls-with-twilio-elastic-sip-trunking-and-freeswitch.html > > On Mon, 11 Jan 2016 at 12:42 Francis wrote: > >> Single user voip accounts will be sufficient in most cases, unless there >> is some special feature that these providers are offering. >> >> On 11/01/2016 10:19 PM, Oivvio Polite wrote: >> > I'm just getting started with FS and want to hook up a couple of SIP >> > trunk for experimentation. Right now I'm looking for a provider that'll >> > let me pick numbers from a web interface and pay with credit card. >> > >> > Many of the providers I come across when googling seem to only sell SIP >> > trunks in bulk and want me to contact a sales rep to get started. That >> > might make sense later on in the project but right now I'm looking for >> > something more light weight. >> > >> > Any tips? >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160111/6d8907cf/attachment.html From ximop_22 at hotmail.com Mon Jan 11 16:49:00 2016 From: ximop_22 at hotmail.com (Ximo Peral) Date: Mon, 11 Jan 2016 14:49:00 +0100 Subject: [Freeswitch-users] gateway var in channel vars Message-ID: Hi, I'm trying save in cdr_csv a gateway variable, but not work for me. This is the conf for sofia: I'm trying to save variable from the dialplan with: In console it seems to work, but not generate channel variable: 2016-01-11 14:45:57.802303 [DEBUG] switch_cpp.cpp:1103 sofia/external/xxxxx at xx.xx.xx.xx destroy/unlink session from objectEXECUTE sofia/external/965662225 at 78.136.81.1 set(exec_after_bridge_app=set gateway_id=${sofia_gateway_data ${sip_gateway_name} var gateway_id})2016-01-11 14:45:57.802303 [DEBUG] mod_dptools.c:1498 SET sofia/external/xxxxx at xx.xx.xx.xx [exec_after_bridge_app]=[set gateway=]EXECUTE sofia/external/965662225 at 78.136.81.1 bridge(sofia/gateway/XXXX/xxxxxx)2016-01-11 14:45:57.802303 [DEBUG] switch_channel.c:1237 sofia/external/xxxxx at xx.xx.xx.xx EXPORTING[export_vars] [t38_passthru]=[true] to event2016-01-11 14:45:57.802303 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables2016-01-11 14:45:57.802303 [NOTICE] switch_channel.c:1091 New Channel sofia/external/622073738 [56086a63-c6e9-4c11-b1a4-316165d3bc20]2016-01-11 14:45:57.802303 [DEBUG] mod_sofia.c:4749 sofia/external/xxxxxx setting variable [gateway_id]=[1] Is this possible? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/506d561d/attachment.html From mike at jerris.com Mon Jan 11 16:58:11 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 11 Jan 2016 08:58:11 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: On Monday, January 11, 2016, Michael Nielsen wrote: > Seems as if it has nothing to do with multiple parties speaking together, > just simultaneously calling them. > > Back to mod_conferece and the madboss example. It seems to work, but not > getting the variable from the caller: > > 1) If I call some numbers, and hang up before the 60 seconds timeout - the > numbers keeps ringing for 60 seconds, even though I as initiator have hung > up. > 2) data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> > doesn't seems to be acknowledge, it shows Unknown number. > What do you think effective_caller_id_number is here? this is not a variable that is automatically set > > On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen > wrote: > >> It sounds exactly as what I'm looking for - calling multiple parties >> simultaneously. If it allows all parties to speak together when dialled? >> >> It nothing more advanced than that, which I'm looking for. Basic example: >> I call two of my colleagues, when they answer we all speak together. >> >> On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley > > wrote: >> >>> > I see, so I somehow need to >>> > dynamically create my dialplan >>> >>> Not if you use the "mad boss" dialplan like Brian suggested; nothing >>> dynamic there. Unless I'm not understanding some aspect of what you're >>> asking. >>> >>> Also, there's a feature known as "enterprise originate" which can dial >>> multiple users simultaneously. I've only ever used it to call multiple >>> parties simultaneously. You might want to check that out, too (or perhaps >>> someone more familiar with it than I am can provide some insight as to >>> whether or not it's worth exploring, etc.). >>> >>> Good Luck. >>> >>> - Larry >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160111/7a1163d4/attachment.html From mike at jerris.com Mon Jan 11 16:59:35 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 11 Jan 2016 08:59:35 -0500 Subject: [Freeswitch-users] deflect vs redirect vs bridge In-Reply-To: References: Message-ID: redirect using full sip uri should do a 302 On Monday, January 11, 2016, ik wrote: > Hello, > > I have an incoming call that on some occurrences, instead of answering it, > I need to "move" the call to a different Freeswitch server. > > I have tried to use deflect, and redirect, however the call with deflect > just hangup immediately, and with redirect, it arrive to timeout and then > hangup. > I'ved noticed at the wiki page (confluence) that the call must be answered > with deflect. > > Only when I use bridge, the other Freeswitch see's the SIP request and > handle the call properly, but as a statful request. > > > How can I make the original Freeswitch out of the routing or at least make > it stateless redirect (302) instead of stateful one? > > Thanks, > Ido > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/0615a83a/attachment-0001.html From mic.niel84 at gmail.com Mon Jan 11 17:00:41 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Mon, 11 Jan 2016 15:00:41 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: In other dial plans I'm able to use ${effective_caller_id_number} from my directory. That means, if my subscriber 1001 are calling I can use 1001 as caller ID, so my called parties know who it is. On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: > > > On Monday, January 11, 2016, Michael Nielsen wrote: > >> Seems as if it has nothing to do with multiple parties speaking together, >> just simultaneously calling them. >> >> Back to mod_conferece and the madboss example. It seems to work, but not >> getting the variable from the caller: >> >> 1) If I call some numbers, and hang up before the 60 seconds timeout - >> the numbers keeps ringing for 60 seconds, even though I as initiator have >> hung up. >> 2) > data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >> doesn't seems to be acknowledge, it shows Unknown number. >> > > What do you think effective_caller_id_number is here? this is not a > variable that is automatically set > >> >> On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen >> wrote: >> >>> It sounds exactly as what I'm looking for - calling multiple parties >>> simultaneously. If it allows all parties to speak together when dialled? >>> >>> It nothing more advanced than that, which I'm looking for. Basic example: >>> I call two of my colleagues, when they answer we all speak together. >>> >>> On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley >>> wrote: >>> >>>> > I see, so I somehow need to >>>> > dynamically create my dialplan >>>> >>>> Not if you use the "mad boss" dialplan like Brian suggested; nothing >>>> dynamic there. Unless I'm not understanding some aspect of what you're >>>> asking. >>>> >>>> Also, there's a feature known as "enterprise originate" which can dial >>>> multiple users simultaneously. I've only ever used it to call multiple >>>> parties simultaneously. You might want to check that out, too (or perhaps >>>> someone more familiar with it than I am can provide some insight as to >>>> whether or not it's worth exploring, etc.). >>>> >>>> Good Luck. >>>> >>>> - Larry >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160111/aefb11c9/attachment.html From mic.niel84 at gmail.com Mon Jan 11 17:01:20 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Mon, 11 Jan 2016 15:01:20 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen wrote: > In other dial plans I'm able to use ${effective_caller_id_number} from my > directory. > That means, if my subscriber 1001 are calling I can use 1001 as caller ID, > so my called parties know who it is. > > On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: > >> >> >> On Monday, January 11, 2016, Michael Nielsen >> wrote: >> >>> Seems as if it has nothing to do with multiple parties speaking >>> together, just simultaneously calling them. >>> >>> Back to mod_conferece and the madboss example. It seems to work, but not >>> getting the variable from the caller: >>> >>> 1) If I call some numbers, and hang up before the 60 seconds timeout - >>> the numbers keeps ringing for 60 seconds, even though I as initiator have >>> hung up. >>> 2) >> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>> doesn't seems to be acknowledge, it shows Unknown number. >>> >> >> What do you think effective_caller_id_number is here? this is not a >> variable that is automatically set >> >>> >>> On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen >>> wrote: >>> >>>> It sounds exactly as what I'm looking for - calling multiple parties >>>> simultaneously. If it allows all parties to speak together when dialled? >>>> >>>> It nothing more advanced than that, which I'm looking for. Basic >>>> example: >>>> I call two of my colleagues, when they answer we all speak together. >>>> >>>> On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley >>> > wrote: >>>> >>>>> > I see, so I somehow need to >>>>> > dynamically create my dialplan >>>>> >>>>> Not if you use the "mad boss" dialplan like Brian suggested; nothing >>>>> dynamic there. Unless I'm not understanding some aspect of what you're >>>>> asking. >>>>> >>>>> Also, there's a feature known as "enterprise originate" which can dial >>>>> multiple users simultaneously. I've only ever used it to call multiple >>>>> parties simultaneously. You might want to check that out, too (or perhaps >>>>> someone more familiar with it than I am can provide some insight as to >>>>> whether or not it's worth exploring, etc.). >>>>> >>>>> Good Luck. >>>>> >>>>> - Larry >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160111/ffe3a56d/attachment.html From gb at cm.nl Mon Jan 11 17:04:14 2016 From: gb at cm.nl (Grant Bagdasarian) Date: Mon, 11 Jan 2016 14:04:14 +0000 Subject: [Freeswitch-users] switch.conf.xml sessions-per-second issue Message-ID: <6f92bf7e244e4ed3a39e38fac16e2e0f@CM-EX-V01.cm.local> Hello, Does FS always reply with a 503 Maximum Calls In Progress regardless of the amount of calls attempts? So if the sessions-per-second is 10 and I generate 20 CPS, the remaining 10 will get a 503? Does this also apply to an higher number of attempts? Regards, Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/f7524dfd/attachment-0001.html From jude19love at gmail.com Sat Jan 9 14:29:50 2016 From: jude19love at gmail.com (Jude Mukundane) Date: Sat, 9 Jan 2016 14:29:50 +0300 Subject: [Freeswitch-users] GSMOpen restarting freeswitch on network loss (?) Message-ID: Hello Freeswitch Users, I have come upon an issue that I need clarification on. I am using mod_gsmopen with huawei E173u-1 Modems. They work fine. I noticed though for one of the networks that are weak, every time the signal is lost, (double green blink on modem), freeswitch restarts. some thing triggers "/bin/bash /etc/init.d/freeswitch restart. Is this by design in GSM open? I was considering moving this line to a GoIP if that is the case so that Freeswitch is not made unavailable for all the other lines by one line. regards, Jude Mukundane CTO - RootIO http://rootio.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160109/c8743788/attachment.html From annusfictus at gmail.com Sat Jan 9 20:04:20 2016 From: annusfictus at gmail.com (Annus Fictus) Date: Sat, 9 Jan 2016 12:04:20 -0500 Subject: [Freeswitch-users] Spanish Language error Message-ID: <56913D94.5030303@gmail.com> Hello, I'm trying to use spanish prompts (maria voice) in FreeSWITCH without success. When i call voicemailmain, I can see in FreeSWITCH console, this error: [ERR] switch_xml.c:3250 Can't find phrases tag. How can i solve? Regards From abalashov at evaristesys.com Mon Jan 11 16:43:53 2016 From: abalashov at evaristesys.com (Alex Balashov) Date: Mon, 11 Jan 2016 08:43:53 -0500 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <5693A29B.6020608@icefire.qza.net.au> References: <20160111121922.GA32708@blomma.liberationtech.net> <5693A29B.6020608@icefire.qza.net.au> Message-ID: <20160111134353.5419088.90897.182891@evaristesys.com> SIP.US are pretty developer-friendly. -- 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 lylepratt at gmail.com Mon Jan 11 17:08:54 2016 From: lylepratt at gmail.com (Lyle Pratt) Date: Mon, 11 Jan 2016 08:08:54 -0600 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? Message-ID: Try Twilio. They provide traditional SIP Trunking services now and signing up only takes a couple of minutes. https://www.twilio.com/sip-trunking Regards, Lyle Pratt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/d1d8d5e1/attachment.html From krice at freeswitch.org Mon Jan 11 19:31:13 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 11 Jan 2016 10:31:13 -0600 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <20160111121922.GA32708@blomma.liberationtech.net> References: <20160111121922.GA32708@blomma.liberationtech.net> Message-ID: <05dc01d14c8d$7d23e860$776bb920$@freeswitch.org> Just call FlowRoute and be done... they even have an API to allow you to pick numbers.... -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Oivvio Polite Sent: Monday, January 11, 2016 6:19 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? I'm just getting started with FS and want to hook up a couple of SIP trunk for experimentation. Right now I'm looking for a provider that'll let me pick numbers from a web interface and pay with credit card. Many of the providers I come across when googling seem to only sell SIP trunks in bulk and want me to contact a sales rep to get started. That might make sense later on in the project but right now I'm looking for something more light weight. Any tips? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 jprangi at didforsale.com Mon Jan 11 19:41:19 2016 From: jprangi at didforsale.com (Jai Rangi) Date: Mon, 11 Jan 2016 08:41:19 -0800 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <20160111121922.GA32708@blomma.liberationtech.net> References: <20160111121922.GA32708@blomma.liberationtech.net> Message-ID: Lots of options. You can try DIDforSale.com. We have free unlimited testing sip trunk and numbers for development purpose. On Monday, January 11, 2016, Oivvio Polite wrote: > I'm just getting started with FS and want to hook up a couple of SIP > trunk for experimentation. Right now I'm looking for a provider that'll > let me pick numbers from a web interface and pay with credit card. > > Many of the providers I come across when googling seem to only sell SIP > trunks in bulk and want me to contact a sales rep to get started. That > might make sense later on in the project but right now I'm looking for > something more light weight. > > Any tips? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Jai Rangi* Cebod Technologies LLC dba DIDforSale/Cebod Telecom O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/f9ee3270/attachment.html From mylists at polite.se Mon Jan 11 20:36:02 2016 From: mylists at polite.se (Oivvio Polite) Date: Mon, 11 Jan 2016 18:36:02 +0100 Subject: [Freeswitch-users] Developer friendly SIP trunk provider for experimentation? In-Reply-To: <20160111121922.GA32708@blomma.liberationtech.net> References: <20160111121922.GA32708@blomma.liberationtech.net> Message-ID: <20160111173602.GB32708@blomma.liberationtech.net> Thanks for all the input. I'm going with Flowroute for now. I looked at Twilios SIP-trunking but it does not allow for incoming calls which I need. From krice at freeswitch.org Mon Jan 11 21:35:58 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 11 Jan 2016 18:35:58 +0000 Subject: [Freeswitch-users] =?utf-8?q?FreeSWITCH=E2=80=99s_Birthday!!?= Message-ID: <5693f60e1ac0e_377d3d532415173@resque-worker.10.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1TQ0aEy FreeSWITCH?s Birthday!! Hey FreeSWITCHers! Last week FreeSWITCH turned ten! It has been a long road, With many, many lines of code. The community has been there through thick and thin, And witnessed all the hard work put in. Long nights, no break, But, a wonderful piece of software they did make. Blood, sweat, tears, and no perks, Would result in a switch that just works! We had no idea they would be so merciless, So, we apologize on behalf of Rachael from Cardholder services. Convey your appreciation with some flair, Show Tony how much you care, By clicking on link below, And, send him something as thanks for Verto. http://goo.gl/3WCNnI -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/cda0107c/attachment-0001.html From lmorley at neny.cslimits.net Mon Jan 11 21:50:55 2016 From: lmorley at neny.cslimits.net (Larry Morley) Date: Mon, 11 Jan 2016 13:50:55 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: Michael, Go back and have another look at the "mad boss" example. The variable you likely want to set in this instance is "conference_auto_outcall_caller_id_number". Basically, what Mike J was telling you is that not all variables are salient; are set by FreeSwitch; have any meaning whatsoever; in the context of certain parts of a given FreeSwitch configuration. >From the "mad boss" example: Hope that helps, Larry On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: > https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables > > On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen > wrote: > >> In other dial plans I'm able to use ${effective_caller_id_number} from my >> directory. >> That means, if my subscriber 1001 are calling I can use 1001 as caller >> ID, so my called parties know who it is. >> >> On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: >> >>> >>> >>> On Monday, January 11, 2016, Michael Nielsen >>> wrote: >>> >>>> Seems as if it has nothing to do with multiple parties speaking >>>> together, just simultaneously calling them. >>>> >>>> Back to mod_conferece and the madboss example. It seems to work, but >>>> not getting the variable from the caller: >>>> >>>> 1) If I call some numbers, and hang up before the 60 seconds timeout - >>>> the numbers keeps ringing for 60 seconds, even though I as initiator have >>>> hung up. >>>> 2) >>> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>>> doesn't seems to be acknowledge, it shows Unknown number. >>>> >>> >>> What do you think effective_caller_id_number is here? this is not a >>> variable that is automatically set >>> >>>> >>>> On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen >>>> wrote: >>>> >>>>> It sounds exactly as what I'm looking for - calling multiple parties >>>>> simultaneously. If it allows all parties to speak together when dialled? >>>>> >>>>> It nothing more advanced than that, which I'm looking for. Basic >>>>> example: >>>>> I call two of my colleagues, when they answer we all speak together. >>>>> >>>>> On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley < >>>>> lmorley at neny.cslimits.net> wrote: >>>>> >>>>>> > I see, so I somehow need to >>>>>> > dynamically create my dialplan >>>>>> >>>>>> Not if you use the "mad boss" dialplan like Brian suggested; nothing >>>>>> dynamic there. Unless I'm not understanding some aspect of what you're >>>>>> asking. >>>>>> >>>>>> Also, there's a feature known as "enterprise originate" which can >>>>>> dial multiple users simultaneously. I've only ever used it to call multiple >>>>>> parties simultaneously. You might want to check that out, too (or perhaps >>>>>> someone more familiar with it than I am can provide some insight as to >>>>>> whether or not it's worth exploring, etc.). >>>>>> >>>>>> Good Luck. >>>>>> >>>>>> - Larry >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160111/cbbe1e52/attachment.html From krice at freeswitch.org Mon Jan 11 21:51:00 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 11 Jan 2016 18:51:00 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_Weekly_=E2=80=93_December_9?= =?utf-8?q?=2C_2015_=E2=80=93_Tsahi_Levent-Levi?= Message-ID: <5693f994a1e10_9effc8d32c857c4@resque-worker.7.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1UJHhTK ClueCon Weekly ? December 9, 2015 ? Tsahi Levent-Levi The challenges in testing WebRTC services How do you view WebRTC? As a VoIP technology or an Internet one? There?s a huge divide between the two, especially when it comes to testing them. WebRTC sits in the intersection between them, making it doubly hard to grok ? and test. Tsahi will outline in this session a few of the main challenges, with suggestions on how to fix them. He will also use the opportunity to show how testRTC.com addresses these challenges. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/8c4448a9/attachment.html From krice at freeswitch.org Mon Jan 11 21:51:03 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 11 Jan 2016 18:51:03 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_Weekly_=E2=80=93_December_16?= =?utf-8?q?=2C_2015_=E2=80=93_Italo_Rossi_and_the_Evolux_Call_Center_Syste?= =?utf-8?q?m?= Message-ID: <5693f997c0563_9effc8d32c86079@resque-worker.7.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1UJHnuy ClueCon Weekly ? December 16, 2015 ? Italo Rossi and the Evolux Call Center System -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/d4aa7964/attachment.html From krice at freeswitch.org Mon Jan 11 21:51:07 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 11 Jan 2016 18:51:07 +0000 Subject: [Freeswitch-users] =?utf-8?q?ClueCon_Weekly_=E2=80=93_Jan_6=2C_20?= =?utf-8?q?16_=E2=80=93_Dave_Horton?= Message-ID: <5693f99b21999_9effc8d32c863d5@resque-worker.7.mail> New Post on freeswitch.org from Kathleen King check it out at http://ift.tt/1JFNAr2 ClueCon Weekly ? Jan 6, 2016 ? Dave Horton ? Dave Horton discusses his open-source, node.js-based SIP load balancer for FreeSWITCH servers (http://ift.tt/1JFNxLQ?) which is currently deployed in several service provider networks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/abf8d49c/attachment-0001.html From govoiper at gmail.com Mon Jan 11 22:57:44 2016 From: govoiper at gmail.com (SamyGo) Date: Mon, 11 Jan 2016 14:57:44 -0500 Subject: [Freeswitch-users] WebRTC client to traditional video phone, no video Message-ID: Hi all, I'm trying to test video calls between WebRTC clients and the video capable IP phones. Originating calls from H264 based IP Phone to LinPhone results in two way video stream no errors on console, replacing LinPhone with WebRTC client makes video disappear, black screen only but two-way audio only. I'm testing with following version: *FreeSWITCH Version* 1.7.0+git~20151103T161102Z~cffc673879~64bit (git cffc673 2015-11-03 16:11:02Z 64bit) *OS version:* Distributor ID: Debian Description: Debian GNU/Linux 8.2 (jessie) Release: 8.2 Codename: jessie WebRTC Client is SIPML5 on Firefox. mod_vpx, mod_av, and mod_h26x are loaded. I've tried unload mod_h26x and see if it makes any difference but doesn't change anything. Console logs along with sip traces can be found on this pb link: https://pastebin.freeswitch.org/24517 Since I've no trouble with video call between LinPhone and IP Phone I suspect its more of a problem related to WebRTC and not VP8-H264 transcoding issue. Need some guidance in this regard. Thanks, Sammy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160111/01ba386a/attachment.html From abalashov at evaristesys.com Tue Jan 12 04:32:32 2016 From: abalashov at evaristesys.com (Alex Balashov) Date: Mon, 11 Jan 2016 20:32:32 -0500 Subject: [Freeswitch-users] switch.conf.xml sessions-per-second issue In-Reply-To: <6f92bf7e244e4ed3a39e38fac16e2e0f@CM-EX-V01.cm.local> References: <6f92bf7e244e4ed3a39e38fac16e2e0f@CM-EX-V01.cm.local> Message-ID: <569457B0.5010800@evaristesys.com> Hello, On 01/11/2016 09:04 AM, Grant Bagdasarian wrote: > Does FS always reply with a 503 Maximum Calls In Progress regardless of > the amount of calls attempts? What do you mean by "always"? That's rather confusing in light of your next question: > So if the sessions-per-second is 10 and I generate 20 CPS, the remaining > 10 will get a 503? > > Does this also apply to an higher number of attempts? If you generate 20 CPS and Freeswitch uses a "taildrop"-style algorithm to reject the "remaining" 10, that's certainly not "always". What is the actual question being asked here? It sounds like it's about the algorithm Freeswitch uses to determine which calls to reject once a rate limit is reached? -- Alex -- 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 gb at cm.nl Tue Jan 12 10:55:16 2016 From: gb at cm.nl (Grant Bagdasarian) Date: Tue, 12 Jan 2016 07:55:16 +0000 Subject: [Freeswitch-users] switch.conf.xml sessions-per-second issue In-Reply-To: <569457B0.5010800@evaristesys.com> References: <6f92bf7e244e4ed3a39e38fac16e2e0f@CM-EX-V01.cm.local> <569457B0.5010800@evaristesys.com> Message-ID: <1f7115a0b1fe4a5d9838b0fb93e96283@CM-EX-V01.cm.local> Hello Alex, Yes, I need FS to always send a reply when it starts rate-limiting and rejecting calls. How do I change the algorithm used for rejecting calls during rate-limiting? Regards, Grant -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex Balashov Sent: Tuesday, January 12, 2016 2:33 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] switch.conf.xml sessions-per-second issue Hello, On 01/11/2016 09:04 AM, Grant Bagdasarian wrote: > Does FS always reply with a 503 Maximum Calls In Progress regardless > of the amount of calls attempts? What do you mean by "always"? That's rather confusing in light of your next question: > So if the sessions-per-second is 10 and I generate 20 CPS, the > remaining > 10 will get a 503? > > Does this also apply to an higher number of attempts? If you generate 20 CPS and Freeswitch uses a "taildrop"-style algorithm to reject the "remaining" 10, that's certainly not "always". What is the actual question being asked here? It sounds like it's about the algorithm Freeswitch uses to determine which calls to reject once a rate limit is reached? -- Alex -- 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 mic.niel84 at gmail.com Tue Jan 12 12:27:06 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 12 Jan 2016 10:27:06 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: Hi Larry, As you can see from my example, I am trying to set that exact variable: But I want to set it from the effective_caller_id_number, so I can get the caller ID from the person who initiated the conference call. On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley wrote: > Michael, > > Go back and have another look at the "mad boss" example. The variable you > likely want to set in this instance is > "conference_auto_outcall_caller_id_number". > > Basically, what Mike J was telling you is that not all variables are > salient; are set by FreeSwitch; have any meaning whatsoever; in the context > of certain parts of a given FreeSwitch configuration. > > From the "mad boss" example: > > > > data="conference_auto_outcall_caller_id_name=Mad Boss"/> > > data="conference_auto_outcall_caller_id_number=0911"/> > > Hope that helps, > Larry > On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: > >> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables >> >> On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen >> wrote: >> >>> In other dial plans I'm able to use ${effective_caller_id_number} from >>> my directory. >>> That means, if my subscriber 1001 are calling I can use 1001 as caller >>> ID, so my called parties know who it is. >>> >>> On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: >>> >>>> >>>> >>>> On Monday, January 11, 2016, Michael Nielsen >>>> wrote: >>>> >>>>> Seems as if it has nothing to do with multiple parties speaking >>>>> together, just simultaneously calling them. >>>>> >>>>> Back to mod_conferece and the madboss example. It seems to work, but >>>>> not getting the variable from the caller: >>>>> >>>>> 1) If I call some numbers, and hang up before the 60 seconds timeout - >>>>> the numbers keeps ringing for 60 seconds, even though I as initiator have >>>>> hung up. >>>>> 2) >>>> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>>>> doesn't seems to be acknowledge, it shows Unknown number. >>>>> >>>> >>>> What do you think effective_caller_id_number is here? this is not a >>>> variable that is automatically set >>>> >>>>> >>>>> On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen >>>>> wrote: >>>>> >>>>>> It sounds exactly as what I'm looking for - calling multiple parties >>>>>> simultaneously. If it allows all parties to speak together when dialled? >>>>>> >>>>>> It nothing more advanced than that, which I'm looking for. Basic >>>>>> example: >>>>>> I call two of my colleagues, when they answer we all speak together. >>>>>> >>>>>> On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley < >>>>>> lmorley at neny.cslimits.net> wrote: >>>>>> >>>>>>> > I see, so I somehow need to >>>>>>> > dynamically create my dialplan >>>>>>> >>>>>>> Not if you use the "mad boss" dialplan like Brian suggested; nothing >>>>>>> dynamic there. Unless I'm not understanding some aspect of what you're >>>>>>> asking. >>>>>>> >>>>>>> Also, there's a feature known as "enterprise originate" which can >>>>>>> dial multiple users simultaneously. I've only ever used it to call multiple >>>>>>> parties simultaneously. You might want to check that out, too (or perhaps >>>>>>> someone more familiar with it than I am can provide some insight as to >>>>>>> whether or not it's worth exploring, etc.). >>>>>>> >>>>>>> Good Luck. >>>>>>> >>>>>>> - Larry >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160112/d6c4fa73/attachment-0001.html From asilva at wirelessmundi.com Tue Jan 12 15:41:21 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Tue, 12 Jan 2016 13:41:21 +0100 Subject: [Freeswitch-users] =?utf-8?q?FreeSWITCH=E2=80=99s_Birthday!!?= In-Reply-To: <5693f60e1ac0e_377d3d532415173@resque-worker.10.mail> References: <5693f60e1ac0e_377d3d532415173@resque-worker.10.mail> Message-ID: <5694F471.2050609@wirelessmundi.com> a bitle late..... but... Happy B. day!! :) Thanks for the fantastic work!!! Regards, Ant?nio On 01/11/2016 07:35 PM, Ken Rice wrote: > > New Post on freeswitch.org from Kathleen King > check it out at http://ift.tt/1TQ0aEy > FreeSWITCH?s Birthday!! > > oss > > > Hey FreeSWITCHers! > Last week FreeSWITCH turned ten! > > It has been a long road, > With many, many lines of code. > The community has been there through thick and thin, > And witnessed all the hard work put in. > Long nights, no break, > But, a wonderful piece of software they did make. > Blood, sweat, tears, and no perks, > Would result in a switch that just works! > > We had no idea they would be so merciless, > So, we apologize on behalf of Rachael from Cardholder services. > Convey your appreciation with some flair, > Show Tony how much you care, > By clicking on link below, > And, send him something as thanks for Verto. > > http://goo.gl/3WCNnI > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/1d29e9e7/attachment.html From manpower13.cse at gmail.com Tue Jan 12 16:09:18 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Tue, 12 Jan 2016 18:39:18 +0530 Subject: [Freeswitch-users] Mod_verto + Haproxy POOL Error Message-ID: Hi, We have tried to run Freeswitch mod_verto(WS) behind Haproxy(WSS). But When i tried to run the client(verto.js websocket connection) disconnected and getting reconnected for every 60sec(1 min). If i make a call, it is getting disconnected and reconnected again for every 1 min. If i use mod_verto directly without Haproxy it is working fine without any issues. Note: My mod_verto is running on port 8081(WS). But when i tried to run behind my Haproxy running on WSSi am getting the above issue. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/1c707f12/attachment.html From giggsey at gmail.com Tue Jan 12 16:24:36 2016 From: giggsey at gmail.com (Joshua Gigg) Date: Tue, 12 Jan 2016 13:24:36 +0000 Subject: [Freeswitch-users] Mod_verto + Haproxy POOL Error In-Reply-To: References: Message-ID: My initial thoughts would be the timeouts in HaProxy. http://blog.haproxy.com/2012/11/07/websockets-load-balancing-with-haproxy/ On Tue, 12 Jan 2016 at 13:13 Murugan Pandian wrote: > Hi, > > We have tried to run Freeswitch mod_verto(WS) behind Haproxy(WSS). But > When i tried to run the client(verto.js websocket connection) disconnected > and getting reconnected for every 60sec(1 min). If i make a call, it is > getting disconnected and reconnected again for every 1 min. > > If i use mod_verto directly without Haproxy it is working fine without any > issues. > Note: My mod_verto is running on port 8081(WS). But when i tried to run > behind my Haproxy running on WSSi am getting the above issue. > > > 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/20160112/7f643e51/attachment.html From manpower13.cse at gmail.com Tue Jan 12 16:34:37 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Tue, 12 Jan 2016 19:04:37 +0530 Subject: [Freeswitch-users] Mod_verto + Haproxy POOL Error In-Reply-To: References: Message-ID: Here is my Haproxy conf defaults http mode http log global option httplog option dontlognull option http-server-close option forwardfor except 127.0.0.0/8 option redispatch retries 3 timeout http-request 10s timeout queue 1m timeout connect 10s #timeout client 1m timeout client 86400000 timeout server 1m timeout http-keep-alive 10s timeout check 10s maxconn 3000 backend w5fs_scaling balance roundrobin mode http option forwardfor timeout server 30000 timeout connect 4000 cookie SERVERID insert indirect nocache {% if groups[w5fs_tg] is defined%} {% for host in groups[w5fs_tg] %} {% if True %} server freeswitch{{loop.index}} {{ host }}:8081 cookie freeswitch{{loop.index}} weight 1 maxconn 1024 check {% endif %} {% endfor %} {% endif %} On Tue, Jan 12, 2016 at 6:54 PM, Joshua Gigg wrote: > My initial thoughts would be the timeouts in HaProxy. > > http://blog.haproxy.com/2012/11/07/websockets-load-balancing-with-haproxy/ > > > > On Tue, 12 Jan 2016 at 13:13 Murugan Pandian > wrote: > >> Hi, >> >> We have tried to run Freeswitch mod_verto(WS) behind Haproxy(WSS). But >> When i tried to run the client(verto.js websocket connection) disconnected >> and getting reconnected for every 60sec(1 min). If i make a call, it is >> getting disconnected and reconnected again for every 1 min. >> >> If i use mod_verto directly without Haproxy it is working fine without >> any issues. >> Note: My mod_verto is running on port 8081(WS). But when i tried to run >> behind my Haproxy running on WSSi am getting the above issue. >> >> >> 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/20160112/d3dd6779/attachment-0001.html From covici at ccs.covici.com Tue Jan 12 18:12:38 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 12 Jan 2016 10:12:38 -0500 Subject: [Freeswitch-users] =?utf-8?q?FreeSWITCH=E2=80=99s_Birthday!!?= In-Reply-To: <5694F471.2050609@wirelessmundi.com> References: <5693f60e1ac0e_377d3d532415173@resque-worker.10.mail> <5694F471.2050609@wirelessmundi.com> Message-ID: <701.1452611558@ccs.covici.com> Could not agree more! Antonio Silva wrote: > a bitle late..... but... Happy B. day!! :) > > Thanks for the fantastic work!!! > > > Regards, > Ant?nio > > On 01/11/2016 07:35 PM, Ken Rice wrote: > > > > New Post on freeswitch.org from Kathleen King > > check it out at http://ift.tt/1TQ0aEy > > FreeSWITCH?s Birthday!! > > > > oss > > > > > > Hey FreeSWITCHers! > > Last week FreeSWITCH turned ten! > > > > It has been a long road, > > With many, many lines of code. > > The community has been there through thick and thin, > > And witnessed all the hard work put in. > > Long nights, no break, > > But, a wonderful piece of software they did make. > > Blood, sweat, tears, and no perks, > > Would result in a switch that just works! > > > > We had no idea they would be so merciless, > > So, we apologize on behalf of Rachael from Cardholder services. > > Convey your appreciation with some flair, > > Show Tony how much you care, > > By clicking on link below, > > And, send him something as thanks for Verto. > > > > http://goo.gl/3WCNnI > > > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -- > > Saludos / Regards / Cumprimentos, > Ant?nio silva > > > ---------------------------------------------------- > 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 mike at jerris.com Tue Jan 12 19:02:10 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 12 Jan 2016 11:02:10 -0500 Subject: [Freeswitch-users] switch.conf.xml sessions-per-second issue In-Reply-To: <1f7115a0b1fe4a5d9838b0fb93e96283@CM-EX-V01.cm.local> References: <6f92bf7e244e4ed3a39e38fac16e2e0f@CM-EX-V01.cm.local> <569457B0.5010800@evaristesys.com> <1f7115a0b1fe4a5d9838b0fb93e96283@CM-EX-V01.cm.local> Message-ID: > On Jan 12, 2016, at 2:55 AM, Grant Bagdasarian wrote: > > Hello Alex, > > Yes, I need FS to always send a reply when it starts rate-limiting and rejecting calls. > How do I change the algorithm used for rejecting calls during rate-limiting? > Change it to what? A reply should already be sent. > Regards, > > Grant > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex Balashov > Sent: Tuesday, January 12, 2016 2:33 AM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] switch.conf.xml sessions-per-second issue > > Hello, > > On 01/11/2016 09:04 AM, Grant Bagdasarian wrote: > >> Does FS always reply with a 503 Maximum Calls In Progress regardless >> of the amount of calls attempts? > > What do you mean by "always"? That's rather confusing in light of your next question: > >> So if the sessions-per-second is 10 and I generate 20 CPS, the >> remaining >> 10 will get a 503? >> >> Does this also apply to an higher number of attempts? > > If you generate 20 CPS and Freeswitch uses a "taildrop"-style algorithm to reject the "remaining" 10, that's certainly not "always". > > What is the actual question being asked here? It sounds like it's about the algorithm Freeswitch uses to determine which calls to reject once a rate limit is reached? > > -- Alex > > -- > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 moshe3t at gmail.com Tue Jan 12 20:04:44 2016 From: moshe3t at gmail.com (Moshe teitelbaum) Date: Tue, 12 Jan 2016 12:04:44 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: You can try to create a XML regex dialplan where when dialed 1000*1001*1002 The dial plan should parse the input and bridge them extensions dialed into the conference On Tue, Jan 12, 2016 at 4:27 AM, Michael Nielsen wrote: > Hi Larry, > > As you can see from my example, I am trying to set that exact variable: > data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> > But I want to set it from the effective_caller_id_number, so I can get > the caller ID from the person who initiated the conference call. > > On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley > wrote: > >> Michael, >> >> Go back and have another look at the "mad boss" example. The variable you >> likely want to set in this instance is >> "conference_auto_outcall_caller_id_number". >> >> Basically, what Mike J was telling you is that not all variables are >> salient; are set by FreeSwitch; have any meaning whatsoever; in the context >> of certain parts of a given FreeSwitch configuration. >> >> From the "mad boss" example: >> >> >> >> > data="conference_auto_outcall_caller_id_name=Mad Boss"/> >> >> > data="conference_auto_outcall_caller_id_number=0911"/> >> >> Hope that helps, >> Larry >> On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: >> >>> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables >>> >>> On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen >>> wrote: >>> >>>> In other dial plans I'm able to use ${effective_caller_id_number} from >>>> my directory. >>>> That means, if my subscriber 1001 are calling I can use 1001 as caller >>>> ID, so my called parties know who it is. >>>> >>>> On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris >>>> wrote: >>>> >>>>> >>>>> >>>>> On Monday, January 11, 2016, Michael Nielsen >>>>> wrote: >>>>> >>>>>> Seems as if it has nothing to do with multiple parties speaking >>>>>> together, just simultaneously calling them. >>>>>> >>>>>> Back to mod_conferece and the madboss example. It seems to work, but >>>>>> not getting the variable from the caller: >>>>>> >>>>>> 1) If I call some numbers, and hang up before the 60 seconds timeout >>>>>> - the numbers keeps ringing for 60 seconds, even though I as initiator have >>>>>> hung up. >>>>>> 2) >>>>> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>>>>> doesn't seems to be acknowledge, it shows Unknown number. >>>>>> >>>>> >>>>> What do you think effective_caller_id_number is here? this is not a >>>>> variable that is automatically set >>>>> >>>>>> >>>>>> On Fri, Jan 8, 2016 at 9:03 AM, Michael Nielsen >>>>> > wrote: >>>>>> >>>>>>> It sounds exactly as what I'm looking for - calling multiple parties >>>>>>> simultaneously. If it allows all parties to speak together when dialled? >>>>>>> >>>>>>> It nothing more advanced than that, which I'm looking for. Basic >>>>>>> example: >>>>>>> I call two of my colleagues, when they answer we all speak together. >>>>>>> >>>>>>> On Fri, Jan 8, 2016 at 1:42 AM, Larry Morley < >>>>>>> lmorley at neny.cslimits.net> wrote: >>>>>>> >>>>>>>> > I see, so I somehow need to >>>>>>>> > dynamically create my dialplan >>>>>>>> >>>>>>>> Not if you use the "mad boss" dialplan like Brian suggested; >>>>>>>> nothing dynamic there. Unless I'm not understanding some aspect of what >>>>>>>> you're asking. >>>>>>>> >>>>>>>> Also, there's a feature known as "enterprise originate" which can >>>>>>>> dial multiple users simultaneously. I've only ever used it to call multiple >>>>>>>> parties simultaneously. You might want to check that out, too (or perhaps >>>>>>>> someone more familiar with it than I am can provide some insight as to >>>>>>>> whether or not it's worth exploring, etc.). >>>>>>>> >>>>>>>> Good Luck. >>>>>>>> >>>>>>>> - Larry >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160112/4911f32f/attachment-0001.html From bote_radio at botecomm.com Tue Jan 12 20:44:25 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 12 Jan 2016 12:44:25 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: Message-ID: <005401d14d60$e14e9dc0$a3ebd940$@botecomm.com> Michael, I make extensive use of the FreeSWITCH outbound conference calling feature. I recently figured that I got the results that you (and I) desire with these 2 lines in the dialplan of the extension that initiates the outbound conference call: It?s not clear to me which of the many, many, many Caller*ID variables are the best to use overall, but these are the ones that send the originating extension number and name as FreeSWITCH knows them to the dialed conferees. I find that effective_caller_id_number is not always effective J Of course, you can set caller_id_* to effective_* or any other assignments as needed; experimentation yields a lot of knowledge here. Use the ?log? application liberally in your conference dialplan extension to display as many variables as you need to determine which holds the desired values, that?s how I did it. A lot of them are empty, some are default, nothing is set in stone so change and set them the way you see fit. Also, in answer to your previous query about the conferees still ringing after the originator hangs up, add the ?endconf? flag to your conference kick-off string: myconf ? the ?name? of the conference as FreeSWITCH knows it, can be pretty much anything readable, numbers, letters, literal value, variable replacement, etc. default ? the conference profile to use as configured in autoload_configs/conference.conf.xml moderator flag ? pulls in a different set of controls as specified in the config file mentioned above. Hope this helps. Bote From: Michael Nielsen Sent: Tuesday, 12 January, 2016 04:27 Subject: Re: [Freeswitch-users] Dial multiple users for "conference" call Hi Larry, As you can see from my example, I am trying to set that exact variable: But I want to set it from the effective_caller_id_number, so I can get the caller ID from the person who initiated the conference call. On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley wrote: Michael, Go back and have another look at the "mad boss" example. The variable you likely want to set in this instance is "conference_auto_outcall_caller_id_number". Basically, what Mike J was telling you is that not all variables are salient; are set by FreeSwitch; have any meaning whatsoever; in the context of certain parts of a given FreeSwitch configuration. >From the "mad boss" example: Hope that helps, Larry On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen wrote: In other dial plans I'm able to use ${effective_caller_id_number} from my directory. That means, if my subscriber 1001 are calling I can use 1001 as caller ID, so my called parties know who it is. On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: On Monday, January 11, 2016, Michael Nielsen wrote: Seems as if it has nothing to do with multiple parties speaking together, just simultaneously calling them. Back to mod_conferece and the madboss example. It seems to work, but not getting the variable from the caller: 1) If I call some numbers, and hang up before the 60 seconds timeout - the numbers keeps ringing for 60 seconds, even though I as initiator have hung up. 2) doesn't seems to be acknowledge, it shows Unknown number. What do you think effective_caller_id_number is here? this is not a variable that is automatically set -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/a4537536/attachment.html From bote_radio at botecomm.com Tue Jan 12 21:00:23 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 12 Jan 2016 13:00:23 -0500 Subject: [Freeswitch-users] FS conference limitations In-Reply-To: References: <0EA262D1-0113-483D-9880-663CDB01A654@jerris.com> Message-ID: <005f01d14d63$1c535760$54fa0620$@botecomm.com> Now that I?m back home I am happy to report that FreeSWITCH didn?t break a sweat with 16 of 22 conferees having ?relations? with each other (nothing kinky, mind you). I did not get a chance to perform rigorous tests, but a quick glimpse at the ?top? command showed FS using about 11% of cpu time on a bare metal Debian 8.2 installation on a new Dell R320 server. When I get remote access to that system I hope to be able to observe some more metrics, but once I decided to bite the bullet and mute all 16 speakers relative to each other it sounded clean as a hound?s tooth, no feedback and no echo cancellers chopping in and out on those Algo8180 speakers. Smiles all around. Once again, FREESWITCH ROCKS!! Thanks. I?ll be in touch J Bote From: Michael Jerris Sent: Wednesday, 06 January, 2016 12:21 Subject: Re: [Freeswitch-users] FS conference limitations Just talking through how it works with Tony, sounds like the vast majority of additional compute with relate happens as soon as you do even one relate command, there should be minimal additional load for more than 1. Specifically, once you do any relate commands, it will be creating a muxed copy of the audio for each participant instead of optimizing by using a single muxed frame and subtracting your own audio out. On Jan 6, 2016, at 12:00 PM, Bote Man wrote: I'll let ya know :-) Bote On Wed, Jan 6, 2016 at 11:55 AM, Michael Jerris wrote: Honestly I don?t think we have ever really stressed relate as far as number of members to see how it performs with a lot of them, maybe chad has experience in that? I was totally going to mention the couple pull requests in the works to make this easier too, but the performance question still stands, On Jan 6, 2016, at 10:00 AM, Bote Man wrote: Thanks! I actually found a very helpful Lua tutorial on YouTube from a guy named Tyler Neylon. It got me up to speed rapidly without a lot of b.s. so I'm gonna take a stab at it. It will be very quick and dirty with hard-coded relations, but it is a fixed application so once it is tweaked it should never need to be changed so I can live with that. But we're still talking about ME so don't stray too far from that irc client today, OK? :-) I'm up against a huge time crunch so even though I did build this FS installation from source code I just can't take the time for experimentation at this point. (Also, I hope to perform one other simple conference function in the script while I'm already at it). I'm a big user of mod_conference so when I get back home under calmer circumstances I'll have to take a look at it as this could prove very useful in certain niche applications. Thanks again! Bote On Wed, Jan 6, 2016 at 8:59 AM, Chad Phillips wrote: If you can compile FS for your use case, this PR I have pending might simplify things for you: https://freeswitch.org/jira/browse/FS-8685 Basically allows you to form multiple relations with one command. Note that it doesn't reduce the amount of relations core forms, just the number of individual relate commands you need to issue from the Lua script. I'm also pretty good with Lua, if you're interested in going the bounty route. You can probably catch me in #freeswitch today, nick hunmonk. Chad On Tue, Jan 5, 2016 at 7:37 PM, Bote Man wrote: This is probably best answered by Anthony or Mike J. I need to make extensive use of the "relate" conference API command to eliminate feedback between a bunch of VoIP speakers that have microphone talkback capability. Is there a practical limit on how many "relations" I can set up to mute conferees from hearing each other? I have 16 endpoints in one building and probably 8 to 10 of them need to be muted relative to their nearest neighbors so that list can get fairly large I imagine. I just don't know how far I can push it. Then I have to become a wizard at Lua script programming in a matter of a few hours to make this all work. Pointers to help are greatly appreciated. If I get stuck look for a bounty request :-) I'm thinking I can set up a linked-list populated with the extension number (which I know and is fixed) paired with the conference user id (which varies with each call, but is used by the 'relate' command). I'm just going to make it very simple with everything defined in the script header since it won't change. Once this is done I hope to donate it back to the community in the rare chance that somebody else finds it useful. Thanks! Bote -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/65a51dd6/attachment-0001.html From lmorley at neny.cslimits.net Tue Jan 12 22:12:39 2016 From: lmorley at neny.cslimits.net (Larry Morley) Date: Tue, 12 Jan 2016 14:12:39 -0500 Subject: [Freeswitch-users] Longtime working user's phone now disconnecting In-Reply-To: References: Message-ID: As previously noted, this is slightly off topic. That said, I felt I'd be remiss if I didn't add a note to this thread. We had customers experience the same problem - and others apparently stemming from the same root cause - particularly with this ISP. And, it turned out they had experienced the same problems with their phone service when they were receiving it from the company before us. The cause of that problem, along with others such as users receiving calls from their own extensions several times an hour, 24x7, were ultimately determined to be the result of Comcast having an incompatible SIP ALG enabled on the CPE: a SIP ALG that's properly implemented and properly working shouldn't cause any issues. Also, the users that experienced the worst variants of these problems had a SIP ALG, and apparently other ALGs for other protocols, enabled on their own routers. Calling Comcast technical support and requesting that they change the "cable router" settings, then power cycling the CPE and the local routers as necessary, invariably solved the problem(s) we'd been experiencing. Note that in the course of fixing these issues, we discovered that, according to the current DOCSIS specifications, by design, end users aren't supposed to be able to modify much with respect to DOCSIS "cable modem" settings. That's why we decided to go the ISP tech support route first. We haven't seen a recurrence of any of the problems noted initially since we made the changes noted, well over six months ago. Hopefully this is of use to someone. Sincerely, Larry Morley On Jan 10, 2016 3:49 AM, "Daniel Corbe" wrote: > > > On Jan 9, 2016, at 11:24 PM, Sean Devoy wrote: > > > > I don?t know what else happens when that is set, but I know it makes my > extension re-register every 30 seconds (which seems excessive to me). I > think that is probably just masking the underlying problem where the > Comcast router is dropping the NAT connection after some time period. I am > thrilled to have it working, but there must be a cleaner fix. Is there at > least a way to extend that 30 second time to 60, 90, 120? > > This is slightly off-topic; however, it really is your Comcast-supplied > CPE causing this particular issue. You?re better off buying an inexpensive > cable modem that only runs in bridge mode and using a router that you have > more direct configuration control over. The person that maintained this > before you obviously took note of how stupidly aggressive the default > timers are on their CPE. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160112/9b3e8866/attachment.html From steveayre at gmail.com Tue Jan 12 23:38:36 2016 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 12 Jan 2016 20:38:36 +0000 Subject: [Freeswitch-users] GSMOpen restarting freeswitch on network loss (?) In-Reply-To: References: Message-ID: As far as I know there's nothing in that module that would restart freeswitch. Do you have anything running that will restart freeswitch if it isn't running (eg monit or a cronjob)? If so check 'dmesg' to see if freeswitch has crashed. It's also worth looking at the start time of the freeswitch process then look for freeswitch.log entries immediately before that time to see if there's anything there that might give a clue. On 9 January 2016 at 11:29, Jude Mukundane wrote: > Hello Freeswitch Users, > > I have come upon an issue that I need clarification on. I am using > mod_gsmopen with huawei E173u-1 Modems. They work fine. > > I noticed though for one of the networks that are weak, every time the > signal is lost, (double green blink on modem), freeswitch restarts. some > thing triggers "/bin/bash /etc/init.d/freeswitch restart. > > Is this by design in GSM open? I was considering moving this line to a > GoIP if that is the case so that Freeswitch is not made unavailable for all > the other lines by one line. > > regards, > > Jude Mukundane > CTO - RootIO > http://rootio.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160112/734f7b83/attachment.html From steveayre at gmail.com Tue Jan 12 23:40:24 2016 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 12 Jan 2016 20:40:24 +0000 Subject: [Freeswitch-users] deflect vs redirect vs bridge In-Reply-To: References: Message-ID: But bear in mind that the client might not follow the 302. FreeSWITCH for example either terminates the call on 302 or returns to the dialplan so you can validate the new destination, so that you don't (as an example) have someone redirecting you to a premium rate number without the caller's knowledge. On 11 January 2016 at 13:59, Michael Jerris wrote: > redirect using full sip uri should do a 302 > > > On Monday, January 11, 2016, ik wrote: > >> Hello, >> >> I have an incoming call that on some occurrences, instead of answering >> it, I need to "move" the call to a different Freeswitch server. >> >> I have tried to use deflect, and redirect, however the call with deflect >> just hangup immediately, and with redirect, it arrive to timeout and then >> hangup. >> I'ved noticed at the wiki page (confluence) that the call must be >> answered with deflect. >> >> Only when I use bridge, the other Freeswitch see's the SIP request and >> handle the call properly, but as a statful request. >> >> >> How can I make the original Freeswitch out of the routing or at least >> make it stateless redirect (302) instead of stateful one? >> >> Thanks, >> Ido >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160112/688affdf/attachment.html From s.safarov at gmail.com Wed Jan 13 00:31:35 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 13 Jan 2016 00:31:35 +0300 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: Hello Brain I think XSD schemas can help validate FS config files and locate error. Mode detail on README file in PR Also modern xml editors automatically check xml files according rules in XSD schema and suggest xml elements and display element descriptions. Example in attached file. [image: Inline image 1] On Thu, Dec 17, 2015 at 10:44 PM, Brian West wrote: > https://freeswitch.org/jira/browse/FS-8609 > > Review the doc and git repo, input comments on this jira and you can even > issue pull requests against the repo for the upcoming configs. > > On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < > christian.hoene at symonics.com> wrote: > >> Hi all, >> >> >> >> I like the way Spring boot is doing all the configs: >> >> >> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config >> >> The idea behind it is to be opinionated out of the box, but get out of >> the way quickly as requirements start to diverge from the defaults. >> >> >> >> And get rid of txml. >> >> >> >> But then again, it is wish list time, isn?t it? >> >> >> >> Enjoy the holidays >> >> >> >> Christian >> >> >> >> >> >> *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] >> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 >> *An:* freeswitch-users at lists.freeswitch.org >> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >> >> >> >> Hi Brian, >> >> For my configs, I'm usually trying to respect the following layout: >> >> conf/mods/modscategory/nameofmod >> conf/core for core config >> >> Example: >> >> conf/freeswitch.xml >> conf/core/vars.xml >> conf/core/switch.conf.xml >> conf/core/modules.conf.xml >> conf/mod/dialplans/xml/internal.xml >> conf/mod/endpoints/sofia/sofia.global.conf >> conf/mod/endpoints/sofia/sip_profiles/internal.xml >> >> My 2 cents... >> >> Best, >> >> Gled. >> >> On 12/17/2015 06:46 AM, Brian West wrote: >> >> Has anyone had a chance to review the JIRA and the git repo? I've put up >> some samples of what I think we need to do, I really do want input on this, >> because once this is done, if you complain about how its done... I'm gonna >> sigh and say 'see this is why I asked for input'! :) >> >> >> >> Happy ! >> >> >> >> Thanks, >> >> >> >> On Tue, Dec 8, 2015 at 2:24 PM, Brian West wrote: >> >> I've started jotting down some notes: >> >> >> >> >> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing >> >> >> >> Input anyone? >> >> >> >> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin >> wrote: >> >> install hipchat application to your desktop or your phone, and login to >> hipchat.freeswitch.org wit your jira account >> >> >> >> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina >> wrote: >> >> How do I join? >> >> >> >> 2015-12-07 12:50 GMT-04:30 Ken Rice : >> >> Unsubscribe instructions are linked in the footer of every email to the >> list. >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk >> *Sent:* Monday, December 7, 2015 11:02 AM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >> >> >> >> unsubscribe >> >> >> >> On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: >> >> FreeSWITCHers, >> >> >> >> FS-8609 is raised to get a rough outline of a completely new config >> sample that will be used in 1.8, So we are reaching out to the community >> for input and direction, I have also created a hipchat room FS-8609 on >> hipchat.freeswitch.org if you wish to join in. Lets start the >> discussion on this topic. >> >> >> >> Thanks, >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> [image: Das Bild wurde vom Absender entfernt.] >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | 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 >> >> >> >> -- >> >> >> [image: Das Bild wurde vom Absender entfernt.] >> >> 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 >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> [image: Das Bild wurde vom Absender entfernt.] >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> [image: Das Bild wurde vom Absender entfernt.] >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | 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 > > Got Bugs? Report them here ! | 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/20160113/1b27541f/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_editor_suggester_example.png Type: image/png Size: 81894 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/1b27541f/attachment-0001.png -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/1b27541f/attachment-0001.jpg From brian at freeswitch.org Wed Jan 13 04:40:49 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 12 Jan 2016 19:40:49 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: can the XSD validate the config in its entirety? Seems apps aren't validated and such. On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov wrote: > Hello Brain > I think XSD schemas can help validate FS config files and locate error. > Mode detail on README file in PR > > Also modern xml editors automatically check xml files according rules in > XSD schema and suggest xml elements and display element descriptions. > Example in attached file. > > [image: Inline image 1] > > On Thu, Dec 17, 2015 at 10:44 PM, Brian West wrote: > >> https://freeswitch.org/jira/browse/FS-8609 >> >> Review the doc and git repo, input comments on this jira and you can even >> issue pull requests against the repo for the upcoming configs. >> >> On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < >> christian.hoene at symonics.com> wrote: >> >>> Hi all, >>> >>> >>> >>> I like the way Spring boot is doing all the configs: >>> >>> >>> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config >>> >>> The idea behind it is to be opinionated out of the box, but get out of >>> the way quickly as requirements start to diverge from the defaults. >>> >>> >>> >>> And get rid of txml. >>> >>> >>> >>> But then again, it is wish list time, isn?t it? >>> >>> >>> >>> Enjoy the holidays >>> >>> >>> >>> Christian >>> >>> >>> >>> >>> >>> *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] >>> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 >>> *An:* freeswitch-users at lists.freeswitch.org >>> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>> >>> >>> >>> Hi Brian, >>> >>> For my configs, I'm usually trying to respect the following layout: >>> >>> conf/mods/modscategory/nameofmod >>> conf/core for core config >>> >>> Example: >>> >>> conf/freeswitch.xml >>> conf/core/vars.xml >>> conf/core/switch.conf.xml >>> conf/core/modules.conf.xml >>> conf/mod/dialplans/xml/internal.xml >>> conf/mod/endpoints/sofia/sofia.global.conf >>> conf/mod/endpoints/sofia/sip_profiles/internal.xml >>> >>> My 2 cents... >>> >>> Best, >>> >>> Gled. >>> >>> On 12/17/2015 06:46 AM, Brian West wrote: >>> >>> Has anyone had a chance to review the JIRA and the git repo? I've put >>> up some samples of what I think we need to do, I really do want input on >>> this, because once this is done, if you complain about how its done... I'm >>> gonna sigh and say 'see this is why I asked for input'! :) >>> >>> >>> >>> Happy ! >>> >>> >>> >>> Thanks, >>> >>> >>> >>> On Tue, Dec 8, 2015 at 2:24 PM, Brian West wrote: >>> >>> I've started jotting down some notes: >>> >>> >>> >>> >>> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing >>> >>> >>> >>> Input anyone? >>> >>> >>> >>> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin >>> wrote: >>> >>> install hipchat application to your desktop or your phone, and login to >>> hipchat.freeswitch.org wit your jira account >>> >>> >>> >>> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina < >>> victor.medina at cibersys.com> wrote: >>> >>> How do I join? >>> >>> >>> >>> 2015-12-07 12:50 GMT-04:30 Ken Rice : >>> >>> Unsubscribe instructions are linked in the footer of every email to the >>> list. >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk >>> *Sent:* Monday, December 7, 2015 11:02 AM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>> >>> >>> >>> unsubscribe >>> >>> >>> >>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: >>> >>> FreeSWITCHers, >>> >>> >>> >>> FS-8609 is raised to get a rough outline of a completely new config >>> sample that will be used in 1.8, So we are reaching out to the community >>> for input and direction, I have also created a hipchat room FS-8609 on >>> hipchat.freeswitch.org if you wish to join in. Lets start the >>> discussion on this topic. >>> >>> >>> >>> Thanks, >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | 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 >>> >>> >>> >>> -- >>> >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> 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 >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | 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 >> >> Got Bugs? Report them here ! | 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 Got Bugs? Report them here ! | 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/20160112/3d40b0b3/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_editor_suggester_example.png Type: image/png Size: 81894 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/3d40b0b3/attachment-0001.png -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/3d40b0b3/attachment-0001.jpg From nneul at mst.edu Wed Jan 13 05:57:37 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Tue, 12 Jan 2016 20:57:37 -0600 Subject: [Freeswitch-users] Building ESL library by itself? Message-ID: <5695BD21.7070501@mst.edu> Has there been any consideration given to adding a sub 'configure' to the libs/esl/ dir in build tree and possibly extracting a tarball for just libesl? The requirements for that configure could be significantly reduced, allowing the esl libs (and wrappers) to be built by themselves on other platforms - even those where building/supporting the full FS (especially 1.6) is problematic. Is there any strong reason AGAINST having this capability? -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From manpower13.cse at gmail.com Wed Jan 13 07:29:19 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Wed, 13 Jan 2016 09:59:19 +0530 Subject: [Freeswitch-users] Mod_verto + Haproxy POOL Error In-Reply-To: References: Message-ID: But when i use the same haproxy configuration for NodeJS(websocket) its working fine,I am face issue only with freeswitch On Tue, Jan 12, 2016 at 7:04 PM, Murugan Pandian wrote: > Here is my Haproxy conf > > defaults http mode http log global option httplog option dontlognull > option http-server-close option forwardfor except 127.0.0.0/8 option > redispatch retries 3 timeout http-request 10s timeout queue 1m timeout > connect 10s #timeout client 1m timeout client 86400000 timeout server 1m > timeout http-keep-alive 10s timeout check 10s maxconn 3000 backend > w5fs_scaling balance roundrobin mode http option forwardfor timeout > server 30000 timeout connect 4000 cookie SERVERID insert indirect nocache > {% if groups[w5fs_tg] is defined%} {% for host in groups[w5fs_tg] %} {% > if True %} server freeswitch{{loop.index}} {{ host }}:8081 cookie > freeswitch{{loop.index}} weight 1 maxconn 1024 check {% endif %} {% > endfor %} {% endif %} > > On Tue, Jan 12, 2016 at 6:54 PM, Joshua Gigg wrote: > >> My initial thoughts would be the timeouts in HaProxy. >> >> http://blog.haproxy.com/2012/11/07/websockets-load-balancing-with-haproxy/ >> >> >> >> On Tue, 12 Jan 2016 at 13:13 Murugan Pandian >> wrote: >> >>> Hi, >>> >>> We have tried to run Freeswitch mod_verto(WS) behind Haproxy(WSS). But >>> When i tried to run the client(verto.js websocket connection) disconnected >>> and getting reconnected for every 60sec(1 min). If i make a call, it is >>> getting disconnected and reconnected again for every 1 min. >>> >>> If i use mod_verto directly without Haproxy it is working fine without >>> any issues. >>> Note: My mod_verto is running on port 8081(WS). But when i tried to run >>> behind my Haproxy running on WSSi am getting the above issue. >>> >>> >>> 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/20160113/60a33892/attachment-0001.html From s.safarov at gmail.com Wed Jan 13 08:19:16 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 13 Jan 2016 08:19:16 +0300 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: I has added example of full FS config that can be validated using XSD schema to PR Changes required in full FS config. 1) declare namespaces xmlns="http://freeswitch.org/xsd" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" in element document 2) Add type information for element section. XSD schema wrote using polymorphism for element section. Like xsi:type="sectionConfiguration" 3) Symbols "&" and "<" in element and attribute values must be encoded as "&" and "<" Also i has commented "X-NO-PRE-PROCESS" elements - I want suggest other way to include files. Sergey On Wed, Jan 13, 2016 at 4:40 AM, Brian West wrote: > can the XSD validate the config in its entirety? Seems apps aren't > validated and such. > > On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov > wrote: > >> Hello Brain >> I think XSD schemas can help validate FS config files and locate error. >> Mode detail on README file in PR >> >> Also modern xml editors automatically check xml files according rules in >> XSD schema and suggest xml elements and display element descriptions. >> Example in attached file. >> >> [image: Inline image 1] >> >> On Thu, Dec 17, 2015 at 10:44 PM, Brian West >> wrote: >> >>> https://freeswitch.org/jira/browse/FS-8609 >>> >>> Review the doc and git repo, input comments on this jira and you can >>> even issue pull requests against the repo for the upcoming configs. >>> >>> On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < >>> christian.hoene at symonics.com> wrote: >>> >>>> Hi all, >>>> >>>> >>>> >>>> I like the way Spring boot is doing all the configs: >>>> >>>> >>>> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config >>>> >>>> The idea behind it is to be opinionated out of the box, but get out of >>>> the way quickly as requirements start to diverge from the defaults. >>>> >>>> >>>> >>>> And get rid of txml. >>>> >>>> >>>> >>>> But then again, it is wish list time, isn?t it? >>>> >>>> >>>> >>>> Enjoy the holidays >>>> >>>> >>>> >>>> Christian >>>> >>>> >>>> >>>> >>>> >>>> *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] >>>> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 >>>> *An:* freeswitch-users at lists.freeswitch.org >>>> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>> >>>> >>>> >>>> Hi Brian, >>>> >>>> For my configs, I'm usually trying to respect the following layout: >>>> >>>> conf/mods/modscategory/nameofmod >>>> conf/core for core config >>>> >>>> Example: >>>> >>>> conf/freeswitch.xml >>>> conf/core/vars.xml >>>> conf/core/switch.conf.xml >>>> conf/core/modules.conf.xml >>>> conf/mod/dialplans/xml/internal.xml >>>> conf/mod/endpoints/sofia/sofia.global.conf >>>> conf/mod/endpoints/sofia/sip_profiles/internal.xml >>>> >>>> My 2 cents... >>>> >>>> Best, >>>> >>>> Gled. >>>> >>>> On 12/17/2015 06:46 AM, Brian West wrote: >>>> >>>> Has anyone had a chance to review the JIRA and the git repo? I've put >>>> up some samples of what I think we need to do, I really do want input on >>>> this, because once this is done, if you complain about how its done... I'm >>>> gonna sigh and say 'see this is why I asked for input'! :) >>>> >>>> >>>> >>>> Happy ! >>>> >>>> >>>> >>>> Thanks, >>>> >>>> >>>> >>>> On Tue, Dec 8, 2015 at 2:24 PM, Brian West >>>> wrote: >>>> >>>> I've started jotting down some notes: >>>> >>>> >>>> >>>> >>>> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing >>>> >>>> >>>> >>>> Input anyone? >>>> >>>> >>>> >>>> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin >>>> wrote: >>>> >>>> install hipchat application to your desktop or your phone, and login to >>>> hipchat.freeswitch.org wit your jira account >>>> >>>> >>>> >>>> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina < >>>> victor.medina at cibersys.com> wrote: >>>> >>>> How do I join? >>>> >>>> >>>> >>>> 2015-12-07 12:50 GMT-04:30 Ken Rice : >>>> >>>> Unsubscribe instructions are linked in the footer of every email to the >>>> list. >>>> >>>> >>>> >>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul >>>> Klenk >>>> *Sent:* Monday, December 7, 2015 11:02 AM >>>> *To:* FreeSWITCH Users Help >>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>> >>>> >>>> >>>> unsubscribe >>>> >>>> >>>> >>>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West >>>> wrote: >>>> >>>> FreeSWITCHers, >>>> >>>> >>>> >>>> FS-8609 is raised to get a rough outline of a completely new config >>>> sample that will be used in 1.8, So we are reaching out to the community >>>> for input and direction, I have also created a hipchat room FS-8609 on >>>> hipchat.freeswitch.org if you wish to join in. Lets start the >>>> discussion on this topic. >>>> >>>> >>>> >>>> Thanks, >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> [image: Das Bild wurde vom Absender entfernt.] >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> Got Bugs? Report them here ! | 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 >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> [image: Das Bild wurde vom Absender entfernt.] >>>> >>>> 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 >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>>> >>>> [image: Das Bild wurde vom Absender entfernt.] >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> Got Bugs? Report them here ! | Reddit: >>>> /r/freeswitch >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> [image: Das Bild wurde vom Absender entfernt.] >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com >>>> http://www.freeswitchcookbook.com >>>> >>>> Got Bugs? Report them here ! | 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 >>> >>> Got Bugs? Report them here ! | 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 > > Got Bugs? Report them here ! | 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/20160113/e72d2734/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_editor_suggester_example.png Type: image/png Size: 81894 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.png -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.xml.patch Type: application/octet-stream Size: 14503 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/e72d2734/attachment-0001.obj From s.safarov at gmail.com Wed Jan 13 08:23:50 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 13 Jan 2016 08:23:50 +0300 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: Section dialplan, chatplan, languages is not checked in current XSD edition. If this will accepted, then i will write XSD rules for other sections. Sergey On Wed, Jan 13, 2016 at 8:19 AM, Sergey Safarov wrote: > I has added example of full FS config that can be validated using XSD > schema to PR > Changes required in full FS config. > 1) declare namespaces xmlns="http://freeswitch.org/xsd" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" in element document > 2) Add type information for element section. XSD schema wrote using > polymorphism for element section. Like xsi:type="sectionConfiguration" > 3) Symbols "&" and "<" in element and attribute values must be encoded as > "&" and "<" > > Also i has commented "X-NO-PRE-PROCESS" elements - I want suggest other > way to include files. > > Sergey > > > On Wed, Jan 13, 2016 at 4:40 AM, Brian West wrote: > >> can the XSD validate the config in its entirety? Seems apps aren't >> validated and such. >> >> On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov >> wrote: >> >>> Hello Brain >>> I think XSD schemas can help validate FS config files and locate error. >>> Mode detail on README file in PR >>> >>> Also modern xml editors automatically check xml files according rules in >>> XSD schema and suggest xml elements and display element descriptions. >>> Example in attached file. >>> >>> [image: Inline image 1] >>> >>> On Thu, Dec 17, 2015 at 10:44 PM, Brian West >>> wrote: >>> >>>> https://freeswitch.org/jira/browse/FS-8609 >>>> >>>> Review the doc and git repo, input comments on this jira and you can >>>> even issue pull requests against the repo for the upcoming configs. >>>> >>>> On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < >>>> christian.hoene at symonics.com> wrote: >>>> >>>>> Hi all, >>>>> >>>>> >>>>> >>>>> I like the way Spring boot is doing all the configs: >>>>> >>>>> >>>>> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config >>>>> >>>>> The idea behind it is to be opinionated out of the box, but get out of >>>>> the way quickly as requirements start to diverge from the defaults. >>>>> >>>>> >>>>> >>>>> And get rid of txml. >>>>> >>>>> >>>>> >>>>> But then again, it is wish list time, isn?t it? >>>>> >>>>> >>>>> >>>>> Enjoy the holidays >>>>> >>>>> >>>>> >>>>> Christian >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] >>>>> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 >>>>> *An:* freeswitch-users at lists.freeswitch.org >>>>> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>>> >>>>> >>>>> >>>>> Hi Brian, >>>>> >>>>> For my configs, I'm usually trying to respect the following layout: >>>>> >>>>> conf/mods/modscategory/nameofmod >>>>> conf/core for core config >>>>> >>>>> Example: >>>>> >>>>> conf/freeswitch.xml >>>>> conf/core/vars.xml >>>>> conf/core/switch.conf.xml >>>>> conf/core/modules.conf.xml >>>>> conf/mod/dialplans/xml/internal.xml >>>>> conf/mod/endpoints/sofia/sofia.global.conf >>>>> conf/mod/endpoints/sofia/sip_profiles/internal.xml >>>>> >>>>> My 2 cents... >>>>> >>>>> Best, >>>>> >>>>> Gled. >>>>> >>>>> On 12/17/2015 06:46 AM, Brian West wrote: >>>>> >>>>> Has anyone had a chance to review the JIRA and the git repo? I've put >>>>> up some samples of what I think we need to do, I really do want input on >>>>> this, because once this is done, if you complain about how its done... I'm >>>>> gonna sigh and say 'see this is why I asked for input'! :) >>>>> >>>>> >>>>> >>>>> Happy ! >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>>> On Tue, Dec 8, 2015 at 2:24 PM, Brian West >>>>> wrote: >>>>> >>>>> I've started jotting down some notes: >>>>> >>>>> >>>>> >>>>> >>>>> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing >>>>> >>>>> >>>>> >>>>> Input anyone? >>>>> >>>>> >>>>> >>>>> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>> install hipchat application to your desktop or your phone, and login >>>>> to hipchat.freeswitch.org wit your jira account >>>>> >>>>> >>>>> >>>>> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina < >>>>> victor.medina at cibersys.com> wrote: >>>>> >>>>> How do I join? >>>>> >>>>> >>>>> >>>>> 2015-12-07 12:50 GMT-04:30 Ken Rice : >>>>> >>>>> Unsubscribe instructions are linked in the footer of every email to >>>>> the list. >>>>> >>>>> >>>>> >>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul >>>>> Klenk >>>>> *Sent:* Monday, December 7, 2015 11:02 AM >>>>> *To:* FreeSWITCH Users Help >>>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>>> >>>>> >>>>> >>>>> unsubscribe >>>>> >>>>> >>>>> >>>>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West >>>>> wrote: >>>>> >>>>> FreeSWITCHers, >>>>> >>>>> >>>>> >>>>> FS-8609 is raised to get a rough outline of a completely new config >>>>> sample that will be used in 1.8, So we are reaching out to the community >>>>> for input and direction, I have also created a hipchat room FS-8609 on >>>>> hipchat.freeswitch.org if you wish to join in. Lets start the >>>>> discussion on this topic. >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | 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 >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> 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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | 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 >>>> >>>> Got Bugs? Report them here ! | 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 >> >> Got Bugs? Report them here ! | 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/20160113/b501f9eb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_editor_suggester_example.png Type: image/png Size: 81894 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/b501f9eb/attachment-0001.png -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/b501f9eb/attachment-0001.jpg From s.safarov at gmail.com Wed Jan 13 11:35:16 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 13 Jan 2016 11:35:16 +0300 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: Section dialplan, chatplan, languages is not checked in current XSD edition. If this will accepted, then i will write XSD rules On Wed, Jan 13, 2016 at 8:19 AM, Sergey Safarov wrote: > I has added example of full FS config that can be validated using XSD > schema to PR > Changes required in full FS config. > 1) declare namespaces xmlns="http://freeswitch.org/xsd" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" in element document > 2) Add type information for element section. XSD schema wrote using > polymorphism for element section. Like xsi:type="sectionConfiguration" > 3) Symbols "&" and "<" in element and attribute values must be encoded as > "&" and "<" > > Also i has commented "X-NO-PRE-PROCESS" elements - I want suggest other > way to include files. > > Sergey > > > On Wed, Jan 13, 2016 at 4:40 AM, Brian West wrote: > >> can the XSD validate the config in its entirety? Seems apps aren't >> validated and such. >> >> On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov >> wrote: >> >>> Hello Brain >>> I think XSD schemas can help validate FS config files and locate error. >>> Mode detail on README file in PR >>> >>> Also modern xml editors automatically check xml files according rules in >>> XSD schema and suggest xml elements and display element descriptions. >>> Example in attached file. >>> >>> [image: Inline image 1] >>> >>> On Thu, Dec 17, 2015 at 10:44 PM, Brian West >>> wrote: >>> >>>> https://freeswitch.org/jira/browse/FS-8609 >>>> >>>> Review the doc and git repo, input comments on this jira and you can >>>> even issue pull requests against the repo for the upcoming configs. >>>> >>>> On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < >>>> christian.hoene at symonics.com> wrote: >>>> >>>>> Hi all, >>>>> >>>>> >>>>> >>>>> I like the way Spring boot is doing all the configs: >>>>> >>>>> >>>>> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config >>>>> >>>>> The idea behind it is to be opinionated out of the box, but get out of >>>>> the way quickly as requirements start to diverge from the defaults. >>>>> >>>>> >>>>> >>>>> And get rid of txml. >>>>> >>>>> >>>>> >>>>> But then again, it is wish list time, isn?t it? >>>>> >>>>> >>>>> >>>>> Enjoy the holidays >>>>> >>>>> >>>>> >>>>> Christian >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] >>>>> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 >>>>> *An:* freeswitch-users at lists.freeswitch.org >>>>> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>>> >>>>> >>>>> >>>>> Hi Brian, >>>>> >>>>> For my configs, I'm usually trying to respect the following layout: >>>>> >>>>> conf/mods/modscategory/nameofmod >>>>> conf/core for core config >>>>> >>>>> Example: >>>>> >>>>> conf/freeswitch.xml >>>>> conf/core/vars.xml >>>>> conf/core/switch.conf.xml >>>>> conf/core/modules.conf.xml >>>>> conf/mod/dialplans/xml/internal.xml >>>>> conf/mod/endpoints/sofia/sofia.global.conf >>>>> conf/mod/endpoints/sofia/sip_profiles/internal.xml >>>>> >>>>> My 2 cents... >>>>> >>>>> Best, >>>>> >>>>> Gled. >>>>> >>>>> On 12/17/2015 06:46 AM, Brian West wrote: >>>>> >>>>> Has anyone had a chance to review the JIRA and the git repo? I've put >>>>> up some samples of what I think we need to do, I really do want input on >>>>> this, because once this is done, if you complain about how its done... I'm >>>>> gonna sigh and say 'see this is why I asked for input'! :) >>>>> >>>>> >>>>> >>>>> Happy ! >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>>> On Tue, Dec 8, 2015 at 2:24 PM, Brian West >>>>> wrote: >>>>> >>>>> I've started jotting down some notes: >>>>> >>>>> >>>>> >>>>> >>>>> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing >>>>> >>>>> >>>>> >>>>> Input anyone? >>>>> >>>>> >>>>> >>>>> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin < >>>>> ssinyagin at gmail.com> wrote: >>>>> >>>>> install hipchat application to your desktop or your phone, and login >>>>> to hipchat.freeswitch.org wit your jira account >>>>> >>>>> >>>>> >>>>> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina < >>>>> victor.medina at cibersys.com> wrote: >>>>> >>>>> How do I join? >>>>> >>>>> >>>>> >>>>> 2015-12-07 12:50 GMT-04:30 Ken Rice : >>>>> >>>>> Unsubscribe instructions are linked in the footer of every email to >>>>> the list. >>>>> >>>>> >>>>> >>>>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul >>>>> Klenk >>>>> *Sent:* Monday, December 7, 2015 11:02 AM >>>>> *To:* FreeSWITCH Users Help >>>>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>>>> >>>>> >>>>> >>>>> unsubscribe >>>>> >>>>> >>>>> >>>>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West >>>>> wrote: >>>>> >>>>> FreeSWITCHers, >>>>> >>>>> >>>>> >>>>> FS-8609 is raised to get a rough outline of a completely new config >>>>> sample that will be used in 1.8, So we are reaching out to the community >>>>> for input and direction, I have also created a hipchat room FS-8609 on >>>>> hipchat.freeswitch.org if you wish to join in. Lets start the >>>>> discussion on this topic. >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | 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 >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> 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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> [image: Das Bild wurde vom Absender entfernt.] >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com >>>>> http://www.freeswitchcookbook.com >>>>> >>>>> Got Bugs? Report them here ! | 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 >>>> >>>> Got Bugs? Report them here ! | 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 >> >> Got Bugs? Report them here ! | 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/20160113/7100bc4a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_editor_suggester_example.png Type: image/png Size: 81894 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/7100bc4a/attachment-0001.png -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/7100bc4a/attachment-0001.jpg From petedao at gmail.com Wed Jan 13 15:05:25 2016 From: petedao at gmail.com (Pete Kay) Date: Wed, 13 Jan 2016 20:05:25 +0800 Subject: [Freeswitch-users] Unable to hear audio with mod_portaudio Message-ID: Hi, I tried to use mod_portaudio to bridge a local sound card/buffer to a channel, but no media is heard. Could someone please give me some idea what could go wrong? Is there any working example I can follow? How do I best debug this issue? Any help will be greatly appreciated. P -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/13a18adb/attachment.html From mic.niel84 at gmail.com Wed Jan 13 15:54:47 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 13 Jan 2016 13:54:47 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: <005401d14d60$e14e9dc0$a3ebd940$@botecomm.com> References: <005401d14d60$e14e9dc0$a3ebd940$@botecomm.com> Message-ID: Hi Bote, Thank you so much for all your detailed info. That helped a lot and solved almost everything. Final question... When I use the , doesn't loopback means that it's try and dial 293234 from a matching dial plan already existing within my FreeSWITCH? The case is, that I've got a dial plan recognising expression="^(\d{3,20})$" etc. And if a number doesn't contain a valid country code I'll append it automatically according to the subscriber who initiate the calls. So my subscriber for example has a variable set country_code = +44. When I dial something it appends +44 if there is no country code. This works if I call something else than my conference dial plan, but when calling the conference dial plan and using loopback it doesn't work. Does it make sense and can you help? On Tue, Jan 12, 2016 at 6:44 PM, Bote Man wrote: > Michael, I make extensive use of the FreeSWITCH outbound conference > calling feature. I recently figured that I got the results that you (and I) > desire with these 2 lines in the dialplan of the extension that initiates > the outbound conference call: > > > > data="conference_auto_outcall_caller_id_name=${caller_id_name}"/> > > data="conference_auto_outcall_caller_id_number=${caller_id_number}"/> > > > > It?s not clear to me which of the many, many, many Caller*ID variables are > the best to use overall, but these are the ones that send the originating > extension number and name as FreeSWITCH knows them to the dialed conferees. > I find that effective_caller_id_number is not always effective J > > > > Of course, you can set caller_id_* to effective_* or any other assignments > as needed; experimentation yields a lot of knowledge here. Use the ?log? > application liberally in your conference dialplan extension to display as > many variables as you need to determine which holds the desired values, > that?s how I did it. A lot of them are empty, some are default, nothing is > set in stone so change and set them the way you see fit. > > > > > > Also, in answer to your previous query about the conferees still ringing > after the originator hangs up, add the ?endconf? flag to your conference > kick-off string: > > > > > > > > myconf ? the ?name? of the conference as FreeSWITCH knows it, can be > pretty much anything readable, numbers, letters, literal value, variable > replacement, etc. > > > > default ? the conference profile to use as configured in > autoload_configs/conference.conf.xml > > > > moderator flag ? pulls in a different set of controls as specified in the > config file mentioned above. > > > > Hope this helps. > > > > Bote > > > > > > *From:* Michael Nielsen > *Sent:* Tuesday, 12 January, 2016 04:27 > *Subject:* Re: [Freeswitch-users] Dial multiple users for "conference" > call > > > > Hi Larry, > > > > As you can see from my example, I am trying to set that exact variable: > > data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> > > But I want to set it from the effective_caller_id_number, so I can get the > caller ID from the person who initiated the conference call. > > > > On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley > wrote: > > Michael, > > Go back and have another look at the "mad boss" example. The variable you > likely want to set in this instance is > "conference_auto_outcall_caller_id_number". > > Basically, what Mike J was telling you is that not all variables are > salient; are set by FreeSwitch; have any meaning whatsoever; in the context > of certain parts of a given FreeSwitch configuration. > > From the "mad boss" example: > > > > data="conference_auto_outcall_caller_id_name=Mad Boss"/> > > data="conference_auto_outcall_caller_id_number=0911"/> > > Hope that helps, > Larry > > On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: > > https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables > > > > On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen > wrote: > > In other dial plans I'm able to use ${effective_caller_id_number} from my > directory. > > That means, if my subscriber 1001 are calling I can use 1001 as caller ID, > so my called parties know who it is. > > > > On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: > > > > On Monday, January 11, 2016, Michael Nielsen wrote: > > Seems as if it has nothing to do with multiple parties speaking together, > just simultaneously calling them. > > > > Back to mod_conferece and the madboss example. It seems to work, but not > getting the variable from the caller: > > > > 1) If I call some numbers, and hang up before the 60 seconds timeout - the > numbers keeps ringing for 60 seconds, even though I as initiator have hung > up. > > 2) data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> > doesn't seems to be acknowledge, it shows Unknown number. > > > > What do you think effective_caller_id_number is here? this is not a > variable that is automatically set > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/de650a3a/attachment.html From mic.niel84 at gmail.com Wed Jan 13 15:57:42 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 13 Jan 2016 13:57:42 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: <005401d14d60$e14e9dc0$a3ebd940$@botecomm.com> Message-ID: I can tell from the cli that the country_code variable is empty: Dialplan: loopback/293234-b Action set(dialed_number=${country_code} 293234) INLINE EXECUTE loopback/293234-b set(dialed_number= 293234) So my subscriber variables doesn't get used when using mod_conference... On Wed, Jan 13, 2016 at 1:54 PM, Michael Nielsen wrote: > Hi Bote, > > Thank you so much for all your detailed info. That helped a lot and solved > almost everything. > > Final question... When I use the application="conference_set_auto_outcall" data="loopback/293234"/>, doesn't > loopback means that it's try and dial 293234 from a matching dial plan > already existing within my FreeSWITCH? > > The case is, that I've got a dial plan recognising expression="^(\d{3,20})$" > etc. > And if a number doesn't contain a valid country code I'll append it > automatically according to the subscriber who initiate the calls. > So my subscriber for example has a variable set country_code = +44. When I > dial something it appends +44 if there is no country code. > > This works if I call something else than my conference dial plan, but when > calling the conference dial plan and using loopback it doesn't work. > > Does it make sense and can you help? > > On Tue, Jan 12, 2016 at 6:44 PM, Bote Man wrote: > >> Michael, I make extensive use of the FreeSWITCH outbound conference >> calling feature. I recently figured that I got the results that you (and I) >> desire with these 2 lines in the dialplan of the extension that initiates >> the outbound conference call: >> >> >> >> > data="conference_auto_outcall_caller_id_name=${caller_id_name}"/> >> >> > data="conference_auto_outcall_caller_id_number=${caller_id_number}"/> >> >> >> >> It?s not clear to me which of the many, many, many Caller*ID variables >> are the best to use overall, but these are the ones that send the >> originating extension number and name as FreeSWITCH knows them to the >> dialed conferees. I find that effective_caller_id_number is not always >> effective J >> >> >> >> Of course, you can set caller_id_* to effective_* or any other >> assignments as needed; experimentation yields a lot of knowledge here. Use >> the ?log? application liberally in your conference dialplan extension to >> display as many variables as you need to determine which holds the desired >> values, that?s how I did it. A lot of them are empty, some are default, >> nothing is set in stone so change and set them the way you see fit. >> >> >> >> >> >> Also, in answer to your previous query about the conferees still ringing >> after the originator hangs up, add the ?endconf? flag to your conference >> kick-off string: >> >> >> >> >> >> >> >> myconf ? the ?name? of the conference as FreeSWITCH knows it, can be >> pretty much anything readable, numbers, letters, literal value, variable >> replacement, etc. >> >> >> >> default ? the conference profile to use as configured in >> autoload_configs/conference.conf.xml >> >> >> >> moderator flag ? pulls in a different set of controls as specified in the >> config file mentioned above. >> >> >> >> Hope this helps. >> >> >> >> Bote >> >> >> >> >> >> *From:* Michael Nielsen >> *Sent:* Tuesday, 12 January, 2016 04:27 >> *Subject:* Re: [Freeswitch-users] Dial multiple users for "conference" >> call >> >> >> >> Hi Larry, >> >> >> >> As you can see from my example, I am trying to set that exact variable: >> >> > data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >> >> But I want to set it from the effective_caller_id_number, so I can get >> the caller ID from the person who initiated the conference call. >> >> >> >> On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley >> wrote: >> >> Michael, >> >> Go back and have another look at the "mad boss" example. The variable you >> likely want to set in this instance is >> "conference_auto_outcall_caller_id_number". >> >> Basically, what Mike J was telling you is that not all variables are >> salient; are set by FreeSwitch; have any meaning whatsoever; in the context >> of certain parts of a given FreeSwitch configuration. >> >> From the "mad boss" example: >> >> >> >> > data="conference_auto_outcall_caller_id_name=Mad Boss"/> >> >> > data="conference_auto_outcall_caller_id_number=0911"/> >> >> Hope that helps, >> Larry >> >> On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: >> >> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables >> >> >> >> On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen >> wrote: >> >> In other dial plans I'm able to use ${effective_caller_id_number} from my >> directory. >> >> That means, if my subscriber 1001 are calling I can use 1001 as caller >> ID, so my called parties know who it is. >> >> >> >> On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: >> >> >> >> On Monday, January 11, 2016, Michael Nielsen >> wrote: >> >> Seems as if it has nothing to do with multiple parties speaking together, >> just simultaneously calling them. >> >> >> >> Back to mod_conferece and the madboss example. It seems to work, but not >> getting the variable from the caller: >> >> >> >> 1) If I call some numbers, and hang up before the 60 seconds timeout - >> the numbers keeps ringing for 60 seconds, even though I as initiator have >> hung up. >> >> 2) > data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >> doesn't seems to be acknowledge, it shows Unknown number. >> >> >> >> What do you think effective_caller_id_number is here? this is not a >> variable that is automatically set >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160113/92e44b63/attachment-0001.html From alipey at gmail.com Wed Jan 13 16:24:40 2016 From: alipey at gmail.com (Ali Pey) Date: Wed, 13 Jan 2016 08:24:40 -0500 Subject: [Freeswitch-users] Freeswitch Version 1.6.5-11 crashes with Perl Message-ID: Hello, I have Freeswitch Version 1.6.5-11 on a debian server and it crashes every time I try a perl call. I have tried running freeswitch as root and has the same problem. Has anyone used perl module with 1.6.5-11. I'd like to know if it's a bug or an installation problem on my side. The error I get is: freeswitch at internal> perl test.pl Socket interrupted, bye! Thanks, Ali Pey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/8774a83c/attachment.html From matt at supportedbusiness.com Wed Jan 13 16:50:29 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Wed, 13 Jan 2016 13:50:29 +0000 Subject: [Freeswitch-users] schedule Broadcast into a conference Message-ID: Hi, I am wondering if there is an API command that will allow me to schedule a broadcast into a conference? I have tried the following: sched_broadcast 5 UUID playback::tmp/test.wav I have tried replacing the UUID with the conference UUID and no file plays (though the broadcast shows as being scheduled). I have also tried replacing UUID with one of the caller's UUID, the file does play but only to that one caller and not all callers. many thanks Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/d64c01a3/attachment.html From mic.niel84 at gmail.com Wed Jan 13 17:08:59 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 13 Jan 2016 15:08:59 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: <005401d14d60$e14e9dc0$a3ebd940$@botecomm.com> Message-ID: However, my country_code variable is available before the loopback: 2016-01-13 14:08:43.143791 [INFO] mod_dptools.c:1692 country_code +44 On Wed, Jan 13, 2016 at 1:57 PM, Michael Nielsen wrote: > I can tell from the cli that the country_code variable is empty: > > Dialplan: loopback/293234-b Action set(dialed_number=${country_code} > 293234) INLINE > > EXECUTE loopback/293234-b set(dialed_number= 293234) > > > So my subscriber variables doesn't get used when using mod_conference... > > On Wed, Jan 13, 2016 at 1:54 PM, Michael Nielsen > wrote: > >> Hi Bote, >> >> Thank you so much for all your detailed info. That helped a lot and >> solved almost everything. >> >> Final question... When I use the > application="conference_set_auto_outcall" data="loopback/293234"/>, doesn't >> loopback means that it's try and dial 293234 from a matching dial plan >> already existing within my FreeSWITCH? >> >> The case is, that I've got a dial plan recognising expression="^(\d{3,20})$" >> etc. >> And if a number doesn't contain a valid country code I'll append it >> automatically according to the subscriber who initiate the calls. >> So my subscriber for example has a variable set country_code = +44. When >> I dial something it appends +44 if there is no country code. >> >> This works if I call something else than my conference dial plan, but >> when calling the conference dial plan and using loopback it doesn't work. >> >> Does it make sense and can you help? >> >> On Tue, Jan 12, 2016 at 6:44 PM, Bote Man >> wrote: >> >>> Michael, I make extensive use of the FreeSWITCH outbound conference >>> calling feature. I recently figured that I got the results that you (and I) >>> desire with these 2 lines in the dialplan of the extension that initiates >>> the outbound conference call: >>> >>> >>> >>> >> data="conference_auto_outcall_caller_id_name=${caller_id_name}"/> >>> >>> >> data="conference_auto_outcall_caller_id_number=${caller_id_number}"/> >>> >>> >>> >>> It?s not clear to me which of the many, many, many Caller*ID variables >>> are the best to use overall, but these are the ones that send the >>> originating extension number and name as FreeSWITCH knows them to the >>> dialed conferees. I find that effective_caller_id_number is not always >>> effective J >>> >>> >>> >>> Of course, you can set caller_id_* to effective_* or any other >>> assignments as needed; experimentation yields a lot of knowledge here. Use >>> the ?log? application liberally in your conference dialplan extension to >>> display as many variables as you need to determine which holds the desired >>> values, that?s how I did it. A lot of them are empty, some are default, >>> nothing is set in stone so change and set them the way you see fit. >>> >>> >>> >>> >>> >>> Also, in answer to your previous query about the conferees still ringing >>> after the originator hangs up, add the ?endconf? flag to your conference >>> kick-off string: >>> >>> >>> >>> >>> >>> >>> >>> myconf ? the ?name? of the conference as FreeSWITCH knows it, can be >>> pretty much anything readable, numbers, letters, literal value, variable >>> replacement, etc. >>> >>> >>> >>> default ? the conference profile to use as configured in >>> autoload_configs/conference.conf.xml >>> >>> >>> >>> moderator flag ? pulls in a different set of controls as specified in >>> the config file mentioned above. >>> >>> >>> >>> Hope this helps. >>> >>> >>> >>> Bote >>> >>> >>> >>> >>> >>> *From:* Michael Nielsen >>> *Sent:* Tuesday, 12 January, 2016 04:27 >>> *Subject:* Re: [Freeswitch-users] Dial multiple users for "conference" >>> call >>> >>> >>> >>> Hi Larry, >>> >>> >>> >>> As you can see from my example, I am trying to set that exact variable: >>> >>> >> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>> >>> But I want to set it from the effective_caller_id_number, so I can get >>> the caller ID from the person who initiated the conference call. >>> >>> >>> >>> On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley >>> wrote: >>> >>> Michael, >>> >>> Go back and have another look at the "mad boss" example. The variable >>> you likely want to set in this instance is >>> "conference_auto_outcall_caller_id_number". >>> >>> Basically, what Mike J was telling you is that not all variables are >>> salient; are set by FreeSwitch; have any meaning whatsoever; in the context >>> of certain parts of a given FreeSwitch configuration. >>> >>> From the "mad boss" example: >>> >>> >>> >>> >> data="conference_auto_outcall_caller_id_name=Mad Boss"/> >>> >>> >> data="conference_auto_outcall_caller_id_number=0911"/> >>> >>> Hope that helps, >>> Larry >>> >>> On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables >>> >>> >>> >>> On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen >>> wrote: >>> >>> In other dial plans I'm able to use ${effective_caller_id_number} from >>> my directory. >>> >>> That means, if my subscriber 1001 are calling I can use 1001 as caller >>> ID, so my called parties know who it is. >>> >>> >>> >>> On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: >>> >>> >>> >>> On Monday, January 11, 2016, Michael Nielsen >>> wrote: >>> >>> Seems as if it has nothing to do with multiple parties speaking >>> together, just simultaneously calling them. >>> >>> >>> >>> Back to mod_conferece and the madboss example. It seems to work, but not >>> getting the variable from the caller: >>> >>> >>> >>> 1) If I call some numbers, and hang up before the 60 seconds timeout - >>> the numbers keeps ringing for 60 seconds, even though I as initiator have >>> hung up. >>> >>> 2) >> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>> doesn't seems to be acknowledge, it shows Unknown number. >>> >>> >>> >>> What do you think effective_caller_id_number is here? this is not a >>> variable that is automatically set >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160113/eabdf4dd/attachment-0001.html From mic.niel84 at gmail.com Wed Jan 13 17:20:17 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 13 Jan 2016 15:20:17 +0100 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: <005401d14d60$e14e9dc0$a3ebd940$@botecomm.com> Message-ID: Sorry, I guess this is not specific conference specific. I'll create a new topic :) Thank you all for all your help. On Wed, Jan 13, 2016 at 3:08 PM, Michael Nielsen wrote: > However, my country_code variable is available before the loopback: > > 2016-01-13 14:08:43.143791 [INFO] mod_dptools.c:1692 country_code +44 > > On Wed, Jan 13, 2016 at 1:57 PM, Michael Nielsen > wrote: > >> I can tell from the cli that the country_code variable is empty: >> >> Dialplan: loopback/293234-b Action set(dialed_number=${country_code} >> 293234) INLINE >> >> EXECUTE loopback/293234-b set(dialed_number= 293234) >> >> >> So my subscriber variables doesn't get used when using mod_conference... >> >> On Wed, Jan 13, 2016 at 1:54 PM, Michael Nielsen >> wrote: >> >>> Hi Bote, >>> >>> Thank you so much for all your detailed info. That helped a lot and >>> solved almost everything. >>> >>> Final question... When I use the >> application="conference_set_auto_outcall" data="loopback/293234"/>, doesn't >>> loopback means that it's try and dial 293234 from a matching dial plan >>> already existing within my FreeSWITCH? >>> >>> The case is, that I've got a dial plan recognising expression="^(\d{3,20})$" >>> etc. >>> And if a number doesn't contain a valid country code I'll append it >>> automatically according to the subscriber who initiate the calls. >>> So my subscriber for example has a variable set country_code = +44. When >>> I dial something it appends +44 if there is no country code. >>> >>> This works if I call something else than my conference dial plan, but >>> when calling the conference dial plan and using loopback it doesn't work. >>> >>> Does it make sense and can you help? >>> >>> On Tue, Jan 12, 2016 at 6:44 PM, Bote Man >>> wrote: >>> >>>> Michael, I make extensive use of the FreeSWITCH outbound conference >>>> calling feature. I recently figured that I got the results that you (and I) >>>> desire with these 2 lines in the dialplan of the extension that initiates >>>> the outbound conference call: >>>> >>>> >>>> >>>> >>> data="conference_auto_outcall_caller_id_name=${caller_id_name}"/> >>>> >>>> >>> data="conference_auto_outcall_caller_id_number=${caller_id_number}"/> >>>> >>>> >>>> >>>> It?s not clear to me which of the many, many, many Caller*ID variables >>>> are the best to use overall, but these are the ones that send the >>>> originating extension number and name as FreeSWITCH knows them to the >>>> dialed conferees. I find that effective_caller_id_number is not always >>>> effective J >>>> >>>> >>>> >>>> Of course, you can set caller_id_* to effective_* or any other >>>> assignments as needed; experimentation yields a lot of knowledge here. Use >>>> the ?log? application liberally in your conference dialplan extension to >>>> display as many variables as you need to determine which holds the desired >>>> values, that?s how I did it. A lot of them are empty, some are default, >>>> nothing is set in stone so change and set them the way you see fit. >>>> >>>> >>>> >>>> >>>> >>>> Also, in answer to your previous query about the conferees still >>>> ringing after the originator hangs up, add the ?endconf? flag to your >>>> conference kick-off string: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> myconf ? the ?name? of the conference as FreeSWITCH knows it, can be >>>> pretty much anything readable, numbers, letters, literal value, variable >>>> replacement, etc. >>>> >>>> >>>> >>>> default ? the conference profile to use as configured in >>>> autoload_configs/conference.conf.xml >>>> >>>> >>>> >>>> moderator flag ? pulls in a different set of controls as specified in >>>> the config file mentioned above. >>>> >>>> >>>> >>>> Hope this helps. >>>> >>>> >>>> >>>> Bote >>>> >>>> >>>> >>>> >>>> >>>> *From:* Michael Nielsen >>>> *Sent:* Tuesday, 12 January, 2016 04:27 >>>> *Subject:* Re: [Freeswitch-users] Dial multiple users for "conference" >>>> call >>>> >>>> >>>> >>>> Hi Larry, >>>> >>>> >>>> >>>> As you can see from my example, I am trying to set that exact variable: >>>> >>>> >>> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>>> >>>> But I want to set it from the effective_caller_id_number, so I can get >>>> the caller ID from the person who initiated the conference call. >>>> >>>> >>>> >>>> On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley < >>>> lmorley at neny.cslimits.net> wrote: >>>> >>>> Michael, >>>> >>>> Go back and have another look at the "mad boss" example. The variable >>>> you likely want to set in this instance is >>>> "conference_auto_outcall_caller_id_number". >>>> >>>> Basically, what Mike J was telling you is that not all variables are >>>> salient; are set by FreeSwitch; have any meaning whatsoever; in the context >>>> of certain parts of a given FreeSwitch configuration. >>>> >>>> From the "mad boss" example: >>>> >>>> >>>> >>>> >>> data="conference_auto_outcall_caller_id_name=Mad Boss"/> >>>> >>>> >>> data="conference_auto_outcall_caller_id_number=0911"/> >>>> >>>> Hope that helps, >>>> Larry >>>> >>>> On Jan 11, 2016 9:02 AM, "Michael Nielsen" >>>> wrote: >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables >>>> >>>> >>>> >>>> On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen >>>> wrote: >>>> >>>> In other dial plans I'm able to use ${effective_caller_id_number} from >>>> my directory. >>>> >>>> That means, if my subscriber 1001 are calling I can use 1001 as caller >>>> ID, so my called parties know who it is. >>>> >>>> >>>> >>>> On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris >>>> wrote: >>>> >>>> >>>> >>>> On Monday, January 11, 2016, Michael Nielsen >>>> wrote: >>>> >>>> Seems as if it has nothing to do with multiple parties speaking >>>> together, just simultaneously calling them. >>>> >>>> >>>> >>>> Back to mod_conferece and the madboss example. It seems to work, but >>>> not getting the variable from the caller: >>>> >>>> >>>> >>>> 1) If I call some numbers, and hang up before the 60 seconds timeout - >>>> the numbers keeps ringing for 60 seconds, even though I as initiator have >>>> hung up. >>>> >>>> 2) >>> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/> >>>> doesn't seems to be acknowledge, it shows Unknown number. >>>> >>>> >>>> >>>> What do you think effective_caller_id_number is here? this is not a >>>> variable that is automatically set >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160113/06d9d9c1/attachment.html From mic.niel84 at gmail.com Wed Jan 13 17:23:04 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Wed, 13 Jan 2016 15:23:04 +0100 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel Message-ID: I've got directory with subscribers containing a variable called "country_code". This variable can be used in regular dial plans and works perfectly. However, I've got a conference call dial plan where I use conference_set_auto_outcall. I'mm calling loopback/XYZ to get my other dial plans into play. Everything works, except my subscriber variable "country_code" doesn't get recognised after the loopback/. How can I fix this kind of issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/47f39e41/attachment-0001.html From bote_radio at botecomm.com Wed Jan 13 17:42:36 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 13 Jan 2016 09:42:36 -0500 Subject: [Freeswitch-users] GSMOpen restarting freeswitch on network loss (?) In-Reply-To: References: Message-ID: <00b601d14e10$a545e6c0$efd1b440$@botecomm.com> Slightly off-topic for you, but systemd has the ability to restart FreeSWITCH rather nicely as I recently discovered J That was first thought before I fully read your message. Bote From: Steven Ayre Sent: Tuesday, 12 January, 2016 15:39 Subject: Re: [Freeswitch-users] GSMOpen restarting freeswitch on network loss (?) As far as I know there's nothing in that module that would restart freeswitch. Do you have anything running that will restart freeswitch if it isn't running (eg monit or a cronjob)? If so check 'dmesg' to see if freeswitch has crashed. It's also worth looking at the start time of the freeswitch process then look for freeswitch.log entries immediately before that time to see if there's anything there that might give a clue. On 9 January 2016 at 11:29, Jude Mukundane wrote: Hello Freeswitch Users, I have come upon an issue that I need clarification on. I am using mod_gsmopen with huawei E173u-1 Modems. They work fine. I noticed though for one of the networks that are weak, every time the signal is lost, (double green blink on modem), freeswitch restarts. some thing triggers "/bin/bash /etc/init.d/freeswitch restart. Is this by design in GSM open? I was considering moving this line to a GoIP if that is the case so that Freeswitch is not made unavailable for all the other lines by one line. regards, Jude Mukundane CTO - RootIO http://rootio.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/ab359cf9/attachment.html From bote_radio at botecomm.com Wed Jan 13 18:19:02 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 13 Jan 2016 10:19:02 -0500 Subject: [Freeswitch-users] Freeswitch Version 1.6.5-11 crashes with Perl In-Reply-To: References: Message-ID: <00bb01d14e15$bc3fc2b0$34bf4810$@botecomm.com> I think you need to build mod_perl to do it the way you are trying, but you might not need to do it that way. You might be able to execute the script natively in the shell and interact with FreeSWITCH via ESL. I just learned the magic of FreeSWITCH doing it this way and it?s great! More info: https://freeswitch.org/confluence/display/FREESWITCH/mod_perl Bote From: Ali Pey Sent: Wednesday, 13 January, 2016 08:25 Subject: [Freeswitch-users] Freeswitch Version 1.6.5-11 crashes with Perl Hello, I have Freeswitch Version 1.6.5-11 on a debian server and it crashes every time I try a perl call. I have tried running freeswitch as root and has the same problem. Has anyone used perl module with 1.6.5-11. I'd like to know if it's a bug or an installation problem on my side. The error I get is: freeswitch at internal> perl test.pl Socket interrupted, bye! Thanks, Ali Pey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/d9c4dc95/attachment.html From bote_radio at botecomm.com Wed Jan 13 18:29:35 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 13 Jan 2016 10:29:35 -0500 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: References: <005401d14d60$e14e9dc0$a3ebd940$@b otecomm.com> Message-ID: <00c501d14e17$363a4da0$a2aee8e0$@botecomm.com> Oh dear! Loopback is evil and should be used sparingly and carefully. Having said that, I use loopback in my outbound conference dialplan extension to play an alert tone at the beginning of the call using tgml, then it hangs up and goes away. Nothing much to go wrong there, so it?s not very evil. Loopback tells FS to make another pass through the dialplan (loop back through the dialplan) searching for the number or string specified to loopback. If you get spurious matches, you should refine your dialplan further to match only the desired extension. As anthm is fond of saying, the XML dialplan is not a script processor, it?s a basic routing mechanism. You might have enough complexity to require a script to parse and process those outlier numbers without country code, I don?t know. That?s above my pay grade J Just saw your follow-up message. Perhaps try the ?export? app instead of the ?set? app to make sure that your custom channel variables get exported to the B-leg of the loopback app? Just a shot in the dark, but loopback does generate A- and B-legs apparently. Hope this helps. Bote From: Michael Nielsen Sent: Wednesday, 13 January, 2016 07:55 Subject: Re: [Freeswitch-users] Dial multiple users for "conference" call Hi Bote, Thank you so much for all your detailed info. That helped a lot and solved almost everything. Final question... When I use the , doesn't loopback means that it's try and dial 293234 from a matching dial plan already existing within my FreeSWITCH? The case is, that I've got a dial plan recognising expression="^(\d{3,20})$" etc. And if a number doesn't contain a valid country code I'll append it automatically according to the subscriber who initiate the calls. So my subscriber for example has a variable set country_code = +44. When I dial something it appends +44 if there is no country code. This works if I call something else than my conference dial plan, but when calling the conference dial plan and using loopback it doesn't work. Does it make sense and can you help? On Tue, Jan 12, 2016 at 6:44 PM, Bote Man wrote: Michael, I make extensive use of the FreeSWITCH outbound conference calling feature. I recently figured that I got the results that you (and I) desire with these 2 lines in the dialplan of the extension that initiates the outbound conference call: It?s not clear to me which of the many, many, many Caller*ID variables are the best to use overall, but these are the ones that send the originating extension number and name as FreeSWITCH knows them to the dialed conferees. I find that effective_caller_id_number is not always effective J Of course, you can set caller_id_* to effective_* or any other assignments as needed; experimentation yields a lot of knowledge here. Use the ?log? application liberally in your conference dialplan extension to display as many variables as you need to determine which holds the desired values, that?s how I did it. A lot of them are empty, some are default, nothing is set in stone so change and set them the way you see fit. Also, in answer to your previous query about the conferees still ringing after the originator hangs up, add the ?endconf? flag to your conference kick-off string: myconf ? the ?name? of the conference as FreeSWITCH knows it, can be pretty much anything readable, numbers, letters, literal value, variable replacement, etc. default ? the conference profile to use as configured in autoload_configs/conference.conf.xml moderator flag ? pulls in a different set of controls as specified in the config file mentioned above. Hope this helps. Bote From: Michael Nielsen Sent: Tuesday, 12 January, 2016 04:27 Subject: Re: [Freeswitch-users] Dial multiple users for "conference" call Hi Larry, As you can see from my example, I am trying to set that exact variable: But I want to set it from the effective_caller_id_number, so I can get the caller ID from the person who initiated the conference call. On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley wrote: Michael, Go back and have another look at the "mad boss" example. The variable you likely want to set in this instance is "conference_auto_outcall_caller_id_number". Basically, what Mike J was telling you is that not all variables are salient; are set by FreeSwitch; have any meaning whatsoever; in the context of certain parts of a given FreeSwitch configuration. >From the "mad boss" example: Hope that helps, Larry On Jan 11, 2016 9:02 AM, "Michael Nielsen" wrote: https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen wrote: In other dial plans I'm able to use ${effective_caller_id_number} from my directory. That means, if my subscriber 1001 are calling I can use 1001 as caller ID, so my called parties know who it is. On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris wrote: On Monday, January 11, 2016, Michael Nielsen wrote: Seems as if it has nothing to do with multiple parties speaking together, just simultaneously calling them. Back to mod_conferece and the madboss example. It seems to work, but not getting the variable from the caller: 1) If I call some numbers, and hang up before the 60 seconds timeout - the numbers keeps ringing for 60 seconds, even though I as initiator have hung up. 2) doesn't seems to be acknowledge, it shows Unknown number. What do you think effective_caller_id_number is here? this is not a variable that is automatically set -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/ef435171/attachment-0001.html From bote_radio at botecomm.com Wed Jan 13 18:29:35 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 13 Jan 2016 10:29:35 -0500 Subject: [Freeswitch-users] schedule Broadcast into a conference In-Reply-To: References: Message-ID: <00c001d14e17$35c9ffa0$a15dfee0$@botecomm.com> It might be informative to set the CLI to /log 7 for maximum debug detail and set up a test conference. My first guess is that FS can?t find your audio file due to looking in a different path, so specify an absolute path for testing to it to be sure. But if it plays for one conferee then that might not be the trouble. Then again, per https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+sched+broadcast it looks like you must append ?aleg?, ?bleg?, or ?both? to that command to tell it where the audio should be sent. You should test these to discover which one works for the conference module since it says ?bleg? really means ?the other leg? so experimentation is in order. Also, I think you need a plus sign in front of the 5 in your example to mean ?5 seconds from now?. Hope this helps. Bote From: Matt Broad Sent: Wednesday, 13 January, 2016 08:50 Subject: [Freeswitch-users] schedule Broadcast into a conference Hi, I am wondering if there is an API command that will allow me to schedule a broadcast into a conference? I have tried the following: sched_broadcast 5 UUID playback::tmp/test.wav I have tried replacing the UUID with the conference UUID and no file plays (though the broadcast shows as being scheduled). I have also tried replacing UUID with one of the caller's UUID, the file does play but only to that one caller and not all callers. many thanks Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/80f06aad/attachment.html From randomdev4 at gmail.com Wed Jan 13 19:06:22 2016 From: randomdev4 at gmail.com (Tim Smith) Date: Wed, 13 Jan 2016 16:06:22 +0000 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! Message-ID: Dear FreeSWITCH Developers, Permit me a modest rant if you may. Why do log lines start with UUID ? Its format is hard to define and subject to the developer's whims ....why not start the line with a date, like almost any other sane program, and put the UUID elsewhere ? Why on earth is the log format so inconsistent ? e.g. Sometimes developers feel like giving us a date .... 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] switch_core_state_machine.c:636 Sometimes they even manage the date in a sensible location .... 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 Other times they can't be bothered to provide such a critical piece of information..... 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ Please devs... spend a little time cleaning up the logging ... it helps debugging and troubleshooting so much if we have some consistency there !!!!! Thanks Tim From lists at telefaks.de Wed Jan 13 19:22:42 2016 From: lists at telefaks.de (Peter Steinbach) Date: Wed, 13 Jan 2016 17:22:42 +0100 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: <569679D2.7070801@telefaks.de> Hello Tim, I love having the UUID in the logs. This helps a lot during debugging a system with high call volume. Thus I can simply grep the logs by UUID and get (almost) all data for this call. Best regards Peter On 01/13/16 17:06, Tim Smith wrote: > Dear FreeSWITCH Developers, > > Permit me a modest rant if you may. > > Why do log lines start with UUID ? Its format is hard to define and > subject to the developer's whims ....why not start the line with a > date, like almost any other sane program, and put the UUID elsewhere > ? > > Why on earth is the log format so inconsistent ? e.g. > > Sometimes developers feel like giving us a date .... > > 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] > switch_core_state_machine.c:636 > > Sometimes they even manage the date in a sensible location .... > > 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 > > Other times they can't be bothered to provide such a critical piece of > information..... > > 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > > Please devs... spend a little time cleaning up the logging ... it > helps debugging and troubleshooting so much if we have some > consistency there !!!!! > > Thanks > > Tim > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From randomdev4 at gmail.com Wed Jan 13 19:28:31 2016 From: randomdev4 at gmail.com (Tim Smith) Date: Wed, 13 Jan 2016 16:28:31 +0000 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: <569679D2.7070801@telefaks.de> References: <569679D2.7070801@telefaks.de> Message-ID: Hello Peter, You've got the wrong end of the stick. Remove the UUIDs is not what I'm saying .... at all. ;-) Tim On 13 January 2016 at 16:22, Peter Steinbach wrote: > Hello Tim, > > I love having the UUID in the logs. This helps a lot during debugging a > system with high call volume. Thus I can simply grep the logs by UUID > and get (almost) all data for this call. > > Best regards > Peter > > > On 01/13/16 17:06, Tim Smith wrote: >> Dear FreeSWITCH Developers, >> >> Permit me a modest rant if you may. >> >> Why do log lines start with UUID ? Its format is hard to define and >> subject to the developer's whims ....why not start the line with a >> date, like almost any other sane program, and put the UUID elsewhere >> ? >> >> Why on earth is the log format so inconsistent ? e.g. >> >> Sometimes developers feel like giving us a date .... >> >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] >> switch_core_state_machine.c:636 >> >> Sometimes they even manage the date in a sensible location .... >> >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 >> >> Other times they can't be bothered to provide such a critical piece of >> information..... >> >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ >> >> Please devs... spend a little time cleaning up the logging ... it >> helps debugging and troubleshooting so much if we have some >> consistency there !!!!! >> >> Thanks >> >> Tim >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Wed Jan 13 19:46:43 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 13 Jan 2016 10:46:43 -0600 Subject: [Freeswitch-users] Dial multiple users for "conference" call In-Reply-To: <00c501d14e17$363a4da0$a2aee8e0$@botecomm.com> References: <005401d14d60$e14e9dc0$a3ebd940$@b otecomm.com> <00c501d14e17$363a4da0$a2aee8e0$@botecomm.com> Message-ID: <56967F73.3000008@mst.edu> What I've been told previously is that "loopback/" is problematic, and that when it's needed, should use a sofia loopback profile instead. i.e. sending call to 123456 at 127.0.0.1 -- Nathan On 01/13/2016 09:29 AM, Bote Man wrote: > Oh dear! Loopback is evil and should be used sparingly and carefully. > > Having said that, I use loopback in my outbound conference dialplan extension to play an alert tone at the beginning of > the call using tgml, then it hangs up and goes away. Nothing much to go wrong there, so it?s not very evil. > > Loopback tells FS to make another pass through the dialplan (loop back through the dialplan) searching for the number or > string specified to loopback. If you get spurious matches, you should refine your dialplan further to match only the > desired extension. > > As anthm is fond of saying, the XML dialplan is not a script processor, it?s a basic routing mechanism. You might have > enough complexity to require a script to parse and process those outlier numbers without country code, I don?t know. > That?s above my pay grade J > > Just saw your follow-up message. Perhaps try the ?export? app instead of the ?set? app to make sure that your custom > channel variables get exported to the B-leg of the loopback app? Just a shot in the dark, but loopback does generate A- > and B-legs apparently. > > Hope this helps. > > Bote > > *From:*Michael Nielsen > *Sent:* Wednesday, 13 January, 2016 07:55 > *Subject:* Re: [Freeswitch-users] Dial multiple users for "conference" call > > Hi Bote, > > Thank you so much for all your detailed info. That helped a lot and solved almost everything. > > Final question... When I use the , doesn't > loopback means that it's try and dial 293234 from a matching dial plan already existing within my FreeSWITCH? > > The case is, that I've got a dial plan recognising expression="^(\d{3,20})$" etc. > > And if a number doesn't contain a valid country code I'll append it automatically according to the subscriber who > initiate the calls. > > So my subscriber for example has a variable set country_code = +44. When I dial something it appends +44 if there is no > country code. > > This works if I call something else than my conference dial plan, but when calling the conference dial plan and using > loopback it doesn't work. > > Does it make sense and can you help? > > On Tue, Jan 12, 2016 at 6:44 PM, Bote Man > wrote: > > Michael, I make extensive use of the FreeSWITCH outbound conference calling feature. I recently figured that I got the > results that you (and I) desire with these 2 lines in the dialplan of the extension that initiates the outbound > conference call: > > > > > > It?s not clear to me which of the many, many, many Caller*ID variables are the best to use overall, but these are the > ones that send the originating extension number and name as FreeSWITCH knows them to the dialed conferees. I find that > effective_caller_id_number is not always effective J > > Of course, you can set caller_id_* to effective_* or any other assignments as needed; experimentation yields a lot of > knowledge here. Use the ?log? application liberally in your conference dialplan extension to display as many variables > as you need to determine which holds the desired values, that?s how I did it. A lot of them are empty, some are default, > nothing is set in stone so change and set them the way you see fit. > > Also, in answer to your previous query about the conferees still ringing after the originator hangs up, add the > ?endconf? flag to your conference kick-off string: > > > > myconf ? the ?name? of the conference as FreeSWITCH knows it, can be pretty much anything readable, numbers, letters, > literal value, variable replacement, etc. > > default ? the conference profile to use as configured in autoload_configs/conference.conf.xml > > moderator flag ? pulls in a different set of controls as specified in the config file mentioned above. > > Hope this helps. > > Bote > > *From:*Michael Nielsen > *Sent:* Tuesday, 12 January, 2016 04:27 > *Subject:* Re: [Freeswitch-users] Dial multiple users for "conference" call > > Hi Larry, > > As you can see from my example, I am trying to set that exact variable: > > > > But I want to set it from the effective_caller_id_number, so I can get the caller ID from the person who initiated the > conference call. > > On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley > wrote: > > Michael, > > Go back and have another look at the "mad boss" example. The variable you likely want to set in this instance is > "conference_auto_outcall_caller_id_number". > > Basically, what Mike J was telling you is that not all variables are salient; are set by FreeSwitch; have any meaning > whatsoever; in the context of certain parts of a given FreeSwitch configuration. > > From the "mad boss" example: > > > > > > > > Hope that helps, > Larry > > On Jan 11, 2016 9:02 AM, "Michael Nielsen" > wrote: > > https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables > > On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen > wrote: > > In other dial plans I'm able to use ${effective_caller_id_number} from my directory. > > That means, if my subscriber 1001 are calling I can use 1001 as caller ID, so my called parties know who it is. > > On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris > wrote: > > > > On Monday, January 11, 2016, Michael Nielsen > wrote: > > Seems as if it has nothing to do with multiple parties speaking together, just simultaneously calling them. > > Back to mod_conferece and the madboss example. It seems to work, but not getting the variable from the caller: > > 1) If I call some numbers, and hang up before the 60 seconds timeout - the numbers keeps ringing for 60 seconds, even > though I as initiator have hung up. > > 2) doesn't > seems to be acknowledge, it shows Unknown number. > > What do you think effective_caller_id_number is here? this is not a variable that is automatically set > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mike at jerris.com Wed Jan 13 19:56:32 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 13 Jan 2016 11:56:32 -0500 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: certainly open to this, adding those lines are no big deal, just send in a pr, as long as its all backwards compatible I see no issues with moving forward with this. > On Jan 13, 2016, at 3:35 AM, Sergey Safarov wrote: > > Section dialplan, chatplan, languages is not checked in current XSD edition. > If this will accepted, then i will write XSD rules > > On Wed, Jan 13, 2016 at 8:19 AM, Sergey Safarov > wrote: > I has added example of full FS config that can be validated using XSD schema to PR > Changes required in full FS config. > 1) declare namespaces xmlns="http://freeswitch.org/xsd " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " in element document > 2) Add type information for element section. XSD schema wrote using polymorphism for element section. Like xsi:type="sectionConfiguration" > 3) Symbols "&" and "<" in element and attribute values must be encoded as "&" and "<" > > Also i has commented "X-NO-PRE-PROCESS" elements - I want suggest other way to include files. > > Sergey > > > On Wed, Jan 13, 2016 at 4:40 AM, Brian West > wrote: > can the XSD validate the config in its entirety? Seems apps aren't validated and such. > > On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov > wrote: > Hello Brain > I think XSD schemas can help validate FS config files and locate error. Mode detail on README file in PR? > Also modern xml editors automatically check xml files according rules in XSD schema and suggest xml elements and display element descriptions. Example in attached file. > > > > On Thu, Dec 17, 2015 at 10:44 PM, Brian West > wrote: > https://freeswitch.org/jira/browse/FS-8609 > > Review the doc and git repo, input comments on this jira and you can even issue pull requests against the repo for the upcoming configs. > > On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene > wrote: > Hi all, > > > > I like the way Spring boot is doing all the configs: > > http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config > The idea behind it is to be opinionated out of the box, but get out of the way quickly as requirements start to diverge from the defaults. > > > > And get rid of txml. > > > > But then again, it is wish list time, isn?t it? > > > > Enjoy the holidays > > > > Christian > > > > > > Von: Tristan Mah? [mailto:t.mahe at b-and-c.net ] > Gesendet: Donnerstag, 17. Dezember 2015 19:13 > An: freeswitch-users at lists.freeswitch.org > Betreff: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs > > > > Hi Brian, > > For my configs, I'm usually trying to respect the following layout: > > conf/mods/modscategory/nameofmod > conf/core for core config > > Example: > > conf/freeswitch.xml > conf/core/vars.xml > conf/core/switch.conf.xml > conf/core/modules.conf.xml > conf/mod/dialplans/xml/internal.xml > conf/mod/endpoints/sofia/sofia.global.conf > conf/mod/endpoints/sofia/sip_profiles/internal.xml > > My 2 cents... > > Best, > > Gled. > > On 12/17/2015 06:46 AM, Brian West wrote: > > Has anyone had a chance to review the JIRA and the git repo? I've put up some samples of what I think we need to do, I really do want input on this, because once this is done, if you complain about how its done... I'm gonna sigh and say 'see this is why I asked for input'! :) > > > > Happy ! > > > > Thanks, > > > > On Tue, Dec 8, 2015 at 2:24 PM, Brian West > wrote: > > I've started jotting down some notes: > > > > https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing > > > Input anyone? > > > > On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin > wrote: > > install hipchat application to your desktop or your phone, and login to hipchat.freeswitch.org wit your jira account > > > > > On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina > wrote: > > How do I join? > > > > 2015-12-07 12:50 GMT-04:30 Ken Rice >: > > Unsubscribe instructions are linked in the footer of every email to the list. > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Paul Klenk > Sent: Monday, December 7, 2015 11:02 AM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs > > > > unsubscribe > > > > On Mon, Dec 7, 2015 at 5:57 PM, Brian West > wrote: > > FreeSWITCHers, > > > > FS-8609 is raised to get a rough outline of a completely new config sample that will be used in 1.8, So we are reaching out to the community for input and direction, I have also created a hipchat room FS-8609 on hipchat.freeswitch.org if you wish to join in. Lets start the discussion on this topic. > > > > Thanks, > > > > -- > > Brian West > brian at freeswitch.org > <~WRD000.jpg> > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > Got Bugs? Report them here ! | 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 > > > -- > > > <~WRD000.jpg> > > 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > <~WRD000.jpg> > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > Got Bugs? Report them here ! | Reddit: /r/freeswitch > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > > > > > > -- > > Brian West > brian at freeswitch.org > <~WRD000.jpg> > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > Got Bugs? Report them here ! | 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 > Got Bugs? Report them here ! | 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 > Got Bugs? Report them here ! | 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/20160113/a2f74cbf/attachment-0001.html From mike at jerris.com Wed Jan 13 19:57:12 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 13 Jan 2016 11:57:12 -0500 Subject: [Freeswitch-users] Unable to hear audio with mod_portaudio In-Reply-To: References: Message-ID: You could try the test programs in libportaudio tree to see if thats working first. > On Jan 13, 2016, at 7:05 AM, Pete Kay wrote: > > Hi, > > I tried to use mod_portaudio to bridge a local sound card/buffer to a channel, but no media is heard. > > Could someone please give me some idea what could go wrong? > > Is there any working example I can follow? > > How do I best debug this issue? > > Any help will be greatly appreciated. > > P From anthony.minessale at gmail.com Wed Jan 13 19:57:27 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 10:57:27 -0600 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: <569679D2.7070801@telefaks.de> Message-ID: Hi, Its not very nice to make demands to "the devs" like they are little elves that work for you. Have you no tact? Aren't there 100 more polite ways to get your point across? You knew you were ranting because you said so. That was your brain telling you not to press send.... If you don't like uuids, you just open logfile.conf.xml and comment out the uuid param. Anything else you don't like, submit a pull request.... On Wed, Jan 13, 2016 at 10:28 AM, Tim Smith wrote: > Hello Peter, > > You've got the wrong end of the stick. > > Remove the UUIDs is not what I'm saying .... at all. ;-) > > Tim > > On 13 January 2016 at 16:22, Peter Steinbach wrote: > > Hello Tim, > > > > I love having the UUID in the logs. This helps a lot during debugging a > > system with high call volume. Thus I can simply grep the logs by UUID > > and get (almost) all data for this call. > > > > Best regards > > Peter > > > > > > On 01/13/16 17:06, Tim Smith wrote: > >> Dear FreeSWITCH Developers, > >> > >> Permit me a modest rant if you may. > >> > >> Why do log lines start with UUID ? Its format is hard to define and > >> subject to the developer's whims ....why not start the line with a > >> date, like almost any other sane program, and put the UUID elsewhere > >> ? > >> > >> Why on earth is the log format so inconsistent ? e.g. > >> > >> Sometimes developers feel like giving us a date .... > >> > >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] > >> switch_core_state_machine.c:636 > >> > >> Sometimes they even manage the date in a sensible location .... > >> > >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 > >> > >> Other times they can't be bothered to provide such a critical piece of > >> information..... > >> > >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > >> > >> Please devs... spend a little time cleaning up the logging ... it > >> helps debugging and troubleshooting so much if we have some > >> consistency there !!!!! > >> > >> Thanks > >> > >> Tim > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 kind regards > > Peter Steinbach > > > > Telefaks Services GmbH > > mailto:lists (att) telefaks.de > > Internet: www.telefaks.de > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/73130fc7/attachment.html From mike at jerris.com Wed Jan 13 19:59:25 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 13 Jan 2016 11:59:25 -0500 Subject: [Freeswitch-users] Freeswitch Version 1.6.5-11 crashes with Perl In-Reply-To: References: Message-ID: <3C964B74-4BB3-4123-83BD-02300BE3ECD6@jerris.com> If you have a crash, please file a jira with the backtrace so we can review. > On Jan 13, 2016, at 8:24 AM, Ali Pey wrote: > > Hello, > > I have Freeswitch Version 1.6.5-11 on a debian server and it crashes every time I try a perl call. I have tried running freeswitch as root and has the same problem. > > Has anyone used perl module with 1.6.5-11. I'd like to know if it's a bug or an installation problem on my side. > > The error I get is: > > freeswitch at internal> perl test.pl > Socket interrupted, bye! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/26bdc9c8/attachment.html From alex at digitalmail.com Wed Jan 13 20:00:44 2016 From: alex at digitalmail.com (Alex Lake) Date: Wed, 13 Jan 2016 17:00:44 +0000 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: <569682B7.9080109@digitalmail.com> Ha! That is a good point. I think that also not all logs have uuids - serious errors tend not to. From vagarwal at vertical.com Wed Jan 13 00:10:22 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Tue, 12 Jan 2016 21:10:22 +0000 Subject: [Freeswitch-users] Help needed with DSS/BLF LED on phones Message-ID: <04AB0A185A23864CA9255FD38901F65D023372CD14@SCEX1.vertical.com> Hi, I am trying to configure a programmable key on my SIP phone as DSS/BLF. The intention is to use this key to pickup calls from a pickup group. I also want the LED of the key to turn red when there is an active call in the pickup group. Right now, I can pickup the call fine with the pickup group, but LED is not working at all. Anybody knows what could be the problem. I tried 3 different phones and they all behave the same. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160112/e4575d6b/attachment-0001.html From cmrienzo at gmail.com Wed Jan 13 20:12:45 2016 From: cmrienzo at gmail.com (cmrienzo at gmail.com) Date: Wed, 13 Jan 2016 12:12:45 -0500 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: <569679D2.7070801@telefaks.de> Message-ID: There is mod_graylog2 which allows you to emit json formatted structured logs to either logstash or graylog server. It would be nice if some more support could be pushed to core, but it's not a priority for me. Chris > On Jan 13, 2016, at 11:28, Tim Smith wrote: > > Hello Peter, > > You've got the wrong end of the stick. > > Remove the UUIDs is not what I'm saying .... at all. ;-) > > Tim > >> On 13 January 2016 at 16:22, Peter Steinbach wrote: >> Hello Tim, >> >> I love having the UUID in the logs. This helps a lot during debugging a >> system with high call volume. Thus I can simply grep the logs by UUID >> and get (almost) all data for this call. >> >> Best regards >> Peter >> >> >>> On 01/13/16 17:06, Tim Smith wrote: >>> Dear FreeSWITCH Developers, >>> >>> Permit me a modest rant if you may. >>> >>> Why do log lines start with UUID ? Its format is hard to define and >>> subject to the developer's whims ....why not start the line with a >>> date, like almost any other sane program, and put the UUID elsewhere >>> ? >>> >>> Why on earth is the log format so inconsistent ? e.g. >>> >>> Sometimes developers feel like giving us a date .... >>> >>> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] >>> switch_core_state_machine.c:636 >>> >>> Sometimes they even manage the date in a sensible location .... >>> >>> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 >>> >>> Other times they can't be bothered to provide such a critical piece of >>> information..... >>> >>> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ >>> >>> Please devs... spend a little time cleaning up the logging ... it >>> helps debugging and troubleshooting so much if we have some >>> consistency there !!!!! >>> >>> Thanks >>> >>> Tim >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 kind regards >> Peter Steinbach >> >> Telefaks Services GmbH >> mailto:lists (att) telefaks.de >> Internet: www.telefaks.de >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 anthony.minessale at gmail.com Wed Jan 13 20:49:11 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 11:49:11 -0600 Subject: [Freeswitch-users] schedule Broadcast into a conference In-Reply-To: <00c001d14e17$35c9ffa0$a15dfee0$@botecomm.com> References: <00c001d14e17$35c9ffa0$a15dfee0$@botecomm.com> Message-ID: sched_api +5 conference play /tmp/test.wav On Wed, Jan 13, 2016 at 9:29 AM, Bote Man wrote: > It might be informative to set the CLI to /log 7 for maximum debug detail > and set up a test conference. > > > > My first guess is that FS can?t find your audio file due to looking in a > different path, so specify an absolute path for testing to it to be sure. > But if it plays for one conferee then that might not be the trouble. > > > > Then again, per > > > https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+sched+broadcast > > > > it looks like you must append ?aleg?, ?bleg?, or ?both? to that command to > tell it where the audio should be sent. You should test these to discover > which one works for the conference module since it says ?bleg? really means > ?the other leg? so experimentation is in order. > > > > Also, I think you need a plus sign in front of the 5 in your example to > mean ?5 seconds from now?. > > > > Hope this helps. > > > > Bote > > > > > > *From:* Matt Broad > *Sent:* Wednesday, 13 January, 2016 08:50 > *Subject:* [Freeswitch-users] schedule Broadcast into a conference > > > > Hi, > > > > > > I am wondering if there is an API command that will allow me to schedule a > broadcast into a conference? > > > > I have tried the following: > > sched_broadcast 5 UUID playback::tmp/test.wav > > > > I have tried replacing the UUID with the conference UUID and no file plays > (though the broadcast shows as being scheduled). > > I have also tried replacing UUID with one of the caller's UUID, the file > does play but only to that one caller and not all callers. > > > > > > > > many thanks > > Matt > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/388ce73d/attachment.html From anthony.minessale at gmail.com Wed Jan 13 20:51:59 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 11:51:59 -0600 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: Message-ID: set loopback_export to the names of all of the variables you want to copy across sep buy a , (comma) On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen wrote: > I've got directory with subscribers containing a variable called > "country_code". > This variable can be used in regular dial plans and works perfectly. > > However, I've got a conference call dial plan where I > use conference_set_auto_outcall. > I'mm calling loopback/XYZ to get my other dial plans into play. > > Everything works, except my subscriber variable "country_code" doesn't get > recognised after the loopback/. > > How can I fix this kind of issue? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/1d2056f0/attachment.html From anthony.minessale at gmail.com Wed Jan 13 20:56:12 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 11:56:12 -0600 Subject: [Freeswitch-users] switch.conf.xml sessions-per-second issue In-Reply-To: References: <6f92bf7e244e4ed3a39e38fac16e2e0f@CM-EX-V01.cm.local> <569457B0.5010800@evaristesys.com> <1f7115a0b1fe4a5d9838b0fb93e96283@CM-EX-V01.cm.local> Message-ID: All calls beyond the configured max sps will receive a 503. For each 1 second period you can have up to 10 calls. If you are sending 20 cps, 10 of them more or less depending on timing will receive 503 and at least 10 will succeed. There is no way to change it other than hacking code. On Tue, Jan 12, 2016 at 10:02 AM, Michael Jerris wrote: > > > On Jan 12, 2016, at 2:55 AM, Grant Bagdasarian wrote: > > > > Hello Alex, > > > > Yes, I need FS to always send a reply when it starts rate-limiting and > rejecting calls. > > How do I change the algorithm used for rejecting calls during > rate-limiting? > > > > Change it to what? A reply should already be sent. > > > > Regards, > > > > Grant > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Alex Balashov > > Sent: Tuesday, January 12, 2016 2:33 AM > > To: freeswitch-users at lists.freeswitch.org > > Subject: Re: [Freeswitch-users] switch.conf.xml sessions-per-second issue > > > > Hello, > > > > On 01/11/2016 09:04 AM, Grant Bagdasarian wrote: > > > >> Does FS always reply with a 503 Maximum Calls In Progress regardless > >> of the amount of calls attempts? > > > > What do you mean by "always"? That's rather confusing in light of your > next question: > > > >> So if the sessions-per-second is 10 and I generate 20 CPS, the > >> remaining > >> 10 will get a 503? > >> > >> Does this also apply to an higher number of attempts? > > > > If you generate 20 CPS and Freeswitch uses a "taildrop"-style algorithm > to reject the "remaining" 10, that's certainly not "always". > > > > What is the actual question being asked here? It sounds like it's about > the algorithm Freeswitch uses to determine which calls to reject once a > rate limit is reached? > > > > -- Alex > > > > -- > > 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/a547aceb/attachment-0001.html From asilva at wirelessmundi.com Wed Jan 13 21:00:29 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Wed, 13 Jan 2016 19:00:29 +0100 Subject: [Freeswitch-users] Intercept a call from a fifo Message-ID: <569690BD.10708@wirelessmundi.com> Hi all, is it possible to intercept a channel from a fifo with the intercept command? scenario: a ----> fifo (with fifo calling ---> B) c -- dial to trigger the command intercept -b uuid of B It fails with "switch_ivr_bridge.c:1915 no uuid bridged to uuid of B" forget to say, it work if the call (fifo -> B) is answered.. Could it be possible now... in 2010 wasn't possible... http://freeswitch-users.2379917.n2.nabble.com/intercept-in-fifo-queue-td4739579.html -- Saludos / Regards / Cumprimentos, Ant?nio silva From mike at jerris.com Wed Jan 13 21:05:52 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 13 Jan 2016 13:05:52 -0500 Subject: [Freeswitch-users] Intercept a call from a fifo In-Reply-To: <569690BD.10708@wirelessmundi.com> References: <569690BD.10708@wirelessmundi.com> Message-ID: in mod_fifo, the agent is called by mod_fifo before it is bridged to the a leg, therefore if you are trying to grab that a-leg while that b-leg is ringing, you will need to do so using the a-leg uuid, there is no connection to the b-leg until after the b-leg answers. > On Jan 13, 2016, at 1:00 PM, Antonio Silva wrote: > > Hi all, > > is it possible to intercept a channel from a fifo with the intercept > command? > > scenario: > a ----> fifo (with fifo calling ---> B) > c -- dial to trigger the command intercept -b uuid of B > It fails with "switch_ivr_bridge.c:1915 no uuid bridged to uuid of B" > forget to say, it work if the call (fifo -> B) is answered.. > > > Could it be possible now... in 2010 wasn't possible... > http://freeswitch-users.2379917.n2.nabble.com/intercept-in-fifo-queue-td4739579.html > > > > -- > > Saludos / Regards / Cumprimentos, > Ant?nio silva > From anthony.minessale at gmail.com Wed Jan 13 21:22:13 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 12:22:13 -0600 Subject: [Freeswitch-users] Intercept a call from a fifo In-Reply-To: References: <569690BD.10708@wirelessmundi.com> Message-ID: Why do you want to intercept the agent anyway, won't that hangup on the customer? On Wed, Jan 13, 2016 at 12:05 PM, Michael Jerris wrote: > in mod_fifo, the agent is called by mod_fifo before it is bridged to the a > leg, therefore if you are trying to grab that a-leg while that b-leg is > ringing, you will need to do so using the a-leg uuid, there is no > connection to the b-leg until after the b-leg answers. > > > > On Jan 13, 2016, at 1:00 PM, Antonio Silva > wrote: > > > > Hi all, > > > > is it possible to intercept a channel from a fifo with the intercept > > command? > > > > scenario: > > a ----> fifo (with fifo calling ---> B) > > c -- dial to trigger the command intercept -b uuid of B > > It fails with "switch_ivr_bridge.c:1915 no uuid bridged to uuid of B" > > forget to say, it work if the call (fifo -> B) is answered.. > > > > > > Could it be possible now... in 2010 wasn't possible... > > > http://freeswitch-users.2379917.n2.nabble.com/intercept-in-fifo-queue-td4739579.html > > > > > > > > -- > > > > Saludos / Regards / Cumprimentos, > > Ant?nio 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 > -- 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/20160113/5e970637/attachment.html From spencer at whiteskycommunications.com Wed Jan 13 22:24:49 2016 From: spencer at whiteskycommunications.com (Spencer Thomason) Date: Wed, 13 Jan 2016 19:24:49 +0000 Subject: [Freeswitch-users] Translate 415 response to 488 across bridge Message-ID: <06A24DAA-E9E0-4BE5-A934-450CB4EBE212@whiteskycommunications.com> Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh. If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=?SERVICE_NOT_IMPLEMENTED? but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I?ll create a PR. Thanks! Spencer From anthony.minessale at gmail.com Wed Jan 13 22:36:16 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 13:36:16 -0600 Subject: [Freeswitch-users] Translate 415 response to 488 across bridge In-Reply-To: <06A24DAA-E9E0-4BE5-A934-450CB4EBE212@whiteskycommunications.com> References: <06A24DAA-E9E0-4BE5-A934-450CB4EBE212@whiteskycommunications.com> Message-ID: You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS. On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason < spencer at whiteskycommunications.com> wrote: > Hello, > We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, > ugh. > > If the UA sends a 415, freeswitch send a BYE with a Reason: > Q.850;cause=79;text=?SERVICE_NOT_IMPLEMENTED? but if the UA sends a 488, > the 488 is passed across the bridge and the T38 ReINVITE is successfully > rejected and the call continues normally. Is there a way I can get > Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If > its not currently implemented, can anyone provide some hints and I?ll > create a PR. > > Thanks! > Spencer > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/9ce5bd31/attachment.html From asilva at wirelessmundi.com Wed Jan 13 23:24:20 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Wed, 13 Jan 2016 21:24:20 +0100 Subject: [Freeswitch-users] Intercept a call from a fifo In-Reply-To: References: <569690BD.10708@wirelessmundi.com> Message-ID: <5696B274.5080909@wirelessmundi.com> I'm my setup i have analog phones (using atas) and IP phones, to be able to have call waiting in the analog phones i put a fifo for each account connected to the ata. So a call going to an ata extension is always from a "self" fifo. The problem is that, in the office extensions can capture/intercept each other, when the person on that desk is out, by pressing **+extension, answering the call (even if is just to say that the person is out... ), this works for ip phones, but it fails when the ringing phone is the analog extension because of the fifo. Mike: you give me one idea, i could could uuid_bridge the uuid (a-leg) from the caller in the fifo to the channel uuid trying to execute the intercept. I guess once i done this the calls gets hangup in the fifo and the b-leg (agent) channel should hangup as well. i'm think of something like: uuid_bridge I will try to do test this tomorrow. i post here the results. Thanks, Ant?nio On 01/13/2016 07:22 PM, Anthony Minessale wrote: > Why do you want to intercept the agent anyway, won't that hangup on > the customer? > > > On Wed, Jan 13, 2016 at 12:05 PM, Michael Jerris > wrote: > > in mod_fifo, the agent is called by mod_fifo before it is bridged > to the a leg, therefore if you are trying to grab that a-leg while > that b-leg is ringing, you will need to do so using the a-leg > uuid, there is no connection to the b-leg until after the b-leg > answers. > > > > On Jan 13, 2016, at 1:00 PM, Antonio Silva > > wrote: > > > > Hi all, > > > > is it possible to intercept a channel from a fifo with the intercept > > command? > > > > scenario: > > a ----> fifo (with fifo calling ---> B) > > c -- dial to trigger the command intercept -b uuid of B > > It fails with "switch_ivr_bridge.c:1915 no uuid bridged to uuid > of B" > > forget to say, it work if the call (fifo -> B) is answered.. > > > > > > Could it be possible now... in 2010 wasn't possible... > > > http://freeswitch-users.2379917.n2.nabble.com/intercept-in-fifo-queue-td4739579.html > > > > > > > > -- > > > > Saludos / Regards / Cumprimentos, > > Ant?nio 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 > > > > > -- > 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/8cb34354/attachment-0001.html From moshe3t at gmail.com Thu Jan 14 01:07:39 2016 From: moshe3t at gmail.com (Moshe BT) Date: Wed, 13 Jan 2016 17:07:39 -0500 Subject: [Freeswitch-users] Help needed with DSS/BLF LED on phones In-Reply-To: <04AB0A185A23864CA9255FD38901F65D023372CD14@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D023372CD14@SCEX1.vertical.com> Message-ID: The issue seems to be that the ring group is not something you can subscribe to, as it is not a acting as a user, i dont have a solution as im not sure how the ring group is setup. but you can look in this direction. On Tue, Jan 12, 2016 at 4:10 PM, Varsha Agarwal wrote: > Hi, > > > > I am trying to configure a programmable key on my SIP phone as DSS/BLF. > The intention is to use this key to pickup calls from a pickup group. I > also want the LED of the key to turn red when there is an active call in > the pickup group. Right now, I can pickup the call fine with the pickup > group, but LED is not working at all. Anybody knows what could be the > problem. I tried 3 different phones and they all behave the same. > > > > Thanks, > > Varsha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/db26583b/attachment.html From frederic.luart at gmail.com Thu Jan 14 01:21:57 2016 From: frederic.luart at gmail.com (=?UTF-8?B?RnLDqWTDqXJpYyBMVUFSVA==?=) Date: Wed, 13 Jan 2016 23:21:57 +0100 Subject: [Freeswitch-users] H264 not added in 200OK Message-ID: Hello, I am trying to establish a video call from a linPhone to a Polycom device. Polycom is configured as an external gateway device on my Freeswitch. I have tried several tests and I have added the H264 configuration in file modules.conf.xml : and also in vars.xml: I am now able to establish the call from linphone to Polycom but only audio is established. I have looked at SIP trace with wireshark and the 200OK that is send back from Freeswitch to LinPhone has only VP8 in the SDP. Linphone -----> Invite (VP8, H264) -----> Freeswitch -----> Invite (VP8, H264) -----> Polycom <----- 200OK (VP8) <----- <----- 200OK (H264) <---- I have tried different configuration without success. Do you have an idea of what may be missing to have H264 in the 200OK instead of VP8 ? Or is there another solution ? Thanks in advance for your help Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/f2d06a4e/attachment.html From anthony.minessale at gmail.com Thu Jan 14 01:39:49 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 16:39:49 -0600 Subject: [Freeswitch-users] H264 not added in 200OK In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation Look at late negotiation and inherit_codec params. On Wed, Jan 13, 2016 at 4:21 PM, Fr?d?ric LUART wrote: > Hello, > > I am trying to establish a video call from a linPhone to a Polycom device. > Polycom is configured as an external gateway device on my Freeswitch. > > I have tried several tests and I have added the H264 configuration in file > modules.conf.xml : > > and also in vars.xml: > data="global_codec_prefs=OPUS,G722,PCMU,PCMA,H264,VP8"/> > data="outbound_codec_prefs=OPUS,G722,PCMU,PCMA,H264,VP8"/> > > I am now able to establish the call from linphone to Polycom but only > audio is established. I have looked at SIP trace with wireshark and the > 200OK that is send back from Freeswitch to LinPhone has only VP8 in the SDP. > > Linphone -----> Invite (VP8, H264) -----> Freeswitch -----> Invite (VP8, > H264) -----> Polycom > <----- 200OK (VP8) <----- > <----- 200OK (H264) <---- > > I have tried different configuration without success. Do you have an idea > of what may be missing to have H264 in the 200OK instead of VP8 ? > Or is there another solution ? > > Thanks in advance for your help > > Fred > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/9971b014/attachment.html From spencer at whiteskycommunications.com Thu Jan 14 01:50:34 2016 From: spencer at whiteskycommunications.com (Spencer Thomason) Date: Wed, 13 Jan 2016 22:50:34 +0000 Subject: [Freeswitch-users] Translate 415 response to 488 across bridge In-Reply-To: References: <06A24DAA-E9E0-4BE5-A934-450CB4EBE212@whiteskycommunications.com> Message-ID: Hi Anthony, Thanks for the response. So maybe a profile flag that if set, maps a 415 to 488 in sofia_handle_sip_r_invite()? But is a profile flag actually needed? It seems if a UA responds to a ReINVITE with a 415 Unsupported Media Type response, the permissive way to handle it would be to treat it the same as a 488. Thanks for your input. Regards, Spencer On Jan 13, 2016, at 11:36 AM, Anthony Minessale > wrote: You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS. On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason > wrote: Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh. If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=?SERVICE_NOT_IMPLEMENTED? but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I?ll create a PR. Thanks! Spencer _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160113/c20e5757/attachment-0001.html From anthony.minessale at gmail.com Thu Jan 14 02:20:08 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 13 Jan 2016 17:20:08 -0600 Subject: [Freeswitch-users] Translate 415 response to 488 across bridge In-Reply-To: References: <06A24DAA-E9E0-4BE5-A934-450CB4EBE212@whiteskycommunications.com> Message-ID: That depends on how it actually handles it. You would need to get a full debug traces of both situations and maybe put it in a jira sofia global siptrace on sofia tracelevel alert sofia loglevel all 9 console loglevel debug On Wed, Jan 13, 2016 at 4:50 PM, Spencer Thomason < spencer at whiteskycommunications.com> wrote: > Hi Anthony, > Thanks for the response. So maybe a profile flag that if set, maps a 415 > to 488 in sofia_handle_sip_r_invite()? But is a profile flag actually > needed? It seems if a UA responds to a ReINVITE with a 415 Unsupported > Media Type response, the permissive way to handle it would be to treat it > the same as a 488. > > Thanks for your input. > > Regards, > Spencer > > > On Jan 13, 2016, at 11:36 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > You can either make a specific hack for this problem and wrap it in a > param. Make some kind of feature to translate supplied code X with code Y > or use a SIP proxy in front so you don't have to hack on FS. > > On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason < > spencer at whiteskycommunications.com> wrote: > >> Hello, >> We have a few UAs which reject a T38 ReINVITE with a 415 instead of a >> 488, ugh. >> >> If the UA sends a 415, freeswitch send a BYE with a Reason: >> Q.850;cause=79;text=?SERVICE_NOT_IMPLEMENTED? but if the UA sends a 488, >> the 488 is passed across the bridge and the T38 ReINVITE is successfully >> rejected and the call continues normally. Is there a way I can get >> Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If >> its not currently implemented, can anyone provide some hints and I?ll >> create a PR. >> >> Thanks! >> Spencer >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160113/1a14147c/attachment.html From spencer at whiteskycommunications.com Thu Jan 14 02:31:37 2016 From: spencer at whiteskycommunications.com (Spencer Thomason) Date: Wed, 13 Jan 2016 23:31:37 +0000 Subject: [Freeswitch-users] Translate 415 response to 488 across bridge In-Reply-To: References: <06A24DAA-E9E0-4BE5-A934-450CB4EBE212@whiteskycommunications.com> Message-ID: <76614822-577B-44E6-AE8D-537C969327B6@whiteskycommunications.com> I will create a jira. Unfortunately I?ve only seen this on our production boxes and the UACs (Allworx) in question are operated by customers. I can collect signaling traces and try to reproduce this. Thanks, Spencer On Jan 13, 2016, at 3:20 PM, Anthony Minessale > wrote: That depends on how it actually handles it. You would need to get a full debug traces of both situations and maybe put it in a jira sofia global siptrace on sofia tracelevel alert sofia loglevel all 9 console loglevel debug On Wed, Jan 13, 2016 at 4:50 PM, Spencer Thomason > wrote: Hi Anthony, Thanks for the response. So maybe a profile flag that if set, maps a 415 to 488 in sofia_handle_sip_r_invite()? But is a profile flag actually needed? It seems if a UA responds to a ReINVITE with a 415 Unsupported Media Type response, the permissive way to handle it would be to treat it the same as a 488. Thanks for your input. Regards, Spencer On Jan 13, 2016, at 11:36 AM, Anthony Minessale > wrote: You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS. On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason > wrote: Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh. If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=?SERVICE_NOT_IMPLEMENTED? but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I?ll create a PR. Thanks! Spencer _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160113/369c4d0a/attachment-0001.html From colton.conor at gmail.com Thu Jan 14 03:10:29 2016 From: colton.conor at gmail.com (Colton Conor) Date: Wed, 13 Jan 2016 18:10:29 -0600 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: Which XML editors are the best (for Windows)? Which can validate XSD schemas as suggested? On Tue, Jan 12, 2016 at 3:31 PM, Sergey Safarov wrote: > Hello Brain > I think XSD schemas can help validate FS config files and locate error. > Mode detail on README file in PR > > Also modern xml editors automatically check xml files according rules in > XSD schema and suggest xml elements and display element descriptions. > Example in attached file. > > [image: Inline image 1] > > On Thu, Dec 17, 2015 at 10:44 PM, Brian West wrote: > >> https://freeswitch.org/jira/browse/FS-8609 >> >> Review the doc and git repo, input comments on this jira and you can even >> issue pull requests against the repo for the upcoming configs. >> >> On Thu, Dec 17, 2015 at 12:35 PM, Christian Hoene < >> christian.hoene at symonics.com> wrote: >> >>> Hi all, >>> >>> >>> >>> I like the way Spring boot is doing all the configs: >>> >>> >>> http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config >>> >>> The idea behind it is to be opinionated out of the box, but get out of >>> the way quickly as requirements start to diverge from the defaults. >>> >>> >>> >>> And get rid of txml. >>> >>> >>> >>> But then again, it is wish list time, isn?t it? >>> >>> >>> >>> Enjoy the holidays >>> >>> >>> >>> Christian >>> >>> >>> >>> >>> >>> *Von:* Tristan Mah? [mailto:t.mahe at b-and-c.net] >>> *Gesendet:* Donnerstag, 17. Dezember 2015 19:13 >>> *An:* freeswitch-users at lists.freeswitch.org >>> *Betreff:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>> >>> >>> >>> Hi Brian, >>> >>> For my configs, I'm usually trying to respect the following layout: >>> >>> conf/mods/modscategory/nameofmod >>> conf/core for core config >>> >>> Example: >>> >>> conf/freeswitch.xml >>> conf/core/vars.xml >>> conf/core/switch.conf.xml >>> conf/core/modules.conf.xml >>> conf/mod/dialplans/xml/internal.xml >>> conf/mod/endpoints/sofia/sofia.global.conf >>> conf/mod/endpoints/sofia/sip_profiles/internal.xml >>> >>> My 2 cents... >>> >>> Best, >>> >>> Gled. >>> >>> On 12/17/2015 06:46 AM, Brian West wrote: >>> >>> Has anyone had a chance to review the JIRA and the git repo? I've put >>> up some samples of what I think we need to do, I really do want input on >>> this, because once this is done, if you complain about how its done... I'm >>> gonna sigh and say 'see this is why I asked for input'! :) >>> >>> >>> >>> Happy ! >>> >>> >>> >>> Thanks, >>> >>> >>> >>> On Tue, Dec 8, 2015 at 2:24 PM, Brian West wrote: >>> >>> I've started jotting down some notes: >>> >>> >>> >>> >>> https://docs.google.com/document/d/1Y7IN7wXU28Eu3T4DUDvIwI8O77V2PW5oT-V-7GYPNN8/edit?usp=sharing >>> >>> >>> >>> Input anyone? >>> >>> >>> >>> On Tue, Dec 8, 2015 at 8:02 AM, Stanislav Sinyagin >>> wrote: >>> >>> install hipchat application to your desktop or your phone, and login to >>> hipchat.freeswitch.org wit your jira account >>> >>> >>> >>> On Tue, Dec 8, 2015 at 2:34 PM, Victor Medina < >>> victor.medina at cibersys.com> wrote: >>> >>> How do I join? >>> >>> >>> >>> 2015-12-07 12:50 GMT-04:30 Ken Rice : >>> >>> Unsubscribe instructions are linked in the footer of every email to the >>> list. >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Paul Klenk >>> *Sent:* Monday, December 7, 2015 11:02 AM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >>> >>> >>> >>> unsubscribe >>> >>> >>> >>> On Mon, Dec 7, 2015 at 5:57 PM, Brian West wrote: >>> >>> FreeSWITCHers, >>> >>> >>> >>> FS-8609 is raised to get a rough outline of a completely new config >>> sample that will be used in 1.8, So we are reaching out to the community >>> for input and direction, I have also created a hipchat room FS-8609 on >>> hipchat.freeswitch.org if you wish to join in. Lets start the >>> discussion on this topic. >>> >>> >>> >>> Thanks, >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | 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 >>> >>> >>> >>> -- >>> >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> 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 >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> [image: Das Bild wurde vom Absender entfernt.] >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com >>> http://www.freeswitchcookbook.com >>> >>> Got Bugs? Report them here ! | 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 >> >> Got Bugs? Report them here ! | 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/20160113/dbfc3217/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/dbfc3217/attachment-0001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_editor_suggester_example.png Type: image/png Size: 81894 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/dbfc3217/attachment-0001.png From bote_radio at botecomm.com Thu Jan 14 05:07:51 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 13 Jan 2016 21:07:51 -0500 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> Message-ID: <01f601d14e70$600d8ee0$2028aca0$@botecomm.com> MicroSoft offers the free (!!) XML Notepad dated 2007 that apparently can open .XSD files. I have no idea how well it works for validating .XSD schema, but I can say that I have used it to locate errors in regular .XML files, so there?s that. For free it can?t hurt to try it out. Bote From: Colton Conor Sent: Wednesday, 13 January, 2016 19:10 Subject: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs Which XML editors are the best (for Windows)? Which can validate XSD schemas as suggested? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/95610d14/attachment.html From moises.silva at gmail.com Thu Jan 14 10:05:44 2016 From: moises.silva at gmail.com (Moises Silva) Date: Thu, 14 Jan 2016 02:05:44 -0500 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: > > Why do log lines start with UUID ? Its format is hard to define and > subject to the developer's whims ....why not start the line with a > date, like almost any other sane program, and put the UUID elsewhere > ? > If you don't like the uuid at the front, just remove it from the logfile.conf.xml configuration You've clearly not attempted to debug complex scenarios, where the uuid at the front is more useful, because when you have hundreds or thousands of calls and you are trying to figure out what happened with a particular call leg, you search for the uuid first, date second. The format you despise, is terribly useful, so try to understand it rather than just hate it because is different to what you're used to. > Why on earth is the log format so inconsistent ? e.g. > > Sometimes developers feel like giving us a date .... > > 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] > switch_core_state_machine.c:636 > > Sometimes they even manage the date in a sensible location .... > > 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 > > Other times they can't be bothered to provide such a critical piece of > information..... > > 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > This is by design, not a whim, and many of us like it, makes routing logs easy to spot. Some people instead of calling these design decisions whims, actually provided a solution so it fits what they prefer: https://freeswitch.org/jira/browse/FS-6805 https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview So you can add this to switch.conf.xml: And you get the behavior you want. Please spend the time learning the software rather than blaming the devs because you can't understand it or because they have preferences different than yours. Please devs... spend a little time cleaning up the logging ... it > helps debugging and troubleshooting so much if we have some > consistency there !!!!! > Consistency is good, but certain functionality cannot be provided if every single line has exactly the same format. Some log lines are not associated to a session, so they can't have a uuid at all. The FreeSWITCH logs are as consistent as is possible in a given context. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160114/d5c67b77/attachment.html From matt at supportedbusiness.com Thu Jan 14 12:11:56 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Thu, 14 Jan 2016 09:11:56 +0000 Subject: [Freeswitch-users] schedule Broadcast into a conference In-Reply-To: References: <00c001d14e17$35c9ffa0$a15dfee0$@botecomm.com> Message-ID: Hi Bote & Anthony, thanks for your suggestions. Bote, the file location is fine as when I add one of the caller's UUID to the sched_broadcast the file plays (though only to that caller). The + is not needed as the file should be repeated every x seconds during the call (5 is just an example). I guess I was clutching at straws that the sched_broadcast would work in the same way with conferences as it does with individual channels :) Anthony, funnily enough, I have just stumbled across sched_api and have managed to get that to work in the same way you suggest. Though are you able to suggest a way of cancelling the api execute when the conference is ended? I would like to have the file play every 3 minutes, which can be achieved by using sched_api 180 conference testconf /tmp/test.wav. This works fine all the time the conference is live, but when all parties leave (or in my case the user with the endconf flag leaves) the api is still trying to execute, and obviously fails. thanks again thanks Matt On 13 January 2016 at 17:49, Anthony Minessale wrote: > sched_api +5 conference play /tmp/test.wav > > > On Wed, Jan 13, 2016 at 9:29 AM, Bote Man wrote: > >> It might be informative to set the CLI to /log 7 for maximum debug detail >> and set up a test conference. >> >> >> >> My first guess is that FS can?t find your audio file due to looking in a >> different path, so specify an absolute path for testing to it to be sure. >> But if it plays for one conferee then that might not be the trouble. >> >> >> >> Then again, per >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+sched+broadcast >> >> >> >> it looks like you must append ?aleg?, ?bleg?, or ?both? to that command >> to tell it where the audio should be sent. You should test these to >> discover which one works for the conference module since it says ?bleg? >> really means ?the other leg? so experimentation is in order. >> >> >> >> Also, I think you need a plus sign in front of the 5 in your example to >> mean ?5 seconds from now?. >> >> >> >> Hope this helps. >> >> >> >> Bote >> >> >> >> >> >> *From:* Matt Broad >> *Sent:* Wednesday, 13 January, 2016 08:50 >> *Subject:* [Freeswitch-users] schedule Broadcast into a conference >> >> >> >> Hi, >> >> >> >> >> >> I am wondering if there is an API command that will allow me to schedule >> a broadcast into a conference? >> >> >> >> I have tried the following: >> >> sched_broadcast 5 UUID playback::tmp/test.wav >> >> >> >> I have tried replacing the UUID with the conference UUID and no file >> plays (though the broadcast shows as being scheduled). >> >> I have also tried replacing UUID with one of the caller's UUID, the file >> does play but only to that one caller and not all callers. >> >> >> >> >> >> >> >> many thanks >> >> Matt >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160114/0cdb4be5/attachment-0001.html From matt at supportedbusiness.com Thu Jan 14 12:33:43 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Thu, 14 Jan 2016 09:33:43 +0000 Subject: [Freeswitch-users] schedule Broadcast into a conference In-Reply-To: References: <00c001d14e17$35c9ffa0$a15dfee0$@botecomm.com> Message-ID: please ignore my last question Anthony, on looking again I realise that the sched_api accepts a UUID that will remove the sched_api when that channel hangsup :) thanks Matt On 14 January 2016 at 09:11, Matt Broad wrote: > Hi Bote & Anthony, > > thanks for your suggestions. > > Bote, the file location is fine as when I add one of the caller's UUID to > the sched_broadcast the file plays (though only to that caller). The + is > not needed as the file should be repeated every x seconds during the call > (5 is just an example). I guess I was clutching at straws that the > sched_broadcast would work in the same way with conferences as it does with > individual channels :) > > Anthony, > funnily enough, I have just stumbled across sched_api and have managed to > get that to work in the same way you suggest. Though are you able to > suggest a way of cancelling the api execute when the conference is ended? > > I would like to have the file play every 3 minutes, which can be achieved > by using sched_api 180 conference testconf /tmp/test.wav. > This works fine all the time the conference is live, but when all parties > leave (or in my case the user with the endconf flag leaves) the api is > still trying to execute, and obviously fails. > > thanks again > > thanks > Matt > > On 13 January 2016 at 17:49, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> sched_api +5 conference play /tmp/test.wav >> >> >> On Wed, Jan 13, 2016 at 9:29 AM, Bote Man >> wrote: >> >>> It might be informative to set the CLI to /log 7 for maximum debug >>> detail and set up a test conference. >>> >>> >>> >>> My first guess is that FS can?t find your audio file due to looking in a >>> different path, so specify an absolute path for testing to it to be sure. >>> But if it plays for one conferee then that might not be the trouble. >>> >>> >>> >>> Then again, per >>> >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+sched+broadcast >>> >>> >>> >>> it looks like you must append ?aleg?, ?bleg?, or ?both? to that command >>> to tell it where the audio should be sent. You should test these to >>> discover which one works for the conference module since it says ?bleg? >>> really means ?the other leg? so experimentation is in order. >>> >>> >>> >>> Also, I think you need a plus sign in front of the 5 in your example to >>> mean ?5 seconds from now?. >>> >>> >>> >>> Hope this helps. >>> >>> >>> >>> Bote >>> >>> >>> >>> >>> >>> *From:* Matt Broad >>> *Sent:* Wednesday, 13 January, 2016 08:50 >>> *Subject:* [Freeswitch-users] schedule Broadcast into a conference >>> >>> >>> >>> Hi, >>> >>> >>> >>> >>> >>> I am wondering if there is an API command that will allow me to schedule >>> a broadcast into a conference? >>> >>> >>> >>> I have tried the following: >>> >>> sched_broadcast 5 UUID playback::tmp/test.wav >>> >>> >>> >>> I have tried replacing the UUID with the conference UUID and no file >>> plays (though the broadcast shows as being scheduled). >>> >>> I have also tried replacing UUID with one of the caller's UUID, the file >>> does play but only to that one caller and not all callers. >>> >>> >>> >>> >>> >>> >>> >>> many thanks >>> >>> Matt >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160114/ba599bf0/attachment.html From asilva at wirelessmundi.com Thu Jan 14 13:34:11 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 14 Jan 2016 11:34:11 +0100 Subject: [Freeswitch-users] Intercept a call from a fifo In-Reply-To: <5696B274.5080909@wirelessmundi.com> References: <569690BD.10708@wirelessmundi.com> <5696B274.5080909@wirelessmundi.com> Message-ID: <569779A3.7020708@wirelessmundi.com> Hi, Just an update... it work!! :) Thanks for the tip. If it help others, my solution was: Dialplan action: Lua script: intercept_uuid = argv[1] or nil if (intercept_uuid == nil) then cm.error("Missing uuid to intercept") return end fifo_bridge_uuid = api:execute("uuid_getvar", intercept_uuid .. " fifo_bridge_uuid") or "_undef_" fifo_status = api:execute("uuid_getvar", intercept_uuid .. " fifo_status") or "_undef_" -- TALKING when the call is answered if (fifo_bridge_uuid ~= "_undef_" and fifo_status == "_undef_") then myuuid = session:get_uuid() -- fifo intercept / bridge uuids (caller / extension trying to intercep) api:execute("uuid_bridge", myuuid .. " " .. fifo_bridge_uuid) else -- normal intercept session:execute("intercept", "-bleg " .. intercept_uuid) end On 01/13/2016 09:24 PM, Antonio Silva wrote: > I'm my setup i have analog phones (using atas) and IP phones, to be > able to have call waiting in the analog phones i put a fifo for each > account connected to the ata. So a call going to an ata extension is > always from a "self" fifo. > > > The problem is that, in the office extensions can capture/intercept > each other, when the person on that desk is out, by pressing > **+extension, answering the call (even if is just to say that the > person is out... ), this works for ip phones, but it fails when the > ringing phone is the analog extension because of the fifo. > > > Mike: > you give me one idea, i could could uuid_bridge the uuid (a-leg) > from the caller in the fifo to the channel uuid trying to execute the > intercept. I guess once i done this the calls gets hangup in the fifo > and the b-leg (agent) channel should hangup as well. > > i'm think of something like: uuid_bridge > > I will try to do test this tomorrow. i post here the results. > > > > Thanks, > Ant?nio > > > On 01/13/2016 07:22 PM, Anthony Minessale wrote: >> Why do you want to intercept the agent anyway, won't that hangup on >> the customer? >> >> >> On Wed, Jan 13, 2016 at 12:05 PM, Michael Jerris > > wrote: >> >> in mod_fifo, the agent is called by mod_fifo before it is bridged >> to the a leg, therefore if you are trying to grab that a-leg >> while that b-leg is ringing, you will need to do so using the >> a-leg uuid, there is no connection to the b-leg until after the >> b-leg answers. >> >> >> > On Jan 13, 2016, at 1:00 PM, Antonio Silva >> wrote: >> > >> > Hi all, >> > >> > is it possible to intercept a channel from a fifo with the >> intercept >> > command? >> > >> > scenario: >> > a ----> fifo (with fifo calling ---> B) >> > c -- dial to trigger the command intercept -b uuid of B >> > It fails with "switch_ivr_bridge.c:1915 no uuid bridged to uuid >> of B" >> > forget to say, it work if the call (fifo -> B) is answered.. >> > >> > >> > Could it be possible now... in 2010 wasn't possible... >> > >> http://freeswitch-users.2379917.n2.nabble.com/intercept-in-fifo-queue-td4739579.html >> > >> > >> > >> > -- >> > >> > Saludos / Regards / Cumprimentos, >> > Ant?nio 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 >> >> >> >> >> -- >> 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 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160114/60deb516/attachment-0001.html From lists at kavun.ch Thu Jan 14 13:52:27 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 11:52:27 +0100 Subject: [Freeswitch-users] Freeswitch "Cluster" In-Reply-To: References: Message-ID: <33361DF7-44D3-46AD-AB49-D2C6B8A8F412@kavun.ch> This is an interesting concept that I tried to implement myself. It would be fabulous to have FS boxes acting like nodes that accept client registrations with shared configs. This would be step number 1. Step number 2 would be to create an intra FreeSWITCH routing that calculates best routes based on geographical location. This isn?t truly necessary if you can only reach the client through the FS box it?s been registered on. It would only be helpful if any of the FS box can reach the clients independently. There it would make sense to determine if there is a shorter path to the client through other FS boxes in order to minimize RTP delay. step 3 would be to make conferencing work with this cluster mechanism. Haha! So in a nutshell, create a distributed FS setup that is location and network independent that is aware of all FS systems. That would be so magically amazing! From asilva at wirelessmundi.com Thu Jan 14 14:11:19 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 14 Jan 2016 12:11:19 +0100 Subject: [Freeswitch-users] How to know the number of in use licenses for sangoma D100 transcoding card Message-ID: <56978257.7080406@wirelessmundi.com> hi, Is there a way to know the number of licenses in use by the sangoma card D100? I'm having some issues with the sangoma D100 and i wanted to know if it could be that i'm getting out of channels... Right now i use the command: "sangoma_codec sessions", which gives me the number of total sessions... but this gives strange values, in the card there are 40 licenses and the command in some periods returns more sessions than the available licenses. thanks for the help. -- Saludos / Regards / Cumprimentos, Ant?nio silva From lists at kavun.ch Thu Jan 14 14:42:46 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 12:42:46 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions Message-ID: Hi all, Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. If I bridge my channel to loopback/wait, sure enough it works. What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. Thanks, Emrah From lists at kavun.ch Thu Jan 14 15:09:01 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 13:09:01 +0100 Subject: [Freeswitch-users] Random calls failing with WRONG_CALL_STATe when using TLS In-Reply-To: References: <45FAC76E-D2B7-483A-88AB-9FB98600C42B@kavun.ch> <2B416F4C-561E-48E1-A31D-BB82854AB84E@kavun.ch> <7AB693FD-921B-43F0-81B4-41610CC5A4C3@freeswitch.org> <001E3109-E3ED-481E-A456-64B9603A8A44@kavun.ch> Message-ID: <72542EA4-5014-4F6B-9C32-523F975737FA@kavun.ch> I was certain that I?d fixe all my issues with an FS update to 1.6. After much frustration and over a year of trial and error, I found out that the TLS session breaks if the content of the packet is too large. This was also confirmed with the FS documentation that lists this issue as a generic Polycom issue: Generic Polycom issues I can confirm that this also happens with Yealink phones and a couple of other Softphones including Blink Pro on Mac OS X. So far, I?ve only experienced this with FS. I?ve not been able to replicate this with other SIP servers that can also transport and handle media. Anyone else can relate to this? Anyway, what?s worked for me is to make my packets as small as possible by reducing the number of offered codecs to the bare minimum. Best, E > On Mar 3, 2015, at 2:38 PM, Brian West wrote: > > sofia global siptrace on > sofia loglevel all 9 > > Then outline the scenario and config on the JIRA. > > On Tue, Mar 3, 2015 at 7:54 AM, Emrah > wrote: > Hey Brian, just saw this message. > There is no other UA in between FS and the endpoint. There is a regular NAT, that's all. > What seems to happen is: > endpoint -> FS: invite = ok > FS -> endpoint: 407 = OK > Endpoint -> FS: invite = Fails with SSL error. > > What are the components I should capture to open up a Jira? FS Logs, FS Siptrace, anything else? > > Thanks! >> On Feb 16, 2015, at 2:44 PM, Brian West > wrote: >> >> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >> >> Your issue is the contact has no port 443 or transport=tls right? What sits between FS and the endpoint? >> >> On Sun, Feb 15, 2015 at 5:38 AM, Emrah > wrote: >> Thanks Ken. Is there a way to filter the SIP trace? It's a busy box. >> >>> On Feb 14, 2015, at 3:35 AM, Ken Rice > wrote: >>> >>> Open a jire with a full debug login including sip tracing on >>> >>> Sent from my iPhone >>> >>> On Feb 13, 2015, at 7:57 PM, Emrah > wrote: >>> >>>> Hi, >>>> The issue is persistent. I am curious to know if anyone else on the list is experiencing this. It doesn't seem to have been reported before. >>>> Should I dedicate a profile to TLS use only? >>>> I also posted a message on the list about receiving options packet with the wrong transport. Are these 2 issues connected? Here is a copy paste of my message: >>>> >>>> My experience with FS and TLS has been rather mixed so far. It's been a little inconsistent in keeping NAT sessions up and users discoverable. >>>> One thing I've noticed is that FS advertises the wrong information in option packets. The following is what I receive over my TLS session which is working on port 443. >>>> 1.2.3.4:443 -(SIP over TLS)-> 10.0.0.99:51132 >>>> OPTIONS sip:53178246 at 10.0.0.99:56494;transport=tls;received=5.6.7.8:51132 <> SIP/2.0 >>>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>>> Route: >;transport=tls >>>> Max-Forwards: 70 >>>> From: >;tag=Q6XDFHeUUrcHD >>>> To: > >>>> Call-ID: 0a052f23-34a8-4158-8c88-fd2a70ffb561_c2RhaSoOYBR6jfJe4ndLoTTKJMrO2gMv >>>> CSeq: 71498568 OPTIONS >>>> Contact: > >>>> User-Agent: FreeSWITCH >>>> 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-Length: 0 >>>> >>>> As you can see FS stamps the packet with a port 5060... No reference to port 443 with a transport=tls. >>>> >>>> What shall be done? >>>> >>>>> On Feb 5, 2015, at 3:18 PM, Emrah > wrote: >>>>> >>>>> Hi there, >>>>> This issue is happening all around with devices using TLS. It's not very frequent with softphones, but not inexistant. >>>>> Any pointers would be greatly appreciated. Do you have best practice configs you'd like to share? >>>>> >>>>> Thanks >>>>>> On Jan 30, 2015, at 6:10 PM, Emrah > wrote: >>>>>> >>>>>> Hi all, >>>>>> I am facing a very frustrating issue. I often have to dial twice when using my Yealink phone with TLS because the first attempt times out. >>>>>> The logs on the Yealink indicate that the first invite is successfully received, to which my FS sends a 100 trying and 407 proxy auth required. It is subsequently when my phone sends back the invite that the connection crashes with the following error: >>>>>> SSL ERROR SYSCALL >>>>>> >>>>>> Is this something common? Why does the SSL connection crashes when the phone attempts to send the second invite? My phone is behind NAT. >>>>>> >>>>>> It is going to be a crazy expedition to collect the logs and Pastebin them, so I am tempting my luck on the list first to see if you have any pointers. >>>>>> >>>>>> As a last piece, my Bria on my iPHone, among other clients, never had this issue. I did experience it from time to time with Blink on Mac OS X. >>>>>> >>>>>> Any help appreciated. >>>>>> >>>>>> Emrah >>>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > > > -- > 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/20160114/fcd1e479/attachment-0001.html From mike at jerris.com Thu Jan 14 18:25:06 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 14 Jan 2016 10:25:06 -0500 Subject: [Freeswitch-users] How to know the number of in use licenses for sangoma D100 transcoding card In-Reply-To: <56978257.7080406@wirelessmundi.com> References: <56978257.7080406@wirelessmundi.com> Message-ID: <9F28C3E8-66D2-45F6-B845-B5C91B37329C@jerris.com> I would contact sangoma support for this question. > On Jan 14, 2016, at 6:11 AM, Antonio Silva wrote: > > hi, > > Is there a way to know the number of licenses in use by the sangoma card > D100? > > I'm having some issues with the sangoma D100 and i wanted to know if it > could be that i'm getting out of channels... > > > Right now i use the command: "sangoma_codec sessions", which gives me > the number of total sessions... but this gives strange values, in the > card there are 40 licenses and the command in some periods returns more > sessions than the available licenses. > From mike at jerris.com Thu Jan 14 18:26:43 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 14 Jan 2016 10:26:43 -0500 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: Message-ID: use whatever sound file you want as your ringback? > On Jan 14, 2016, at 6:42 AM, Emrah wrote: > > Hi all, > Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? > Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. > If I bridge my channel to loopback/wait, sure enough it works. > What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. From sdevoy at bizfocused.com Thu Jan 14 19:00:19 2016 From: sdevoy at bizfocused.com (Sean Devoy) Date: Thu, 14 Jan 2016 16:00:19 +0000 Subject: [Freeswitch-users] Longtime working user's phone now disconnecting In-Reply-To: References: Message-ID: Thank you Larry and Daniel. I really appreciate the explanation of the underlying problem and the fix for it. Sean From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Larry Morley Sent: Tuesday, January 12, 2016 2:13 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Longtime working user's phone now disconnecting As previously noted, this is slightly off topic. That said, I felt I'd be remiss if I didn't add a note to this thread. We had customers experience the same problem - and others apparently stemming from the same root cause - particularly with this ISP. And, it turned out they had experienced the same problems with their phone service when they were receiving it from the company before us. The cause of that problem, along with others such as users receiving calls from their own extensions several times an hour, 24x7, were ultimately determined to be the result of Comcast having an incompatible SIP ALG enabled on the CPE: a SIP ALG that's properly implemented and properly working shouldn't cause any issues. Also, the users that experienced the worst variants of these problems had a SIP ALG, and apparently other ALGs for other protocols, enabled on their own routers. Calling Comcast technical support and requesting that they change the "cable router" settings, then power cycling the CPE and the local routers as necessary, invariably solved the problem(s) we'd been experiencing. Note that in the course of fixing these issues, we discovered that, according to the current DOCSIS specifications, by design, end users aren't supposed to be able to modify much with respect to DOCSIS "cable modem" settings. That's why we decided to go the ISP tech support route first. We haven't seen a recurrence of any of the problems noted initially since we made the changes noted, well over six months ago. Hopefully this is of use to someone. Sincerely, Larry Morley On Jan 10, 2016 3:49 AM, "Daniel Corbe" > wrote: > On Jan 9, 2016, at 11:24 PM, Sean Devoy > wrote: > > I don?t know what else happens when that is set, but I know it makes my extension re-register every 30 seconds (which seems excessive to me). I think that is probably just masking the underlying problem where the Comcast router is dropping the NAT connection after some time period. I am thrilled to have it working, but there must be a cleaner fix. Is there at least a way to extend that 30 second time to 60, 90, 120? This is slightly off-topic; however, it really is your Comcast-supplied CPE causing this particular issue. You?re better off buying an inexpensive cable modem that only runs in bridge mode and using a router that you have more direct configuration control over. The person that maintained this before you obviously took note of how stupidly aggressive the default timers are on their CPE. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160114/88f0676d/attachment.html From lists at kavun.ch Thu Jan 14 20:00:37 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 18:00:37 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: Message-ID: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. Something like: Hope this helps you understand my issue a little better. E > On Jan 14, 2016, at 4:26 PM, Michael Jerris wrote: > > use whatever sound file you want as your ringback? > >> On Jan 14, 2016, at 6:42 AM, Emrah wrote: >> >> Hi all, >> Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? >> Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. >> If I bridge my channel to loopback/wait, sure enough it works. >> What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Jan 14 20:16:45 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 14 Jan 2016 18:16:45 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> Message-ID: Emrah, pre_answer is what you're looking for: https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer On 14 Jan 2016 18:02, "Emrah" wrote: > Yes of course. I?m not even trying to play a sound file. A ringback would > be fine for what I?m trying to do. > Let me rephrase. FS isn?t generating any ringback unless I execute a > bridge somewhere. This isn?t useful in my case. I?m trying to have the > caller hear something while FS keeps executing the dial plan. > > Something like: > > > > > > > Hope this helps you understand my issue a little better. > > > E > > On Jan 14, 2016, at 4:26 PM, Michael Jerris wrote: > > > > use whatever sound file you want as your ringback? > > > >> On Jan 14, 2016, at 6:42 AM, Emrah wrote: > >> > >> Hi all, > >> Is there no way to force a 183 in a session and play a ringback or MOH > while executing other dial plan instructions? > >> Basically, I?ve gone around trying instant_rinback=true, ring_ready, > gentones, etc? No luck. > >> If I bridge my channel to loopback/wait, sure enough it works. > >> What I need to do is play a ringback or some MOH while I carry on > executing my dial plan instructions. The 183 is a nice to have but I don?t > mind if the channel is answered. > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160114/382ea13d/attachment.html From mario_fs at mgtech.com Thu Jan 14 21:36:57 2016 From: mario_fs at mgtech.com (Mario G) Date: Thu, 14 Jan 2016 10:36:57 -0800 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> Message-ID: <711A8BB6-BE39-45D8-9885-E1A4CA49C8A8@mgtech.com> In case you want to customize the ringback for each caller, see the link below (Anthony did a great job making timeout work as needed). I use it for every caller. I have a LUA program that dynamically builds the sound stream and adjusts the length of the music. https://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters Mario G > On Jan 14, 2016, at 9:16 AM, Stanislav Sinyagin wrote: > > Emrah, > > pre_answer is what you're looking for: > https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer > On 14 Jan 2016 18:02, "Emrah" > wrote: > Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. > Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. > > Something like: > > > > > > > Hope this helps you understand my issue a little better. > > > E > > On Jan 14, 2016, at 4:26 PM, Michael Jerris > wrote: > > > > use whatever sound file you want as your ringback? > > > >> On Jan 14, 2016, at 6:42 AM, Emrah > wrote: > >> > >> Hi all, > >> Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? > >> Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. > >> If I bridge my channel to loopback/wait, sure enough it works. > >> What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160114/da347a46/attachment.html From bote_radio at botecomm.com Thu Jan 14 21:51:40 2016 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 14 Jan 2016 13:51:40 -0500 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <711A8BB6-BE39-45D8-9885-E1A4CA49C8A8@mgtech.com> References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> <711A8BB6-BE39-45D8-9885-E1A4CA49C8A8@mgtech.com> Message-ID: <003b01d14efc$9ae132b0$d0a39810$@botecomm.com> Better still, its modern version on Confluence: https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_local_stream-ExecutionParameters J --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Mario G Sent: Thursday, 14 January, 2016 13:37 Subject: Re: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In case you want to customize the ringback for each caller, see the link below (Anthony did a great job making timeout work as needed). I use it for every caller. I have a LUA program that dynamically builds the sound stream and adjusts the length of the music. https://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters Mario G On Jan 14, 2016, at 9:16 AM, Stanislav Sinyagin wrote: Emrah, pre_answer is what you're looking for: https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer On 14 Jan 2016 18:02, "Emrah" wrote: Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. Something like: Hope this helps you understand my issue a little better. E -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160114/09b6e190/attachment-0001.html From govoiper at gmail.com Thu Jan 14 21:56:52 2016 From: govoiper at gmail.com (SamyGo) Date: Thu, 14 Jan 2016 13:56:52 -0500 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: <5D8BF570F6AE4F9F9A3D9BEDF1DE378E@gmail.com> Message-ID: Hi again, I've done the same testing on the Physical server with 4 core 2.40 GHz CPU,4GB RAM. Doing one video call recording got the CPU going from 0 to 17~20% in 4/5 seconds. The recorded file looks all good. Is there any way to to tweak this and afford to have more calls recorded simultaneously? Seven, the recorded file contains the two screen stitched side by side , is there any way(without modifying source code for now) to save the two streams separately in different files and save some resources ? Seven if we've to get this funded and get it working efficiently, how can we proceed in discussing this ? Thanks, Sammy On Thu, Dec 24, 2015 at 2:15 PM, SamyGo wrote: > Hi Seven, > Ive to get back to you on the funding part. Aside from that Im trying this > whole on physical server to see if I can atleast get to know how much > resources one call recording consumes. > > To be clear both end points are on same codecs right now. Like H264 and > G711. > > Thanks for getting back on this. Hope to get to a working solution soon. > > Regards. > Sammy > On Dec 23, 2015 22:28, "Seven Du" wrote: > >> Video recording need an extra dedicated encoder so it need resources. >> >> I have an idea to improve the performance by writing the existing or >> already encoded video frames on the write to the video files. Actually it?s >> the the original implementation and only way to do that before FS 1.6 has >> video transcoding abilities. >> >> If you make a call from a to b, and both use the same encoding, FS will >> not do transcoding, but if you do record, FS has to decode/encode each leg, >> plus a dedicated encoder for recoding. That is to say, you need 3 * encoder >> + 2 decoder to work for the recording. That is a huge waste of cpu if you >> only need to record only one leg of videos streams. >> >> I?d like to improve it, but it?s very complicated to make it smart enough >> and don?t break the current logic. >> >> Anyway, if it got enough interest probably we can get some fund and make >> it work. >> >> >> -- >> Seven Du >> Sent with Sparrow >> >> On Thursday, December 10, 2015 at 2:35 AM, Anthony Minessale wrote: >> >> >> >> On Wed, Dec 9, 2015 at 12:17 PM, SamyGo wrote: >> >> Technically yes its a Virtual environment on Amazon cloud as I mentioned >> at start of thread. By instances I meant number of CPUs on the FS >> Amazon-cloud-based server. >> So I guess I should try the same on Physical servers to see the >> differences. For now this call recording for just one call consumes so much >> CPU that any second call do not get its minimal quality. I should go pn and >> try on different server and get back. >> >> >> We don't support virtualization beyond friendly advice. We are tentative >> to use it for audio and video is even more intensive and I don't have any >> idea how it will perform. >> >> >> >> >> Anthony, can you suggest any other mechnism of recording video-calls ? >> like I read on one thread here somebody was using mod_vlc for this !? >> >> >> mod_vlc can be used in place of mod_av but the low level code used to >> record is probably the same codec libraries. >> You can always try it by loading it in place of mod_av or by adding >> {modname=mod_vlc} before the file when you specify the file path. >> >> >> >> Thanks alot for your support Anthony, >> >> Regards, >> Sammy >> >> >> >> On Wed, Dec 9, 2015 at 1:05 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >> >> >> On Wed, Dec 9, 2015 at 11:26 AM, SamyGo wrote: >> >> Hi Anthony, >> The Heavy CPU utilization on recording still persists even after >> upgrading the CPU from 2 instances to 8. RAM is about 16GBs. >> Every time I press DTMF to invoke the record_session the CPU peaks up >> consuming everything it can get, the on-call video stream starts garbling >> but recorded video stays fine. >> >> >> >> When you say instances are you using VM? >> >> >> >> >> Fast video encryption speed seems more practical as the recorded video is >> intact from start to end. For medium and slow it gets pauses and doesn't >> play video at all towards the end. >> >> * * >> >> I'm thinking if on pressing the DTMF I can "fork" the call to other FS >> based recording instances ? >> >> >> >> No, you are bound to the limitations of your environment. We know the >> CPU can be high with the defaults but that is the trade-off for high >> quality. Your options are to use the lower vencspd or get more performant >> machines. >> >> >> >> Thanks again, >> Sammy >> >> >> >> On Mon, Dec 7, 2015 at 1:15 PM, SamyGo wrote: >> >> Thanks Athony for the reply, >> >> I tried medium and slow, medium seems to give me much better results, >> atleast the video doesn't drop frames and not getting stuck. I'm still >> arranging for a high powered server to retest this for which I'm very >> hopeful it will be working perfectly as expected. I will update here with >> final results once I test. >> >> Again thanks a ton for the response. >> >> Regards, >> Sammy >> >> >> On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >> {vencspd=fast,vprofile=baseline}/path/to/file.mp4 >> >> You can try medium or slow for speed too. >> >> That's the best you can hope for. video needs resources..... >> >> On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: >> >> Hello everyone, >> I'm using latest FS version 1.7 for recording video calls. Video calls >> work very well, but every time I start recording the calls to mp4 the CPU >> jumps to about 100%. That also results in call being paused(video freezes >> and audio disappears) for few seconds and resume. >> >> The recorded file upon playback starts good for first few seconds but >> then drops alot of frames and finally gets stuck.. >> >> >> freeswitch at internal> version >> FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git >> c021d22 2015-12-02 21:08:53Z 64bit) >> >> root at FreeSwitch:~# lsb_release -a >> Distributor ID: Debian >> Description: Debian GNU/Linux 8.1 (jessie) >> Release: 8.1 >> Codename: jessie >> >> The Hardware specs are bit low, its in Amazon cloud >> >> Dual-Core 2.50GHz, 4GB RAM. >> >> I'll increase H/W specs and see if it helps, if there are any suggestions >> on getting this done nicely. >> >> Thanks, >> Sammy >> >> >> >> *--- LOGS When uuid_record is executed ---* >> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, >> channels: 2 >> 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: [28] >> h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >> 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 >> nb_samples: 1024 >> Output #0, mp4, to '/tmp/newabc.mp4': >> Stream #0.0 >> : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s >> 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File >> [/tmp/newabc.mp4] 8000hz with VIDEO >> 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 Attaching >> BUG to sofia/external/868599 >> 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG Codec >> PCMU:0 >> 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence >> detection configured; assuming start of speech >> 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed >> from 352x288 to 640x480, reinitializing encoder >> frame I:1 Avg QP:10.00 size: 1049 >> mb I I16..4: 100.0% 0.0% 0.0% >> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >> i16 v,h,dc,p: 94% 0% 6% 0% >> i8c dc,h,v,p: 100% 0% 0% 0% >> kb/s:755.28 >> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >> profile Constrained Baseline, level 4.1 >> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >> profile Constrained Baseline, level 4.1 >> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >> 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 >> deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 >> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 >> fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 >> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 >> constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 >> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 >> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 >> 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec >> implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s >> 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed >> from 352x288 to 1280x720, reinitializing encoder >> frame I:1 Avg QP:10.00 size: 1049 >> mb I I16..4: 100.0% 0.0% 0.0% >> coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% >> i16 v,h,dc,p: 94% 0% 6% 0% >> i8c dc,h,v,p: 100% 0% 0% 0% >> kb/s:755.28 >> using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX >> profile Constrained Baseline, level 4.1 >> 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start >> 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 203 DC, 203 AC, 203 MV errors >> 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 259 DC, 259 AC, 259 MV errors >> 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 147 DC, 147 AC, 147 MV errors >> 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> concealing 198 DC, 198 AC, 198 MV errors >> concealing 602 DC, 602 AC, 602 MV errors >> 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 192 VER 2 LEN 8 >> 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP >> PACKET TYPE 0 VER 0 LEN 4 >> concealing 300 DC, 300 AC, 300 MV errors >> 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/ >> 868499 at 52.70.5.23 [CS_EXECUTE] [NORMAL_CLEARING] >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/ >> 868499 at 52.70.5.23 ending bridge by request from read function >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 sofia/internal/ >> 868499 at 52.70.5.23 ending bridge by request from write function >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video >> thread. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 >> sofia/external/868599 video thread ended. >> 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/internal/ >> 868499 at 52.70.5.23 video thread ended. >> 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 >> sofia/internal/868499 at 52.70.5.23 Video thread ended >> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD >> DONE [sofia/internal/868499 at 52.70.5.23] >> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD >> DONE [sofia/external/868599] >> 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup >> sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] >> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 >> (sofia/external/868599) State EXCHANGE_MEDIA going to sleep >> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/868599) Running State Change CS_HANGUP >> 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop recording >> file /tmp/newabc.mp4 >> 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 >> sofia/external/868599 Video thread ended >> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 >> sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup >> already) >> 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 >> sofia/internal/868499 at 52.70.5.23 skip receive message [UNBRIDGE] >> (channel is hungup already) >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 >> sofia/internal/868499 at 52.70.5.23 skip receive message >> [APPLICATION_EXEC_COMPLETE] (channel is hungup already) >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 >> (sofia/internal/868499 at 52.70.5.23) State EXECUTE going to sleep >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_HANGUP >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 >> (sofia/internal/868499 at 52.70.5.23) Callstate Change ACTIVE -> HANGUP >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >> (sofia/internal/868499 at 52.70.5.23) State HANGUP >> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel sofia/internal/ >> 868499 at 52.70.5.23 hanging up, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 >> sofia/internal/868499 at 52.70.5.23 Standard HANGUP, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 >> (sofia/internal/868499 at 52.70.5.23) State HANGUP going to sleep >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 >> (sofia/internal/868499 at 52.70.5.23) State Change CS_HANGUP -> CS_REPORTING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 >> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_REPORTING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >> (sofia/internal/868499 at 52.70.5.23) State REPORTING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 >> sofia/internal/868499 at 52.70.5.23 Standard REPORTING, cause: >> NORMAL_CLEARING >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 >> (sofia/internal/868499 at 52.70.5.23) State REPORTING going to sleep >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 >> (sofia/internal/868499 at 52.70.5.23) State Change CS_REPORTING -> >> CS_DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 >> (sofia/internal/868499 at 52.70.5.23) Locked, Waiting on external entities >> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session 5 >> (sofia/internal/868499 at 52.70.5.23) Ended >> 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/internal/868499 at 52.70.5.23 [CS_DESTROY] >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 >> (sofia/internal/868499 at 52.70.5.23) Running State Change CS_DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >> (sofia/internal/868499 at 52.70.5.23) State DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/ >> 868499 at 52.70.5.23 SOFIA DESTROY >> frame I:50 Avg QP:11.50 size: 99188 >> frame P:1320 Avg QP:12.79 size: 9817 >> mb I I16..4: 32.3% 0.0% 67.7% >> mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% >> skip:69.6% >> coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% >> i16 v,h,dc,p: 44% 23% 16% 16% >> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% >> i8c dc,h,v,p: 37% 32% 20% 11% >> kb/s:9416.81 >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 >> sofia/internal/868499 at 52.70.5.23 Standard DESTROY >> 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 >> (sofia/internal/868499 at 52.70.5.23) State DESTROY going to sleep >> 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done >> frame I:12 Avg QP:13.27 size: 89070 >> frame P:681 Avg QP:11.76 size: 16819 >> mb I I16..4: 36.9% 0.0% 63.1% >> mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% >> skip:67.5% >> final ratefactor: 15.09 >> coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% >> i16 v,h,dc,p: 47% 23% 17% 12% >> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% >> i8c dc,h,v,p: 39% 32% 18% 12% >> ref P L0: 90.9% 5.9% 3.2% >> kb/s:2046.12 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is >> hung up >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 Removing >> BUG from sofia/external/868599 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 >> (sofia/external/868599) Callstate Change ACTIVE -> HANGUP >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/868599) State HANGUP >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 >> sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is >> hungup already) >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 sofia/external/868599 >> Overriding SIP cause 480 with 200 from the other leg >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel >> sofia/external/868599 hanging up, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to >> sofia/external/868599 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 >> sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 >> (sofia/external/868599) State HANGUP going to sleep >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 >> (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 >> (sofia/external/868599) Running State Change CS_REPORTING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/868599) State REPORTING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 >> sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 >> (sofia/external/868599) State REPORTING going to sleep >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 >> (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 >> (sofia/external/868599) Locked, Waiting on external entities >> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session 6 >> (sofia/external/868599) Ended >> 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close >> Channel sofia/external/868599 [CS_DESTROY] >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 >> (sofia/external/868599) Running State Change CS_DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/868599) State DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 sofia/external/868599 >> SOFIA DESTROY >> frame I:45 Avg QP:12.50 size: 45087 >> frame P:823 Avg QP:13.81 size: 11066 >> mb I I16..4: 18.3% 0.0% 81.7% >> mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% >> skip:23.9% >> coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% >> i16 v,h,dc,p: 31% 33% 19% 17% >> i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% >> i8c dc,h,v,p: 41% 35% 18% 5% >> kb/s:9237.67 >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 >> sofia/external/868599 Standard DESTROY >> 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 >> (sofia/external/868599) 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 >> >> >> >> >> -- >> 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160114/0d53c3fd/attachment-0001.html From lists at kavun.ch Thu Jan 14 22:41:39 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 20:41:39 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> Message-ID: <97C03AAF-9516-45E6-B706-6D13364B7ABC@kavun.ch> Pre-answer isn?t what I?m looking for, but I appreciate the input. The channel is pre-answered already. It?s ready to play early media. My question is how do I play some ringback or MOH while I go at executing next dial plan instructions? For example I could do a gentones and loop it indefinitely with a $${us-ring}. But then FS would wait for gentones to exit before proceeding to the next dial plan instruction. Setting instant_rinback or executing the ringback app doesn?t help. And yes, my ringback and transfer_ringback variables are set. Thanks! . > On Jan 14, 2016, at 6:16 PM, Stanislav Sinyagin wrote: > > Emrah, > > pre_answer is what you're looking for: > https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer > On 14 Jan 2016 18:02, "Emrah" > wrote: > Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. > Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. > > Something like: > > > > > > > Hope this helps you understand my issue a little better. > > > E > > On Jan 14, 2016, at 4:26 PM, Michael Jerris > wrote: > > > > use whatever sound file you want as your ringback? > > > >> On Jan 14, 2016, at 6:42 AM, Emrah > wrote: > >> > >> Hi all, > >> Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? > >> Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. > >> If I bridge my channel to loopback/wait, sure enough it works. > >> What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160114/17dd02e8/attachment.html From lists at kavun.ch Thu Jan 14 22:48:42 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 20:48:42 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <003b01d14efc$9ae132b0$d0a39810$@botecomm.com> References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> <711A8BB6-BE39-45D8-9885-E1A4CA49C8A8@mgtech.com> <003b01d14efc$9ae132b0$d0a39810$@botecomm.com> Message-ID: <1F0AF613-6AB1-44B9-A0DB-8285AB2E01F4@kavun.ch> I?m really starting to feel like a pain in the rear-end. But this isn?t what I?m looking for. I?m familiar with how marvelous local_stream is, and all the stuff we can do in terms of customizing a ringback. What I?m trying to do is generate a fake ringback without invoking a bridge action. I want to launch the ringback and have FS move on to the next dial plan instruction. The next dial plan instruction could be for instance a sleep for 5000 seconds, followed by a hangup. This should in effect play the fake ringback for 5 seconds and then proceed to hang up the call. How do you do that? ring_ready only sends a 180 to an unanswered channel. At least in my case it didn?t start playing whatever I had in my ringback or transfer_ringback variables in a situation where the channel was in answered mode or early media mode. Thanks! > On Jan 14, 2016, at 7:51 PM, Bote Man wrote: > > Better still, its modern version on Confluence: > > https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_local_stream-ExecutionParameters > > J > > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > From: Mario G > Sent: Thursday, 14 January, 2016 13:37 > Subject: Re: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions > > In case you want to customize the ringback for each caller, see the link below (Anthony did a great job making timeout work as needed). I use it for every caller. I have a LUA program that dynamically builds the sound stream and adjusts the length of the music. https://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters > Mario G > >> On Jan 14, 2016, at 9:16 AM, Stanislav Sinyagin > wrote: >> >> Emrah, >> pre_answer is what you're looking for: >> https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer >> On 14 Jan 2016 18:02, "Emrah" > wrote: >> Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. >> Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. >> >> Something like: >> >> >> >> >> >> >> Hope this helps you understand my issue a little better. >> >> >> 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/20160114/fa53a2e7/attachment-0001.html From lists at kavun.ch Thu Jan 14 22:49:45 2016 From: lists at kavun.ch (Emrah) Date: Thu, 14 Jan 2016 20:49:45 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <97C03AAF-9516-45E6-B706-6D13364B7ABC@kavun.ch> References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> <97C03AAF-9516-45E6-B706-6D13364B7ABC@kavun.ch> Message-ID: <64396C8B-5324-4629-8319-F2B22B19996E@kavun.ch> Sorry, about this message I meant executing the ?ring_ready? app and not the ?ringback? app. > On Jan 14, 2016, at 8:41 PM, Emrah wrote: > > Pre-answer isn?t what I?m looking for, but I appreciate the input. > The channel is pre-answered already. It?s ready to play early media. My question is how do I play some ringback or MOH while I go at executing next dial plan instructions? > For example I could do a gentones and loop it indefinitely with a $${us-ring}. But then FS would wait for gentones to exit before proceeding to the next dial plan instruction. > Setting instant_rinback or executing the ringback app doesn?t help. > And yes, my ringback and transfer_ringback variables are set. > > Thanks! . >> On Jan 14, 2016, at 6:16 PM, Stanislav Sinyagin > wrote: >> >> Emrah, >> >> pre_answer is what you're looking for: >> https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer >> On 14 Jan 2016 18:02, "Emrah" > wrote: >> Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. >> Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. >> >> Something like: >> >> >> >> >> >> >> Hope this helps you understand my issue a little better. >> >> >> E >> > On Jan 14, 2016, at 4:26 PM, Michael Jerris > wrote: >> > >> > use whatever sound file you want as your ringback? >> > >> >> On Jan 14, 2016, at 6:42 AM, Emrah > wrote: >> >> >> >> Hi all, >> >> Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? >> >> Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. >> >> If I bridge my channel to loopback/wait, sure enough it works. >> >> What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. >> > >> > >> > _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160114/d52f0805/attachment.html From s.safarov at gmail.com Thu Jan 14 23:30:20 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 14 Jan 2016 23:30:20 +0300 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: <01f601d14e70$600d8ee0$2028aca0$@botecomm.com> References: <283b01d13113$84d24f10$8e76ed30$@freeswitch.org> <5672FB31.8060808@b-and-c.net> <00bc01d138f9$b5997400$20cc5c00$@symonics.com> <01f601d14e70$600d8ee0$2028aca0$@botecomm.com> Message-ID: As Bote say XML Notepad can be used. Also I can recommend Eclipse As best XML editor I use "Oxygen XML Editor " XML files can be associated using: 1) command arguments with XSD filename of schema namespace (xmllint); 2) program settings (Eclipse, Oxygen XML Editor); 3) direct accusation XML file with schema as in example below. Sergey On Thu, Jan 14, 2016 at 5:07 AM, Bote Man wrote: > MicroSoft offers the free (!!) XML Notepad dated 2007 that apparently can > open .XSD files. I have no idea how well it works for validating .XSD > schema, but I can say that I have used it to locate errors in regular .XML > files, so there?s that. For free it can?t hurt to try it out. > > > > Bote > > > > > > *From:* Colton Conor > *Sent:* Wednesday, 13 January, 2016 19:10 > *Subject:* Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs > > > > Which XML editors are the best (for Windows)? Which can validate XSD > schemas as suggested? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160114/b63b4120/attachment.html From iskren.hadzhinedev at ikiji.com Thu Jan 14 23:39:31 2016 From: iskren.hadzhinedev at ikiji.com (Iskren Hadzhinedev) Date: Thu, 14 Jan 2016 20:39:31 +0000 Subject: [Freeswitch-users] FreeSWITCH 1.8 New Configs In-Reply-To: Message-ID: The Atom editor with the autocomplete-xml package provides auto-completion and validation for XML. ------ Original Message ------ From: "Sergey Safarov" To: "FreeSWITCH Users Help" Sent: 14.1.2016 ?. 22:30:20 Subject: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >As Bote say XML Notepad can be used. >Also I can recommend Eclipse >As best XML editor I use "Oxygen XML Editor" > >XML files can be associated using: >1) command arguments with XSD filename of schema namespace (xmllint); >2) program settings (Eclipse, Oxygen XML Editor); >3) direct accusation XML file with schema as in example below. > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://freeswitch.org/xsd >file:/home/user/xsd/FreeSwitch.xsd"> > > >Sergey > >On Thu, Jan 14, 2016 at 5:07 AM, Bote Man >wrote: >>MicroSoft offers the free (!!) XML Notepad dated 2007 that apparently >>can open .XSD files. I have no idea how well it works for validating >>.XSD schema, but I can say that I have used it to locate errors in >>regular .XML files, so there?s that. For free it can?t hurt to try it >>out. >> >> >> >>Bote >> >> >> >> >> >>From: Colton Conor >>Sent: Wednesday, 13 January, 2016 19:10 >>Subject: Re: [Freeswitch-users] FreeSWITCH 1.8 New Configs >> >> >> >>Which XML editors are the best (for Windows)? Which can validate XSD >>schemas as suggested? >> >> >> >> >>_________________________________________________________________________ >>Professional FreeSWITCH Consulting Services: >>consulting at freeswitch.org >>http://www.freeswitchsolutions.com >> >>Official FreeSWITCH Sites >>http://www.freeswitch.org >>http://confluence.freeswitch.org >>http://www.cluecon.com >> >>FreeSWITCH-users mailing list >>FreeSWITCH-users at 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/20160114/224c23c8/attachment-0001.html From covici at ccs.covici.com Fri Jan 15 00:19:39 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Thu, 14 Jan 2016 16:19:39 -0500 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <97C03AAF-9516-45E6-B706-6D13364B7ABC@kavun.ch> References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> <97C03AAF-9516-45E6-B706-6D13364B7ABC@kavun.ch> Message-ID: <714.1452806379@ccs.covici.com> Dialplan is not good for this, you need a programming language to do this kind of thing, dialplan actions are static except for inline but you can't do anything major with that. Emrah wrote: > Pre-answer isn?t what I?m looking for, but I appreciate the input. > The channel is pre-answered already. It?s ready to play early media. My question is how do I play some ringback or MOH while I go at executing next dial plan instructions? > For example I could do a gentones and loop it indefinitely with a $${us-ring}. But then FS would wait for gentones to exit before proceeding to the next dial plan instruction. > Setting instant_rinback or executing the ringback app doesn?t help. > And yes, my ringback and transfer_ringback variables are set. > > Thanks! . > > On Jan 14, 2016, at 6:16 PM, Stanislav Sinyagin wrote: > > > > Emrah, > > > > pre_answer is what you're looking for: > > https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer > > On 14 Jan 2016 18:02, "Emrah" > wrote: > > Yes of course. I?m not even trying to play a sound file. A ringback would be fine for what I?m trying to do. > > Let me rephrase. FS isn?t generating any ringback unless I execute a bridge somewhere. This isn?t useful in my case. I?m trying to have the caller hear something while FS keeps executing the dial plan. > > > > Something like: > > > > > > > > > > > > > > Hope this helps you understand my issue a little better. > > > > > > E > > > On Jan 14, 2016, at 4:26 PM, Michael Jerris > wrote: > > > > > > use whatever sound file you want as your ringback? > > > > > >> On Jan 14, 2016, at 6:42 AM, Emrah > wrote: > > >> > > >> Hi all, > > >> Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? > > >> Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. > > >> If I bridge my channel to loopback/wait, sure enough it works. > > >> What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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 abaci64 at gmail.com Fri Jan 15 00:43:42 2016 From: abaci64 at gmail.com (Abaci B) Date: Thu, 14 Jan 2016 16:43:42 -0500 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <714.1452806379@ccs.covici.com> References: <4E3729C2-15E3-4E4B-B169-BDD34CA31EB6@kavun.ch> <97C03AAF-9516-45E6-B706-6D13364B7ABC@kavun.ch> <714.1452806379@ccs.covici.com> Message-ID: I was looking for the same thing but gave up as I couldn't get it to work, did you try doing a uuid_broadcast to your own uuid which should start playing a file (not blocking) and in the mean time continue in your dialplan what you want. I tried it and it didn't work for me but it may have been related to what I was trying to do. What I ended up doing (which may or may not be of any help to you) is that I started a lua script from the dialplan using luarun which starts it in it's own thread, next step in the dialplan I just did a playback, in the mean time the lua script was doing whatever I needed (it had the call uuid passed on as an arg) when the lua script was done it interrupted the playback using uuid_break On Thu, Jan 14, 2016 at 4:19 PM, wrote: > Dialplan is not good for this, you need a programming language to do > this kind of thing, dialplan actions are static except for inline but > you can't do anything major with that. > > Emrah wrote: > > > Pre-answer isn?t what I?m looking for, but I appreciate the input. > > The channel is pre-answered already. It?s ready to play early media. My > question is how do I play some ringback or MOH while I go at executing next > dial plan instructions? > > For example I could do a gentones and loop it indefinitely with a > $${us-ring}. But then FS would wait for gentones to exit before proceeding > to the next dial plan instruction. > > Setting instant_rinback or executing the ringback app doesn?t help. > > And yes, my ringback and transfer_ringback variables are set. > > > > Thanks! . > > > On Jan 14, 2016, at 6:16 PM, Stanislav Sinyagin > wrote: > > > > > > Emrah, > > > > > > pre_answer is what you're looking for: > > > https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer < > https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer> > > > On 14 Jan 2016 18:02, "Emrah" > > wrote: > > > Yes of course. I?m not even trying to play a sound file. A ringback > would be fine for what I?m trying to do. > > > Let me rephrase. FS isn?t generating any ringback unless I execute a > bridge somewhere. This isn?t useful in my case. I?m trying to have the > caller hear something while FS keeps executing the dial plan. > > > > > > Something like: > > > > > > > > > > > > > > > > > > > > > Hope this helps you understand my issue a little better. > > > > > > > > > E > > > > On Jan 14, 2016, at 4:26 PM, Michael Jerris > wrote: > > > > > > > > use whatever sound file you want as your ringback? > > > > > > > >> On Jan 14, 2016, at 6:42 AM, Emrah lists at kavun.ch>> wrote: > > > >> > > > >> Hi all, > > > >> Is there no way to force a 183 in a session and play a ringback or > MOH while executing other dial plan instructions? > > > >> Basically, I?ve gone around trying instant_rinback=true, > ring_ready, gentones, etc? No luck. > > > >> If I bridge my channel to loopback/wait, sure enough it works. > > > >> What I need to do is play a ringback or some MOH while I carry on > executing my dial plan instructions. The 183 is a nice to have but I don?t > mind if the channel is answered. > > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org > > > > http://www.freeswitchsolutions.com < > http://www.freeswitchsolutions.com/> > > > > > > > > Official 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 < > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users < > http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > > http://www.freeswitch.org > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com < > http://www.freeswitchsolutions.com/> > > > > > > Official 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 < > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users < > http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > http://www.freeswitch.org >_________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160114/9752aa18/attachment-0001.html From dujinfang at gmail.com Fri Jan 15 04:43:48 2016 From: dujinfang at gmail.com (Seven Du) Date: Fri, 15 Jan 2016 09:43:48 +0800 Subject: [Freeswitch-users] Videocall recording results in high CPU In-Reply-To: References: <5D8BF570F6AE4F9F9A3D9BEDF1DE378E@gmail.com> Message-ID: <9736BB9B52E147279F0A6C5D4FEEAAFB@gmail.com> I believe there?s some var you can set to not let it side-by-side. maybe also try uuid_record on both leg. Anyway, it will not save much resource as it still need decoding/encoding. write to consulting at freeswitch.org and mention my name if you want to fund it. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 15, 2016 at 2:56 AM, SamyGo wrote: > Hi again, > > I've done the same testing on the Physical server with 4 core 2.40 GHz CPU,4GB RAM. Doing one video call recording got the CPU going from 0 to 17~20% in 4/5 seconds. The recorded file looks all good. Is there any way to to tweak this and afford to have more calls recorded simultaneously? > > Seven, the recorded file contains the two screen stitched side by side , is there any way(without modifying source code for now) to save the two streams separately in different files and save some resources ? > > Seven if we've to get this funded and get it working efficiently, how can we proceed in discussing this ? > > > Thanks, > Sammy > > > > On Thu, Dec 24, 2015 at 2:15 PM, SamyGo wrote: > > Hi Seven, > > Ive to get back to you on the funding part. Aside from that Im trying this whole on physical server to see if I can atleast get to know how much resources one call recording consumes. > > To be clear both end points are on same codecs right now. Like H264 and G711. > > Thanks for getting back on this. Hope to get to a working solution soon. > > Regards. > > Sammy > > On Dec 23, 2015 22:28, "Seven Du" wrote: > > > Video recording need an extra dedicated encoder so it need resources. > > > > > > I have an idea to improve the performance by writing the existing or already encoded video frames on the write to the video files. Actually it?s the the original implementation and only way to do that before FS 1.6 has video transcoding abilities. > > > > > > If you make a call from a to b, and both use the same encoding, FS will not do transcoding, but if you do record, FS has to decode/encode each leg, plus a dedicated encoder for recoding. That is to say, you need 3 * encoder + 2 decoder to work for the recording. That is a huge waste of cpu if you only need to record only one leg of videos streams. > > > > > > I?d like to improve it, but it?s very complicated to make it smart enough and don?t break the current logic. > > > > > > Anyway, if it got enough interest probably we can get some fund and make it work. > > > > > > > > > -- > > > Seven Du > > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > > > > > > > On Thursday, December 10, 2015 at 2:35 AM, Anthony Minessale wrote: > > > > > > > > > > > > > > > On Wed, Dec 9, 2015 at 12:17 PM, SamyGo wrote: > > > > > Technically yes its a Virtual environment on Amazon cloud as I mentioned at start of thread. By instances I meant number of CPUs on the FS Amazon-cloud-based server. > > > > > So I guess I should try the same on Physical servers to see the differences. For now this call recording for just one call consumes so much CPU that any second call do not get its minimal quality. I should go pn and try on different server and get back. > > > > > > > > > > > > > > > > > We don't support virtualization beyond friendly advice. We are tentative to use it for audio and video is even more intensive and I don't have any idea how it will perform. > > > > > > > > > > > > > > > > > > Anthony, can you suggest any other mechnism of recording video-calls ? like I read on one thread here somebody was using mod_vlc for this !? > > > > > > > > mod_vlc can be used in place of mod_av but the low level code used to record is probably the same codec libraries. > > > > You can always try it by loading it in place of mod_av or by adding {modname=mod_vlc} before the file when you specify the file path. > > > > > > > > > > > > > > Thanks alot for your support Anthony, > > > > > > > > > > Regards, > > > > > Sammy > > > > > > > > > > > > > > > > > > > > On Wed, Dec 9, 2015 at 1:05 PM, Anthony Minessale wrote: > > > > > > > > > > > > > > > > > > On Wed, Dec 9, 2015 at 11:26 AM, SamyGo wrote: > > > > > > > Hi Anthony, > > > > > > > The Heavy CPU utilization on recording still persists even after upgrading the CPU from 2 instances to 8. RAM is about 16GBs. > > > > > > > Every time I press DTMF to invoke the record_session the CPU peaks up consuming everything it can get, the on-call video stream starts garbling but recorded video stays fine. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > When you say instances are you using VM? > > > > > > > > > > > > > > > > > > > > > > > > > > Fast video encryption speed seems more practical as the recorded video is intact from start to end. For medium and slow it gets pauses and doesn't play video at all towards the end. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm thinking if on pressing the DTMF I can "fork" the call to other FS based recording instances ? > > > > > > > > > > > > > > > > > > No, you are bound to the limitations of your environment. We know the CPU can be high with the defaults but that is the trade-off for high quality. Your options are to use the lower vencspd or get more performant machines. > > > > > > > > > > > > > > > > > > > > Thanks again, > > > > > > > Sammy > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Dec 7, 2015 at 1:15 PM, SamyGo wrote: > > > > > > > > Thanks Athony for the reply, > > > > > > > > > > > > > > > > I tried medium and slow, medium seems to give me much better results, atleast the video doesn't drop frames and not getting stuck. I'm still arranging for a high powered server to retest this for which I'm very hopeful it will be working perfectly as expected. I will update here with final results once I test. > > > > > > > > > > > > > > > > Again thanks a ton for the response. > > > > > > > > > > > > > > > > Regards, > > > > > > > > Sammy > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Dec 4, 2015 at 1:44 PM, Anthony Minessale wrote: > > > > > > > > > {vencspd=fast,vprofile=baseline}/path/to/file.mp4 > > > > > > > > > You can try medium or slow for speed too. > > > > > > > > > That's the best you can hope for. video needs resources..... > > > > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Dec 4, 2015 at 12:23 PM, SamyGo wrote: > > > > > > > > > > Hello everyone, > > > > > > > > > > I'm using latest FS version 1.7 for recording video calls. Video calls work very well, but every time I start recording the calls to mp4 the CPU jumps to about 100%. That also results in call being paused(video freezes and audio disappears) for few seconds and resume. > > > > > > > > > > > > > > > > > > > > The recorded file upon playback starts good for first few seconds but then drops alot of frames and finally gets stuck.. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > freeswitch at internal> version > > > > > > > > > > FreeSWITCH Version 1.7.0+git~20151202T210853Z~c021d22ea6~64bit (git c021d22 2015-12-02 21:08:53Z 64bit) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > root at FreeSwitch:~# lsb_release -a > > > > > > > > > > Distributor ID: Debian > > > > > > > > > > Description: Debian GNU/Linux 8.1 (jessie) > > > > > > > > > > Release: 8.1 > > > > > > > > > > Codename: jessie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The Hardware specs are bit low, its in Amazon cloud > > > > > > > > > > > > > > > > > > > > Dual-Core 2.50GHz, 4GB RAM. > > > > > > > > > > > > > > > > > > > > I'll increase H/W specs and see if it helps, if there are any suggestions on getting this done nicely. > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > Sammy > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- LOGS When uuid_record is executed --- > > > > > > > > > > 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1473 sample rate: 8000, channels: 2 > > > > > > > > > > 2015-12-04 18:16:13.623235 [DEBUG] avformat.c:1573 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) > > > > > > > > > > 2015-12-04 18:16:13.623235 [NOTICE] avformat.c:437 sample_rate: 8000 nb_samples: 1024 > > > > > > > > > > Output #0, mp4, to '/tmp/newabc.mp4': > > > > > > > > > > Stream #0.0 > > > > > > > > > > : Audio: libvo_aacenc, 8000 Hz, stereo, s16, 131 kb/s > > > > > > > > > > 2015-12-04 18:16:13.623235 [INFO] avformat.c:1597 Opening File [/tmp/newabc.mp4] 8000hz with VIDEO > > > > > > > > > > 2015-12-04 18:16:13.633261 [DEBUG] switch_core_media_bug.c:828 Attaching BUG to sofia/external/868599 > > > > > > > > > > 2015-12-04 18:16:13.653256 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0 > > > > > > > > > > 2015-12-04 18:16:13.653256 [DEBUG] switch_ivr_async.c:1483 No silence detection configured; assuming start of speech > > > > > > > > > > 2015-12-04 18:16:13.723299 [DEBUG] avcodec.c:1044 picture size changed from 352x288 to 640x480, reinitializing encoder > > > > > > > > > > frame I:1 Avg QP:10.00 size: 1049 > > > > > > > > > > mb I I16..4: 100.0% 0.0% 0.0% > > > > > > > > > > coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% > > > > > > > > > > i16 v,h,dc,p: 94% 0% 6% 0% > > > > > > > > > > i8c dc,h,v,p: 100% 0% 0% 0% > > > > > > > > > > kb/s:755.28 > > > > > > > > > > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > > > > > > > > > > profile Constrained Baseline, level 4.1 > > > > > > > > > > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > > > > > > > > > > profile Constrained Baseline, level 4.1 > > > > > > > > > > 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1981 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > > > > > > > > > > 2015-12-04 18:16:13.743264 [INFO] avformat.c:1949 use video codec implementation Video: libx264, yuv420p, 1280x720, q=-1--1, 1981 kb/s > > > > > > > > > > 2015-12-04 18:16:13.743264 [DEBUG] avcodec.c:1044 picture size changed from 352x288 to 1280x720, reinitializing encoder > > > > > > > > > > frame I:1 Avg QP:10.00 size: 1049 > > > > > > > > > > mb I I16..4: 100.0% 0.0% 0.0% > > > > > > > > > > coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% > > > > > > > > > > i16 v,h,dc,p: 94% 0% 6% 0% > > > > > > > > > > i8c dc,h,v,p: 100% 0% 0% 0% > > > > > > > > > > kb/s:755.28 > > > > > > > > > > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > > > > > > > > > > profile Constrained Baseline, level 4.1 > > > > > > > > > > 2015-12-04 18:16:13.743264 [NOTICE] avformat.c:518 video thread start > > > > > > > > > > 2015-12-04 18:16:13.983266 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:16.043257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 > > > > > > > > > > 2015-12-04 18:16:18.421558 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:20.513261 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:22.533260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:24.623259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:26.433258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 > > > > > > > > > > 2015-12-04 18:16:26.653258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:29.003219 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:31.013259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:33.763260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:34.953259 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 > > > > > > > > > > 2015-12-04 18:16:35.803260 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:37.773264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:39.823257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:42.003268 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:44.053263 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:46.053261 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > concealing 203 DC, 203 AC, 203 MV errors > > > > > > > > > > 2015-12-04 18:16:48.273264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 > > > > > > > > > > 2015-12-04 18:16:48.803258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > concealing 259 DC, 259 AC, 259 MV errors > > > > > > > > > > 2015-12-04 18:16:51.013257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:53.223264 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > concealing 147 DC, 147 AC, 147 MV errors > > > > > > > > > > 2015-12-04 18:16:55.483258 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > concealing 198 DC, 198 AC, 198 MV errors > > > > > > > > > > concealing 602 DC, 602 AC, 602 MV errors > > > > > > > > > > 2015-12-04 18:16:59.603257 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 192 VER 2 LEN 8 > > > > > > > > > > 2015-12-04 18:16:59.663254 [WARNING] switch_rtp.c:5951 INVALID RTCP PACKET TYPE 0 VER 0 LEN 4 > > > > > > > > > > concealing 300 DC, 300 AC, 300 MV errors > > > > > > > > > > 2015-12-04 18:17:04.143260 [NOTICE] sofia.c:952 Hangup sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) [CS_EXECUTE] [NORMAL_CLEARING] > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) ending bridge by request from read function > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video thread. > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video thread. > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:699 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) ending bridge by request from write function > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:719 Ending video thread. > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:767 Ending video thread. > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/external/868599 video thread ended. > > > > > > > > > > 2015-12-04 18:17:04.143260 [DEBUG] switch_ivr_bridge.c:212 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) video thread ended. > > > > > > > > > > 2015-12-04 18:17:04.153216 [DEBUG] switch_core_media.c:5167 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) Video thread ended > > > > > > > > > > 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)] > > > > > > > > > > 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/external/868599] > > > > > > > > > > 2015-12-04 18:17:04.163261 [NOTICE] switch_ivr_bridge.c:881 Hangup sofia/external/868599 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > > > > > > > > > > 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:542 (sofia/external/868599) State EXCHANGE_MEDIA going to sleep > > > > > > > > > > 2015-12-04 18:17:04.163261 [DEBUG] switch_core_state_machine.c:473 (sofia/external/868599) Running State Change CS_HANGUP > > > > > > > > > > 2015-12-04 18:17:04.163261 [DEBUG] switch_ivr_async.c:1305 Stop recording file /tmp/newabc.mp4 > > > > > > > > > > 2015-12-04 18:17:04.163261 [DEBUG] switch_core_media.c:5167 sofia/external/868599 Video thread ended > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1689 sofia/external/868599 skip receive message [UNBRIDGE] (channel is hungup already) > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_ivr_bridge.c:1692 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) skip receive message [UNBRIDGE] (channel is hungup already) > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:2796 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:539 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State EXECUTE going to sleep > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) Running State Change CS_HANGUP > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) Callstate Change ACTIVE -> HANGUP > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State HANGUP > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:431 Channel sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) hanging up, cause: NORMAL_CLEARING > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:60 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) Standard HANGUP, cause: NORMAL_CLEARING > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State HANGUP going to sleep > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State Change CS_HANGUP -> CS_REPORTING > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) Running State Change CS_REPORTING > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State REPORTING > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:104 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) Standard REPORTING, cause: NORMAL_CLEARING > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State REPORTING going to sleep > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State Change CS_REPORTING -> CS_DESTROY > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_session.c:1646 Session 5 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) Locked, Waiting on external entities > > > > > > > > > > 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1664 Session 5 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) Ended > > > > > > > > > > 2015-12-04 18:17:04.173260 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) [CS_DESTROY] > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) Running State Change CS_DESTROY > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State DESTROY > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] mod_sofia.c:341 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) SOFIA DESTROY > > > > > > > > > > frame I:50 Avg QP:11.50 size: 99188 > > > > > > > > > > frame P:1320 Avg QP:12.79 size: 9817 > > > > > > > > > > mb I I16..4: 32.3% 0.0% 67.7% > > > > > > > > > > mb P I16..4: 1.8% 0.0% 2.3% P16..4: 21.0% 3.5% 1.8% 0.0% 0.0% skip:69.6% > > > > > > > > > > coded y,uvDC,uvAC intra: 66.2% 73.8% 61.1% inter: 8.1% 14.0% 4.7% > > > > > > > > > > i16 v,h,dc,p: 44% 23% 16% 16% > > > > > > > > > > i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 35% 10% 3% 4% 3% 5% 4% 4% > > > > > > > > > > i8c dc,h,v,p: 37% 32% 20% 11% > > > > > > > > > > kb/s:9416.81 > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:111 sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23) Standard DESTROY > > > > > > > > > > 2015-12-04 18:17:04.173260 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/868499 at 52.70.5.23 (mailto:868499 at 52.70.5.23)) State DESTROY going to sleep > > > > > > > > > > 2015-12-04 18:17:04.213268 [NOTICE] avformat.c:624 video thread done > > > > > > > > > > frame I:12 Avg QP:13.27 size: 89070 > > > > > > > > > > frame P:681 Avg QP:11.76 size: 16819 > > > > > > > > > > mb I I16..4: 36.9% 0.0% 63.1% > > > > > > > > > > mb P I16..4: 2.7% 0.0% 4.9% P16..4: 20.0% 3.0% 1.8% 0.0% 0.0% skip:67.5% > > > > > > > > > > final ratefactor: 15.09 > > > > > > > > > > coded y,uvDC,uvAC intra: 68.6% 72.9% 63.8% inter: 8.6% 14.6% 6.1% > > > > > > > > > > i16 v,h,dc,p: 47% 23% 17% 12% > > > > > > > > > > i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 35% 9% 3% 4% 3% 4% 4% 4% > > > > > > > > > > i8c dc,h,v,p: 39% 32% 18% 12% > > > > > > > > > > ref P L0: 90.9% 5.9% 3.2% > > > > > > > > > > kb/s:2046.12 > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_ivr_async.c:1366 Channel is hung up > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media_bug.c:1118 Removing BUG from sofia/external/868599 > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:739 (sofia/external/868599) Callstate Change ACTIVE -> HANGUP > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 (sofia/external/868599) State HANGUP > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_media.c:10542 sofia/external/868599 skip receive message [VIDEO_REFRESH_REQ] (channel is hungup already) > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:425 sofia/external/868599 Overriding SIP cause 480 with 200 from the other leg > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:431 Channel sofia/external/868599 hanging up, cause: NORMAL_CLEARING > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/external/868599 > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:60 sofia/external/868599 Standard HANGUP, cause: NORMAL_CLEARING > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:741 (sofia/external/868599) State HANGUP going to sleep > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:508 (sofia/external/868599) State Change CS_HANGUP -> CS_REPORTING > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:473 (sofia/external/868599) Running State Change CS_REPORTING > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 (sofia/external/868599) State REPORTING > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:104 sofia/external/868599 Standard REPORTING, cause: NORMAL_CLEARING > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:827 (sofia/external/868599) State REPORTING going to sleep > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:499 (sofia/external/868599) State Change CS_REPORTING -> CS_DESTROY > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_session.c:1646 Session 6 (sofia/external/868599) Locked, Waiting on external entities > > > > > > > > > > 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1664 Session 6 (sofia/external/868599) Ended > > > > > > > > > > 2015-12-04 18:17:04.243259 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/868599 [CS_DESTROY] > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:630 (sofia/external/868599) Running State Change CS_DESTROY > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 (sofia/external/868599) State DESTROY > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] mod_sofia.c:341 sofia/external/868599 SOFIA DESTROY > > > > > > > > > > frame I:45 Avg QP:12.50 size: 45087 > > > > > > > > > > frame P:823 Avg QP:13.81 size: 11066 > > > > > > > > > > mb I I16..4: 18.3% 0.0% 81.7% > > > > > > > > > > mb P I16..4: 6.4% 0.0% 10.7% P16..4: 41.3% 12.4% 5.3% 0.0% 0.0% skip:23.9% > > > > > > > > > > coded y,uvDC,uvAC intra: 82.3% 76.7% 61.8% inter: 28.1% 33.2% 6.8% > > > > > > > > > > i16 v,h,dc,p: 31% 33% 19% 17% > > > > > > > > > > i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 38% 14% 3% 3% 4% 3% 3% 4% > > > > > > > > > > i8c dc,h,v,p: 41% 35% 18% 5% > > > > > > > > > > kb/s:9237.67 > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:111 sofia/external/868599 Standard DESTROY > > > > > > > > > > 2015-12-04 18:17:04.243259 [DEBUG] switch_core_state_machine.c:640 (sofia/external/868599) State DESTROY going to sleep > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > > > > > Professional FreeSWITCH Consulting Services: > > > > > > > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > > > > > http://www.freeswitch.org > > > > > > > > > > http://confluence.freeswitch.org > > > > > > > > > > http://www.cluecon.com > > > > > > > > > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > > > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at 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 (http://irc.freenode.net) #freeswitch ? http://freeswitch.org/g+ > > > > > > > > > > > > > > > > > > ClueCon Weekly Development Call > > > > > > > > > ? sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org) ? +19193869900 (tel:%2B19193869900) > > > > > > > > > > > > > > > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > > > > > > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > > > > Professional FreeSWITCH Consulting Services: > > > > > > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > > > > http://www.freeswitch.org > > > > > > > > > http://confluence.freeswitch.org > > > > > > > > > http://www.cluecon.com > > > > > > > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org) > > > > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > > Professional FreeSWITCH Consulting Services: > > > > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > > http://www.freeswitch.org > > > > > > > http://confluence.freeswitch.org > > > > > > > http://www.cluecon.com > > > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at 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 (http://irc.freenode.net) #freeswitch ? http://freeswitch.org/g+ > > > > > > > > > > > > ClueCon Weekly Development Call > > > > > > ? sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org) ? +19193869900 (tel:%2B19193869900) > > > > > > > > > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > > > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > > > > > > > > > _________________________________________________________________________ > > > > > > Professional FreeSWITCH Consulting Services: > > > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > http://www.freeswitch.org > > > > > > http://confluence.freeswitch.org > > > > > > http://www.cluecon.com > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org) > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > Professional FreeSWITCH Consulting Services: > > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > > > > http://www.freeswitch.org > > > > > http://confluence.freeswitch.org > > > > > http://www.cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at 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 (http://irc.freenode.net) #freeswitch ? http://freeswitch.org/g+ > > > > > > > > ClueCon Weekly Development Call > > > > ? sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org) ? +19193869900 (tel:%2B19193869900) > > > > > > > > https://www.youtube.com/watch?v=9XXgW34t40s > > > > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > > http://www.freeswitchsolutions.com > > > > > > > > Official FreeSWITCH Sites > > > > http://www.freeswitch.org > > > > http://confluence.freeswitch.org > > > > http://www.cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org) > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > > > http://www.freeswitchsolutions.com > > > > > > Official FreeSWITCH Sites > > > http://www.freeswitch.org > > > http://confluence.freeswitch.org > > > http://www.cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org) > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org (mailto:consulting at freeswitch.org) > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at 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/20160115/d656be50/attachment-0001.html From ssinyagin at gmail.com Fri Jan 15 04:54:20 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 15 Jan 2016 02:54:20 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: Message-ID: Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. I tried the following sequence, but it didn't work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds: so, it looks like it needs an external application talking over ESL. On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris wrote: > use whatever sound file you want as your ringback? > > > On Jan 14, 2016, at 6:42 AM, Emrah wrote: > > > > Hi all, > > Is there no way to force a 183 in a session and play a ringback or MOH > while executing other dial plan instructions? > > Basically, I?ve gone around trying instant_rinback=true, ring_ready, > gentones, etc? No luck. > > If I bridge my channel to loopback/wait, sure enough it works. > > What I need to do is play a ringback or some MOH while I carry on > executing my dial plan instructions. The 183 is a nice to have but I don?t > mind if the channel is answered. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160115/f1103b0f/attachment.html From lists at kavun.ch Fri Jan 15 09:53:23 2016 From: lists at kavun.ch (Emrah) Date: Fri, 15 Jan 2016 07:53:23 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: Message-ID: Thank you to all for your valuable inputs. See? At first it looks super trivial! And I think it should be. Begin troll mode With Asterisk, using MusicOnHold or Ringing does exactly that. End troll mode I will not give up. I don?t want to result to external programming for something like this, although using a little lua script sounds appealing. If I get it working like I want I?ll post something here. Ciao! > On Jan 15, 2016, at 2:54 AM, Stanislav Sinyagin wrote: > > Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. > > I tried the following sequence, but it didn't work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds: > > > > > > > > > > > > > > > > > so, it looks like it needs an external application talking over ESL. > > > > > > > > > On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris > wrote: > use whatever sound file you want as your ringback? > > > On Jan 14, 2016, at 6:42 AM, Emrah > wrote: > > > > Hi all, > > Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? > > Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. > > If I bridge my channel to loopback/wait, sure enough it works. > > What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160115/30e0360d/attachment.html From lists at kavun.ch Fri Jan 15 10:10:12 2016 From: lists at kavun.ch (Emrah) Date: Fri, 15 Jan 2016 08:10:12 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: Message-ID: <258D834A-74B4-440F-B1B0-EDAB3462FFF8@kavun.ch> Question: It?s not very sexy, but how about parking the call? I can play whatever I want while the call is parked and take my time in doing whatever I need to do. The question then becomes how to keep a trail of the UUID, transfer it to the right extension and retain codec configs as well as set variables? What are your thoughts? > On Jan 15, 2016, at 7:53 AM, Emrah wrote: > > Thank you to all for your valuable inputs. > See? At first it looks super trivial! And I think it should be. > Begin troll mode > With Asterisk, using MusicOnHold or Ringing does exactly that. > End troll mode > > I will not give up. I don?t want to result to external programming for something like this, although using a little lua script sounds appealing. > > If I get it working like I want I?ll post something here. > > Ciao! > > >> On Jan 15, 2016, at 2:54 AM, Stanislav Sinyagin > wrote: >> >> Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. >> >> I tried the following sequence, but it didn't work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> so, it looks like it needs an external application talking over ESL. >> >> >> >> >> >> >> >> >> On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris > wrote: >> use whatever sound file you want as your ringback? >> >> > On Jan 14, 2016, at 6:42 AM, Emrah > wrote: >> > >> > Hi all, >> > Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? >> > Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. >> > If I bridge my channel to loopback/wait, sure enough it works. >> > What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160115/847afa0f/attachment-0001.html From ssinyagin at gmail.com Fri Jan 15 11:11:04 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 15 Jan 2016 09:11:04 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <258D834A-74B4-440F-B1B0-EDAB3462FFF8@kavun.ch> References: <258D834A-74B4-440F-B1B0-EDAB3462FFF8@kavun.ch> Message-ID: I would suggest using two FreeSWITCH boxes: the SBC gets the call, bridges it to the core server, and plays its own ringback while the core server processes the call. You can also merge them together in one box, just by bridging to "sofia/external/new_extension at SERVERIP:5080" On Fri, Jan 15, 2016 at 8:10 AM, Emrah wrote: > Question: > It?s not very sexy, but how about parking the call? > I can play whatever I want while the call is parked and take my time in > doing whatever I need to do. The question then becomes how to keep a trail > of the UUID, transfer it to the right extension and retain codec configs as > well as set variables? > > What are your thoughts? > > On Jan 15, 2016, at 7:53 AM, Emrah wrote: > > Thank you to all for your valuable inputs. > See? At first it looks super trivial! And I think it should be. > Begin troll mode > With Asterisk, using MusicOnHold or Ringing does exactly that. > End troll mode > > I will not give up. I don?t want to result to external programming for > something like this, although using a little lua script sounds appealing. > > If I get it working like I want I?ll post something here. > > Ciao! > > > On Jan 15, 2016, at 2:54 AM, Stanislav Sinyagin > wrote: > > Ringback is played back only when FreeSWITCH starts an outbound channel - > during the bridge command, for example. What Enrah wants, is to play the > early media while the dialplan execution goes on, but before the call is > bridged. > > I tried the following sequence, but it didn't work either: the next > command after sleep() was never executed, because the originator timed out > after 20 seconds, and the audio file was played during these 20 seconds: > > > > > > > > > > > > > > > > > so, it looks like it needs an external application talking over ESL. > > > > > > > > > On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris wrote: > >> use whatever sound file you want as your ringback? >> >> > On Jan 14, 2016, at 6:42 AM, Emrah wrote: >> > >> > Hi all, >> > Is there no way to force a 183 in a session and play a ringback or MOH >> while executing other dial plan instructions? >> > Basically, I?ve gone around trying instant_rinback=true, ring_ready, >> gentones, etc? No luck. >> > If I bridge my channel to loopback/wait, sure enough it works. >> > What I need to do is play a ringback or some MOH while I carry on >> executing my dial plan instructions. The 183 is a nice to have but I don?t >> mind if the channel is answered. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160115/5e21d204/attachment.html From lists at kavun.ch Fri Jan 15 14:00:26 2016 From: lists at kavun.ch (Emrah) Date: Fri, 15 Jan 2016 12:00:26 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: References: <258D834A-74B4-440F-B1B0-EDAB3462FFF8@kavun.ch> Message-ID: <65A825D4-8780-4DF4-8BC5-A330ABA858F7@kavun.ch> Just to have some ringback? Wow that sounds like it would be a little over the top. In that case I could just bridge one call onto another extension with the loopback channel. That would effectively play a ringback. But this isn?t just a question of ringback. the bottom line is that there is no application to play something while allowing dial plan processing and I find that to be a pity. Not everything should resort in coding in external apps. And not something that is as trivial as this. there are apps like ?curl? or ?httpapi? that can be executed from the dialplan and they exist for a reason. It would be nice to allow something to be played back while we carry on executing a few dial plan operations. E > On Jan 15, 2016, at 9:11 AM, Stanislav Sinyagin wrote: > > I would suggest using two FreeSWITCH boxes: the SBC gets the call, bridges it to the core server, and plays its own ringback while the core server processes the call. You can also merge them together in one box, just by bridging to "sofia/external/new_extension at SERVERIP:5080" > > > > > > On Fri, Jan 15, 2016 at 8:10 AM, Emrah > wrote: > Question: > It?s not very sexy, but how about parking the call? > I can play whatever I want while the call is parked and take my time in doing whatever I need to do. The question then becomes how to keep a trail of the UUID, transfer it to the right extension and retain codec configs as well as set variables? > > What are your thoughts? > >> On Jan 15, 2016, at 7:53 AM, Emrah > wrote: >> >> Thank you to all for your valuable inputs. >> See? At first it looks super trivial! And I think it should be. >> Begin troll mode >> With Asterisk, using MusicOnHold or Ringing does exactly that. >> End troll mode >> >> I will not give up. I don?t want to result to external programming for something like this, although using a little lua script sounds appealing. >> >> If I get it working like I want I?ll post something here. >> >> Ciao! >> >> >>> On Jan 15, 2016, at 2:54 AM, Stanislav Sinyagin > wrote: >>> >>> Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. >>> >>> I tried the following sequence, but it didn't work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> so, it looks like it needs an external application talking over ESL. >>> >>> >>> >>> >>> >>> >>> >>> >>> On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris > wrote: >>> use whatever sound file you want as your ringback? >>> >>> > On Jan 14, 2016, at 6:42 AM, Emrah > wrote: >>> > >>> > Hi all, >>> > Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? >>> > Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. >>> > If I bridge my channel to loopback/wait, sure enough it works. >>> > What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160115/f5237eb8/attachment-0001.html From bote_radio at botecomm.com Fri Jan 15 14:20:13 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 15 Jan 2016 06:20:13 -0500 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <65A825D4-8780-4DF4-8BC5-A330ABA858F7@kavun.ch> References: <258D834A-74B4-440F-B1B0-EDAB3462FFF8@kavun.ch> <65A825D4-8780-4DF4-8BC5-A330ABA858F7@kavun.ch> Message-ID: <005a01d14f86$b43bb980$1cb32c80$@botecomm.com> The dialplan exists to route calls, it is not a script processor. It is designed to handle common use cases. FreeSWITCH apps that play media to the caller are typically blocking, so they wait for the audio file to play before proceeding and sometimes wait for a response from the caller. What you want to do falls outside the design of the XML dialplan, so a script would likely be the best approach since this gives you much more control. Stanislav?s suggestion of a script that commands FS via ESL sounds like a good approach to me since you are free to write in the language of your choice. Your design sounds familiar so it might be worth searching these mailing list archives for a similar solution. Also, there might be some wisdom captured on this Confluence page https://freeswitch.org/confluence/display/FREESWITCH/Holding+Bin#HoldingBin-AttendedTransfersandVoiceMail Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Emrah Sent: Friday, 15 January, 2016 06:00 Subject: Re: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions Just to have some ringback? Wow that sounds like it would be a little over the top. In that case I could just bridge one call onto another extension with the loopback channel. That would effectively play a ringback. But this isn?t just a question of ringback. the bottom line is that there is no application to play something while allowing dial plan processing and I find that to be a pity. Not everything should resort in coding in external apps. And not something that is as trivial as this. there are apps like ?curl? or ?httpapi? that can be executed from the dialplan and they exist for a reason. It would be nice to allow something to be played back while we carry on executing a few dial plan operations. E On Jan 15, 2016, at 9:11 AM, Stanislav Sinyagin wrote: I would suggest using two FreeSWITCH boxes: the SBC gets the call, bridges it to the core server, and plays its own ringback while the core server processes the call. You can also merge them together in one box, just by bridging to "sofia/external/new_extension at SERVERIP:5080" On Fri, Jan 15, 2016 at 8:10 AM, Emrah wrote: Question: It?s not very sexy, but how about parking the call? I can play whatever I want while the call is parked and take my time in doing whatever I need to do. The question then becomes how to keep a trail of the UUID, transfer it to the right extension and retain codec configs as well as set variables? What are your thoughts? On Jan 15, 2016, at 7:53 AM, Emrah wrote: Thank you to all for your valuable inputs. See? At first it looks super trivial! And I think it should be. Begin troll mode With Asterisk, using MusicOnHold or Ringing does exactly that. End troll mode I will not give up. I don?t want to result to external programming for something like this, although using a little lua script sounds appealing. If I get it working like I want I?ll post something here. Ciao! On Jan 15, 2016, at 2:54 AM, Stanislav Sinyagin wrote: Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. I tried the following sequence, but it didn't work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds: so, it looks like it needs an external application talking over ESL. On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris wrote: use whatever sound file you want as your ringback? > On Jan 14, 2016, at 6:42 AM, Emrah wrote: > > Hi all, > Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? > Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. > If I bridge my channel to loopback/wait, sure enough it works. > What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160115/4ef844fc/attachment.html From mic.niel84 at gmail.com Fri Jan 15 15:46:42 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Fri, 15 Jan 2016 13:46:42 +0100 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: Message-ID: I've tried to add: And my log shows the following: set(loopback_export=[country_code=+44]) But it still isn't available on the next runthrough of dial plan. On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > set > > loopback_export to the names of all of the variables you want to copy > across sep buy a , (comma) > > > > On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen > wrote: > >> I've got directory with subscribers containing a variable called >> "country_code". >> This variable can be used in regular dial plans and works perfectly. >> >> However, I've got a conference call dial plan where I >> use conference_set_auto_outcall. >> I'mm calling loopback/XYZ to get my other dial plans into play. >> >> Everything works, except my subscriber variable "country_code" doesn't >> get recognised after the loopback/. >> >> How can I fix this kind of issue? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160115/fc180d7e/attachment-0001.html From mike at jerris.com Fri Jan 15 16:10:25 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 15 Jan 2016 08:10:25 -0500 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: Message-ID: On Friday, January 15, 2016, Michael Nielsen wrote: > I've tried to add: > > data="loopback_export=[country_code=${country_code}]"/> > > And my log shows the following: > > set(loopback_export=[country_code=+44]) > > But it still isn't available on the next runthrough of dial plan. > > On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > >> set >> >> loopback_export to the names of all of the variables you want to copy >> across sep buy a , (comma) >> >> >> >> On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen > > wrote: >> >>> I've got directory with subscribers containing a variable called >>> "country_code". >>> This variable can be used in regular dial plans and works perfectly. >>> >>> However, I've got a conference call dial plan where I >>> use conference_set_auto_outcall. >>> I'mm calling loopback/XYZ to get my other dial plans into play. >>> >>> Everything works, except my subscriber variable "country_code" doesn't >>> get recognised after the loopback/. >>> >>> How can I fix this kind of issue? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160115/c7c57e8e/attachment.html From mic.niel84 at gmail.com Fri Jan 15 16:16:00 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Fri, 15 Jan 2016 14:16:00 +0100 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: Message-ID: I've tried that as well. CLI shows: Dialplan: sofia/internal/+44234987447 at my-domain Action set(loopback_export=country_code) After the loopback the dialplan is as follows: Dialplan: loopback/32487477-b Action set(dialed_number=${country_code} 32487477) INLINE EXECUTE loopback/32487477-b set(dialed_number=32487477) So +44 is not added, even though the country_code variable is +44 before the loopback. On Fri, Jan 15, 2016 at 2:10 PM, Michael Jerris wrote: > > > > On Friday, January 15, 2016, Michael Nielsen wrote: > >> I've tried to add: >> >> > data="loopback_export=[country_code=${country_code}]"/> >> >> And my log shows the following: >> >> set(loopback_export=[country_code=+44]) >> >> But it still isn't available on the next runthrough of dial plan. >> >> On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> set >>> >>> loopback_export to the names of all of the variables you want to copy >>> across sep buy a , (comma) >>> >>> >>> >>> On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen >>> wrote: >>> >>>> I've got directory with subscribers containing a variable called >>>> "country_code". >>>> This variable can be used in regular dial plans and works perfectly. >>>> >>>> However, I've got a conference call dial plan where I >>>> use conference_set_auto_outcall. >>>> I'mm calling loopback/XYZ to get my other dial plans into play. >>>> >>>> Everything works, except my subscriber variable "country_code" doesn't >>>> get recognised after the loopback/. >>>> >>>> How can I fix this kind of issue? >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160115/19b3008d/attachment.html From mylists at polite.se Fri Jan 15 22:14:31 2016 From: mylists at polite.se (Oivvio Polite) Date: Fri, 15 Jan 2016 20:14:31 +0100 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <10415.1452010704@ccs.covici.com> References: <10415.1452010704@ccs.covici.com> Message-ID: <20160115191431.GC32708@blomma.liberationtech.net> On Tue, Jan 05, 2016 at 11:18:24AM -0500, covici at ccs.covici.com wrote: > Hi. I am having dtmf problems when calling numbers via flowroute. They > seem not to detect the dtmf at all. I am using 2833 in all cases. Have > you done anything in say the last 4 or 5 months which might be related? > I am not having these problems when using another carrier, so I am quite puzzled. > > Thanks in advance for any suggestions. Did you get to the bottom of this? I too am having trouble with flowroute and DTMF. regards, Oivvio Polite From covici at ccs.covici.com Fri Jan 15 23:02:29 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Fri, 15 Jan 2016 15:02:29 -0500 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <20160115191431.GC32708@blomma.liberationtech.net> References: <10415.1452010704@ccs.covici.com> <20160115191431.GC32708@blomma.liberationtech.net> Message-ID: <17352.1452888149@ccs.covici.com> Oivvio Polite wrote: > On Tue, Jan 05, 2016 at 11:18:24AM -0500, covici at ccs.covici.com wrote: > > Hi. I am having dtmf problems when calling numbers via flowroute. They > > seem not to detect the dtmf at all. I am using 2833 in all cases. Have > > you done anything in say the last 4 or 5 months which might be related? > > I am not having these problems when using another carrier, so I am quite puzzled. > > > > Thanks in advance for any suggestions. > > Did you get to the bottom of this? I too am having trouble with > flowroute and DTMF. Well, for now, I set absolute_codec_string="PCMU" before the bridge and that seems to have fixed it. -- 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 randomdev4 at gmail.com Thu Jan 14 13:12:23 2016 From: randomdev4 at gmail.com (Tim Smith) Date: Thu, 14 Jan 2016 10:12:23 +0000 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: Moises, Thank you for your reply, you're the only person who read my post and didn't somehow think I was saying "remove the UUIDs" ! ;-) Regarding : "Consistency is good, but certain functionality cannot be provided if every single line has exactly the same format." Yes, but the inconsistency makes it painful, verging on impossible, to correctly integrate with various log parsing systems, whether Splunk, Logstash or otherwise. If the devs have some personal preference for one format here, another format there, and something else over there, I would unfortunatley still call that a whim, especially as there is no clear documentation on the matter either !!!! Even the Freeswitch docs don't know what's what ... " The log file will contain log lines in this general format: YYYY-MM-DD hh:mm:ss [LEVEL] source_file_name:line_number function_name() " , that statement is not true. That's not the general format. its not even the dominant format, infact in my logs, lines that start YYYY-MM-DD are a rarity ! I have not come accross any other product (either closed or open source) that has the quite same amount of randomness in the way it logs. That is what I find so frustrating. On 14 January 2016 at 07:05, Moises Silva wrote: >> Why do log lines start with UUID ? Its format is hard to define and >> subject to the developer's whims ....why not start the line with a >> date, like almost any other sane program, and put the UUID elsewhere >> ? > > > If you don't like the uuid at the front, just remove it from the > logfile.conf.xml configuration > > > > You've clearly not attempted to debug complex scenarios, where the uuid at > the front is more useful, because when you have hundreds or thousands of > calls and you are trying to figure out what happened with a particular call > leg, you search for the uuid first, date second. > > The format you despise, is terribly useful, so try to understand it rather > than just hate it because is different to what you're used to. > >> >> Why on earth is the log format so inconsistent ? e.g. >> >> Sometimes developers feel like giving us a date .... >> >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] >> switch_core_state_machine.c:636 >> >> Sometimes they even manage the date in a sensible location .... >> >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 >> >> Other times they can't be bothered to provide such a critical piece of >> information..... >> >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > > > This is by design, not a whim, and many of us like it, makes routing logs > easy to spot. Some people instead of calling these design decisions whims, > actually provided a solution so it fits what they prefer: > > https://freeswitch.org/jira/browse/FS-6805 > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview > > So you can add this to switch.conf.xml: > > > > And you get the behavior you want. Please spend the time learning the > software rather than blaming the devs because you can't understand it or > because they have preferences different than yours. > >> Please devs... spend a little time cleaning up the logging ... it >> helps debugging and troubleshooting so much if we have some >> consistency there !!!!! > > > Consistency is good, but certain functionality cannot be provided if every > single line has exactly the same format. Some log lines are not associated > to a session, so they can't have a uuid at all. The FreeSWITCH logs are as > consistent as is possible in a given context. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 adam at steffannicarpet.com Thu Jan 14 20:20:53 2016 From: adam at steffannicarpet.com (Samuel Reamer) Date: Thu, 14 Jan 2016 17:20:53 +0000 Subject: [Freeswitch-users] Held calls are terminated after ~25 seconds Message-ID: I am using two Cisco SPA303 phones with a local FreeSwitch server. Incoming calls through Plivo dial a group ring extension and everything works as expected; however, after placing a call on hold the call is terminated after about 25 seconds. Previously I was getting a warning about the RFC2543 hold method, and Async PTIME not supported. I set the SPA303 config setting "RFC2543 Call Hold" from yes to no, and also added to my internal.xml sip profile. The errors went away but the issue persists. Here is the log: f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:40.908307 [DEBUG] switch_channel.c:1831 (sofia/internal/1001 at 192.168.0.114:5060) Callstate Change ACTIVE -> HELD f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:30:64000:1] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMU:0:8000:30:64000:1] ++++ is saved as a match f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMU:0:8000:30:64000:1] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 101 at 8000 f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 101 at 8000 f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4473 sofia/internal/1001 at 192.168.0.114:5060 Set 2833 dtmf send payload to 101 recv payload to 101 f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:6010 Audio params are unchanged for sofia/internal/1001 at 192.168.0.114:5060. f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] sofia.c:7503 Processing updated SDP f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.168322 [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 192.168.0.114:5060 entering state [completed][200] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.178318 [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 192.168.0.114:5060 entering state [ready][200] 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [DEBUG] sofia.c:6756 Channel sofia/internal/+14196680795 at 184.106.123.160 entering state [terminating][0] 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [NOTICE] sofia.c:7775 Hangup sofia/internal/+14196680795 at 184.106.123.160 [CS_EXECUTE] [NORMAL_UNSPECIFIED] 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/+14196680795 at 184.106.123.160 ending bridge by request from read function 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/internal/+14196680795 at 184.106.123.160] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/internal/1001 at 192.168.0.114:5060] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_channel.c:2019 (sofia/internal/1001 at 192.168.0.114:5060) Callstate Change HELD -> UNHELD f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [NOTICE] switch_ivr_bridge.c:881 Hangup sofia/internal/1001 at 192.168.0.114:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:542 (sofia/internal/1001 at 192.168.0.114:5060) State EXCHANGE_MEDIA going to sleep f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1001 at 192.168.0.114:5060) Running State Change CS_HANGUP f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/1001 at 192.168.0.114:5060) Callstate Change UNHELD -> HANGUP f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1001 at 192.168.0.114:5060) State HANGUP f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] mod_sofia.c:431 Channel sofia/internal/1001 at 192.168.0.114:5060 hanging up, cause: NORMAL_CLEARING f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_ivr_bridge.c:1689 sofia/internal/1001 at 192.168.0.114:5060 skip receive message [UNBRIDGE] (channel is hungup already) 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_ivr_bridge.c:1692 sofia/internal/+14196680795 at 184.106.123.160 skip receive message [UNBRIDGE] (channel is hungup already) 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_session.c:2796 sofia/internal/+14196680795 at 184.106.123.160 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:539 (sofia/internal/+14196680795 at 184.106.123.160) State EXECUTE going to sleep 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/+14196680795 at 184.106.123.160) Running State Change CS_HANGUP 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/+14196680795 at 184.106.123.160) Callstate Change ACTIVE -> HANGUP 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+14196680795 at 184.106.123.160) State HANGUP 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] mod_sofia.c:431 Channel sofia/internal/+14196680795 at 184.106.123.160 hanging up, cause: NORMAL_UNSPECIFIED f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.328100 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/internal/1001 at 192.168.0.114:5060 f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1001 at 192.168.0.114:5060 Standard HANGUP, cause: NORMAL_CLEARING f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1001 at 192.168.0.114:5060) State HANGUP going to sleep f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/1001 at 192.168.0.114:5060) State Change CS_HANGUP -> CS_REPORTING f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1001 at 192.168.0.114:5060) Running State Change CS_REPORTING f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/1001 at 192.168.0.114:5060) State REPORTING f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:104 sofia/internal/1001 at 192.168.0.114:5060 Standard REPORTING, cause: NORMAL_CLEARING f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/1001 at 192.168.0.114:5060) State REPORTING going to sleep f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1001 at 192.168.0.114:5060) State Change CS_REPORTING -> CS_DESTROY f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_session.c:1646 Session 3 (sofia/internal/1001 at 192.168.0.114:5060) Locked, Waiting on external entities f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [NOTICE] switch_core_session.c:1664 Session 3 (sofia/internal/1001 at 192.168.0.114:5060) Ended f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/1001 at 192.168.0.114:5060 [CS_DESTROY] f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/1001 at 192.168.0.114:5060) Running State Change CS_DESTROY f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1001 at 192.168.0.114:5060) State DESTROY f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] mod_sofia.c:341 sofia/internal/1001 at 192.168.0.114:5060 SOFIA DESTROY f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:111 sofia/internal/1001 at 192.168.0.114:5060 Standard DESTROY f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1001 at 192.168.0.114:5060) State DESTROY going to sleep 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+14196680795 at 184.106.123.160 Standard HANGUP, cause: NORMAL_UNSPECIFIED 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+14196680795 at 184.106.123.160) State HANGUP going to sleep 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/+14196680795 at 184.106.123.160) State Change CS_HANGUP -> CS_REPORTING 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/+14196680795 at 184.106.123.160) Running State Change CS_REPORTING 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/+14196680795 at 184.106.123.160) State REPORTING 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:104 sofia/internal/+14196680795 at 184.106.123.160 Standard REPORTING, cause: NORMAL_UNSPECIFIED 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/+14196680795 at 184.106.123.160) State REPORTING going to sleep 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/+14196680795 at 184.106.123.160) State Change CS_REPORTING -> CS_DESTROY 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/internal/+14196680795 at 184.106.123.160) Locked, Waiting on external entities 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/internal/+14196680795 at 184.106.123.160) Ended 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/+14196680795 at 184.106.123.160 [CS_DESTROY] 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/+14196680795 at 184.106.123.160) Running State Change CS_DESTROY 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/+14196680795 at 184.106.123.160) State DESTROY 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] mod_sofia.c:341 sofia/internal/+14196680795 at 184.106.123.160 SOFIA DESTROY 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:111 sofia/internal/+14196680795 at 184.106.123.160 Standard DESTROY 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/+14196680795 at 184.106.123.160) State DESTROY going to sleep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160114/13626413/attachment-0001.html From asherman at versature.com Fri Jan 15 15:40:38 2016 From: asherman at versature.com (Adam Sherman) Date: Fri, 15 Jan 2016 07:40:38 -0500 Subject: [Freeswitch-users] Control Success with rxfax Message-ID: Good Morning, Is it possible to control whether the rxfax application sends a success code back to the far end? I would like to have a setup where the calling fax machine only thinks there was success if my mod_python script successfully submits the file to our mail server. Thanks, A. -- Adam Sherman | Versature | CTO | 613-317-1212 | asherman at versature.com | www.versature.com VERSATURE LATEST NEWS : Improving Business Operations with Detailed Call Analytics from Versature Versature Gives Back - Year in Review Configuring your Business Communications for the Holidays -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160115/2b0a5229/attachment.html From deepikay at iiitd.ac.in Sun Jan 17 10:21:52 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Sun, 17 Jan 2016 12:51:52 +0530 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session Message-ID: Hi, I am using event socket layer to receive events happenening in the conference session from the Freeswitch in my java program. My program is interested in knowing when there is silence in the conference for a particular period of time. How can I set a condition for silence detection in the conference dialplan and receive its value through a channel variable in my program. Regards, Deepika -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/02a5578f/attachment.html From svac.peter at kingparking.sk Thu Jan 14 17:33:40 2016 From: svac.peter at kingparking.sk (PeterS) Date: Thu, 14 Jan 2016 14:33:40 +0000 (UTC) Subject: [Freeswitch-users] Event socket and Python References: <20130909144440.1fcf30b6@mars> Message-ID: Johan Brannlund writes: > Hmm, that's interesting. I guess either I happened to check out a buggy > version of FS, there's something strange with my configuration or > there's some ARM-specific issue (I run FS on a Raspberry Pi). I'll have > to do some more troubleshooting. Hello Johan, The same problem is happening in my installation. I am running FS on Olimex A20. Have You find some solution? From petedao at gmail.com Sun Jan 17 13:39:02 2016 From: petedao at gmail.com (Pete Kay) Date: Sun, 17 Jan 2016 18:39:02 +0800 Subject: [Freeswitch-users] portaudio error Message-ID: Hi I got the following port audio error when trying to run "pa call" Could someone guide me on how to resolve it? freeswitch at vps57327.vps.ovh.ca> pa call 1001 2016-01-17 05:35:36.321035 [NOTICE] switch_channel.c:1091 New Channel portaudio/1001 [0b65649e-bd06-11e5-bb1d-bb7b62f579b9] Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1025 Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1182 Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1409 Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1990 2016-01-17 05:35:37.881020 [ERR] mod_portaudio.c:2428 Error opening audio device retrying Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1025 Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1182 Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1409 Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1990 FAIL:Device Error! 2016-01-17 05:35:40.421041 [ERR] mod_portaudio.c:2435 Can't open audio device 2016-01-17 05:35:40.421041 [NOTICE] mod_portaudio.c:3049 Close Channel portaudio/1001 [CS_NEW] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/9ed8a766/attachment.html From gmaruzz at gmail.com Sun Jan 17 15:20:35 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 17 Jan 2016 13:20:35 +0100 Subject: [Freeswitch-users] Held calls are terminated after ~25 seconds In-Reply-To: References: Message-ID: check your NAT, you probably have a nat problem, do a sip trace, you'll see whom packets are not getting to other peer. then it timeout On Thu, Jan 14, 2016 at 6:20 PM, Samuel Reamer wrote: > I am using two Cisco SPA303 phones with a local FreeSwitch server. > Incoming calls through Plivo dial a group ring extension and everything > works as expected; however, after placing a call on hold the call is > terminated after about 25 seconds. Previously I was getting a warning about > the RFC2543 hold method, and Async PTIME not supported. > > I set the SPA303 config setting "RFC2543 Call Hold" from yes to no, and > also added to my > internal.xml sip profile. The errors went away but the issue persists. > > Here is the log: > > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:40.908307 [DEBUG] switch_channel.c:1831 (sofia/internal/1001 at 192.168.0.114:5060) Callstate Change ACTIVE -> HELD > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:30:64000:1] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMU:0:8000:30:64000:1] ++++ is saved as a match > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMU:0:8000:30:64000:1] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4069 Set telephone-event payload to 101 at 8000 > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4417 Set telephone-event payload to 101 at 8000 > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:4473 sofia/internal/1001 at 192.168.0.114:5060 Set 2833 dtmf send payload to 101 recv payload to 101 > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] switch_core_media.c:6010 Audio params are unchanged for sofia/internal/1001 at 192.168.0.114:5060. > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.158321 [DEBUG] sofia.c:7503 Processing updated SDP > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.168322 [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 192.168.0.114:5060 entering state [completed][200] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:06:41.178318 [DEBUG] sofia.c:6756 Channel sofia/internal/1001 at 192.168.0.114:5060 entering state [ready][200] > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [DEBUG] sofia.c:6756 Channel sofia/internal/+14196680795 at 184.106.123.160 entering state [terminating][0] > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [NOTICE] sofia.c:7775 Hangup sofia/internal/+14196680795 at 184.106.123.160 [CS_EXECUTE] [NORMAL_UNSPECIFIED] > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [DEBUG] switch_ivr_bridge.c:705 sofia/internal/+14196680795 at 184.106.123.160 ending bridge by request from read function > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.288104 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/internal/+14196680795 at 184.106.123.160] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_ivr_bridge.c:778 BRIDGE THREAD DONE [sofia/internal/1001 at 192.168.0.114:5060] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_channel.c:2019 (sofia/internal/1001 at 192.168.0.114:5060) Callstate Change HELD -> UNHELD > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [NOTICE] switch_ivr_bridge.c:881 Hangup sofia/internal/1001 at 192.168.0.114:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:542 (sofia/internal/1001 at 192.168.0.114:5060) State EXCHANGE_MEDIA going to sleep > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1001 at 192.168.0.114:5060) Running State Change CS_HANGUP > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/1001 at 192.168.0.114:5060) Callstate Change UNHELD -> HANGUP > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1001 at 192.168.0.114:5060) State HANGUP > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] mod_sofia.c:431 Channel sofia/internal/1001 at 192.168.0.114:5060 hanging up, cause: NORMAL_CLEARING > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.318106 [DEBUG] switch_ivr_bridge.c:1689 sofia/internal/1001 at 192.168.0.114:5060 skip receive message [UNBRIDGE] (channel is hungup already) > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_ivr_bridge.c:1692 sofia/internal/+14196680795 at 184.106.123.160 skip receive message [UNBRIDGE] (channel is hungup already) > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_session.c:2796 sofia/internal/+14196680795 at 184.106.123.160 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:539 (sofia/internal/+14196680795 at 184.106.123.160) State EXECUTE going to sleep > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/+14196680795 at 184.106.123.160) Running State Change CS_HANGUP > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/+14196680795 at 184.106.123.160) Callstate Change ACTIVE -> HANGUP > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+14196680795 at 184.106.123.160) State HANGUP > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.318106 [DEBUG] mod_sofia.c:431 Channel sofia/internal/+14196680795 at 184.106.123.160 hanging up, cause: NORMAL_UNSPECIFIED > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.328100 [DEBUG] mod_sofia.c:484 Sending BYE to sofia/internal/1001 at 192.168.0.114:5060 > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1001 at 192.168.0.114:5060 Standard HANGUP, cause: NORMAL_CLEARING > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1001 at 192.168.0.114:5060) State HANGUP going to sleep > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/1001 at 192.168.0.114:5060) State Change CS_HANGUP -> CS_REPORTING > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/1001 at 192.168.0.114:5060) Running State Change CS_REPORTING > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/1001 at 192.168.0.114:5060) State REPORTING > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:104 sofia/internal/1001 at 192.168.0.114:5060 Standard REPORTING, cause: NORMAL_CLEARING > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/1001 at 192.168.0.114:5060) State REPORTING going to sleep > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1001 at 192.168.0.114:5060) State Change CS_REPORTING -> CS_DESTROY > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_session.c:1646 Session 3 (sofia/internal/1001 at 192.168.0.114:5060) Locked, Waiting on external entities > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [NOTICE] switch_core_session.c:1664 Session 3 (sofia/internal/1001 at 192.168.0.114:5060) Ended > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/1001 at 192.168.0.114:5060 [CS_DESTROY] > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/1001 at 192.168.0.114:5060) Running State Change CS_DESTROY > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1001 at 192.168.0.114:5060) State DESTROY > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] mod_sofia.c:341 sofia/internal/1001 at 192.168.0.114:5060 SOFIA DESTROY > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:111 sofia/internal/1001 at 192.168.0.114:5060 Standard DESTROY > f9765406-acd9-480c-a200-43bdc2ad2f36 2016-01-14 12:07:12.338101 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1001 at 192.168.0.114:5060) State DESTROY going to sleep > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:60 sofia/internal/+14196680795 at 184.106.123.160 Standard HANGUP, cause: NORMAL_UNSPECIFIED > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/+14196680795 at 184.106.123.160) State HANGUP going to sleep > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:508 (sofia/internal/+14196680795 at 184.106.123.160) State Change CS_HANGUP -> CS_REPORTING > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/+14196680795 at 184.106.123.160) Running State Change CS_REPORTING > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/+14196680795 at 184.106.123.160) State REPORTING > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:104 sofia/internal/+14196680795 at 184.106.123.160 Standard REPORTING, cause: NORMAL_UNSPECIFIED > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:827 (sofia/internal/+14196680795 at 184.106.123.160) State REPORTING going to sleep > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/+14196680795 at 184.106.123.160) State Change CS_REPORTING -> CS_DESTROY > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/internal/+14196680795 at 184.106.123.160) Locked, Waiting on external entities > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/internal/+14196680795 at 184.106.123.160) Ended > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.348102 [NOTICE] switch_core_session.c:1668 Close Channel sofia/internal/+14196680795 at 184.106.123.160 [CS_DESTROY] > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:630 (sofia/internal/+14196680795 at 184.106.123.160) Running State Change CS_DESTROY > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/+14196680795 at 184.106.123.160) State DESTROY > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] mod_sofia.c:341 sofia/internal/+14196680795 at 184.106.123.160 SOFIA DESTROY > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:111 sofia/internal/+14196680795 at 184.106.123.160 Standard DESTROY > 9cbfdabc-8f1f-4fb3-89f2-c1b0c8522c5c 2016-01-14 12:07:12.358102 [DEBUG] switch_core_state_machine.c:640 (sofia/internal/+14196680795 at 184.106.123.160) 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/e9e313fd/attachment-0001.html From gmaruzz at gmail.com Sun Jan 17 15:22:10 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 17 Jan 2016 13:22:10 +0100 Subject: [Freeswitch-users] Control Success with rxfax In-Reply-To: References: Message-ID: I don't think so, successz codes etc are managed directly by rxfax/txfax, they signal success at the fax protocol level, no way to lie -giovanni On Fri, Jan 15, 2016 at 1:40 PM, Adam Sherman wrote: > Good Morning, > > Is it possible to control whether the rxfax application sends a success > code back to the far end? > > I would like to have a setup where the calling fax machine only thinks > there was success if my mod_python script successfully submits the file to > our mail server. > > Thanks, > > A. > > -- > Adam Sherman | Versature | CTO | 613-317-1212 | asherman at versature.com | > www.versature.com > > > > > VERSATURE LATEST NEWS : > Improving Business Operations with Detailed Call Analytics from Versature > > Versature Gives Back - Year in Review > > Configuring your Business Communications for the Holidays > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160117/7a8fb774/attachment.html From servtelar at gmail.com Sun Jan 17 16:10:10 2016 From: servtelar at gmail.com (servtelar at gmail.com) Date: Sun, 17 Jan 2016 10:10:10 -0300 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: <6BFD86FA-73E9-4F9E-8264-E6C4BC56AD9D@gmail.com> If you don't like the way the things are made, just change it. You are always welcome to help instead of whining. Gustavo Sent from my iPhone > On Jan 14, 2016, at 7:12 AM, Tim Smith wrote: > > Moises, > > Thank you for your reply, you're the only person who read my post and > didn't somehow think I was saying "remove the UUIDs" ! ;-) > > Regarding : "Consistency is good, but certain functionality cannot be > provided if every single line has exactly the same format." > > Yes, but the inconsistency makes it painful, verging on impossible, to > correctly integrate with various log parsing systems, whether Splunk, > Logstash or otherwise. > > > If the devs have some personal preference for one format here, another > format there, and something else over there, I would unfortunatley > still call that a whim, especially as there is no clear documentation > on the matter either !!!! > > Even the Freeswitch docs don't know what's what ... " The log file > will contain log lines in this general format: YYYY-MM-DD hh:mm:ss > [LEVEL] source_file_name:line_number function_name() " , > that statement is not true. That's not the general format. its not > even the dominant format, infact in my logs, lines that start > YYYY-MM-DD are a rarity ! > > > I have not come accross any other product (either closed or open > source) that has the quite same amount of randomness in the way it > logs. That is what I find so frustrating. > > On 14 January 2016 at 07:05, Moises Silva wrote: >>> Why do log lines start with UUID ? Its format is hard to define and >>> subject to the developer's whims ....why not start the line with a >>> date, like almost any other sane program, and put the UUID elsewhere >>> ? >> >> >> If you don't like the uuid at the front, just remove it from the >> logfile.conf.xml configuration >> >> >> >> You've clearly not attempted to debug complex scenarios, where the uuid at >> the front is more useful, because when you have hundreds or thousands of >> calls and you are trying to figure out what happened with a particular call >> leg, you search for the uuid first, date second. >> >> The format you despise, is terribly useful, so try to understand it rather >> than just hate it because is different to what you're used to. >> >>> >>> Why on earth is the log format so inconsistent ? e.g. >>> >>> Sometimes developers feel like giving us a date .... >>> >>> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] >>> switch_core_state_machine.c:636 >>> >>> Sometimes they even manage the date in a sensible location .... >>> >>> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 >>> >>> Other times they can't be bothered to provide such a critical piece of >>> information..... >>> >>> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ >> >> >> This is by design, not a whim, and many of us like it, makes routing logs >> easy to spot. Some people instead of calling these design decisions whims, >> actually provided a solution so it fits what they prefer: >> >> https://freeswitch.org/jira/browse/FS-6805 >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview >> >> So you can add this to switch.conf.xml: >> >> >> >> And you get the behavior you want. Please spend the time learning the >> software rather than blaming the devs because you can't understand it or >> because they have preferences different than yours. >> >>> Please devs... spend a little time cleaning up the logging ... it >>> helps debugging and troubleshooting so much if we have some >>> consistency there !!!!! >> >> >> Consistency is good, but certain functionality cannot be provided if every >> single line has exactly the same format. Some log lines are not associated >> to a session, so they can't have a uuid at all. The FreeSWITCH logs are as >> consistent as is possible in a given context. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 lists at kavun.ch Sun Jan 17 16:42:43 2016 From: lists at kavun.ch (Emrah) Date: Sun, 17 Jan 2016 14:42:43 +0100 Subject: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions In-Reply-To: <005a01d14f86$b43bb980$1cb32c80$@botecomm.com> References: <258D834A-74B4-440F-B1B0-EDAB3462FFF8@kavun.ch> <65A825D4-8780-4DF4-8BC5-A330ABA858F7@kavun.ch> <005a01d14f86$b43bb980$1cb32c80$@botecomm.com> Message-ID: Guys, We all love FS and I?m assuming you?re only trying to defend what?s in place and the logic behind it. Everybody that?s contributed to this thread also seemed to agree that my scenario is very trivial. I don?t think that being able to execute certain applications and allow the dial plan to continue execution is out of the scope of the dial plan. Knowing that one of the instructions could be to execute a script. I read that it could potentially create conflicts if for instance the channel was bridged somewhere while running a playback from a previous instruction. To me, this is like many applications will automatically trigger a pre_answer if necessary. The same could be evaluated for ongoing streams on the channel and stop it when necessary before executing another application that requires to stream to the channel. So out of common sens, I invite you to respond to this once again and advise on whether this should be a feature request or not. I?m actually still convinced that FS has a way of accomplishing this, natively? All the best, E > On Jan 15, 2016, at 12:20 PM, Bote Man wrote: > > The dialplan exists to route calls, it is not a script processor. It is designed to handle common use cases. FreeSWITCH apps that play media to the caller are typically blocking, so they wait for the audio file to play before proceeding and sometimes wait for a response from the caller. > > What you want to do falls outside the design of the XML dialplan, so a script would likely be the best approach since this gives you much more control. Stanislav?s suggestion of a script that commands FS via ESL sounds like a good approach to me since you are free to write in the language of your choice. > > Your design sounds familiar so it might be worth searching these mailing list archives for a similar solution. > > Also, there might be some wisdom captured on this Confluence page > https://freeswitch.org/confluence/display/FREESWITCH/Holding+Bin#HoldingBin-AttendedTransfersandVoiceMail > > Hope this helps. > > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > From: Emrah > Sent: Friday, 15 January, 2016 06:00 > Subject: Re: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions > > Just to have some ringback? Wow that sounds like it would be a little over the top. In that case I could just bridge one call onto another extension with the loopback channel. That would effectively play a ringback. > But this isn?t just a question of ringback. > the bottom line is that there is no application to play something while allowing dial plan processing and I find that to be a pity. > Not everything should resort in coding in external apps. And not something that is as trivial as this. > there are apps like ?curl? or ?httpapi? that can be executed from the dialplan and they exist for a reason. It would be nice to allow something to be played back while we carry on executing a few dial plan operations. > > E >> On Jan 15, 2016, at 9:11 AM, Stanislav Sinyagin > wrote: >> >> I would suggest using two FreeSWITCH boxes: the SBC gets the call, bridges it to the core server, and plays its own ringback while the core server processes the call. You can also merge them together in one box, just by bridging to "sofia/external/new_extension at SERVERIP:5080" >> >> >> >> >> >> On Fri, Jan 15, 2016 at 8:10 AM, Emrah > wrote: >> Question: >> It?s not very sexy, but how about parking the call? >> I can play whatever I want while the call is parked and take my time in doing whatever I need to do. The question then becomes how to keep a trail of the UUID, transfer it to the right extension and retain codec configs as well as set variables? >> >> What are your thoughts? >> >>> On Jan 15, 2016, at 7:53 AM, Emrah > wrote: >>> >>> Thank you to all for your valuable inputs. >>> See? At first it looks super trivial! And I think it should be. >>> Begin troll mode >>> With Asterisk, using MusicOnHold or Ringing does exactly that. >>> End troll mode >>> >>> I will not give up. I don?t want to result to external programming for something like this, although using a little lua script sounds appealing. >>> >>> If I get it working like I want I?ll post something here. >>> >>> Ciao! >>> >>> >>>> On Jan 15, 2016, at 2:54 AM, Stanislav Sinyagin > wrote: >>>> >>>> Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. >>>> >>>> I tried the following sequence, but it didn't work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> so, it looks like it needs an external application talking over ESL. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris > wrote: >>>> use whatever sound file you want as your ringback? >>>> >>>> > On Jan 14, 2016, at 6:42 AM, Emrah > wrote: >>>> > >>>> > Hi all, >>>> > Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions? >>>> > Basically, I?ve gone around trying instant_rinback=true, ring_ready, gentones, etc? No luck. >>>> > If I bridge my channel to loopback/wait, sure enough it works. >>>> > What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don?t mind if the channel is answered. >>>> >>>> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160117/28be9fd4/attachment-0001.html From nneul at mst.edu Sun Jan 17 17:59:41 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Sun, 17 Jan 2016 08:59:41 -0600 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: References: Message-ID: <569BAC5D.4010107@mst.edu> Might not be the best way to do it - but you could potentially look for the inverse. Set up an event listener for all conference events - watch for 'start-talking' and 'stop-talking', and just keep track of how long it has been since the last 'start-talking' event. -- Nathan On 01/17/2016 01:21 AM, Deepika Yadav wrote: > Hi, > > I am using event socket layer to receive events happenening in the conference session from the Freeswitch in my java > program. My program is interested in knowing when there is silence in the conference for a particular period of time. > > How can I set a condition for silence detection in the conference dialplan and receive its value through a channel > variable in my program. > > Regards, > Deepika > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 asherman at versature.com Sun Jan 17 18:06:51 2016 From: asherman at versature.com (Adam Sherman) Date: Sun, 17 Jan 2016 10:06:51 -0500 Subject: [Freeswitch-users] Control Success with rxfax In-Reply-To: References: Message-ID: On Sun, Jan 17, 2016 at 7:22 AM, Giovanni Maruzzelli wrote: > I don't think so, successz codes etc are managed directly by rxfax/txfax, > they signal success at the fax protocol level, no way to lie > I came to the same conclusion, thank you very much for the reply. A. -- Adam Sherman | Versature | CTO | 613-317-1212 | asherman at versature.com | www.versature.com VERSATURE LATEST NEWS : Creating a High Performing Data-Driven Sales Organization Improving Business Operations with Detailed Call Analytics from Versature Versature Gives Back - Year in Review -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/820e524f/attachment.html From bote_radio at botecomm.com Sun Jan 17 19:02:13 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sun, 17 Jan 2016 11:02:13 -0500 Subject: [Freeswitch-users] Event socket and Python In-Reply-To: References: <20130909144440.1fcf30b6@mars> Message-ID: <00a801d15140$6e725b00$4b571100$@botecomm.com> I'm sure other Raspberry Pi users would be grateful if you'd share the knowledge that you discover on the Confluence wiki: https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi I don't think the Raspberry Pi page has kept up with recent builds of FreeSWITCH so this could be invaluable to others trying to build it on a Pi and other small machines. Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: PeterS > Sent: Thursday, 14 January, 2016 09:34 > Subject: Re: [Freeswitch-users] Event socket and Python > > Johan Brannlund writes: > > > Hmm, that's interesting. I guess either I happened to check out a buggy > > version of FS, there's something strange with my configuration or > > there's some ARM-specific issue (I run FS on a Raspberry Pi). I'll have > > to do some more troubleshooting. > > Hello Johan, > > The same problem is happening in my installation. I am running FS on Olimex > A20. Have You find some solution? > > From bote_radio at botecomm.com Sun Jan 17 19:13:48 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sun, 17 Jan 2016 11:13:48 -0500 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: <569BAC5D.4010107@mst.edu> References: <569BAC5D.4010107@mst.edu> Message-ID: <00a901d15142$0cd593b0$2680bb10$@botecomm.com> I was going to suggest the same approach, but measure the time since the last 'stop-talking' event since that indicates that silence has begun. The script should make sure that it has no 'start-talking' events without a matching 'stop-talking' event to ensure that everybody is silent before starting the timer. Bote > -----Original Message----- > From: Nathan Neulinger > Sent: Sunday, 17 January, 2016 10:00 > Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session > > Might not be the best way to do it - but you could potentially look for the > inverse. > > Set up an event listener for all conference events - watch for 'start-talking' > and 'stop-talking', and just keep track > of how long it has been since the last 'start-talking' event. > > -- Nathan > > On 01/17/2016 01:21 AM, Deepika Yadav wrote: > > Hi, > > > > I am using event socket layer to receive events happenening in the > conference session from the Freeswitch in my java > > program. My program is interested in knowing when there is silence in the > conference for a particular period of time. > > > > How can I set a condition for silence detection in the conference dialplan > and receive its value through a channel > > variable in my program. > > > > Regards, > > Deepika > > > > > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > From bote_radio at botecomm.com Sun Jan 17 19:21:15 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sun, 17 Jan 2016 11:21:15 -0500 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: <00aa01d15143$171cd800$45568800$@botecomm.com> One good suggestion that I read is to use a perl (or similar) script to intercept and parse the log lines, then write them in a format of your liking. This gives you ultimate control over how the log lines appear. Bote > -----Original Message----- > From: Tim Smith > Sent: Thursday, 14 January, 2016 05:12 > Subject: Re: [Freeswitch-users] Frustrating and inconsistent log format ! > > Moises, > > Thank you for your reply, you're the only person who read my post and > didn't somehow think I was saying "remove the UUIDs" ! ;-) > > Regarding : "Consistency is good, but certain functionality cannot be > provided if every single line has exactly the same format." > > Yes, but the inconsistency makes it painful, verging on impossible, to > correctly integrate with various log parsing systems, whether Splunk, > Logstash or otherwise. > > From krice at freeswitch.org Sun Jan 17 19:43:44 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 17 Jan 2016 10:43:44 -0600 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: <004501d15146$3b9b2940$b2d17bc0$@freeswitch.org> The Logs from FreeSWITCH are quite consistent... UUID, TimeDate Stamp, loglevel, file:line_num message. If the log line is not directly associated with a session the UUID is omitted. I'm not sure how you can call this random and inconsistent. Now you may be confused by additional logging that may be enabled such as the logging from maybe libsofia, or one of the other many libs that FreeSWITCH uses. FreeSWITCH has no control over underlying library logging formats. An example of this is if you have sofia global siptrace enabled. The formatting there is directly from the library and we have no control over it other than to enabled or disable it. This is common with libraries not just for FreeSWITCH but many other open source projects... As with pretty much everything in FreeSWITCH it's a module, don't like the logging modules that are there now you are welcome and encouraged to create your own, and patches are accepted on a regular basis. At this time I will consider this thread closed. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tim Smith Sent: Thursday, January 14, 2016 4:12 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Frustrating and inconsistent log format ! Moises, Thank you for your reply, you're the only person who read my post and didn't somehow think I was saying "remove the UUIDs" ! ;-) Regarding : "Consistency is good, but certain functionality cannot be provided if every single line has exactly the same format." Yes, but the inconsistency makes it painful, verging on impossible, to correctly integrate with various log parsing systems, whether Splunk, Logstash or otherwise. If the devs have some personal preference for one format here, another format there, and something else over there, I would unfortunatley still call that a whim, especially as there is no clear documentation on the matter either !!!! Even the Freeswitch docs don't know what's what ... " The log file will contain log lines in this general format: YYYY-MM-DD hh:mm:ss [LEVEL] source_file_name:line_number function_name() " , that statement is not true. That's not the general format. its not even the dominant format, infact in my logs, lines that start YYYY-MM-DD are a rarity ! I have not come accross any other product (either closed or open source) that has the quite same amount of randomness in the way it logs. That is what I find so frustrating. On 14 January 2016 at 07:05, Moises Silva wrote: >> Why do log lines start with UUID ? Its format is hard to define and >> subject to the developer's whims ....why not start the line with a >> date, like almost any other sane program, and put the UUID elsewhere >> ? > > > If you don't like the uuid at the front, just remove it from the > logfile.conf.xml configuration > > > > You've clearly not attempted to debug complex scenarios, where the > uuid at the front is more useful, because when you have hundreds or > thousands of calls and you are trying to figure out what happened with > a particular call leg, you search for the uuid first, date second. > > The format you despise, is terribly useful, so try to understand it > rather than just hate it because is different to what you're used to. > >> >> Why on earth is the log format so inconsistent ? e.g. >> >> Sometimes developers feel like giving us a date .... >> >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 >> [DEBUG] >> switch_core_state_machine.c:636 >> >> Sometimes they even manage the date in a sensible location .... >> >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 >> >> Other times they can't be bothered to provide such a critical piece >> of information..... >> >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > > > This is by design, not a whim, and many of us like it, makes routing > logs easy to spot. Some people instead of calling these design > decisions whims, actually provided a solution so it fits what they prefer: > > https://freeswitch.org/jira/browse/FS-6805 > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-request > s/44/overview > > So you can add this to switch.conf.xml: > > > > And you get the behavior you want. Please spend the time learning the > software rather than blaming the devs because you can't understand it > or because they have preferences different than yours. > >> Please devs... spend a little time cleaning up the logging ... it >> helps debugging and troubleshooting so much if we have some >> consistency there !!!!! > > > Consistency is good, but certain functionality cannot be provided if > every single line has exactly the same format. Some log lines are not > associated to a session, so they can't have a uuid at all. The > FreeSWITCH logs are as consistent as is possible in a given context. > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Sun Jan 17 20:04:21 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Sun, 17 Jan 2016 11:04:21 -0600 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: <00a901d15142$0cd593b0$2680bb10$@botecomm.com> References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> Message-ID: <569BC995.8080401@mst.edu> Woops. Yeah, good point on the stop vs. start... -- Nathan On 01/17/2016 10:13 AM, Bote Man wrote: > I was going to suggest the same approach, but measure the time since the > last 'stop-talking' event since that indicates that silence has begun. > > The script should make sure that it has no 'start-talking' events without a > matching 'stop-talking' event to ensure that everybody is silent before > starting the timer. > > Bote > > >> -----Original Message----- >> From: Nathan Neulinger >> Sent: Sunday, 17 January, 2016 10:00 >> Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in > Conference Session >> >> Might not be the best way to do it - but you could potentially look for > the >> inverse. >> >> Set up an event listener for all conference events - watch for > 'start-talking' >> and 'stop-talking', and just keep track >> of how long it has been since the last 'start-talking' event. >> >> -- Nathan >> >> On 01/17/2016 01:21 AM, Deepika Yadav wrote: >>> Hi, >>> >>> I am using event socket layer to receive events happenening in the >> conference session from the Freeswitch in my java >>> program. My program is interested in knowing when there is silence in > the >> conference for a particular period of time. >>> >>> How can I set a condition for silence detection in the conference > dialplan >> and receive its value through a channel >>> variable in my program. >>> >>> Regards, >>> Deepika >>> >>> >>> >> >> -- >> ------------------------------------------------------------ >> 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 > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From mario_fs at mgtech.com Sun Jan 17 21:22:28 2016 From: mario_fs at mgtech.com (Mario G) Date: Sun, 17 Jan 2016 10:22:28 -0800 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <17352.1452888149@ccs.covici.com> References: <10415.1452010704@ccs.covici.com> <20160115191431.GC32708@blomma.liberationtech.net> <17352.1452888149@ccs.covici.com> Message-ID: <52C0C485-1A03-4C5D-9E94-472CEE24C1AE@mgtech.com> FYI, I too have have DTMF not recognized most of the time since 1.6.2 dated Sep 2015. I cannot upgrade to the latest version due to pending fixes. I am on Callcentric and about 90 percent of the time DTMF is not recognized. I was going to wait for the next 1.6 update and see if that helps. I also have a flooding of TCP ports but don?t think it?s related. > On Jan 15, 2016, at 12:02 PM, covici at ccs.covici.com wrote: > > Oivvio Polite wrote: > >> On Tue, Jan 05, 2016 at 11:18:24AM -0500, covici at ccs.covici.com wrote: >>> Hi. I am having dtmf problems when calling numbers via flowroute. They >>> seem not to detect the dtmf at all. I am using 2833 in all cases. Have >>> you done anything in say the last 4 or 5 months which might be related? >>> I am not having these problems when using another carrier, so I am quite puzzled. >>> >>> Thanks in advance for any suggestions. >> >> Did you get to the bottom of this? I too am having trouble with >> flowroute and DTMF. > > Well, for now, I set absolute_codec_string="PCMU" before the bridge and > that seems to have fixed it. > > > -- > 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 lmorley at neny.cslimits.net Sun Jan 17 22:18:29 2016 From: lmorley at neny.cslimits.net (Larry Morley) Date: Sun, 17 Jan 2016 14:18:29 -0500 Subject: [Freeswitch-users] Event socket and Python In-Reply-To: <00a801d15140$6e725b00$4b571100$@botecomm.com> References: <20130909144440.1fcf30b6@mars> <00a801d15140$6e725b00$4b571100$@botecomm.com> Message-ID: On behalf of other "Olimex with Allwinner A20 users": any information pertaining to our devices would be most welcome, too; with these caveats: which device are you using, specifically; e.g., A20-OLinuXino-LIME MICRO; A20-OLinuXIno-LIME-4GB; A20-OLinuXino-LIME2 ? While they're largely similar, the are some subtle differences between the boards in that family. And, perhaps even more importantly, which Linux build are you using? Most of the above boards have a version of Arch Linux pre-installed. However, the Olimex web site recommends using either Debian Jessie or Wheezy, and contains links to the most recent SD card versions of both. Or, are you using one of the "headless" kernels - there's a link from the Olimex site to an external site containing these images, including one with a Jessie and a 4.x kernel. Perhaps it's time to split up the FS docs by hardware architecture, then by vendor, then model? There are more, new boards capable of running FS hitting the market all the time; lately, every time I turn my head, I run across another one. I think this is likely to be the case for at least the foreseeable future, and I'd guess it was more likely than not that each potentially had it's own quirks. Just my $0.02. - Larry On Jan 17, 2016 11:03 AM, "Bote Man" wrote: > I'm sure other Raspberry Pi users would be grateful if you'd share the > knowledge that you discover on the Confluence wiki: > https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi > > I don't think the Raspberry Pi page has kept up with recent builds of > FreeSWITCH so this could be invaluable to others trying to build it on a Pi > and other small machines. > > Thanks. > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > > -----Original Message----- > > From: PeterS > > Sent: Thursday, 14 January, 2016 09:34 > > Subject: Re: [Freeswitch-users] Event socket and Python > > > > Johan Brannlund writes: > > > > > Hmm, that's interesting. I guess either I happened to check out a buggy > > > version of FS, there's something strange with my configuration or > > > there's some ARM-specific issue (I run FS on a Raspberry Pi). I'll have > > > to do some more troubleshooting. > > > > Hello Johan, > > > > The same problem is happening in my installation. I am running FS on > Olimex > > A20. Have You find some solution? > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160117/0df6c975/attachment.html From john.nash778 at gmail.com Sun Jan 17 22:26:23 2016 From: john.nash778 at gmail.com (John Nash) Date: Mon, 18 Jan 2016 00:56:23 +0530 Subject: [Freeswitch-users] ulimit question Message-ID: I am using init script in cent OS (supplied with the code) and running freeswitch under user "freeswitch". During testing I faced issues with number of processes limit. If I add recommended ulimit values in the init script (which runs freeswitch as daemon) will it be applicable for user "freeswitch" also? I already have following in limits.conf but for freeswitch user max number of processes are still 1024 ** soft nproc 65535* hard nproc 65535* soft nofile 65535* hard nofile 65535* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/4691fbb8/attachment-0001.html From gmaruzz at gmail.com Sun Jan 17 22:30:08 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 17 Jan 2016 20:30:08 +0100 Subject: [Freeswitch-users] ulimit question In-Reply-To: References: Message-ID: On Sun, Jan 17, 2016 at 8:26 PM, John Nash wrote: > I am using init script in cent OS (supplied with the code) and running > freeswitch under user "freeswitch". During testing I faced issues with > number of processes limit. > Are you sure you have problems with processes limit? Why? Eg: what are the syntoms that makes you think that? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160117/ea7f817b/attachment.html From john.nash778 at gmail.com Sun Jan 17 22:36:22 2016 From: john.nash778 at gmail.com (John Nash) Date: Mon, 18 Jan 2016 01:06:22 +0530 Subject: [Freeswitch-users] ulimit question In-Reply-To: References: Message-ID: I am getting following messages while CPU is low 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1762 Thread Failure! 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1718 LUKE: I'm hit, but not bad. 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1719 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there.... I ran same tests before with same config on same hardware when i was running freeswitch as user root but today I switched to init script and decided to run with user "freeswitch" and faced errors. On Mon, Jan 18, 2016 at 1:00 AM, Giovanni Maruzzelli wrote: > > > On Sun, Jan 17, 2016 at 8:26 PM, John Nash wrote: > >> I am using init script in cent OS (supplied with the code) and running >> freeswitch under user "freeswitch". During testing I faced issues with >> number of processes limit. >> > > Are you sure you have problems with processes limit? Why? Eg: what are the > syntoms that makes you think that? > > > >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160118/51e2edc4/attachment.html From gmaruzz at gmail.com Sun Jan 17 22:44:07 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 17 Jan 2016 20:44:07 +0100 Subject: [Freeswitch-users] ulimit question In-Reply-To: References: Message-ID: That's about thread, not processes. FS is heavily multithreaded, but does not spawn processes. Maybe is a problem with file descriptors limit (sockets are file descriptors), or stack size. Btw, what are you doing, that triggers that error? Also, check this one: https://freeswitch.org/confluence/display/FREESWITCH/Performance+Testing+and+Configurations#PerformanceTestingandConfigurations-RecommendedULIMITsettings On Sun, Jan 17, 2016 at 8:36 PM, John Nash wrote: > I am getting following messages while CPU is low > 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1762 Thread > Failure! > 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1718 LUKE: I'm > hit, but not bad. > 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1719 LUKE'S VOICE: > Artoo, see what you can do with it. Hang on back there.... > > I ran same tests before with same config on same hardware when i was > running freeswitch as user root but today I switched to init script and > decided to run with user "freeswitch" and faced errors. > > > On Mon, Jan 18, 2016 at 1:00 AM, Giovanni Maruzzelli > wrote: > >> >> >> On Sun, Jan 17, 2016 at 8:26 PM, John Nash >> wrote: >> >>> I am using init script in cent OS (supplied with the code) and running >>> freeswitch under user "freeswitch". During testing I faced issues with >>> number of processes limit. >>> >> >> Are you sure you have problems with processes limit? Why? Eg: what are >> the syntoms that makes you think that? >> >> >> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160117/cbb7816f/attachment-0001.html From bote_radio at botecomm.com Sun Jan 17 23:04:21 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sun, 17 Jan 2016 15:04:21 -0500 Subject: [Freeswitch-users] Event socket and Python In-Reply-To: References: <20130909144440.1fcf30b6@mars> <00a801d15140$6e725b00$4b571100$@botecomm.com> Message-ID: <00dd01d15162$419a4850$c4ced8f0$@botecomm.com> One of the best methods for finding relevant documentation and examples in Confluence lies in the tags (or labels) on each page. Unfortunately, in our rush to copy over as many pages as possible from the old wiki these tags have not been applied to many Confluence pages. We need to have a tagging party which should be a short and sweet way to get every page tagged for better results. Because there might be many common elements and approaches with other hardware this is a good way to label relevant pages, because one page with common elements might be tagged with RPi and A20, while another more specific page about Rpi contains only that tag. I really like this way of doing it to avoid silos of information. I?ve lost count of the times that I?ve read seemingly unrelated information while searching for a solution, but it suddenly became very relevant and helped me solve the problem. Tags/labels work toward this goal. Anyway, I wish I could be more help to the original question, but hope the knowledge gets saved to increase the utility of FreeSWITCH for others. Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Larry Morley Sent: Sunday, 17 January, 2016 14:18 Subject: Re: [Freeswitch-users] Event socket and Python Perhaps it's time to split up the FS docs by hardware architecture, then by vendor, then model? There are more, new boards capable of running FS hitting the market all the time; lately, every time I turn my head, I run across another one. I think this is likely to be the case for at least the foreseeable future, and I'd guess it was more likely than not that each potentially had it's own quirks. Just my $0.02. - Larry On Jan 17, 2016 11:03 AM, "Bote Man" wrote: I'm sure other Raspberry Pi users would be grateful if you'd share the knowledge that you discover on the Confluence wiki: https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi I don't think the Raspberry Pi page has kept up with recent builds of FreeSWITCH so this could be invaluable to others trying to build it on a Pi and other small machines. Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: PeterS > Sent: Thursday, 14 January, 2016 09:34 > Subject: Re: [Freeswitch-users] Event socket and Python > > Johan Brannlund writes: > > > Hmm, that's interesting. I guess either I happened to check out a buggy > > version of FS, there's something strange with my configuration or > > there's some ARM-specific issue (I run FS on a Raspberry Pi). I'll have > > to do some more troubleshooting. > > Hello Johan, > > The same problem is happening in my installation. I am running FS on Olimex > A20. Have You find some solution? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/ae15c20c/attachment.html From bote_radio at botecomm.com Sun Jan 17 23:13:49 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sun, 17 Jan 2016 15:13:49 -0500 Subject: [Freeswitch-users] ulimit question In-Reply-To: References: Message-ID: <00e201d15163$945ba060$bd12e120$@botecomm.com> On Debian the best practice is to start FreeSWITCH as root, but specify ??u freeswitch? on its command line. This allows FS to claim the resources it needs at start time, then drop privileges to user freeswitch once that is done so it gets the best of both worlds without compromising security. At least this is my understanding; I could be wrong, so please correct me. I discovered this while thrashing through the best unit file for systemd, which is now the preferred init method on more and more distributions. Also, it might be worth checking log files and directories (and others) to ensure that user freeswitch still has write access to them now that it is no longer running with root privs. This has bitten many who build FS, then start it as root to test, then run it in production as user freeswitch where it can?t access its database nor log directories due to permissions problems. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: John Nash Sent: Sunday, 17 January, 2016 14:36 Subject: Re: [Freeswitch-users] ulimit question I am getting following messages while CPU is low 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1762 Thread Failure! 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1718 LUKE: I'm hit, but not bad. 2016-01-17 14:25:46.600672 [CRIT] switch_core_session.c:1719 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there.... I ran same tests before with same config on same hardware when i was running freeswitch as user root but today I switched to init script and decided to run with user "freeswitch" and faced errors. On Mon, Jan 18, 2016 at 1:00 AM, Giovanni Maruzzelli wrote: On Sun, Jan 17, 2016 at 8:26 PM, John Nash wrote: I am using init script in cent OS (supplied with the code) and running freeswitch under user "freeswitch". During testing I faced issues with number of processes limit. Are you sure you have problems with processes limit? Why? Eg: what are the syntoms that makes you think that? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/ff7fb319/attachment.html From dave at dchorton.com Mon Jan 18 01:17:15 2016 From: dave at dchorton.com (Dave Horton) Date: Sun, 17 Jan 2016 17:17:15 -0500 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: <569BC995.8080401@mst.edu> References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: I have a need to bridge two channels together and then somehow verify that I am getting RTP packets from both directions. The need stems from a desire to detect a one-way audio situation in rare nat?ed scenarios where signaling gets established but one party may have restrictive firewall rules preventing his/her RTP stream from reaching the FS endpoint. Any ideas? From brian at freeswitch.org Mon Jan 18 01:22:44 2016 From: brian at freeswitch.org (Brian West) Date: Sun, 17 Jan 2016 16:22:44 -0600 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <52C0C485-1A03-4C5D-9E94-472CEE24C1AE@mgtech.com> References: <10415.1452010704@ccs.covici.com> <20160115191431.GC32708@blomma.liberationtech.net> <17352.1452888149@ccs.covici.com> <52C0C485-1A03-4C5D-9E94-472CEE24C1AE@mgtech.com> Message-ID: Where are all the bug reports in this topic? We can't fix what you guys don't report to us as problems! I suspect we've already fixed all the issues but since nobody has made an effort to file a JIRA after testing in the latest code I can only guess. /b On Sunday, January 17, 2016, Mario G wrote: > FYI, I too have have DTMF not recognized most of the time since 1.6.2 > dated Sep 2015. I cannot upgrade to the latest version due to pending > fixes. I am on Callcentric and about 90 percent of the time DTMF is not > recognized. I was going to wait for the next 1.6 update and see if that > helps. I also have a flooding of TCP ports but don?t think it?s related. > > > On Jan 15, 2016, at 12:02 PM, covici at ccs.covici.com > wrote: > > > > Oivvio Polite > wrote: > > > >> On Tue, Jan 05, 2016 at 11:18:24AM -0500, covici at ccs.covici.com > wrote: > >>> Hi. I am having dtmf problems when calling numbers via flowroute. > They > >>> seem not to detect the dtmf at all. I am using 2833 in all cases. > Have > >>> you done anything in say the last 4 or 5 months which might be related? > >>> I am not having these problems when using another carrier, so I am > quite puzzled. > >>> > >>> Thanks in advance for any suggestions. > >> > >> Did you get to the bottom of this? I too am having trouble with > >> flowroute and DTMF. > > > > Well, for now, I set absolute_codec_string="PCMU" before the bridge and > > that seems to have fixed it. > > > > > > -- > > 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160117/4c9b947a/attachment-0001.html From ssinyagin at gmail.com Mon Jan 18 01:29:20 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sun, 17 Jan 2016 23:29:20 +0100 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: you can, for example, start a recording within a running session, run it for 10 seconds, and then build a histogram using SOX. You would then easily distinguish a complete silence from speech. Also at the end of a call, you can get the RTP statistics in channel variables before it gets destroyed, so you can extract the number of RTP packets received. On Sun, Jan 17, 2016 at 11:17 PM, Dave Horton wrote: > I have a need to bridge two channels together and then somehow verify that > I am getting RTP packets from both directions. The need stems from a > desire to detect a one-way audio situation in rare nat?ed scenarios where > signaling gets established but one party may have restrictive firewall > rules preventing his/her RTP stream from reaching the FS endpoint. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160117/76e2496d/attachment.html From dave at dchorton.com Mon Jan 18 03:58:50 2016 From: dave at dchorton.com (Dave Horton) Date: Sun, 17 Jan 2016 19:58:50 -0500 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: Well, my issue is that ?complete silence? could mean no RTP packets at all, or it could mean RTP packets arriving with all zeros, and I need to distinguish between the two scenarios. I read the recent issue regarding detecting speaker events in a conference to determine silence, so I suppose I instead of bridging I could put the two legs into conference and look for the lack of a ?start talking? event within some number of seconds. But I would prefer to sick with bridging the legs if possible. I am unclear about how the recording is going to look in the case where there is no RTP coming in, and whether I could really inspect the recording to know for sure whether or not I am receiving packets?. Dave On Jan 17, 2016, at 5:29 PM, Stanislav Sinyagin wrote: you can, for example, start a recording within a running session, run it for 10 seconds, and then build a histogram using SOX. You would then easily distinguish a complete silence from speech. Also at the end of a call, you can get the RTP statistics in channel variables before it gets destroyed, so you can extract the number of RTP packets received. On Sun, Jan 17, 2016 at 11:17 PM, Dave Horton > wrote: I have a need to bridge two channels together and then somehow verify that I am getting RTP packets from both directions. The need stems from a desire to detect a one-way audio situation in rare nat?ed scenarios where signaling gets established but one party may have restrictive firewall rules preventing his/her RTP stream from reaching the FS endpoint. 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/20160117/861617ac/attachment.html From deepikay at iiitd.ac.in Mon Jan 18 06:13:57 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Mon, 18 Jan 2016 08:43:57 +0530 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: <569BC995.8080401@mst.edu> References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: Thanks Nathan & Bote, I am surely gonna try this approach. On Sun, Jan 17, 2016 at 10:34 PM, Nathan Neulinger wrote: > Woops. Yeah, good point on the stop vs. start... > > -- Nathan > > On 01/17/2016 10:13 AM, Bote Man wrote: > > I was going to suggest the same approach, but measure the time since the > > last 'stop-talking' event since that indicates that silence has begun. > > > > The script should make sure that it has no 'start-talking' events > without a > > matching 'stop-talking' event to ensure that everybody is silent before > > starting the timer. > > > > Bote > > > > > >> -----Original Message----- > >> From: Nathan Neulinger > >> Sent: Sunday, 17 January, 2016 10:00 > >> Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in > > Conference Session > >> > >> Might not be the best way to do it - but you could potentially look for > > the > >> inverse. > >> > >> Set up an event listener for all conference events - watch for > > 'start-talking' > >> and 'stop-talking', and just keep track > >> of how long it has been since the last 'start-talking' event. > >> > >> -- Nathan > >> > >> On 01/17/2016 01:21 AM, Deepika Yadav wrote: > >>> Hi, > >>> > >>> I am using event socket layer to receive events happenening in the > >> conference session from the Freeswitch in my java > >>> program. My program is interested in knowing when there is silence in > > the > >> conference for a particular period of time. > >>> > >>> How can I set a condition for silence detection in the conference > > dialplan > >> and receive its value through a channel > >>> variable in my program. > >>> > >>> Regards, > >>> Deepika > >>> > >>> > >>> > >> > >> -- > >> ------------------------------------------------------------ > >> 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 > > > > -- > ------------------------------------------------------------ > 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/20160118/e985ad44/attachment.html From sm at noisynotes.com Mon Jan 18 06:21:08 2016 From: sm at noisynotes.com (Steve Matzura) Date: Sun, 17 Jan 2016 22:21:08 -0500 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" Message-ID: Before I lay my money down, does anyone know if this is useable with alternative format outputs such as braille displays and/or speech synthesis via the Kindle Reader on either the OSX or iOS platforms? Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions work a lot better. There is also an older version of it on Bookshare (http://www.bookshare.org) and I'm wondering if just because it's three years old, is it out-of-date? If it is, what can I do to help move the process along for getting an updated edition into Bookshare? From ssinyagin at gmail.com Mon Jan 18 10:58:38 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 18 Jan 2016 08:58:38 +0100 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: tshark is quite good at analyzing the SIP and RTP packet captures. But it's rather CPU-intensive, so it's better to launch it after the call in nice mode. On Mon, Jan 18, 2016 at 1:58 AM, Dave Horton wrote: > Well, my issue is that ?complete silence? could mean no RTP packets at > all, or it could mean RTP packets arriving with all zeros, and I need to > distinguish between the two scenarios. I read the recent issue regarding > detecting speaker events in a conference to determine silence, so I suppose > I instead of bridging I could put the two legs into conference and look for > the lack of a ?start talking? event within some number of seconds. But I > would prefer to sick with bridging the legs if possible. I am unclear > about how the recording is going to look in the case where there is no RTP > coming in, and whether I could really inspect the recording to know for > sure whether or not I am receiving packets?. > > Dave > > > > On Jan 17, 2016, at 5:29 PM, Stanislav Sinyagin > wrote: > > you can, for example, start a recording within a running session, run it > for 10 seconds, and then build a histogram using SOX. You would then easily > distinguish a complete silence from speech. > > Also at the end of a call, you can get the RTP statistics in channel > variables before it gets destroyed, so you can extract the number of RTP > packets received. > > > > On Sun, Jan 17, 2016 at 11:17 PM, Dave Horton wrote: > >> I have a need to bridge two channels together and then somehow verify >> that I am getting RTP packets from both directions. The need stems from a >> desire to detect a one-way audio situation in rare nat?ed scenarios where >> signaling gets established but one party may have restrictive firewall >> rules preventing his/her RTP stream from reaching the FS endpoint. 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/dc710ea2/attachment.html From steveayre at gmail.com Mon Jan 18 14:05:44 2016 From: steveayre at gmail.com (Steven Ayre) Date: Mon, 18 Jan 2016 11:05:44 +0000 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: If you need to do it within FreeSWITCH (eg from a script), execute the uuid_set_media_stats api. This will set a number of variables that you can then read which'll reflect a number of RTP statistics. This will include the number of RTP frames/packets/bytes going in and out of the server for that call. That'll let you spot if a channel isn't receiving any RTP packets. To see what variables are set see the add_stat lines in src/switch_core_media.c:1470 set_stats(), the names will be prefixed between what appears in the code and the variable set for example "in_raw_bytes" => ${rtp_audio_in_raw_bytes}. On 18 January 2016 at 00:58, Dave Horton wrote: > Well, my issue is that ?complete silence? could mean no RTP packets at > all, or it could mean RTP packets arriving with all zeros, and I need to > distinguish between the two scenarios. I read the recent issue regarding > detecting speaker events in a conference to determine silence, so I suppose > I instead of bridging I could put the two legs into conference and look for > the lack of a ?start talking? event within some number of seconds. But I > would prefer to sick with bridging the legs if possible. I am unclear > about how the recording is going to look in the case where there is no RTP > coming in, and whether I could really inspect the recording to know for > sure whether or not I am receiving packets?. > > Dave > > > > On Jan 17, 2016, at 5:29 PM, Stanislav Sinyagin > wrote: > > you can, for example, start a recording within a running session, run it > for 10 seconds, and then build a histogram using SOX. You would then easily > distinguish a complete silence from speech. > > Also at the end of a call, you can get the RTP statistics in channel > variables before it gets destroyed, so you can extract the number of RTP > packets received. > > > > On Sun, Jan 17, 2016 at 11:17 PM, Dave Horton wrote: > >> I have a need to bridge two channels together and then somehow verify >> that I am getting RTP packets from both directions. The need stems from a >> desire to detect a one-way audio situation in rare nat?ed scenarios where >> signaling gets established but one party may have restrictive firewall >> rules preventing his/her RTP stream from reaching the FS endpoint. 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/78752df4/attachment.html From gmaruzz at gmail.com Mon Jan 18 14:15:14 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 18 Jan 2016 12:15:14 +0100 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: On Mon, Jan 18, 2016 at 12:05 PM, Steven Ayre wrote: > If you need to do it within FreeSWITCH (eg from a script), execute > the uuid_set_media_stats api. This will set a number of variables that you > can then read which'll reflect a number of RTP statistics. This will > include the number of RTP frames/packets/bytes going in and out of the > server for that call. That'll let you spot if a channel isn't receiving any > RTP packets. > > To see what variables are set see the add_stat lines in > src/switch_core_media.c:1470 set_stats(), the names will be prefixed > between what appears in the code and the variable set for example > "in_raw_bytes" => ${rtp_audio_in_raw_bytes}. > > Neat! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/4ddbc960/attachment-0001.html From denis at ringme.ru Mon Jan 18 14:23:34 2016 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Mon, 18 Jan 2016 14:23:34 +0300 Subject: [Freeswitch-users] lost timezones Message-ID: <569CCB36.30405@ringme.ru> After restart FS via service freeswitch restart we loose zones and all dialplans with time-intervals was broken. BUT reloadxml or simple reload spandsp (or other module who use timezones) helps. And sometimes we loose timezones in work 1) how to check timezones state in the work, via api/fs_cli 2) how to detect 'why we loose it' latest 1.4 FS, from off. yum repo, centos 6, 86-64, configs in DB, load via mod_curl_xml, in loader no errors, reload helps. From gmaruzz at gmail.com Mon Jan 18 14:37:11 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 18 Jan 2016 12:37:11 +0100 Subject: [Freeswitch-users] lost timezones In-Reply-To: <569CCB36.30405@ringme.ru> References: <569CCB36.30405@ringme.ru> Message-ID: On Mon, Jan 18, 2016 at 12:23 PM, ????? wrote: > After restart FS via service freeswitch restart we loose zones and all > dialplans with time-intervals was broken. BUT reloadxml or simple reload > spandsp (or other module who use timezones) helps. And sometimes we > loose timezones in work > 1) how to check timezones state in the work, via api/fs_cli > 2) how to detect 'why we loose it' > > latest 1.4 FS, from off. yum repo, centos 6, 86-64, configs in DB, load > via mod_curl_xml, in loader no errors, reload helps. > > the OS is losing timezones too? Eg: the result of "date" command from ssh command line is correct? Are you starting freeswitch as a user different than root? That other user has timezone settings? If you login as that other user, what's the results of "date" 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/a4b28249/attachment.html From findmeinwland at gmail.com Mon Jan 18 14:40:09 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Mon, 18 Jan 2016 16:40:09 +0500 Subject: [Freeswitch-users] How to check whether incoming call is authenticated Message-ID: In our external.xml: It means, that everyone can make call from outside to our freeswitch. Is it possible to know if caller already authenticated in our freeswitch? (in a dialplan) Thanks. -- Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/75ed99c7/attachment.html From rtreleaven at bunnykick.ca Mon Jan 18 14:54:31 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Mon, 18 Jan 2016 06:54:31 -0500 Subject: [Freeswitch-users] How to check whether incoming call is authenticated In-Reply-To: References: Message-ID: I think you want this. On Mon, Jan 18, 2016 at 6:40 AM, Artur Mega wrote: > In our external.xml: > > > > > > > It means, that everyone can make call from outside to our freeswitch. Is > it possible to know if caller already authenticated in our freeswitch? (in > a dialplan) > > Thanks. > -- > > Arthur > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/9756496d/attachment.html From jurij.ivo at gmail.com Mon Jan 18 15:23:53 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 18 Jan 2016 14:23:53 +0200 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data Message-ID: Hi, It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm getting around 10-20K for each call. Is it possible somehow to limit what data we would like to save with this modules? Something similar to mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. Thank you! With kind regards, Jurijs -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/2d9222a6/attachment.html From rutu.patel at inextrix.com Mon Jan 18 15:48:37 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Mon, 18 Jan 2016 18:18:37 +0530 Subject: [Freeswitch-users] How to customize voicemail greeting number ? Message-ID: Hi All, I am using voicemail module with odbc. I have a DID(123456789) in freeswitch and it's routed to local extension(1000). When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? I want to play DID(123456789) is not available instead of destination number(1000). Any suggestions will be appreciated. -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/c2ebfdd5/attachment-0001.html From steveayre at gmail.com Mon Jan 18 15:53:45 2016 From: steveayre at gmail.com (Steven Ayre) Date: Mon, 18 Jan 2016 12:53:45 +0000 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: <004501d15146$3b9b2940$b2d17bc0$@freeswitch.org> References: <004501d15146$3b9b2940$b2d17bc0$@freeswitch.org> Message-ID: One thing that might also puzzle Tim the 'clean' logging format, eg SWITCH_CHANNEL_ID_LOG_CLEAN vs SWITCH_CHANNEL_ID_LOG which has the uuid but lacks the datetime. @Tim should be possible to make both UUID and date/time optional easily with a regex. On 17 January 2016 at 16:43, Ken Rice wrote: > The Logs from FreeSWITCH are quite consistent... > > UUID, TimeDate Stamp, loglevel, file:line_num message. > > If the log line is not directly associated with a session the UUID is > omitted. > > I'm not sure how you can call this random and inconsistent. > > Now you may be confused by additional logging that may be enabled such as > the logging from maybe libsofia, or one of the other many libs that > FreeSWITCH uses. FreeSWITCH has no control over underlying library logging > formats. > An example of this is if you have sofia global siptrace enabled. The > formatting there is directly from the library and we have no control over > it > other than to enabled or disable it. > > This is common with libraries not just for FreeSWITCH but many other open > source projects... > > As with pretty much everything in FreeSWITCH it's a module, don't like the > logging modules that are there now you are welcome and encouraged to create > your own, and patches are accepted on a regular basis. > > At this time I will consider this thread closed. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tim > Smith > Sent: Thursday, January 14, 2016 4:12 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Frustrating and inconsistent log format ! > > Moises, > > Thank you for your reply, you're the only person who read my post and > didn't > somehow think I was saying "remove the UUIDs" ! ;-) > > Regarding : "Consistency is good, but certain functionality cannot be > provided if every single line has exactly the same format." > > Yes, but the inconsistency makes it painful, verging on impossible, to > correctly integrate with various log parsing systems, whether Splunk, > Logstash or otherwise. > > > If the devs have some personal preference for one format here, another > format there, and something else over there, I would unfortunatley still > call that a whim, especially as there is no clear documentation on the > matter either !!!! > > Even the Freeswitch docs don't know what's what ... " The log file will > contain log lines in this general format: YYYY-MM-DD hh:mm:ss [LEVEL] > source_file_name:line_number function_name() " , that statement > is > not true. That's not the general format. its not even the dominant format, > infact in my logs, lines that start YYYY-MM-DD are a rarity ! > > > I have not come accross any other product (either closed or open > source) that has the quite same amount of randomness in the way it > logs. That is what I find so frustrating. > > On 14 January 2016 at 07:05, Moises Silva wrote: > >> Why do log lines start with UUID ? Its format is hard to define and > >> subject to the developer's whims ....why not start the line with a > >> date, like almost any other sane program, and put the UUID elsewhere > >> ? > > > > > > If you don't like the uuid at the front, just remove it from the > > logfile.conf.xml configuration > > > > > > > > You've clearly not attempted to debug complex scenarios, where the > > uuid at the front is more useful, because when you have hundreds or > > thousands of calls and you are trying to figure out what happened with > > a particular call leg, you search for the uuid first, date second. > > > > The format you despise, is terribly useful, so try to understand it > > rather than just hate it because is different to what you're used to. > > > >> > >> Why on earth is the log format so inconsistent ? e.g. > >> > >> Sometimes developers feel like giving us a date .... > >> > >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 > >> [DEBUG] > >> switch_core_state_machine.c:636 > >> > >> Sometimes they even manage the date in a sensible location .... > >> > >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 > >> > >> Other times they can't be bothered to provide such a critical piece > >> of information..... > >> > >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > > > > > > This is by design, not a whim, and many of us like it, makes routing > > logs easy to spot. Some people instead of calling these design > > decisions whims, actually provided a solution so it fits what they > prefer: > > > > https://freeswitch.org/jira/browse/FS-6805 > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-request > > s/44/overview > > > > So you can add this to switch.conf.xml: > > > > > > > > And you get the behavior you want. Please spend the time learning the > > software rather than blaming the devs because you can't understand it > > or because they have preferences different than yours. > > > >> Please devs... spend a little time cleaning up the logging ... it > >> helps debugging and troubleshooting so much if we have some > >> consistency there !!!!! > > > > > > Consistency is good, but certain functionality cannot be provided if > > every single line has exactly the same format. Some log lines are not > > associated to a session, so they can't have a uuid at all. The > > FreeSWITCH logs are as consistent as is possible in a given context. > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/790302b9/attachment.html From steveayre at gmail.com Mon Jan 18 16:09:06 2016 From: steveayre at gmail.com (Steven Ayre) Date: Mon, 18 Jan 2016 13:09:06 +0000 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: > > Even the Freeswitch docs don't know what's what ... " The log file > will contain log lines in this general format: YYYY-MM-DD hh:mm:ss > [LEVEL] source_file_name:line_number function_name() " , > that statement is not true. That's not the general format. its not > even the dominant format, infact in my logs, lines that start YYYY-MM-DD are a rarity ! The dominant logging format is going to be the session log as most messages will relate to a call. So the majority of log lines will start with the UUID, if that is enabled. The aren't that many logging formats. There is logging against a session (has UUID) or a global log (no UUID). Both have clean variants (no datetime information). So both UUID and datetime are optional. Other than that it's consistent. Anything else is likely to come from libraries used by FreeSWITCH that don't go through that logging system. On 14 January 2016 at 10:12, Tim Smith wrote: > Moises, > > Thank you for your reply, you're the only person who read my post and > didn't somehow think I was saying "remove the UUIDs" ! ;-) > > Regarding : "Consistency is good, but certain functionality cannot be > provided if every single line has exactly the same format." > > Yes, but the inconsistency makes it painful, verging on impossible, to > correctly integrate with various log parsing systems, whether Splunk, > Logstash or otherwise. > > > If the devs have some personal preference for one format here, another > format there, and something else over there, I would unfortunatley > still call that a whim, especially as there is no clear documentation > on the matter either !!!! > > Even the Freeswitch docs don't know what's what ... " The log file > will contain log lines in this general format: YYYY-MM-DD hh:mm:ss > [LEVEL] source_file_name:line_number function_name() " , > that statement is not true. That's not the general format. its not > even the dominant format, infact in my logs, lines that start > YYYY-MM-DD are a rarity ! > > > I have not come accross any other product (either closed or open > source) that has the quite same amount of randomness in the way it > logs. That is what I find so frustrating. > > On 14 January 2016 at 07:05, Moises Silva wrote: > >> Why do log lines start with UUID ? Its format is hard to define and > >> subject to the developer's whims ....why not start the line with a > >> date, like almost any other sane program, and put the UUID elsewhere > >> ? > > > > > > If you don't like the uuid at the front, just remove it from the > > logfile.conf.xml configuration > > > > > > > > You've clearly not attempted to debug complex scenarios, where the uuid > at > > the front is more useful, because when you have hundreds or thousands of > > calls and you are trying to figure out what happened with a particular > call > > leg, you search for the uuid first, date second. > > > > The format you despise, is terribly useful, so try to understand it > rather > > than just hate it because is different to what you're used to. > > > >> > >> Why on earth is the log format so inconsistent ? e.g. > >> > >> Sometimes developers feel like giving us a date .... > >> > >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] > >> switch_core_state_machine.c:636 > >> > >> Sometimes they even manage the date in a sensible location .... > >> > >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 > >> > >> Other times they can't be bothered to provide such a critical piece of > >> information..... > >> > >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ > > > > > > This is by design, not a whim, and many of us like it, makes routing logs > > easy to spot. Some people instead of calling these design decisions > whims, > > actually provided a solution so it fits what they prefer: > > > > https://freeswitch.org/jira/browse/FS-6805 > > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview > > > > So you can add this to switch.conf.xml: > > > > > > > > And you get the behavior you want. Please spend the time learning the > > software rather than blaming the devs because you can't understand it or > > because they have preferences different than yours. > > > >> Please devs... spend a little time cleaning up the logging ... it > >> helps debugging and troubleshooting so much if we have some > >> consistency there !!!!! > > > > > > Consistency is good, but certain functionality cannot be provided if > every > > single line has exactly the same format. Some log lines are not > associated > > to a session, so they can't have a uuid at all. The FreeSWITCH logs are > as > > consistent as is possible in a given context. > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/3d85ad71/attachment-0001.html From dave at dchorton.com Mon Jan 18 16:12:36 2016 From: dave at dchorton.com (Dave Horton) Date: Mon, 18 Jan 2016 08:12:36 -0500 Subject: [Freeswitch-users] is there a way to validate RTP is flowing after bridging two channels? In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: <3E8F8442-CF78-434B-84FA-A88A334CB9CF@dchorton.com> Perfect, thanks! On Jan 18, 2016, at 6:05 AM, Steven Ayre wrote: If you need to do it within FreeSWITCH (eg from a script), execute the uuid_set_media_stats api. This will set a number of variables that you can then read which'll reflect a number of RTP statistics. This will include the number of RTP frames/packets/bytes going in and out of the server for that call. That'll let you spot if a channel isn't receiving any RTP packets. To see what variables are set see the add_stat lines in src/switch_core_media.c:1470 set_stats(), the names will be prefixed between what appears in the code and the variable set for example "in_raw_bytes" => ${rtp_audio_in_raw_bytes}. On 18 January 2016 at 00:58, Dave Horton > wrote: Well, my issue is that ?complete silence? could mean no RTP packets at all, or it could mean RTP packets arriving with all zeros, and I need to distinguish between the two scenarios. I read the recent issue regarding detecting speaker events in a conference to determine silence, so I suppose I instead of bridging I could put the two legs into conference and look for the lack of a ?start talking? event within some number of seconds. But I would prefer to sick with bridging the legs if possible. I am unclear about how the recording is going to look in the case where there is no RTP coming in, and whether I could really inspect the recording to know for sure whether or not I am receiving packets?. Dave On Jan 17, 2016, at 5:29 PM, Stanislav Sinyagin > wrote: you can, for example, start a recording within a running session, run it for 10 seconds, and then build a histogram using SOX. You would then easily distinguish a complete silence from speech. Also at the end of a call, you can get the RTP statistics in channel variables before it gets destroyed, so you can extract the number of RTP packets received. On Sun, Jan 17, 2016 at 11:17 PM, Dave Horton > wrote: I have a need to bridge two channels together and then somehow verify that I am getting RTP packets from both directions. The need stems from a desire to detect a one-way audio situation in rare nat?ed scenarios where signaling gets established but one party may have restrictive firewall rules preventing his/her RTP stream from reaching the FS endpoint. 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160118/a67357c4/attachment.html From s.safarov at gmail.com Mon Jan 18 16:34:26 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 18 Jan 2016 16:34:26 +0300 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: You can split sip call to two sip calls with different dialplan context. For one dialplan set variable process_cdr - instruction for this dialplan will not writed to cdr On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga wrote: > Hi, > > It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm > getting around 10-20K for each call. Is it possible somehow to limit what > data we would like to save with this modules? Something similar to > mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. > > Thank you! > > With kind regards, > > Jurijs > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/70099945/attachment.html From jurij.ivo at gmail.com Mon Jan 18 16:43:26 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 18 Jan 2016 15:43:26 +0200 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: Hi, Thank you for your answer! Maybe you can provide more detailed info how I can decrease json cdr? Currently I'm getting way too much data and almost all of them are not needed. I need just regular cdr stuff: to, from, billsec, call length, disposition, start, end, uuid, bleg_uuid. Is it possible to limit json just to 10-15 fields, because currently I'm getting around 500 fields of data for each call? With kind regards, Jurijs 2016-01-18 15:34 GMT+02:00 Sergey Safarov : > You can split sip call to two sip calls with different dialplan context. > For one dialplan set variable process_cdr > - > instruction for this dialplan will not writed to cdr > > > > On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga > wrote: > >> Hi, >> >> It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm >> getting around 10-20K for each call. Is it possible somehow to limit what >> data we would like to save with this modules? Something similar to >> mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. >> >> Thank you! >> >> With kind regards, >> >> Jurijs >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/0861ac99/attachment-0001.html From s.safarov at gmail.com Mon Jan 18 17:33:40 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 18 Jan 2016 17:33:40 +0300 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: Please look format of csv cdr format. Sergey On Mon, Jan 18, 2016 at 4:43 PM, Jurijs Ivolga wrote: > Hi, > > Thank you for your answer! > > Maybe you can provide more detailed info how I can decrease json cdr? > > Currently I'm getting way too much data and almost all of them are not > needed. I need just regular cdr stuff: to, from, billsec, call length, > disposition, start, end, uuid, bleg_uuid. > > Is it possible to limit json just to 10-15 fields, because currently I'm > getting around 500 fields of data for each call? > > With kind regards, > > Jurijs > > 2016-01-18 15:34 GMT+02:00 Sergey Safarov : > >> You can split sip call to two sip calls with different dialplan context. >> For one dialplan set variable process_cdr >> - >> instruction for this dialplan will not writed to cdr >> >> >> >> On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga >> wrote: >> >>> Hi, >>> >>> It looks like mod_format_cdr & mod_json_cdr are saving too much data, >>> I'm getting around 10-20K for each call. Is it possible somehow to limit >>> what data we would like to save with this modules? Something similar to >>> mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. >>> >>> Thank you! >>> >>> With kind regards, >>> >>> Jurijs >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/1988b0ae/attachment.html From jurij.ivo at gmail.com Mon Jan 18 17:48:55 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 18 Jan 2016 16:48:55 +0200 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: Hi, I appreciate a lot your help, but it will be much more helpful if you can just point where too look or maybe you can send more detailed instructions? I need to decrease json CDRs, so I'm little bit lost, why you pointing to csv cdr. I need to use either mod_format_cdr or mod_json_cdr modules, cause I plan to push later CDRs to remote server. Is it possible somehow decrease logs generated by mod_format_cdr or mod_json_cdr modules? If yes, please let me know how. Thank you for your help! With kind regards, Jurijs 2016-01-18 16:33 GMT+02:00 Sergey Safarov : > Please look format of csv cdr format. > > Sergey > > On Mon, Jan 18, 2016 at 4:43 PM, Jurijs Ivolga > wrote: > >> Hi, >> >> Thank you for your answer! >> >> Maybe you can provide more detailed info how I can decrease json cdr? >> >> Currently I'm getting way too much data and almost all of them are not >> needed. I need just regular cdr stuff: to, from, billsec, call length, >> disposition, start, end, uuid, bleg_uuid. >> >> Is it possible to limit json just to 10-15 fields, because currently I'm >> getting around 500 fields of data for each call? >> >> With kind regards, >> >> Jurijs >> >> 2016-01-18 15:34 GMT+02:00 Sergey Safarov : >> >>> You can split sip call to two sip calls with different dialplan context. >>> For one dialplan set variable process_cdr >>> - >>> instruction for this dialplan will not writed to cdr >>> >>> >>> >>> On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga >>> wrote: >>> >>>> Hi, >>>> >>>> It looks like mod_format_cdr & mod_json_cdr are saving too much data, >>>> I'm getting around 10-20K for each call. Is it possible somehow to limit >>>> what data we would like to save with this modules? Something similar to >>>> mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. >>>> >>>> Thank you! >>>> >>>> With kind regards, >>>> >>>> Jurijs >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/3a384754/attachment.html From andrew at cassidywebservices.co.uk Mon Jan 18 18:06:22 2016 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Mon, 18 Jan 2016 15:06:22 +0000 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: Message-ID: https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 On 18 January 2016 at 12:48, Rutu Patel wrote: > Hi All, > > I am using voicemail module with odbc. > > I have a DID(123456789) in freeswitch and it's routed to local > extension(1000). > When the extension does not available it goes to voicemail and plays that > number(1000) is not available.Is it possible to change the number in > playback? > I want to play DID(123456789) is not available instead of destination > number(1000). > > Any suggestions will be appreciated. > -- > Thanks, > Rutu 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 > -- *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/20160118/4f49fb03/attachment-0001.html From krice at freeswitch.org Mon Jan 18 18:07:16 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 18 Jan 2016 09:07:16 -0600 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: <02f201d15201$ec01f050$c405d0f0$@freeswitch.org> No its not possibly to limit how many fields you are getting. The xml and json CDRs are dump of the full call stack at call completion? if you don?t want some of the data, eliminate it at CDR Processing time. Speaking as someone that has had to handle 100s of millions (if not billions of CDRs) per month its not that big of a deal and the additional data there really comes in handy if you are trying to track down a problem after the fact From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jurijs Ivolga Sent: Monday, January 18, 2016 7:43 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data Hi, Thank you for your answer! Maybe you can provide more detailed info how I can decrease json cdr? Currently I'm getting way too much data and almost all of them are not needed. I need just regular cdr stuff: to, from, billsec, call length, disposition, start, end, uuid, bleg_uuid. Is it possible to limit json just to 10-15 fields, because currently I'm getting around 500 fields of data for each call? With kind regards, Jurijs 2016-01-18 15:34 GMT+02:00 Sergey Safarov >: You can split sip call to two sip calls with different dialplan context. For one dialplan set variable process_cdr - instruction for this dialplan will not writed to cdr On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga > wrote: Hi, It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm getting around 10-20K for each call. Is it possible somehow to limit what data we would like to save with this modules? Something similar to mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. Thank you! With kind regards, Jurijs _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160118/b3cae8bb/attachment.html From jurij.ivo at gmail.com Mon Jan 18 19:15:20 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 18 Jan 2016 18:15:20 +0200 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: <02f201d15201$ec01f050$c405d0f0$@freeswitch.org> References: <02f201d15201$ec01f050$c405d0f0$@freeswitch.org> Message-ID: Hi Ken, Thank you a lot! With kind regards, Jurijs 2016-01-18 17:07 GMT+02:00 Ken Rice : > No its not possibly to limit how many fields you are getting. The xml and > json CDRs are dump of the full call stack at call completion? if you don?t > want some of the data, eliminate it at CDR Processing time. > > > > Speaking as someone that has had to handle 100s of millions (if not > billions of CDRs) per month its not that big of a deal and the additional > data there really comes in handy if you are trying to track down a problem > after the fact > > > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Jurijs > Ivolga > *Sent:* Monday, January 18, 2016 7:43 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] mod_format_cdr and mod_json_cdr are > writing too much data > > > > Hi, > > Thank you for your answer! > > Maybe you can provide more detailed info how I can decrease json cdr? > > Currently I'm getting way too much data and almost all of them are not > needed. I need just regular cdr stuff: to, from, billsec, call length, > disposition, start, end, uuid, bleg_uuid. > > Is it possible to limit json just to 10-15 fields, because currently I'm > getting around 500 fields of data for each call? > > With kind regards, > > Jurijs > > > > 2016-01-18 15:34 GMT+02:00 Sergey Safarov : > > You can split sip call to two sip calls with different dialplan context. > > For one dialplan set variable process_cdr > - > instruction for this dialplan will not writed to cdr > > > > > > > > On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga > wrote: > > Hi, > > It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm > getting around 10-20K for each call. Is it possible somehow to limit what > data we would like to save with this modules? Something similar to > mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. > > Thank you! > > With kind regards, > > Jurijs > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/94fe1a2f/attachment-0001.html From mgg at giagnocavo.net Mon Jan 18 19:19:23 2016 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Mon, 18 Jan 2016 16:19:23 +0000 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: CSV CDRs allow you to set the format. So you could setup a template that emits JSON, but only containing the fields you need. Before doing this, you should really have done performance profiling to make sure this is actually a bottleneck. Unless you?re already CPU or IO bound, it?s probably not worth the hassle. Yes, it does take a noticeable amount of resources to handle the big CDR files, but a: as Ken says it?s handy for debugging and b: hopefully you?re making enough profit margin that it doesn?t matter ? just add another box. As far as pushing CDRs to a remote server, you probably don?t want to do this inside FS. This is because if the send fails (networking, remote server reboot, etc.) you may still want the CDR. The default behaviour of writing to disk if the send fails means you need a backup codepath that reads off disk and processes CDRs. This codepath won?t be as well tested or used, making it more likely to fail when you least want it to (i.e. when normal CDR sending is failing). Might as well write to disk in every case, then use a message queue to move the CDRs off. If you mainly want to reduce network IO, then pre-process the CDRs before enqueueing them. -Michael From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jurijs Ivolga Sent: Monday, 18 January, 2016 8:49 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data Hi, I appreciate a lot your help, but it will be much more helpful if you can just point where too look or maybe you can send more detailed instructions? I need to decrease json CDRs, so I'm little bit lost, why you pointing to csv cdr. I need to use either mod_format_cdr or mod_json_cdr modules, cause I plan to push later CDRs to remote server. Is it possible somehow decrease logs generated by mod_format_cdr or mod_json_cdr modules? If yes, please let me know how. Thank you for your help! With kind regards, Jurijs 2016-01-18 16:33 GMT+02:00 Sergey Safarov >: Please look format of csv cdr format. Sergey On Mon, Jan 18, 2016 at 4:43 PM, Jurijs Ivolga > wrote: Hi, Thank you for your answer! Maybe you can provide more detailed info how I can decrease json cdr? Currently I'm getting way too much data and almost all of them are not needed. I need just regular cdr stuff: to, from, billsec, call length, disposition, start, end, uuid, bleg_uuid. Is it possible to limit json just to 10-15 fields, because currently I'm getting around 500 fields of data for each call? With kind regards, Jurijs 2016-01-18 15:34 GMT+02:00 Sergey Safarov >: You can split sip call to two sip calls with different dialplan context. For one dialplan set variable process_cdr - instruction for this dialplan will not writed to cdr On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga > wrote: Hi, It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm getting around 10-20K for each call. Is it possible somehow to limit what data we would like to save with this modules? Something similar to mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. Thank you! With kind regards, Jurijs _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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/20160118/931ad174/attachment-0001.html From jurij.ivo at gmail.com Mon Jan 18 19:26:13 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Mon, 18 Jan 2016 18:26:13 +0200 Subject: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data In-Reply-To: References: Message-ID: Hi Michael, Thank you! With kind regards, Jurijs 2016-01-18 18:19 GMT+02:00 Michael Giagnocavo : > CSV CDRs allow you to set the format. So you could setup a template that > emits JSON, but only containing the fields you need. > > > > Before doing this, you should really have done performance profiling to > make sure this is actually a bottleneck. Unless you?re already CPU or IO > bound, it?s probably not worth the hassle. Yes, it does take a noticeable > amount of resources to handle the big CDR files, but a: as Ken says it?s > handy for debugging and b: hopefully you?re making enough profit margin > that it doesn?t matter ? just add another box. > > > > As far as pushing CDRs to a remote server, you probably don?t want to do > this inside FS. This is because if the send fails (networking, remote > server reboot, etc.) you may still want the CDR. The default behaviour of > writing to disk if the send fails means you need a backup codepath that > reads off disk and processes CDRs. This codepath won?t be as well tested or > used, making it more likely to fail when you least want it to (i.e. when > normal CDR sending is failing). Might as well write to disk in every case, > then use a message queue to move the CDRs off. If you mainly want to reduce > network IO, then pre-process the CDRs before enqueueing them. > > > > -Michael > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Jurijs > Ivolga > *Sent:* Monday, 18 January, 2016 8:49 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] mod_format_cdr and mod_json_cdr are > writing too much data > > > > Hi, > > I appreciate a lot your help, but it will be much more helpful if you can > just point where too look or maybe you can send more detailed instructions? > > I need to decrease json CDRs, so I'm little bit lost, why you pointing to > csv cdr. > > I need to use either mod_format_cdr or mod_json_cdr modules, cause I plan > to push later CDRs to remote server. > > Is it possible somehow decrease logs generated by mod_format_cdr or > mod_json_cdr modules? > > If yes, please let me know how. > > Thank you for your help! > > > > With kind regards, > > Jurijs > > > > 2016-01-18 16:33 GMT+02:00 Sergey Safarov : > > Please look format of csv cdr format. > > > > Sergey > > > > On Mon, Jan 18, 2016 at 4:43 PM, Jurijs Ivolga > wrote: > > Hi, > > Thank you for your answer! > > Maybe you can provide more detailed info how I can decrease json cdr? > > Currently I'm getting way too much data and almost all of them are not > needed. I need just regular cdr stuff: to, from, billsec, call length, > disposition, start, end, uuid, bleg_uuid. > > Is it possible to limit json just to 10-15 fields, because currently I'm > getting around 500 fields of data for each call? > > With kind regards, > > Jurijs > > > > 2016-01-18 15:34 GMT+02:00 Sergey Safarov : > > You can split sip call to two sip calls with different dialplan context. > > For one dialplan set variable process_cdr > - > instruction for this dialplan will not writed to cdr > > > > > > > > On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga > wrote: > > Hi, > > It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm > getting around 10-20K for each call. Is it possible somehow to limit what > data we would like to save with this modules? Something similar to > mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. > > Thank you! > > With kind regards, > > Jurijs > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/2417f607/attachment.html From blake at cogents.io Mon Jan 18 19:29:53 2016 From: blake at cogents.io (Blake Priddy) Date: Mon, 18 Jan 2016 10:29:53 -0600 Subject: [Freeswitch-users] Call Return Message-ID: So I have this school that FS is installed at in Arkansas. They want this feature that they had before with their last install called call return? Basically from what I can interpret from him is that when a user transfers to another user and they do not answer, the receptionist wants the call to ring back to her so she can either take a message or direct the call elsewhere. Without the caller having to leave a voicemail, hang up, then call back to tell the receptionist that they were not available. Does anyone know the feature I am talking about and how can I implement this into FS. Thanks y'all! :) -- Blake Priddy Cogents Technologies, LLC. (501) 786-1434 blake at cogents.io http://cogents.io -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/d83600eb/attachment-0001.html From blasterjr at gmail.com Mon Jan 18 19:38:33 2016 From: blasterjr at gmail.com (Chris Tunbridge) Date: Mon, 18 Jan 2016 09:38:33 -0700 Subject: [Freeswitch-users] Call Return In-Reply-To: References: Message-ID: The easiest way to implement such a feature would be to look at the default extension logic, then where it goes to voicemail have that return the caller to its previous destination (which would be the receptionist). I don't have an example of this on hand but it shouldn't be difficult to do. On Mon, Jan 18, 2016 at 9:29 AM, Blake Priddy wrote: > So I have this school that FS is installed at in Arkansas. They want this > feature that they had before with their last install called call return? > Basically from what I can interpret from him is that when a user transfers > to another user and they do not answer, the receptionist wants the call to > ring back to her so she can either take a message or direct the call > elsewhere. Without the caller having to leave a voicemail, hang up, then > call back to tell the receptionist that they were not available. Does > anyone know the feature I am talking about and how can I implement this > into FS. Thanks y'all! :) > -- > > Blake Priddy > Cogents Technologies, LLC. > (501) 786-1434 > blake at cogents.io > http://cogents.io > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/f226ea41/attachment.html From mitch.capper at gmail.com Mon Jan 18 23:00:30 2016 From: mitch.capper at gmail.com (Mitch Capper) Date: Mon, 18 Jan 2016 12:00:30 -0800 Subject: [Freeswitch-users] Call Return In-Reply-To: References: Message-ID: There may be a better way to do so, but this would certainly be easy to do with a dialplan. I would probably make an extension addendum (or set a channel variable). IE if normally the receiptionist might transfer to 1000 instead she transfers to 1000r. The dialplan would ring the user if it was user 1000 or 1000r, but with the 1000r if the call is not answered rather than executing the voicemail action it just transfers it back to the receptions extension. ~Mitch On Mon, Jan 18, 2016 at 8:29 AM, Blake Priddy wrote: > So I have this school that FS is installed at in Arkansas. They want this > feature that they had before with their last install called call return? > Basically from what I can interpret from him is that when a user transfers > to another user and they do not answer, the receptionist wants the call to > ring back to her so she can either take a message or direct the call > elsewhere. Without the caller having to leave a voicemail, hang up, then > call back to tell the receptionist that they were not available. Does > anyone know the feature I am talking about and how can I implement this > into FS. Thanks y'all! :) > -- > > Blake Priddy > Cogents Technologies, LLC. > (501) 786-1434 > blake at cogents.io > http://cogents.io > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/f1cfdbe0/attachment.html From vagarwal at vertical.com Mon Jan 18 23:09:24 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Mon, 18 Jan 2016 20:09:24 +0000 Subject: [Freeswitch-users] Getting multicast paging to work Message-ID: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> Hi All, I am trying to get multicast paging to work with the default configuration in FreeSwitch. I am using 239.192.0.2 multicast IP Adress on port 8000. I have configured a phone with that multicast address and phone, however when I try to page, I just get dead air. I see some ZRTP negotiation failures in Freeswitch logs. Can someone tell me what could be wrong 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START SESSION INITIALIZATION. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ZID=616331323132656430393363. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Loading User's profile: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: allowclear: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: autosecure: ON 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: disclose_bit: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: signal. role: Unknown 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: TTL: 4294967295 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Session initialization - DONE. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM to sID=3: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=0 UNKNOWN switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Empty slot was found - initializing new stream with ID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Preparing ZRTP Hello according to the Session profile. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM - DONE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: START STREAM ID=3 mode=CLEAR state=ACTIVE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=2 CLEAR switching ---> . 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/56d2a6aa/attachment-0001.html From max at nysolutions.com Mon Jan 18 23:20:25 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Mon, 18 Jan 2016 20:20:25 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> Message-ID: <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> Are the pbx and phone on the same subnet? 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 Varsha Agarwal Sent: Monday, January 18, 2016 3:09 PM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Getting multicast paging to work Hi All, I am trying to get multicast paging to work with the default configuration in FreeSwitch. I am using 239.192.0.2 multicast IP Adress on port 8000. I have configured a phone with that multicast address and phone, however when I try to page, I just get dead air. I see some ZRTP negotiation failures in Freeswitch logs. Can someone tell me what could be wrong 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START SESSION INITIALIZATION. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ZID=616331323132656430393363. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Loading User's profile: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: allowclear: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: autosecure: ON 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: disclose_bit: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: signal. role: Unknown 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: TTL: 4294967295 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Session initialization - DONE. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM to sID=3: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=0 UNKNOWN switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Empty slot was found - initializing new stream with ID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Preparing ZRTP Hello according to the Session profile. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM - DONE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: START STREAM ID=3 mode=CLEAR state=ACTIVE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=2 CLEAR switching ---> . 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/87b9caa8/attachment-0001.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/20160118/87b9caa8/attachment-0001.jpg From vagarwal at vertical.com Mon Jan 18 23:29:02 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Mon, 18 Jan 2016 20:29:02 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233730436@SCEX1.vertical.com> Yes they are. This is a small setup where all the phones next to each other in my cube. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moishe Grunstein Sent: Monday, January 18, 2016 12:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work Are the pbx and phone on the same subnet? 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 Varsha Agarwal Sent: Monday, January 18, 2016 3:09 PM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Getting multicast paging to work Hi All, I am trying to get multicast paging to work with the default configuration in FreeSwitch. I am using 239.192.0.2 multicast IP Adress on port 8000. I have configured a phone with that multicast address and phone, however when I try to page, I just get dead air. I see some ZRTP negotiation failures in Freeswitch logs. Can someone tell me what could be wrong 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START SESSION INITIALIZATION. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ZID=616331323132656430393363. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Loading User's profile: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: allowclear: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: autosecure: ON 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: disclose_bit: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: signal. role: Unknown 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: TTL: 4294967295 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Session initialization - DONE. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM to sID=3: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=0 UNKNOWN switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Empty slot was found - initializing new stream with ID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Preparing ZRTP Hello according to the Session profile. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM - DONE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: START STREAM ID=3 mode=CLEAR state=ACTIVE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=2 CLEAR switching ---> . 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/f529bcf8/attachment-0001.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/20160118/f529bcf8/attachment-0001.jpg From DEdwards at vertical.com Tue Jan 19 00:05:54 2016 From: DEdwards at vertical.com (Dan Edwards) Date: Mon, 18 Jan 2016 21:05:54 +0000 Subject: [Freeswitch-users] Add & remove video from active call Message-ID: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9976694@PHXEX2.vertical.com> I'm using FreeSWITCH as a WebRTC portal to our existing SIP phone system. I am able to establish an initial audio/video call between 2 WebRTC users. I'm trying to add the ability for a user to disable, then re-enable the video portion of the call. I've modified SIP.js slightly to allow me to re-INVITE with or without the video portion of the call and FS handles that quite well. The problem I'm having is that FS does not forward the re-INVITE on to our phone system. The other user never knows that the first user has disable video. They simply get a black rectangle where the video had been. Does this capability exist or will we need to add it? Thank you, Dan From vagarwal at vertical.com Tue Jan 19 00:20:52 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Mon, 18 Jan 2016 21:20:52 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> I disabled ZRTP, but still not working. It looks like mod_esf does not do anything... This is the last thing I see in the log 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 [BREAK] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 [BREAK] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 [BREAK] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.987766 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moishe Grunstein Sent: Monday, January 18, 2016 12:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work Are the pbx and phone on the same subnet? 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 Varsha Agarwal Sent: Monday, January 18, 2016 3:09 PM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Getting multicast paging to work Hi All, I am trying to get multicast paging to work with the default configuration in FreeSwitch. I am using 239.192.0.2 multicast IP Adress on port 8000. I have configured a phone with that multicast address and phone, however when I try to page, I just get dead air. I see some ZRTP negotiation failures in Freeswitch logs. Can someone tell me what could be wrong 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START SESSION INITIALIZATION. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ZID=616331323132656430393363. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Loading User's profile: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: allowclear: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: autosecure: ON 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: disclose_bit: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: signal. role: Unknown 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: TTL: 4294967295 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Session initialization - DONE. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM to sID=3: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=0 UNKNOWN switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Empty slot was found - initializing new stream with ID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Preparing ZRTP Hello according to the Session profile. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM - DONE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: START STREAM ID=3 mode=CLEAR state=ACTIVE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=2 CLEAR switching ---> . 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/29e3edc6/attachment-0001.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/20160118/29e3edc6/attachment-0001.jpg From anthony.minessale at gmail.com Tue Jan 19 00:37:06 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 18 Jan 2016 15:37:06 -0600 Subject: [Freeswitch-users] Add & remove video from active call In-Reply-To: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9976694@PHXEX2.vertical.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9976694@PHXEX2.vertical.com> Message-ID: It does not exist. It will only change video on the leg which it was negotiated to end video. You can file it as a JIRA under feature request to track progress. On Mon, Jan 18, 2016 at 3:05 PM, Dan Edwards wrote: > I'm using FreeSWITCH as a WebRTC portal to our existing SIP phone system. > I am able to establish an initial audio/video call between 2 WebRTC users. > I'm trying to add the ability for a user to disable, then re-enable the > video portion of the call. > > I've modified SIP.js slightly to allow me to re-INVITE with or without the > video portion of the call and FS handles that quite well. The problem I'm > having is that FS does not forward the re-INVITE on to our phone system. > The other user never knows that the first user has disable video. They > simply get a black rectangle where the video had been. > > Does this capability exist or will we need to add it? > > Thank you, > Dan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/65370c91/attachment.html From anthony.minessale at gmail.com Tue Jan 19 01:07:08 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 18 Jan 2016 16:07:08 -0600 Subject: [Freeswitch-users] Frustrating and inconsistent log format ! In-Reply-To: References: Message-ID: Steven, Spot on. Also some pro tips on logging. 1) You can use ESL or a C module to do logging as you see fit. You get a callback with all the pieces of the data and you can write any format you want. fs_cli does this via ESL and mod_logfile does it via C. 2) There is another module called mod_syslog that will write to syslog also prepending the date to everything. 3) The mod_graylog that Chris mentioned sounds pretty interesting and is also taking advantage of the raw data. On Mon, Jan 18, 2016 at 7:09 AM, Steven Ayre wrote: > Even the Freeswitch docs don't know what's what ... " The log file >> will contain log lines in this general format: YYYY-MM-DD hh:mm:ss >> [LEVEL] source_file_name:line_number function_name() " , >> that statement is not true. That's not the general format. its not >> even the dominant format, infact in my logs, lines that start > > YYYY-MM-DD are a rarity ! > > > The dominant logging format is going to be the session log as most > messages will relate to a call. So the majority of log lines will start > with the UUID, if that is enabled. > > The aren't that many logging formats. There is logging against a session > (has UUID) or a global log (no UUID). Both have clean variants (no datetime > information). So both UUID and datetime are optional. Other than that it's > consistent. > > Anything else is likely to come from libraries used by FreeSWITCH that > don't go through that logging system. > > > > On 14 January 2016 at 10:12, Tim Smith wrote: > >> Moises, >> >> Thank you for your reply, you're the only person who read my post and >> didn't somehow think I was saying "remove the UUIDs" ! ;-) >> >> Regarding : "Consistency is good, but certain functionality cannot be >> provided if every single line has exactly the same format." >> >> Yes, but the inconsistency makes it painful, verging on impossible, to >> correctly integrate with various log parsing systems, whether Splunk, >> Logstash or otherwise. >> >> >> If the devs have some personal preference for one format here, another >> format there, and something else over there, I would unfortunatley >> still call that a whim, especially as there is no clear documentation >> on the matter either !!!! >> >> Even the Freeswitch docs don't know what's what ... " The log file >> will contain log lines in this general format: YYYY-MM-DD hh:mm:ss >> [LEVEL] source_file_name:line_number function_name() " , >> that statement is not true. That's not the general format. its not >> even the dominant format, infact in my logs, lines that start >> YYYY-MM-DD are a rarity ! >> >> >> I have not come accross any other product (either closed or open >> source) that has the quite same amount of randomness in the way it >> logs. That is what I find so frustrating. >> >> On 14 January 2016 at 07:05, Moises Silva wrote: >> >> Why do log lines start with UUID ? Its format is hard to define and >> >> subject to the developer's whims ....why not start the line with a >> >> date, like almost any other sane program, and put the UUID elsewhere >> >> ? >> > >> > >> > If you don't like the uuid at the front, just remove it from the >> > logfile.conf.xml configuration >> > >> > >> > >> > You've clearly not attempted to debug complex scenarios, where the uuid >> at >> > the front is more useful, because when you have hundreds or thousands of >> > calls and you are trying to figure out what happened with a particular >> call >> > leg, you search for the uuid first, date second. >> > >> > The format you despise, is terribly useful, so try to understand it >> rather >> > than just hate it because is different to what you're used to. >> > >> >> >> >> Why on earth is the log format so inconsistent ? e.g. >> >> >> >> Sometimes developers feel like giving us a date .... >> >> >> >> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG] >> >> switch_core_state_machine.c:636 >> >> >> >> Sometimes they even manage the date in a sensible location .... >> >> >> >> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124 >> >> >> >> Other times they can't be bothered to provide such a critical piece of >> >> information..... >> >> >> >> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/ >> > >> > >> > This is by design, not a whim, and many of us like it, makes routing >> logs >> > easy to spot. Some people instead of calling these design decisions >> whims, >> > actually provided a solution so it fits what they prefer: >> > >> > https://freeswitch.org/jira/browse/FS-6805 >> > >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview >> > >> > So you can add this to switch.conf.xml: >> > >> > >> > >> > And you get the behavior you want. Please spend the time learning the >> > software rather than blaming the devs because you can't understand it or >> > because they have preferences different than yours. >> > >> >> Please devs... spend a little time cleaning up the logging ... it >> >> helps debugging and troubleshooting so much if we have some >> >> consistency there !!!!! >> > >> > >> > Consistency is good, but certain functionality cannot be provided if >> every >> > single line has exactly the same format. Some log lines are not >> associated >> > to a session, so they can't have a uuid at all. The FreeSWITCH logs are >> as >> > consistent as is possible in a given context. >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/589f50c5/attachment-0001.html From mario_fs at mgtech.com Tue Jan 19 01:24:37 2016 From: mario_fs at mgtech.com (Mario G) Date: Mon, 18 Jan 2016 14:24:37 -0800 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: References: <10415.1452010704@ccs.covici.com> <20160115191431.GC32708@blomma.liberationtech.net> <17352.1452888149@ccs.covici.com> <52C0C485-1A03-4C5D-9E94-472CEE24C1AE@mgtech.com> Message-ID: <7698115A-1A20-482C-89E0-1A5F45CEA7A1@mgtech.com> I filed a Jira months ago when 1.6.5 came out since it would not build on OS X, the fix is in the current master, Mike says it will be in the next 1.6.x so I am waiting for that before dealing with the DTMF, etc. since hopefully it may be fixed. For now I am stuck on 1.6.2. I always file a Jira with doc as soon as I find something that?s not right. Mario G > On Jan 17, 2016, at 2:22 PM, Brian West wrote: > > Where are all the bug reports in this topic? We can't fix what you guys don't report to us as problems! I suspect we've already fixed all the issues but since nobody has made an effort to file a JIRA after testing in the latest code I can only guess. > > /b > > On Sunday, January 17, 2016, Mario G > wrote: > FYI, I too have have DTMF not recognized most of the time since 1.6.2 dated Sep 2015. I cannot upgrade to the latest version due to pending fixes. I am on Callcentric and about 90 percent of the time DTMF is not recognized. I was going to wait for the next 1.6 update and see if that helps. I also have a flooding of TCP ports but don?t think it?s related. > > > On Jan 15, 2016, at 12:02 PM, covici at ccs.covici.com wrote: > > > > Oivvio Polite > wrote: > > > >> On Tue, Jan 05, 2016 at 11:18:24AM -0500, covici at ccs.covici.com wrote: > >>> Hi. I am having dtmf problems when calling numbers via flowroute. They > >>> seem not to detect the dtmf at all. I am using 2833 in all cases. Have > >>> you done anything in say the last 4 or 5 months which might be related? > >>> I am not having these problems when using another carrier, so I am quite puzzled. > >>> > >>> Thanks in advance for any suggestions. > >> > >> Did you get to the bottom of this? I too am having trouble with > >> flowroute and DTMF. > > > > Well, for now, I set absolute_codec_string="PCMU" before the bridge and > > that seems to have fixed it. > > > > > > -- > > 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 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > Got Bugs? Report them here ! | 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/20160118/b89d742a/attachment.html From aronp at guaranteedplus.com Tue Jan 19 04:02:23 2016 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Mon, 18 Jan 2016 20:02:23 -0500 Subject: [Freeswitch-users] Has anyone else experienced this issue - presence leaked / notifies for non subscribers Message-ID: https://freeswitch.org/jira/browse/FS-8753 -- Aron Podrigal - '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/380446ad/attachment.html From max at nysolutions.com Tue Jan 19 04:12:23 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Tue, 19 Jan 2016 01:12:23 +0000 Subject: [Freeswitch-users] Has anyone else experienced this issue - presence leaked / notifies for non subscribers In-Reply-To: References: Message-ID: <8497c930aee04cf58a98dab1da55f4a5@nysolutions.com> Did you try on latest master? I have not experienced the issue however in the back of head I think there was something on IRC a while back. 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 Podrigal, Aron Sent: Monday, January 18, 2016 8:02 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Has anyone else experienced this issue - presence leaked / notifies for non subscribers https://freeswitch.org/jira/browse/FS-8753 -- Aron Podrigal - '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/b70d76f8/attachment-0001.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/20160119/b70d76f8/attachment-0001.jpg From covici at ccs.covici.com Tue Jan 19 04:32:29 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Mon, 18 Jan 2016 20:32:29 -0500 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: References: Message-ID: <30177.1453167149@ccs.covici.com> It is fine, as far as I remember. Steve Matzura wrote: > Before I lay my money down, does anyone know if this is useable with > alternative format outputs such as braille displays and/or speech > synthesis via the Kindle Reader on either the OSX or iOS platforms? > Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions > work a lot better. There is also an older version of it on Bookshare > (http://www.bookshare.org) and I'm wondering if just because it's > three years old, is it out-of-date? If it is, what can I do to help > move the process along for getting an updated edition into Bookshare? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 ssinyagin at gmail.com Tue Jan 19 09:10:59 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 19 Jan 2016 07:10:59 +0100 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> Message-ID: if you make a packet capture for "ip host 239.192.0.2" on the FreeSWITCH machine, do you see any packets going out? Also, do you see any IGMP packets from the listeners? tcpdump is your first-stop tool in such troubleshooting. On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal wrote: > I disabled ZRTP, but still not working. It looks like mod_esf does not do > anything... This is the last thing I see in the log > > > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE > sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 > [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 > [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] > switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 > [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.987766 [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moishe > Grunstein > Sent: Monday, January 18, 2016 12:20 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > > > Are the pbx and phone on the same subnet? > > > > 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 > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Varsha > Agarwal > Sent: Monday, January 18, 2016 3:09 PM > To: FreeSWITCH-users at lists.freeswitch.org > Subject: [Freeswitch-users] Getting multicast paging to work > > > > Hi All, > > > > I am trying to get multicast paging to work with the default configuration > in FreeSwitch. I am using 239.192.0.2 multicast IP Adress on port 8000. I > have configured a phone with that multicast address and phone, however when > I try to page, I just get dead air. I see some ZRTP negotiation failures in > Freeswitch logs. Can someone tell me what could be wrong > > > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START > SESSION INITIALIZATION. sID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ZID=616331323132656430393363. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Loading User's profile: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > allowclear: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > autosecure: ON > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > disclose_bit: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > signal. role: Unknown > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > TTL: 4294967295 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 18:24:22.642176 > [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 18:24:22.642176 [DEBUG] > switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Session initialization - DONE. sID=3. > > > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM to sID=3: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=0 UNKNOWN switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Empty slot was found - initializing new stream with ID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Preparing ZRTP Hello according to the Session profile. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM - DONE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: START > STREAM ID=3 mode=CLEAR state=ACTIVE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=2 CLEAR switching ---> . > > 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > > > Thanks, > > Varsha > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Jan 19 09:15:05 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 01:15:05 -0500 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: Message-ID: <006b01d15280$bdce4b00$396ae100$@botecomm.com> Confluence has that: https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 Wiki is dead. Long live the wiki. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Andrew Cassidy Sent: Monday, 18 January, 2016 10:06 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 On 18 January 2016 at 12:48, Rutu Patel wrote: Hi All, I am using voicemail module with odbc. I have a DID(123456789) in freeswitch and it's routed to local extension(1000). When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? I want to play DID(123456789) is not available instead of destination number(1000). Any suggestions will be appreciated. -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/193d65e4/attachment.html From vagarwal at vertical.com Tue Jan 19 09:17:59 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Tue, 19 Jan 2016 06:17:59 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> Thanks. I will capture this. I wanted to find out if there is something phone/codec specific not set here that is there in the log and I am not catching. Basically in my network there is another PBX setup that is able to do multicast paging but FreeSwitch is not able to. So there is something specific to my Freeswitch setup. I also did not find too much documentation on the ESF module. I am relatively new to the SIP world. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Stanislav Sinyagin Sent: Monday, January 18, 2016 10:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work if you make a packet capture for "ip host 239.192.0.2" on the FreeSWITCH machine, do you see any packets going out? Also, do you see any IGMP packets from the listeners? tcpdump is your first-stop tool in such troubleshooting. On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal wrote: > I disabled ZRTP, but still not working. It looks like mod_esf does not > do anything... This is the last thing I see in the log > > > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE > sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.987766 > [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 > [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 > [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Moishe Grunstein > Sent: Monday, January 18, 2016 12:20 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > > > Are the pbx and phone on the same subnet? > > > > 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 > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Varsha Agarwal > Sent: Monday, January 18, 2016 3:09 PM > To: FreeSWITCH-users at lists.freeswitch.org > Subject: [Freeswitch-users] Getting multicast paging to work > > > > Hi All, > > > > I am trying to get multicast paging to work with the default > configuration in FreeSwitch. I am using 239.192.0.2 multicast IP > Adress on port 8000. I have configured a phone with that multicast > address and phone, however when I try to page, I just get dead air. I > see some ZRTP negotiation failures in Freeswitch logs. Can someone > tell me what could be wrong > > > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 > [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 > [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 > [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START > SESSION INITIALIZATION. sID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ZID=616331323132656430393363. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Loading User's profile: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > allowclear: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > autosecure: ON > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > disclose_bit: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > signal. role: Unknown > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > TTL: 4294967295 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 > 18:24:22.642176 [DEBUG] > switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 > 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 > 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Session initialization - DONE. sID=3. > > > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM to sID=3: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=0 UNKNOWN switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Empty slot was found - initializing new stream with ID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Preparing ZRTP Hello according to the Session profile. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM - DONE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > START STREAM ID=3 mode=CLEAR state=ACTIVE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=2 CLEAR switching ---> . > > 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > > > Thanks, > > Varsha > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Jan 19 09:23:10 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 01:23:10 -0500 Subject: [Freeswitch-users] Call Return In-Reply-To: References: Message-ID: <007301d15281$dec3ae80$9c4b0b80$@botecomm.com> I just today was touching up the Confluence page for att_xfer and I THINK it does exactly what you?re asking for: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+att_xfer Try it out and see, you might have it easy. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Blake Priddy Sent: Monday, 18 January, 2016 11:30 Subject: [Freeswitch-users] Call Return So I have this school that FS is installed at in Arkansas. They want this feature that they had before with their last install called call return? Basically from what I can interpret from him is that when a user transfers to another user and they do not answer, the receptionist wants the call to ring back to her so she can either take a message or direct the call elsewhere. Without the caller having to leave a voicemail, hang up, then call back to tell the receptionist that they were not available. Does anyone know the feature I am talking about and how can I implement this into FS. Thanks y'all! :) -- Blake Priddy Cogents Technologies, LLC. (501) 786-1434 blake at cogents.io http://cogents.io -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/b43f41f6/attachment.html From bote_radio at botecomm.com Tue Jan 19 09:28:14 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 01:28:14 -0500 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> Message-ID: <007b01d15282$93d7e200$bb87a600$@botecomm.com> I'm pretty sure that esf_page only sends out PCMU in the clear, I doubt it does ZRTP or anything else. It's a pretty basic app. I have used it in a recent build of FS and it worked then, perhaps 3 months ago. Not every phone responds predictably, notably Cisco/Linksys phones which apparently use a proprietary protocol from their own pbx to light up the phone on pages. It's a one-way protocol, it just blasts out RTP packets via i.p. multicast so there's no negotiation to be done. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Varsha Agarwal Sent: Monday, 18 January, 2016 16:21 Subject: Re: [Freeswitch-users] Getting multicast paging to work I disabled ZRTP, but still not working. It looks like mod_esf does not do anything... This is the last thing I see in the log 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 [BREAK] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 [BREAK] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1002 at 172.18.18.237 [BREAK] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.987766 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moishe Grunstein Sent: Monday, January 18, 2016 12:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work Are the pbx and phone on the same subnet? 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 Varsha Agarwal Sent: Monday, January 18, 2016 3:09 PM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] Getting multicast paging to work Hi All, I am trying to get multicast paging to work with the default configuration in FreeSwitch. I am using 239.192.0.2 multicast IP Adress on port 8000. I have configured a phone with that multicast address and phone, however when I try to page, I just get dead air. I see some ZRTP negotiation failures in Freeswitch logs. Can someone tell me what could be wrong 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 [DEBUG] sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state [ready][200] 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:5856 Correct ip/port confirmed. 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START SESSION INITIALIZATION. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ZID=616331323132656430393363. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Loading User's profile: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: allowclear: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: autosecure: ON 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: disclose_bit: OFF 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: signal. role: Unknown 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: TTL: 4294967295 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Session initialization - DONE. sID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM to sID=3: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=0 UNKNOWN switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Empty slot was found - initializing new stream with ID=3. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: Preparing ZRTP Hello according to the Session profile. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH NEW STREAM - DONE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: START STREAM ID=3 mode=CLEAR state=ACTIVE. 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START . 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=2 CLEAR switching ---> . 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: Stream ID=3 CLEAR switching ---> . Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/8369212b/attachment-0001.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/20160119/8369212b/attachment-0001.jpe From vagarwal at vertical.com Tue Jan 19 09:29:02 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Tue, 19 Jan 2016 06:29:02 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D02337308BF@SCEX1.vertical.com> Wireshark is showing some activity 404 1.630847000 172.18.18.237 239.192.0.2 UDP 214 Source port: 17130 Destination port: teradataordbms These messages are constantly seen. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Stanislav Sinyagin Sent: Monday, January 18, 2016 10:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work if you make a packet capture for "ip host 239.192.0.2" on the FreeSWITCH machine, do you see any packets going out? Also, do you see any IGMP packets from the listeners? tcpdump is your first-stop tool in such troubleshooting. On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal wrote: > I disabled ZRTP, but still not working. It looks like mod_esf does not > do anything... This is the last thing I see in the log > > > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE > sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.987766 > [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 > [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 > [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Moishe Grunstein > Sent: Monday, January 18, 2016 12:20 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > > > Are the pbx and phone on the same subnet? > > > > 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 > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Varsha Agarwal > Sent: Monday, January 18, 2016 3:09 PM > To: FreeSWITCH-users at lists.freeswitch.org > Subject: [Freeswitch-users] Getting multicast paging to work > > > > Hi All, > > > > I am trying to get multicast paging to work with the default > configuration in FreeSwitch. I am using 239.192.0.2 multicast IP > Adress on port 8000. I have configured a phone with that multicast > address and phone, however when I try to page, I just get dead air. I > see some ZRTP negotiation failures in Freeswitch logs. Can someone > tell me what could be wrong > > > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 > [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 > [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 > [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START > SESSION INITIALIZATION. sID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ZID=616331323132656430393363. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Loading User's profile: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > allowclear: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > autosecure: ON > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > disclose_bit: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > signal. role: Unknown > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > TTL: 4294967295 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 > 18:24:22.642176 [DEBUG] > switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 > 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 > 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Session initialization - DONE. sID=3. > > > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM to sID=3: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=0 UNKNOWN switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Empty slot was found - initializing new stream with ID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Preparing ZRTP Hello according to the Session profile. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM - DONE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > START STREAM ID=3 mode=CLEAR state=ACTIVE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=2 CLEAR switching ---> . > > 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > > > Thanks, > > Varsha > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 asherif74 at hotmail.com Tue Jan 19 02:12:42 2016 From: asherif74 at hotmail.com (malik sherif) Date: Mon, 18 Jan 2016 23:12:42 +0000 Subject: [Freeswitch-users] kamailio freeswitch SBC Message-ID: Hello, I integrated kamailio and freeswitch using the links at the bottom of the page, however, the call rejected and goes to voicemail and freeswitch generated the following messages especially I am puzzled by the following errors 2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup sofia/internal/7632689993 at 10.22.52.2 [CS_ROUTING] [UNALLOCATED_NUMBER] 2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed. Cause: UNALLOCATED_NUMBER Can freeswitch use domain name since kamailio sent invite with domain but freeswitch with IP address? I am not sure if this is the issue. I looked my extensions and it looks OK but I might be wrong. Thank you again for your help Abdul ############################################################################################################################################ 2016-01-13 05:37:29.572184 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/7632689991 at AbdulKamailioSIP.com [e945266d-8eec-4c0e-80b4-b306f43e18df] 2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 <7632689991>->kb-7632689993 in context public 2016-01-13 05:37:29.572184 [NOTICE] switch_ivr.c:1861 Transfer sofia/internal/7632689991 at AbdulKamailioSIP.com to XML[kb-7632689993 at default] 2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 <7632689991>->kb-7632689993 in context default 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open /usr/local/freeswitch/conf/vars.xml and change the default_password. 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Once changed type 'reloadxml' at the console. 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 2016-01-13 05:37:39.632245 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/7632689993 at 10.22.52.2 [d52b6ef9-c4f6-4edf-aff9-8a8da3761788] 2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup sofia/internal/7632689993 at 10.22.52.2 [CS_ROUTING] [UNALLOCATED_NUMBER] 2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed. Cause: UNALLOCATED_NUMBER 2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1641 Session 12 (sofia/internal/7632689993 at 10.22.52.2) Ended 2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/7632689993 at 10.22.52.2 [CS_DESTROY] 2016-01-13 05:37:39.632245 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/7632689991 at AbdulKamailioSIP.com! 2016-01-13 05:37:39.653182 [NOTICE] mod_dptools.c:1268 Channel [sofia/internal/7632689991 at AbdulKamailioSIP.com] has been answered 2016-01-13 05:37:50.532203 [NOTICE] sofia.c:952 Hangup sofia/internal/7632689991 at AbdulKamailioSIP.com [CS_EXECUTE] [NORMAL_CLEARING] 2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1641 Session 11 (sofia/internal/7632689991 at AbdulKamailioSIP.com) Ended 2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/7632689991 at AbdulKamailioSIP.com [CS_DESTROY] ########################################################################################################################## ############################################################################################################## ##################################################################################################################### http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/d7655f59/attachment-0001.html From max at nysolutions.com Tue Jan 19 09:35:25 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Tue, 19 Jan 2016 06:35:25 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D02337308BF@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D02337308BF@SCEX1.vertical.com> Message-ID: <2a951761e2de4f3daef5485efd20ef06@nysolutions.com> Your destination port needs to match the port your phones are listening to for the multicast traffic. 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 Varsha Agarwal Sent: Tuesday, January 19, 2016 1:29 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work Wireshark is showing some activity 404 1.630847000 172.18.18.237 239.192.0.2 UDP 214 Source port: 17130 Destination port: teradataordbms These messages are constantly seen. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Stanislav Sinyagin Sent: Monday, January 18, 2016 10:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting multicast paging to work if you make a packet capture for "ip host 239.192.0.2" on the FreeSWITCH machine, do you see any packets going out? Also, do you see any IGMP packets from the listeners? tcpdump is your first-stop tool in such troubleshooting. On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal wrote: > I disabled ZRTP, but still not working. It looks like mod_esf does not > do anything... This is the last thing I see in the log > > > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE > sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.967737 > [DEBUG] > switch_core_session.c:1053 Send signal > sofia/internal/1002 at 172.18.18.237 [BREAK] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:23.987766 > [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 > [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 2016-01-18 15:53:24.188054 > [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Moishe Grunstein > Sent: Monday, January 18, 2016 12:20 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > > > Are the pbx and phone on the same subnet? > > > > 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 > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Varsha Agarwal > Sent: Monday, January 18, 2016 3:09 PM > To: FreeSWITCH-users at lists.freeswitch.org > Subject: [Freeswitch-users] Getting multicast paging to work > > > > Hi All, > > > > I am trying to get multicast paging to work with the default > configuration in FreeSwitch. I am using 239.192.0.2 multicast IP > Adress on port 8000. I have configured a phone with that multicast > address and phone, however when I try to page, I just get dead air. I > see some ZRTP negotiation failures in Freeswitch logs. Can someone > tell me what could be wrong > > > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.421859 > [DEBUG] > sofia.c:6614 Channel sofia/internal/1002 at 172.18.18.237 entering state > [ready][200] > > 2016-01-15 18:24:22.481945 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21355 size=144. Stream 2:CLEAR:START > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 > [DEBUG] > switch_rtp.c:5856 Correct ip/port confirmed. > > 479243ec-a237-481b-a94d-af6707cf2b07 2016-01-15 18:24:22.642176 > [DEBUG] > switch_rtp.c:3548 Starting timer [soft] 160 bytes per 20ms > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: START > SESSION INITIALIZATION. sID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ZID=616331323132656430393363. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Loading User's profile: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > allowclear: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > autosecure: ON > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > disclose_bit: OFF > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > signal. role: Unknown > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > TTL: 4294967295 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: SAS > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B256 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 B32 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Ciphers: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES3 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 AES1 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: PK > schemes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 EC25 > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH3k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 DH2k 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 Mult 2016-01-15 > 18:24:22.642176 [DEBUG] > switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > ATL: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 HS32 > 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Hashes: 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 S256 > 2016-01-15 > 18:24:22.642176 [DEBUG] switch_rtp.c:1357 > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Session initialization - DONE. sID=3. > > > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM to sID=3: > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=0 UNKNOWN switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Empty slot was found - initializing new stream with ID=3. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: > Preparing ZRTP Hello according to the Session profile. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp main]: ATTACH > NEW STREAM - DONE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > START STREAM ID=3 mode=CLEAR state=ACTIVE. > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > 2016-01-15 18:24:22.642176 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63956 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.702262 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63957 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.722291 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21356 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:22.802406 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63958 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:22.922579 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21357 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.002694 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63959 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=2 > > 2016-01-15 18:24:23.122867 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21358 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.202982 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63960 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.323155 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21359 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO have been resent 5 times without a response. Raising > ZRTP_EVENT_NO_ZRTP_QUICK event. ID=3 > > 2016-01-15 18:24:23.403270 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63961 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.523443 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21360 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.603558 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63962 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.723731 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21361 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:23.803846 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63963 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:23.924019 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21362 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.004134 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63964 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.124307 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21363 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.204422 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63965 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.314580 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21364 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.394696 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63966 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.514868 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21365 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.594984 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63967 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.715156 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21366 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.795272 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63968 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:24.915444 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21367 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:24.995560 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63969 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.115732 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21368 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.195848 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63970 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.316020 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21369 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.396136 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63971 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.516308 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21370 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.596424 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63972 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.716596 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21371 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.796712 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63973 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:25.916884 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503275614 seq=21372 size=144. Stream 2:CLEAR:START > > 2016-01-15 18:24:25.997000 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63974 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=2 > > 2016-01-15 18:24:26.117172 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=2 CLEAR switching ---> . > > 2016-01-15 18:24:26.197288 [DEBUG] switch_rtp.c:1357 [ zrtp utils]: > Send ssrc=1503386214 seq=63975 size=144. Stream 3:CLEAR:START > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp engine]: > WARNING! HELLO Max retransmissions count reached (20 retries). ID=3 > > 2016-01-15 18:24:26.397576 [DEBUG] switch_rtp.c:1357 [ zrtp]: > Stream ID=3 CLEAR switching ---> . > > > > Thanks, > > Varsha > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 rutu.patel at inextrix.com Tue Jan 19 09:44:03 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Tue, 19 Jan 2016 12:14:03 +0530 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: <006b01d15280$bdce4b00$396ae100$@botecomm.com> References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> Message-ID: Hi, Thanks Andrew and Bote for reply. I have tried by setting parameter 'vm-alternate-greet-id' in extension and its working as expected. ?But when setting in dialplan, its not working. I tried to set before voicemail app as below: ? Can you please assist how to set this parameter in dialplan ? -- Thanks, Rutu Patel On Tue, Jan 19, 2016 at 11:45 AM, Bote Man wrote: > Confluence has that: > > > > > https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 > > > > Wiki is dead. Long live the wiki. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Andrew Cassidy > *Sent:* Monday, 18 January, 2016 10:06 > *Subject:* Re: [Freeswitch-users] How to customize voicemail greeting > number ? > > > > > https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 > > > > On 18 January 2016 at 12:48, Rutu Patel wrote: > > Hi All, > > I am using voicemail module with odbc. > > I have a DID(123456789) in freeswitch and it's routed to local > extension(1000). > When the extension does not available it goes to voicemail and plays that > number(1000) is not available.Is it possible to change the number in > playback? > I want to play DID(123456789) is not available instead of destination > number(1000). > > Any suggestions will be appreciated. > > -- > Thanks, > Rutu 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/20160119/1ab0de47/attachment-0001.html From bote_radio at botecomm.com Tue Jan 19 10:09:22 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 02:09:22 -0500 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <2a951761e2de4f3daef5485efd20ef06@nysolutions.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D02337308BF@SCEX1.vertical.com> <2a951761e2de4f3daef5485efd20ef06@nysolutions.com> Message-ID: <009301d15288$52ee3db0$f8cab910$@botecomm.com> The source port is the FreeSWITCH port that is emitting the i.p. multicast stream. Although it is not shown in the Wireshark excerpt, the debug log says it is sending to port 8000. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Moishe Grunstein > Sent: Tuesday, 19 January, 2016 01:35 > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Your destination port needs to match the port your phones are listening to > for the multicast traffic. > > Thanks, > > Moishe Grunstein > Tornado Computer Systems, Inc. > 212.400.7650 888.IPPBX.US > Service Request Email: support at nysolutions.com > > > > -----Original Message----- > From: Varsha Agarwal > Sent: Tuesday, January 19, 2016 1:29 AM > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Wireshark is showing some activity > 404 1.630847000 172.18.18.237 239.192.0.2 UDP 214 > Source port: 17130 Destination port: teradataordbms > > These messages are constantly seen. > > -----Original Message----- > From: Stanislav Sinyagin > Sent: Monday, January 18, 2016 10:11 PM > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > if you make a packet capture for "ip host 239.192.0.2" on the FreeSWITCH > machine, do you see any packets going out? > > Also, do you see any IGMP packets from the listeners? > > tcpdump is your first-stop tool in such troubleshooting. > > > > On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal > wrote: > > I disabled ZRTP, but still not working. It looks like mod_esf does not > > do anything... This is the last thing I see in the log > > > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE > > sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) > > > >... > > > > > > From: Varsha Agarwal > > Sent: Monday, January 18, 2016 3:09 PM > > Subject: [Freeswitch-users] Getting multicast paging to work > > > > > > > > Hi All, > > > > I am trying to get multicast paging to work with the default > > configuration in FreeSwitch. I am using 239.192.0.2 multicast IP > > Adress on port 8000. I have configured a phone with that multicast > > address and phone, however when I try to page, I just get dead air. I > > see some ZRTP negotiation failures in Freeswitch logs. Can someone > > tell me what could be wrong > > > > > > Thanks, > > > > Varsha > > > > From bote_radio at botecomm.com Tue Jan 19 10:14:35 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 02:14:35 -0500 Subject: [Freeswitch-users] kamailio freeswitch SBC In-Reply-To: References: Message-ID: <009401d15289$0d82fb20$2888f160$@botecomm.com> The log is telling you that FreeSWITCH is looking in the dialplan that contains the context named "public" (this is the external.xml dialplan in the vanilla configuration) and can not find a match for "7632689993". Since the log is also SCREAMING at you to change the default password in vars.xml I can assume that you have not modified any other configuration files, which is why the call fails. At the very least, add a dialplan extension that matches 7632689993, but PLEASE review the comments in the dialplan and the documentation on Confluence to avoid exposing your switch to toll fraud. The directory allows devices to register with FreeSWITCH, the dialplan routes calls. https://freeswitch.org/confluence/display/FREESWITCH/Dialplan Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: malik sherif Sent: Monday, 18 January, 2016 18:13 Subject: [Freeswitch-users] kamailio freeswitch SBC Hello, I integrated kamailio and freeswitch using the links at the bottom of the page, however, the call rejected and goes to voicemail and freeswitch generated the following messages especially I am puzzled by the following errors 2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup sofia/internal/7632689993 at 10.22.52.2 [CS_ROUTING] [UNALLOCATED_NUMBER] 2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed. Cause: UNALLOCATED_NUMBER Can freeswitch use domain name since kamailio sent invite with domain but freeswitch with IP address? I am not sure if this is the issue. I looked my extensions and it looks OK but I might be wrong. Thank you again for your help Abdul ############################################################################ ################################################################ 2016-01-13 05:37:29.572184 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/7632689991 at AbdulKamailioSIP.com [e945266d-8eec-4c0e-80b4-b306f43e18df] 2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 <7632689991>->kb-7632689993 in context public 2016-01-13 05:37:29.572184 [NOTICE] switch_ivr.c:1861 Transfer sofia/internal/7632689991 at AbdulKamailioSIP.com to XML[kb-7632689993 at default] 2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 <7632689991>->kb-7632689993 in context default 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open /usr/local/freeswitch/conf/vars.xml and change the default_password. 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Once changed type 'reloadxml' at the console. 2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 2016-01-13 05:37:39.632245 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/7632689993 at 10.22.52.2 [d52b6ef9-c4f6-4edf-aff9-8a8da3761788] 2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup sofia/internal/7632689993 at 10.22.52.2 [CS_ROUTING] [UNALLOCATED_NUMBER] 2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed. Cause: UNALLOCATED_NUMBER 2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1641 Session 12 (sofia/internal/7632689993 at 10.22.52.2) Ended 2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/7632689993 at 10.22.52.2 [CS_DESTROY] 2016-01-13 05:37:39.632245 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/7632689991 at AbdulKamailioSIP.com! 2016-01-13 05:37:39.653182 [NOTICE] mod_dptools.c:1268 Channel [sofia/internal/7632689991 at AbdulKamailioSIP.com] has been answered 2016-01-13 05:37:50.532203 [NOTICE] sofia.c:952 Hangup sofia/internal/7632689991 at AbdulKamailioSIP.com [CS_EXECUTE] [NORMAL_CLEARING] 2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1641 Session 11 (sofia/internal/7632689991 at AbdulKamailioSIP.com) Ended 2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/7632689991 at AbdulKamailioSIP.com [CS_DESTROY] ############################################################################ ############################################## ############################################################################ ################################## ############################################################################ ######################################### http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/136a2403/attachment.html From bote_radio at botecomm.com Tue Jan 19 10:19:55 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 02:19:55 -0500 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> Message-ID: <009901d15289$cc026040$640720c0$@botecomm.com> Just a wild guess, but if it works place this before your bridge command in the dialplan: This sets the alternate greeting on the B-leg, which intuitively doesn?t really exist when calling voicemail, but then FS thinks funny thoughts sometimes. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Rutu Patel Sent: Tuesday, 19 January, 2016 01:44 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? Hi, Thanks Andrew and Bote for reply. I have tried by setting parameter 'vm-alternate-greet-id' in extension and its working as expected. ?But when setting in dialplan, its not working. I tried to set before voicemail app as below: ? Can you please assist how to set this parameter in dialplan ? -- Thanks, Rutu Patel On Tue, Jan 19, 2016 at 11:45 AM, Bote Man wrote: Confluence has that: https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 Wiki is dead. Long live the wiki. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Andrew Cassidy Sent: Monday, 18 January, 2016 10:06 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 On 18 January 2016 at 12:48, Rutu Patel wrote: Hi All, I am using voicemail module with odbc. I have a DID(123456789) in freeswitch and it's routed to local extension(1000). When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? I want to play DID(123456789) is not available instead of destination number(1000). Any suggestions will be appreciated. -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/2f76f6ee/attachment-0001.html From lists at kavun.ch Tue Jan 19 10:25:41 2016 From: lists at kavun.ch (Emrah) Date: Tue, 19 Jan 2016 08:25:41 +0100 Subject: [Freeswitch-users] Random calls failing with WRONG_CALL_STATe when using TLS In-Reply-To: <72542EA4-5014-4F6B-9C32-523F975737FA@kavun.ch> References: <45FAC76E-D2B7-483A-88AB-9FB98600C42B@kavun.ch> <2B416F4C-561E-48E1-A31D-BB82854AB84E@kavun.ch> <7AB693FD-921B-43F0-81B4-41610CC5A4C3@freeswitch.org> <001E3109-E3ED-481E-A456-64B9603A8A44@kavun.ch> <72542EA4-5014-4F6B-9C32-523F975737FA@kavun.ch> Message-ID: <891CEDE1-9FE4-421C-88A8-CE8640E76A22@kavun.ch> Hi there, So what do we do of this? I don?t have any TLS issues except with FreeSWITCH. And to everyone here, it?s an issue with the equipment or the soft phone. I tried FS V1.2, 1.4, 1.6 and 1.7. Now remember this is something that can be reproduced with Yealink, Polycom, an I recently found out that Counterpath Bria was in the same basket. https://support.counterpath.com/topic/intermittent-tls-403-forbidden-error We know what the problem is. When the TLS packet is too large, possibly because of a long list of codecs, the TLS thread crashes on the client. The question is, how can this happen only when using FS? The same clients do OK with other TLS enabled PBXs. Emrah > On Jan 14, 2016, at 1:09 PM, Emrah wrote: > > I was certain that I?d fixe all my issues with an FS update to 1.6. > After much frustration and over a year of trial and error, I found out that the TLS session breaks if the content of the packet is too large. > This was also confirmed with the FS documentation that lists this issue as a generic Polycom issue: Generic Polycom issues > > I can confirm that this also happens with Yealink phones and a couple of other Softphones including Blink Pro on Mac OS X. > > So far, I?ve only experienced this with FS. I?ve not been able to replicate this with other SIP servers that can also transport and handle media. > > Anyone else can relate to this? > > Anyway, what?s worked for me is to make my packets as small as possible by reducing the number of offered codecs to the bare minimum. > > Best, > E >> On Mar 3, 2015, at 2:38 PM, Brian West > wrote: >> >> sofia global siptrace on >> sofia loglevel all 9 >> >> Then outline the scenario and config on the JIRA. >> >> On Tue, Mar 3, 2015 at 7:54 AM, Emrah > wrote: >> Hey Brian, just saw this message. >> There is no other UA in between FS and the endpoint. There is a regular NAT, that's all. >> What seems to happen is: >> endpoint -> FS: invite = ok >> FS -> endpoint: 407 = OK >> Endpoint -> FS: invite = Fails with SSL error. >> >> What are the components I should capture to open up a Jira? FS Logs, FS Siptrace, anything else? >> >> Thanks! >>> On Feb 16, 2015, at 2:44 PM, Brian West > wrote: >>> >>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>> >>> Your issue is the contact has no port 443 or transport=tls right? What sits between FS and the endpoint? >>> >>> On Sun, Feb 15, 2015 at 5:38 AM, Emrah > wrote: >>> Thanks Ken. Is there a way to filter the SIP trace? It's a busy box. >>> >>>> On Feb 14, 2015, at 3:35 AM, Ken Rice > wrote: >>>> >>>> Open a jire with a full debug login including sip tracing on >>>> >>>> Sent from my iPhone >>>> >>>> On Feb 13, 2015, at 7:57 PM, Emrah > wrote: >>>> >>>>> Hi, >>>>> The issue is persistent. I am curious to know if anyone else on the list is experiencing this. It doesn't seem to have been reported before. >>>>> Should I dedicate a profile to TLS use only? >>>>> I also posted a message on the list about receiving options packet with the wrong transport. Are these 2 issues connected? Here is a copy paste of my message: >>>>> >>>>> My experience with FS and TLS has been rather mixed so far. It's been a little inconsistent in keeping NAT sessions up and users discoverable. >>>>> One thing I've noticed is that FS advertises the wrong information in option packets. The following is what I receive over my TLS session which is working on port 443. >>>>> 1.2.3.4:443 -(SIP over TLS)-> 10.0.0.99:51132 >>>>> OPTIONS sip:53178246 at 10.0.0.99:56494;transport=tls;received=5.6.7.8:51132 <> SIP/2.0 >>>>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>>>> Route: >;transport=tls >>>>> Max-Forwards: 70 >>>>> From: >;tag=Q6XDFHeUUrcHD >>>>> To: > >>>>> Call-ID: 0a052f23-34a8-4158-8c88-fd2a70ffb561_c2RhaSoOYBR6jfJe4ndLoTTKJMrO2gMv >>>>> CSeq: 71498568 OPTIONS >>>>> Contact: > >>>>> User-Agent: FreeSWITCH >>>>> 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-Length: 0 >>>>> >>>>> As you can see FS stamps the packet with a port 5060... No reference to port 443 with a transport=tls. >>>>> >>>>> What shall be done? >>>>> >>>>>> On Feb 5, 2015, at 3:18 PM, Emrah > wrote: >>>>>> >>>>>> Hi there, >>>>>> This issue is happening all around with devices using TLS. It's not very frequent with softphones, but not inexistant. >>>>>> Any pointers would be greatly appreciated. Do you have best practice configs you'd like to share? >>>>>> >>>>>> Thanks >>>>>>> On Jan 30, 2015, at 6:10 PM, Emrah > wrote: >>>>>>> >>>>>>> Hi all, >>>>>>> I am facing a very frustrating issue. I often have to dial twice when using my Yealink phone with TLS because the first attempt times out. >>>>>>> The logs on the Yealink indicate that the first invite is successfully received, to which my FS sends a 100 trying and 407 proxy auth required. It is subsequently when my phone sends back the invite that the connection crashes with the following error: >>>>>>> SSL ERROR SYSCALL >>>>>>> >>>>>>> Is this something common? Why does the SSL connection crashes when the phone attempts to send the second invite? My phone is behind NAT. >>>>>>> >>>>>>> It is going to be a crazy expedition to collect the logs and Pastebin them, so I am tempting my luck on the list first to see if you have any pointers. >>>>>>> >>>>>>> As a last piece, my Bria on my iPHone, among other clients, never had this issue. I did experience it from time to time with Blink on Mac OS X. >>>>>>> >>>>>>> Any help appreciated. >>>>>>> >>>>>>> Emrah >>>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> >> >> -- >> 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/20160119/e6d3e359/attachment-0001.html From david.witham at netsip.com.au Tue Jan 19 11:39:57 2016 From: david.witham at netsip.com.au (David Witham) Date: Tue, 19 Jan 2016 18:39:57 +1000 Subject: [Freeswitch-users] Call progress not being passed Message-ID: Hi all, We're running the latest FREESwitch 1.4 (1.4.26) on debian7. We have a problem where we receive a SIP 183 from our upstream provider (via a sofia gateway) but the 183 does not get forwarded to the internal leg we bridge to. When we receive the 200 OK, that gets passed through and the call is established with media. We can add a ring_ready into the dialplan and force it to pass a 180 back to the A party but that just masks the problem. Has anyone else come across this behaviour? I haven't found any JIRAs that match this although perhaps FS-7714 is related. thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/a7bf6403/attachment.html From deepikay at iiitd.ac.in Tue Jan 19 12:00:05 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Tue, 19 Jan 2016 14:30:05 +0530 Subject: [Freeswitch-users] UNALLOCATED_NUMBER Message-ID: Hi, I am facing an issue where when I call a mobile phone number from a SIP account using Freeswitch via an external gateway(service provider) I get these logs and call to the recipient is not made: Logs : 2016-01-19 08:50:21.042365 [NOTICE] switch_channel.c:1055 New Channel sofia/external/919811806537 [ac043fa4-be89-11e5-b585-450e5c1ead46] 2016-01-19 08:50:21.182405 [NOTICE] sofia.c:7539 Hangup sofia/external/XXXXXXXX [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1641 Session 6 (sofia/external/XXXXXXXX) Ended 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1645 Close Channel sofia/external/919811806537 [CS_DESTROY] I also tried the following command : sofia profile external restart reloadxml but did not work I tried using some other gateway then it worked fine but how can I remove this issue so that I need not change my gateway service provider. Regards, Deepika -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/faa18686/attachment.html From mylists at polite.se Tue Jan 19 12:00:12 2016 From: mylists at polite.se (Oivvio Polite) Date: Tue, 19 Jan 2016 10:00:12 +0100 Subject: [Freeswitch-users] dtmf problems when using flowroute In-Reply-To: <20160115191431.GC32708@blomma.liberationtech.net> References: <10415.1452010704@ccs.covici.com> <20160115191431.GC32708@blomma.liberationtech.net> Message-ID: <20160119090012.GD32708@blomma.liberationtech.net> On Fri, Jan 15, 2016 at 08:14:31PM +0100, Oivvio Polite wrote: > > Did you get to the bottom of this? I too am having trouble with > flowroute and DTMF. My problem turned out to be misconfiguration in my dialplan. I hadn't issued the "answer" command yet. Oivvio From steveayre at gmail.com Tue Jan 19 12:36:23 2016 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 19 Jan 2016 09:36:23 +0000 Subject: [Freeswitch-users] UNALLOCATED_NUMBER In-Reply-To: References: Message-ID: Are you sure the number is valid, and you're using the correct dialing prefix? Generally this hangup cause is returned by the other side. You can confirm that with a SIP trace. If the number is valid and you're sending it in the format they expect then you'll need to chase it up with them to find out why the couldn't route the call. On 19 January 2016 at 09:00, Deepika Yadav wrote: > Hi, > > I am facing an issue where when I call a mobile phone number from a SIP > account using Freeswitch via an external gateway(service provider) I get > these logs and call to the recipient is not made: > > Logs : > > 2016-01-19 08:50:21.042365 [NOTICE] switch_channel.c:1055 New Channel > sofia/external/919811806537 [ac043fa4-be89-11e5-b585-450e5c1ead46] > 2016-01-19 08:50:21.182405 [NOTICE] sofia.c:7539 Hangup > sofia/external/XXXXXXXX [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] > 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1641 Session 6 > (sofia/external/XXXXXXXX) Ended > 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1645 Close > Channel sofia/external/919811806537 [CS_DESTROY] > > > I also tried the following command : > > sofia profile external restart reloadxml > > > but did not work > > I tried using some other gateway then it worked fine but how can I remove > this issue so that I need not change my gateway service provider. > > Regards, > Deepika > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160119/96194789/attachment.html From steveayre at gmail.com Tue Jan 19 12:38:02 2016 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 19 Jan 2016 09:38:02 +0000 Subject: [Freeswitch-users] Call progress not being passed In-Reply-To: References: Message-ID: 1) Are you using ignore_early_media? 2) Are you using the bridge application, or doing an originate and bridging the two channels when it connects? On 19 January 2016 at 08:39, David Witham wrote: > Hi all, > > We're running the latest FREESwitch 1.4 (1.4.26) on debian7. > > We have a problem where we receive a SIP 183 from our upstream provider > (via a sofia gateway) but the 183 does not get forwarded to the internal > leg we bridge to. When we receive the 200 OK, that gets passed through and > the call is established with media. > > We can add a ring_ready into the dialplan and force it to pass a 180 back > to the A party but that just masks the problem. > > Has anyone else come across this behaviour? I haven't found any JIRAs that > match this although perhaps FS-7714 is related. > > thanks, > David > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160119/980a113a/attachment.html From denis at ringme.ru Tue Jan 19 13:20:44 2016 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Tue, 19 Jan 2016 13:20:44 +0300 Subject: [Freeswitch-users] lost timezones In-Reply-To: References: <569CCB36.30405@ringme.ru> Message-ID: <569E0DFC.6020700@ringme.ru> > the OS is losing timezones too? No > Eg: the result of "date" command from ssh command line is correct? Always correct. And reload any module who touch timezones works. > Are you starting freeswitch as a user different than root? That other > user has timezone settings? If you login as that other user, what's > the results of "date" command? user freeswitch # sudo -u freeswitch date ??? ??? 19 13:17:07 MSK 2016 From gmaruzz at gmail.com Tue Jan 19 13:28:25 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 19 Jan 2016 11:28:25 +0100 Subject: [Freeswitch-users] lost timezones In-Reply-To: <569E0DFC.6020700@ringme.ru> References: <569CCB36.30405@ringme.ru> <569E0DFC.6020700@ringme.ru> Message-ID: On Tue, Jan 19, 2016 at 11:20 AM, ????? wrote: > > > the OS is losing timezones too? > No > > Eg: the result of "date" command from ssh command line is correct? > Always correct. And reload any module who touch timezones works. > > > Are you starting freeswitch as a user different than root? That other > > user has timezone settings? If you login as that other user, what's > > the results of "date" command? > user freeswitch > # sudo -u freeswitch date > ??? ??? 19 13:17:07 MSK 2016 > > Please file a bug jira with all relevant info at http://jira.freeswitch.org , that is not the expected behavior. HOWTO: https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160119/ff181497/attachment.html From findmeinwland at gmail.com Tue Jan 19 14:24:32 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Tue, 19 Jan 2016 16:24:32 +0500 Subject: [Freeswitch-users] How to check whether incoming call is authenticated In-Reply-To: References: Message-ID: No, it doesnt work, becouse we set in external.xml documentation (https://wiki.freeswitch.org/wiki/Sofia.conf.xml#auth-calls) says that *"Value can be "false" to disable authentication on this profile, meaning that when calls come in the profile will not send an auth challenge to the caller."* We can receive calls, no problem, but for our needs we want to check who is calling - user is authorised or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/03d21673/attachment.html From bote_radio at botecomm.com Tue Jan 19 15:35:37 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 07:35:37 -0500 Subject: [Freeswitch-users] Call progress not being passed In-Reply-To: References: Message-ID: <00cf01d152b5$e6a55c50$b3f014f0$@botecomm.com> Good points. Another observation: FreeSWITCH 1.6.xx-something is the latest. If you choose to upgrade, a careful comparison of configuration files is in order as some channel variables might have changed name, and certainly some have been added. I wish you success. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Steven Ayre Sent: Tuesday, 19 January, 2016 04:38 Subject: Re: [Freeswitch-users] Call progress not being passed 1) Are you using ignore_early_media? 2) Are you using the bridge application, or doing an originate and bridging the two channels when it connects? On 19 January 2016 at 08:39, David Witham wrote: Hi all, We're running the latest FREESwitch 1.4 (1.4.26) on debian7. We have a problem where we receive a SIP 183 from our upstream provider (via a sofia gateway) but the 183 does not get forwarded to the internal leg we bridge to. When we receive the 200 OK, that gets passed through and the call is established with media. We can add a ring_ready into the dialplan and force it to pass a 180 back to the A party but that just masks the problem. Has anyone else come across this behaviour? I haven't found any JIRAs that match this although perhaps FS-7714 is related. thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/8bc2dd8f/attachment.html From sm at noisynotes.com Tue Jan 19 15:47:18 2016 From: sm at noisynotes.com (Steve Matzura) Date: Tue, 19 Jan 2016 07:47:18 -0500 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: <30177.1453167149@ccs.covici.com> References: <30177.1453167149@ccs.covici.com> Message-ID: Thank you. While I've been reading it, I've found there are a lot of things in there that just don't jibe with how things went when I installed it from a package management system. For instance, I didn't have to really do anything but enter a couple install commands. The book describes installation in a lot more detail and talks about stuff I never even had to deal with. Maybe a lot has change since 1.2 to make that easier? On Mon, 18 Jan 2016 20:32:29 -0500, you wrote: >It is fine, as far as I remember. > >Steve Matzura wrote: > >> Before I lay my money down, does anyone know if this is useable with >> alternative format outputs such as braille displays and/or speech >> synthesis via the Kindle Reader on either the OSX or iOS platforms? >> Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions >> work a lot better. There is also an older version of it on Bookshare >> (http://www.bookshare.org) and I'm wondering if just because it's >> three years old, is it out-of-date? If it is, what can I do to help >> move the process along for getting an updated edition into Bookshare? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 sm at noisynotes.com Tue Jan 19 15:50:53 2016 From: sm at noisynotes.com (Steve Matzura) Date: Tue, 19 Jan 2016 07:50:53 -0500 Subject: [Freeswitch-users] Reloading XML's Message-ID: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that? From ssinyagin at gmail.com Tue Jan 19 15:57:42 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 19 Jan 2016 13:57:42 +0100 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: References: <30177.1453167149@ccs.covici.com> Message-ID: there are always two ways to install it: either by compiling from sources, or by using pre-built packages. As far as I remember, the 1.2 book only explained the building from sources. The early version of 1.2 in ePub format didn't get any graphical images, and it was still easy to read. So I guess it should be alright to read for visually impaired. On Tue, Jan 19, 2016 at 1:47 PM, Steve Matzura wrote: > Thank you. While I've been reading it, I've found there are a lot of > things in there that just don't jibe with how things went when I > installed it from a package management system. For instance, I didn't > have to really do anything but enter a couple install commands. The > book describes installation in a lot more detail and talks about stuff > I never even had to deal with. Maybe a lot has change since 1.2 to > make that easier? > > On Mon, 18 Jan 2016 20:32:29 -0500, you wrote: > >>It is fine, as far as I remember. >> >>Steve Matzura wrote: >> >>> Before I lay my money down, does anyone know if this is useable with >>> alternative format outputs such as braille displays and/or speech >>> synthesis via the Kindle Reader on either the OSX or iOS platforms? >>> Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions >>> work a lot better. There is also an older version of it on Bookshare >>> (http://www.bookshare.org) and I'm wondering if just because it's >>> three years old, is it out-of-date? If it is, what can I do to help >>> move the process along for getting an updated edition into Bookshare? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Tue Jan 19 16:14:59 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 19 Jan 2016 07:14:59 -0600 Subject: [Freeswitch-users] How to check whether incoming call is authenticated In-Reply-To: References: Message-ID: Did you try it? Because what was posted will work. On Tuesday, January 19, 2016, Artur Mega wrote: > No, it doesnt work, becouse we set in external.xml > > > > documentation (https://wiki.freeswitch.org/wiki/Sofia.conf.xml#auth-calls) > says that *"Value can be "false" to disable authentication on this > profile, meaning that when calls come in the profile will not send an auth > challenge to the caller."* > > We can receive calls, no problem, but for our needs we want to check who > is calling - user is authorised or not. > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160119/23a9c6db/attachment.html From brian at freeswitch.org Tue Jan 19 16:15:55 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 19 Jan 2016 07:15:55 -0600 Subject: [Freeswitch-users] UNALLOCATED_NUMBER In-Reply-To: References: Message-ID: Could also mean the number you're presenting as caller ID is not allocated or filtered to prevent abuse! On Tuesday, January 19, 2016, Steven Ayre wrote: > Are you sure the number is valid, and you're using the correct dialing > prefix? > > Generally this hangup cause is returned by the other side. You can confirm > that with a SIP trace. If the number is valid and you're sending it in the > format they expect then you'll need to chase it up with them to find out > why the couldn't route the call. > > On 19 January 2016 at 09:00, Deepika Yadav > wrote: > >> Hi, >> >> I am facing an issue where when I call a mobile phone number from a SIP >> account using Freeswitch via an external gateway(service provider) I get >> these logs and call to the recipient is not made: >> >> Logs : >> >> 2016-01-19 08:50:21.042365 [NOTICE] switch_channel.c:1055 New Channel >> sofia/external/919811806537 [ac043fa4-be89-11e5-b585-450e5c1ead46] >> 2016-01-19 08:50:21.182405 [NOTICE] sofia.c:7539 Hangup >> sofia/external/XXXXXXXX [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] >> 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1641 Session 6 >> (sofia/external/XXXXXXXX) Ended >> 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1645 Close >> Channel sofia/external/919811806537 [CS_DESTROY] >> >> >> I also tried the following command : >> >> sofia profile external restart reloadxml >> >> >> but did not work >> >> I tried using some other gateway then it worked fine but how can I >> remove this issue so that I need not change my gateway service provider. >> >> Regards, >> Deepika >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160119/9531b835/attachment.html From denis.papes at zg.t-com.hr Tue Jan 19 16:49:19 2016 From: denis.papes at zg.t-com.hr (Shishko) Date: Tue, 19 Jan 2016 14:49:19 +0100 Subject: [Freeswitch-users] Reloading XML's In-Reply-To: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> References: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> Message-ID: <569E3EDF.2040000@zg.t-com.hr> If you're in shell, type fs_cli -x "reloadxml" If you're in FreeSWITCH console, type reloadxml On 01/19/2016 01:50 PM, Steve Matzura wrote: > I'm just getting started with Freeswitch. I edited freeswitch.xml and > added one command to set my external IP address as explained in the > book. What I can't find is how to cause Freeswitch to rescan that > file, or any XML file that gets changed. Do I have to restart the > service to do that? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 luis.daniel.lucio at gmail.com Tue Jan 19 01:34:32 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Mon, 18 Jan 2016 17:34:32 -0500 Subject: [Freeswitch-users] Call Return In-Reply-To: References: Message-ID: I have another idea Use mod db or hash, even mod memcached to push a key to know where the call comes from. You may need to use uuid from leg b to do this way Le 18 janv. 2016 3:01 PM, "Mitch Capper" a ?crit : > There may be a better way to do so, but this would certainly be easy to do > with a dialplan. I would probably make an extension addendum (or set a > channel variable). IE if normally the receiptionist might transfer to 1000 > instead she transfers to 1000r. The dialplan would ring the user if it > was user 1000 or 1000r, but with the 1000r if the call is not answered > rather than executing the voicemail action it just transfers it back to the > receptions extension. > > ~Mitch > > On Mon, Jan 18, 2016 at 8:29 AM, Blake Priddy wrote: > >> So I have this school that FS is installed at in Arkansas. They want this >> feature that they had before with their last install called call return? >> Basically from what I can interpret from him is that when a user transfers >> to another user and they do not answer, the receptionist wants the call to >> ring back to her so she can either take a message or direct the call >> elsewhere. Without the caller having to leave a voicemail, hang up, then >> call back to tell the receptionist that they were not available. Does >> anyone know the feature I am talking about and how can I implement this >> into FS. Thanks y'all! :) >> -- >> >> Blake Priddy >> Cogents Technologies, LLC. >> (501) 786-1434 >> blake at cogents.io >> http://cogents.io >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160118/29904ac2/attachment-0001.html From Chris.Brown at dialconnection.com Tue Jan 19 15:22:09 2016 From: Chris.Brown at dialconnection.com (Chris Brown) Date: Tue, 19 Jan 2016 12:22:09 +0000 Subject: [Freeswitch-users] Seeking Real World Experience with Answering Machine Detection mod_com_amd Message-ID: Greetings All, As the subject notes, looking for real world experience using the Commercial FreeSWITCH Answering Machine Detection module described here: https://freeswitch.org/confluence/display/FREESWITCH/mod_com_amd In particular, curious about the average percentage of successful answering machine detections and the number of simultaneous channels that can use the module on a single FreeSWITCH instance. Thanks much in advance! Chris From Chris.Brown at dialconnection.com Tue Jan 19 17:01:51 2016 From: Chris.Brown at dialconnection.com (Chris Brown) Date: Tue, 19 Jan 2016 14:01:51 +0000 Subject: [Freeswitch-users] Seeking Real World Experience with Answering Machine Detection mod_com_amd Message-ID: Greetings All, As the subject notes, looking for real world experience using the Commercial FreeSWITCH Answering Machine Detection module described here: https://freeswitch.org/confluence/display/FREESWITCH/mod_com_amd In particular, curious about the average percentage of successful answering machine detections and the number of simultaneous channels that can use the module on a single FreeSWITCH instance. Thanks much in advance! Chris From bote_radio at botecomm.com Tue Jan 19 17:34:58 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 09:34:58 -0500 Subject: [Freeswitch-users] Reloading XML's In-Reply-To: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> References: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> Message-ID: <00ee01d152c6$92ae3e30$b80aba90$@botecomm.com> I'm pretty sure that the external i.p. address goes in vars.xml in the root 'conf' directory. This sets global variables for use by the sip profiles. Also, the sip profile configuration XML files can also specify addresses and ports for more complex setups. For good measure a change like this probably needs FreeSWITCH to be restarted. Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Steve Matzura > Sent: Tuesday, 19 January, 2016 07:51 > Subject: [Freeswitch-users] Reloading XML's > > I'm just getting started with Freeswitch. I edited freeswitch.xml and > added one command to set my external IP address as explained in the > book. What I can't find is how to cause Freeswitch to rescan that > file, or any XML file that gets changed. Do I have to restart the > service to do that? > From bote_radio at botecomm.com Tue Jan 19 17:40:30 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 09:40:30 -0500 Subject: [Freeswitch-users] Call Return In-Reply-To: References: Message-ID: <00f501d152c7$58cec350$0a6c49f0$@botecomm.com> The vanilla configuration default.xml dialplan uses this hash method in the Local Extension example for 1000-1019. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Luis Daniel Lucio Quiroz Sent: Monday, 18 January, 2016 17:35 Subject: Re: [Freeswitch-users] Call Return I have another idea Use mod db or hash, even mod memcached to push a key to know where the call comes from. You may need to use uuid from leg b to do this way Le 18 janv. 2016 3:01 PM, "Mitch Capper" a ?crit : There may be a better way to do so, but this would certainly be easy to do with a dialplan. I would probably make an extension addendum (or set a channel variable). IE if normally the receiptionist might transfer to 1000 instead she transfers to 1000r. The dialplan would ring the user if it was user 1000 or 1000r, but with the 1000r if the call is not answered rather than executing the voicemail action it just transfers it back to the receptions extension. ~Mitch On Mon, Jan 18, 2016 at 8:29 AM, Blake Priddy wrote: So I have this school that FS is installed at in Arkansas. They want this feature that they had before with their last install called call return? Basically from what I can interpret from him is that when a user transfers to another user and they do not answer, the receptionist wants the call to ring back to her so she can either take a message or direct the call elsewhere. Without the caller having to leave a voicemail, hang up, then call back to tell the receptionist that they were not available. Does anyone know the feature I am talking about and how can I implement this into FS. Thanks y'all! :) -- Blake Priddy Cogents Technologies, LLC. (501) 786-1434 blake at cogents.io http://cogents.io -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/745a9c29/attachment.html From luis.daniel.lucio at gmail.com Tue Jan 19 17:43:51 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Tue, 19 Jan 2016 09:43:51 -0500 Subject: [Freeswitch-users] Random calls failing with WRONG_CALL_STATe when using TLS In-Reply-To: <891CEDE1-9FE4-421C-88A8-CE8640E76A22@kavun.ch> References: <45FAC76E-D2B7-483A-88AB-9FB98600C42B@kavun.ch> <2B416F4C-561E-48E1-A31D-BB82854AB84E@kavun.ch> <7AB693FD-921B-43F0-81B4-41610CC5A4C3@freeswitch.org> <001E3109-E3ED-481E-A456-64B9603A8A44@kavun.ch> <72542EA4-5014-4F6B-9C32-523F975737FA@kavun.ch> <891CEDE1-9FE4-421C-88A8-CE8640E76A22@kavun.ch> Message-ID: I have found that some carriers trim the UDP packets to 512. This may be related. There is an option in the Sophia profile to use short header names. That will help for sure Le 19 janv. 2016 2:26 AM, "Emrah" a ?crit : > Hi there, > So what do we do of this? > I don?t have any TLS issues except with FreeSWITCH. And to everyone here, > it?s an issue with the equipment or the soft phone. > I tried FS V1.2, 1.4, 1.6 and 1.7. > Now remember this is something that can be reproduced with Yealink, > Polycom, an I recently found out that Counterpath Bria was in the same > basket. > https://support.counterpath.com/topic/intermittent-tls-403-forbidden-error > > We know what the problem is. When the TLS packet is too large, possibly > because of a long list of codecs, the TLS thread crashes on the client. > > The question is, how can this happen only when using FS? The same clients > do OK with other TLS enabled PBXs. > > Emrah > > On Jan 14, 2016, at 1:09 PM, Emrah wrote: > > I was certain that I?d fixe all my issues with an FS update to 1.6. > After much frustration and over a year of trial and error, I found out > that the TLS session breaks if the content of the packet is too large. > This was also confirmed with the FS documentation that lists this issue as > a generic Polycom issue: Generic Polycom issues > > > I can confirm that this also happens with Yealink phones and a couple of > other Softphones including Blink Pro on Mac OS X. > > So far, I?ve only experienced this with FS. I?ve not been able to > replicate this with other SIP servers that can also transport and handle > media. > > Anyone else can relate to this? > > Anyway, what?s worked for me is to make my packets as small as possible by > reducing the number of offered codecs to the bare minimum. > > Best, > E > > On Mar 3, 2015, at 2:38 PM, Brian West wrote: > > sofia global siptrace on > sofia loglevel all 9 > > Then outline the scenario and config on the JIRA. > > On Tue, Mar 3, 2015 at 7:54 AM, Emrah wrote: > >> Hey Brian, just saw this message. >> There is no other UA in between FS and the endpoint. There is a regular >> NAT, that's all. >> What seems to happen is: >> endpoint -> FS: invite = ok >> FS -> endpoint: 407 = OK >> Endpoint -> FS: invite = Fails with SSL error. >> >> What are the components I should capture to open up a Jira? FS Logs, FS >> Siptrace, anything else? >> >> Thanks! >> >> On Feb 16, 2015, at 2:44 PM, Brian West wrote: >> >> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >> >> Your issue is the contact has no port 443 or transport=tls right? What >> sits between FS and the endpoint? >> >> On Sun, Feb 15, 2015 at 5:38 AM, Emrah wrote: >> >>> Thanks Ken. Is there a way to filter the SIP trace? It's a busy box. >>> >>> On Feb 14, 2015, at 3:35 AM, Ken Rice wrote: >>> >>> Open a jire with a full debug login including sip tracing on >>> >>> Sent from my iPhone >>> >>> On Feb 13, 2015, at 7:57 PM, Emrah wrote: >>> >>> Hi, >>> The issue is persistent. I am curious to know if anyone else on the list >>> is experiencing this. It doesn't seem to have been reported before. >>> Should I dedicate a profile to TLS use only? >>> I also posted a message on the list about receiving options packet with >>> the wrong transport. Are these 2 issues connected? Here is a copy paste of >>> my message: >>> >>> My experience with FS and TLS has been rather mixed so far. It's been a >>> little inconsistent in keeping NAT sessions up and users discoverable. >>> One thing I've noticed is that FS advertises the wrong information in >>> option packets. The following is what I receive over my TLS session which >>> is working on port 443. >>> 1.2.3.4:443 -(SIP over TLS)-> 10.0.0.99:51132 >>> OPTIONS >>> sip:53178246 at 10.0.0.99:56494;transport=tls;received=5.6.7.8:51132 >>> SIP/2.0 >>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>> Route: ;transport=tls >>> Max-Forwards: 70 >>> From: ;tag=Q6XDFHeUUrcHD >>> To: >>> Call-ID: >>> 0a052f23-34a8-4158-8c88-fd2a70ffb561_c2RhaSoOYBR6jfJe4ndLoTTKJMrO2gMv >>> CSeq: 71498568 OPTIONS >>> Contact: >>> User-Agent: FreeSWITCH >>> 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-Length: 0 >>> >>> As you can see FS stamps the packet with a port 5060... No reference to >>> port 443 with a transport=tls. >>> >>> What shall be done? >>> >>> On Feb 5, 2015, at 3:18 PM, Emrah wrote: >>> >>> Hi there, >>> This issue is happening all around with devices using TLS. It's not very >>> frequent with softphones, but not inexistant. >>> Any pointers would be greatly appreciated. Do you have best practice >>> configs you'd like to share? >>> >>> Thanks >>> >>> On Jan 30, 2015, at 6:10 PM, Emrah wrote: >>> >>> Hi all, >>> I am facing a very frustrating issue. I often have to dial twice when >>> using my Yealink phone with TLS because the first attempt times out. >>> The logs on the Yealink indicate that the first invite is successfully >>> received, to which my FS sends a 100 trying and 407 proxy auth required. It >>> is subsequently when my phone sends back the invite that the connection >>> crashes with the following error: >>> SSL ERROR SYSCALL >>> >>> Is this something common? Why does the SSL connection crashes when the >>> phone attempts to send the second invite? My phone is behind NAT. >>> >>> It is going to be a crazy expedition to collect the logs and Pastebin >>> them, so I am tempting my luck on the list first to see if you have any >>> pointers. >>> >>> As a last piece, my Bria on my iPHone, among other clients, never had >>> this issue. I did experience it from time to time with Blink on Mac OS X. >>> >>> Any help appreciated. >>> >>> Emrah >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> > > > > -- > > *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/20160119/953e8797/attachment-0001.html From covici at ccs.covici.com Tue Jan 19 18:03:22 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Tue, 19 Jan 2016 10:03:22 -0500 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: References: <30177.1453167149@ccs.covici.com> Message-ID: <25870.1453215802@ccs.covici.com> The book talks about installing from source, which I actually prefer, rather than the packages. Much easier to customize that way. Steve Matzura wrote: > Thank you. While I've been reading it, I've found there are a lot of > things in there that just don't jibe with how things went when I > installed it from a package management system. For instance, I didn't > have to really do anything but enter a couple install commands. The > book describes installation in a lot more detail and talks about stuff > I never even had to deal with. Maybe a lot has change since 1.2 to > make that easier? > > On Mon, 18 Jan 2016 20:32:29 -0500, you wrote: > > >It is fine, as far as I remember. > > > >Steve Matzura wrote: > > > >> Before I lay my money down, does anyone know if this is useable with > >> alternative format outputs such as braille displays and/or speech > >> synthesis via the Kindle Reader on either the OSX or iOS platforms? > >> Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions > >> work a lot better. There is also an older version of it on Bookshare > >> (http://www.bookshare.org) and I'm wondering if just because it's > >> three years old, is it out-of-date? If it is, what can I do to help > >> move the process along for getting an updated edition into Bookshare? > >> > >> _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mic.niel84 at gmail.com Tue Jan 19 18:51:01 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 19 Jan 2016 16:51:01 +0100 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: Message-ID: My reason for this question is that I'm using the conference module, and are trying to 2 of the called numbers should be handled internally and 1 should be going through my sip provider. So I need all 3 of them to be handled from the top of my dial plan - with the correct variables set. On Fri, Jan 15, 2016 at 2:16 PM, Michael Nielsen wrote: > I've tried that as well. > CLI shows: > > Dialplan: sofia/internal/+44234987447 at my-domain Action > set(loopback_export=country_code) > > After the loopback the dialplan is as follows: > > Dialplan: loopback/32487477-b Action > set(dialed_number=${country_code} 32487477) INLINE > > EXECUTE loopback/32487477-b set(dialed_number=32487477) > > > So +44 is not added, even though the country_code variable is +44 before > the loopback. > > On Fri, Jan 15, 2016 at 2:10 PM, Michael Jerris wrote: > >> >> >> >> On Friday, January 15, 2016, Michael Nielsen >> wrote: >> >>> I've tried to add: >>> >>> >> data="loopback_export=[country_code=${country_code}]"/> >>> >>> And my log shows the following: >>> >>> set(loopback_export=[country_code=+44]) >>> >>> But it still isn't available on the next runthrough of dial plan. >>> >>> On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> set >>>> >>>> loopback_export to the names of all of the variables you want to copy >>>> across sep buy a , (comma) >>>> >>>> >>>> >>>> On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen >>>> wrote: >>>> >>>>> I've got directory with subscribers containing a variable called >>>>> "country_code". >>>>> This variable can be used in regular dial plans and works perfectly. >>>>> >>>>> However, I've got a conference call dial plan where I >>>>> use conference_set_auto_outcall. >>>>> I'mm calling loopback/XYZ to get my other dial plans into play. >>>>> >>>>> Everything works, except my subscriber variable "country_code" doesn't >>>>> get recognised after the loopback/. >>>>> >>>>> How can I fix this kind of issue? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160119/7eb18024/attachment.html From mic.niel84 at gmail.com Tue Jan 19 18:51:51 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Tue, 19 Jan 2016 16:51:51 +0100 Subject: [Freeswitch-users] Log jitter and package loss Message-ID: Is it possible to see package loss and jitter on calls made in FreeSWITCH - and log the information (perhaps along the CDR's)? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/0b344d26/attachment.html From max at nysolutions.com Tue Jan 19 18:59:05 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Tue, 19 Jan 2016 15:59:05 +0000 Subject: [Freeswitch-users] Log jitter and package loss In-Reply-To: References: Message-ID: <6252bb94e1d7406ca92996a76f12137b@nysolutions.com> I see these in the cdr. rtp_audio_in_jitter_packet_count rtp_audio_in_jitter_min_variance rtp_audio_in_jitter_max_variance rtp_audio_in_jitter_loss_rate rtp_audio_in_jitter_burst_rate rtp_audio_in_mos 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 Michael Nielsen Sent: Tuesday, January 19, 2016 10:52 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Log jitter and package loss Is it possible to see package loss and jitter on calls made in FreeSWITCH - and log the information (perhaps along the CDR's)? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/bcb00d2c/attachment-0001.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/20160119/bcb00d2c/attachment-0001.jpg From john.nash778 at gmail.com Tue Jan 19 19:01:42 2016 From: john.nash778 at gmail.com (John Nash) Date: Tue, 19 Jan 2016 21:31:42 +0530 Subject: [Freeswitch-users] hiredis module Message-ID: I saw this module https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis I am looking forward to insert some data in REDIS from lua scripts and access it but I could not find any documentation on commands available. Above links only show how to configure freeswitch hiredis module. Is there any documentation in progress? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/b994b12f/attachment.html From vagarwal at vertical.com Tue Jan 19 19:35:45 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Tue, 19 Jan 2016 16:35:45 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <009301d15288$52ee3db0$f8cab910$@botecomm.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D02337308BF@SCEX1.vertical.com> <2a951761e2de4f3daef5485efd20ef06@nysolutions.com>, <009301d15288$52ee3db0$f8cab910$@botecomm.com> Message-ID: <3D88B087-3B7B-4BF4-8262-D5AB786EF883@vertical.com> I have specified 8000 port in phone settings as well as Freeswitch dial plan. Why is it showing 17130 in wire shark trace? Is it configured elsewhere? > On Jan 18, 2016, at 11:11 PM, Bote Man wrote: > > The source port is the FreeSWITCH port that is emitting the i.p. multicast > stream. Although it is not shown in the Wireshark excerpt, the debug log > says it is sending to port 8000. > > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > >> -----Original Message----- >> From: Moishe Grunstein >> Sent: Tuesday, 19 January, 2016 01:35 >> Subject: Re: [Freeswitch-users] Getting multicast paging to work >> >> Your destination port needs to match the port your phones are listening to >> for the multicast traffic. >> >> Thanks, >> >> Moishe Grunstein >> Tornado Computer Systems, Inc. >> 212.400.7650 888.IPPBX.US >> Service Request Email: support at nysolutions.com >> >> >> >> -----Original Message----- >> From: Varsha Agarwal >> Sent: Tuesday, January 19, 2016 1:29 AM >> Subject: Re: [Freeswitch-users] Getting multicast paging to work >> >> Wireshark is showing some activity >> 404 1.630847000 172.18.18.237 239.192.0.2 UDP 214 >> Source port: 17130 Destination port: teradataordbms >> >> These messages are constantly seen. >> >> -----Original Message----- >> From: Stanislav Sinyagin >> Sent: Monday, January 18, 2016 10:11 PM >> Subject: Re: [Freeswitch-users] Getting multicast paging to work >> >> if you make a packet capture for "ip host 239.192.0.2" on the FreeSWITCH >> machine, do you see any packets going out? >> >> Also, do you see any IGMP packets from the listeners? >> >> tcpdump is your first-stop tool in such troubleshooting. >> >> >> >> On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal >> wrote: >>> I disabled ZRTP, but still not working. It looks like mod_esf does not >>> do anything... This is the last thing I see in the log >>> >>> 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE >>> sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) >>> >>> ... >>> >>> >>> From: Varsha Agarwal >>> Sent: Monday, January 18, 2016 3:09 PM >>> Subject: [Freeswitch-users] Getting multicast paging to work >>> >>> >>> >>> Hi All, >>> >>> I am trying to get multicast paging to work with the default >>> configuration in FreeSwitch. I am using 239.192.0.2 multicast IP >>> Adress on port 8000. I have configured a phone with that multicast >>> address and phone, however when I try to page, I just get dead air. I >>> see some ZRTP negotiation failures in Freeswitch logs. Can someone >>> tell me what could be wrong >>> >>> >>> Thanks, >>> >>> Varsha > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 findmeinwland at gmail.com Tue Jan 19 18:11:39 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Tue, 19 Jan 2016 20:11:39 +0500 Subject: [Freeswitch-users] How to check whether incoming call is authenticated In-Reply-To: References: Message-ID: ?We tried, but doesn't work. ?In the dialplan: See two attachments. First - it is when in external.xml we set : (in anti-action it must print the value of ${sip_authorized}, but prints nothing) [image: ?????????? ??????????? 1] (${sip_authorized} is nothing, even not false) Next screen - it is when in external.xml we set : (we made call from phone not in our domain, and it behaviored like should - call is breaked) [image: ?????????? ??????????? 2] 2016-01-19 18:14 GMT+05:00 Brian West : > Did you try it? Because what was posted will work. > > > On Tuesday, January 19, 2016, Artur Mega wrote: > >> No, it doesnt work, becouse we set in external.xml >> >> >> >> documentation (https://wiki.freeswitch.org/wiki/Sofia.conf.xml#auth-calls) >> says that *"Value can be "false" to disable authentication on this >> profile, meaning that when calls come in the profile will not send an auth >> challenge to the caller."* >> >> We can receive calls, no problem, but for our needs we want to check who >> is calling - user is authorised or not. >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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 > -- Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/e7fe3fb1/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: auth_true.png Type: image/png Size: 328078 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/e7fe3fb1/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: auth_false.png Type: image/png Size: 300722 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/e7fe3fb1/attachment-0003.png From william.king at quentustech.com Tue Jan 19 20:50:47 2016 From: william.king at quentustech.com (William King) Date: Tue, 19 Jan 2016 09:50:47 -0800 Subject: [Freeswitch-users] hiredis module In-Reply-To: References: Message-ID: <569E7777.1080306@quentustech.com> If you can add a section to the wiki for how to use the module there is a blog post with usage examples here: https://quentustech.com/tag/hiredis.html 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 1/19/16 8:01 AM, John Nash wrote: > I saw this module > https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis > > I am looking forward to insert some data in REDIS from lua scripts and > access it but I could not find any documentation on commands available. > Above links only show how to configure freeswitch hiredis module. > > Is there any documentation in progress? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 deepikay at iiitd.ac.in Tue Jan 19 21:23:19 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Tue, 19 Jan 2016 23:53:19 +0530 Subject: [Freeswitch-users] UNALLOCATED_NUMBER In-Reply-To: References: Message-ID: The siptrace gives logs as: recv 482 bytes from udp/[52.19.173.147]:5060 at 13:33:21.458701: ------------------------------------------------------------------------ SIP/2.0 404 Not Found Via: SIP/2.0/UDP X.X.X.X:5080;branch=z9hG4bKtK07Xe8Z1aQKp;received=X.X.X.X;rport=5080 From: "" ;tag=Q47K4vjgj4jaj To: ;tag=as1e63948e Call-ID: 0c67ecf1-3954-1234-f78e-022d9945b83d CSeq: 86269136 INVITE Server: Asterisk PBX 13.5.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Content-Length: 0 If I use another sip account of a different server altogether using the same gateway, it works fine. I edited the file external/example.com and again saved , it solved the problem. On Tue, Jan 19, 2016 at 3:06 PM, Steven Ayre wrote: > Are you sure the number is valid, and you're using the correct dialing > prefix? > > Generally this hangup cause is returned by the other side. You can confirm > that with a SIP trace. If the number is valid and you're sending it in the > format they expect then you'll need to chase it up with them to find out > why the couldn't route the call. > > On 19 January 2016 at 09:00, Deepika Yadav wrote: > >> Hi, >> >> I am facing an issue where when I call a mobile phone number from a SIP >> account using Freeswitch via an external gateway(service provider) I get >> these logs and call to the recipient is not made: >> >> Logs : >> >> 2016-01-19 08:50:21.042365 [NOTICE] switch_channel.c:1055 New Channel >> sofia/external/919811806537 [ac043fa4-be89-11e5-b585-450e5c1ead46] >> 2016-01-19 08:50:21.182405 [NOTICE] sofia.c:7539 Hangup >> sofia/external/XXXXXXXX [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] >> 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1641 Session 6 >> (sofia/external/XXXXXXXX) Ended >> 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1645 Close >> Channel sofia/external/919811806537 [CS_DESTROY] >> >> >> I also tried the following command : >> >> sofia profile external restart reloadxml >> >> >> but did not work >> >> I tried using some other gateway then it worked fine but how can I >> remove this issue so that I need not change my gateway service provider. >> >> Regards, >> Deepika >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160119/519c9f86/attachment.html From brian at freeswitch.org Tue Jan 19 21:35:35 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 19 Jan 2016 12:35:35 -0600 Subject: [Freeswitch-users] UNALLOCATED_NUMBER In-Reply-To: References: Message-ID: Set a proper CID. On Tue, Jan 19, 2016 at 12:23 PM, Deepika Yadav wrote: > > The siptrace gives logs as: > > recv 482 bytes from udp/[52.19.173.147]:5060 at 13:33:21.458701: > ------------------------------------------------------------------------ > SIP/2.0 404 Not Found > Via: SIP/2.0/UDP > X.X.X.X:5080;branch=z9hG4bKtK07Xe8Z1aQKp;received=X.X.X.X;rport=5080 > From: "" ;tag=Q47K4vjgj4jaj > To: ;tag=as1e63948e > Call-ID: 0c67ecf1-3954-1234-f78e-022d9945b83d > CSeq: 86269136 INVITE > Server: Asterisk PBX 13.5.0 > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, > INFO, PUBLISH, MESSAGE > Supported: replaces, timer > Content-Length: 0 > > > If I use another sip account of a different server altogether using the > same gateway, it works fine. > > I edited the file external/example.com and again saved , it solved the > problem. > > > > > > > > On Tue, Jan 19, 2016 at 3:06 PM, Steven Ayre wrote: > >> Are you sure the number is valid, and you're using the correct dialing >> prefix? >> >> Generally this hangup cause is returned by the other side. You can >> confirm that with a SIP trace. If the number is valid and you're sending it >> in the format they expect then you'll need to chase it up with them to find >> out why the couldn't route the call. >> >> On 19 January 2016 at 09:00, Deepika Yadav wrote: >> >>> Hi, >>> >>> I am facing an issue where when I call a mobile phone number from a SIP >>> account using Freeswitch via an external gateway(service provider) I get >>> these logs and call to the recipient is not made: >>> >>> Logs : >>> >>> 2016-01-19 08:50:21.042365 [NOTICE] switch_channel.c:1055 New Channel >>> sofia/external/919811806537 [ac043fa4-be89-11e5-b585-450e5c1ead46] >>> 2016-01-19 08:50:21.182405 [NOTICE] sofia.c:7539 Hangup >>> sofia/external/XXXXXXXX [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] >>> 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1641 Session 6 >>> (sofia/external/XXXXXXXX) Ended >>> 2016-01-19 08:50:21.202390 [NOTICE] switch_core_session.c:1645 Close >>> Channel sofia/external/919811806537 [CS_DESTROY] >>> >>> >>> I also tried the following command : >>> >>> sofia profile external restart reloadxml >>> >>> >>> but did not work >>> >>> I tried using some other gateway then it worked fine but how can I >>> remove this issue so that I need not change my gateway service provider. >>> >>> Regards, >>> Deepika >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160119/6380e927/attachment-0001.html From vagarwal at vertical.com Tue Jan 19 21:44:27 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Tue, 19 Jan 2016 18:44:27 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <009301d15288$52ee3db0$f8cab910$@botecomm.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D02337308BF@SCEX1.vertical.com> <2a951761e2de4f3daef5485efd20ef06@nysolutions.com> <009301d15288$52ee3db0$f8cab910$@botecomm.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D02337311C3@SCEX1.vertical.com> I have verified again that target port in Wireshark matches multicast paging port on my phones. Any thoughts? -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bote Man Sent: Monday, January 18, 2016 11:09 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Getting multicast paging to work The source port is the FreeSWITCH port that is emitting the i.p. multicast stream. Although it is not shown in the Wireshark excerpt, the debug log says it is sending to port 8000. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Moishe Grunstein > Sent: Tuesday, 19 January, 2016 01:35 > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Your destination port needs to match the port your phones are > listening to for the multicast traffic. > > Thanks, > > Moishe Grunstein > Tornado Computer Systems, Inc. > 212.400.7650 888.IPPBX.US > Service Request Email: support at nysolutions.com > > > > -----Original Message----- > From: Varsha Agarwal > Sent: Tuesday, January 19, 2016 1:29 AM > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Wireshark is showing some activity > 404 1.630847000 172.18.18.237 239.192.0.2 UDP 214 > Source port: 17130 Destination port: teradataordbms > > These messages are constantly seen. > > -----Original Message----- > From: Stanislav Sinyagin > Sent: Monday, January 18, 2016 10:11 PM > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > if you make a packet capture for "ip host 239.192.0.2" on the > FreeSWITCH machine, do you see any packets going out? > > Also, do you see any IGMP packets from the listeners? > > tcpdump is your first-stop tool in such troubleshooting. > > > > On Mon, Jan 18, 2016 at 10:20 PM, Varsha Agarwal > > wrote: > > I disabled ZRTP, but still not working. It looks like mod_esf does > > not do anything... This is the last thing I see in the log > > > > 29b4f1a5-3c80-4f9e-8842-ab5593627e30 EXECUTE > > sofia/internal/1002 at 172.18.18.237 esf_page_group(239.192.0.2 8000) > > > >... > > > > > > From: Varsha Agarwal > > Sent: Monday, January 18, 2016 3:09 PM > > Subject: [Freeswitch-users] Getting multicast paging to work > > > > > > > > Hi All, > > > > I am trying to get multicast paging to work with the default > > configuration in FreeSwitch. I am using 239.192.0.2 multicast IP > > Adress on port 8000. I have configured a phone with that multicast > > address and phone, however when I try to page, I just get dead air. > > I see some ZRTP negotiation failures in Freeswitch logs. Can someone > > tell me what could be wrong > > > > > > Thanks, > > > > Varsha > > > > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 john.nash778 at gmail.com Tue Jan 19 21:56:31 2016 From: john.nash778 at gmail.com (John Nash) Date: Wed, 20 Jan 2016 00:26:31 +0530 Subject: [Freeswitch-users] hiredis module In-Reply-To: <569E7777.1080306@quentustech.com> References: <569E7777.1080306@quentustech.com> Message-ID: Thank you. But in my case (Accessing redis from lua scripts) do i really need hiredis module?...Or I can directly use redis from lua as per this link? In what situations hiredis will be used (Apart from limit) http://redis.io/commands/eval On Tue, Jan 19, 2016 at 11:20 PM, William King wrote: > If you can add a section to the wiki for how to use the module there is > a blog post with usage examples here: > https://quentustech.com/tag/hiredis.html > > 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 1/19/16 8:01 AM, John Nash wrote: > > I saw this module > > https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis > > > > I am looking forward to insert some data in REDIS from lua scripts and > > access it but I could not find any documentation on commands available. > > Above links only show how to configure freeswitch hiredis module. > > > > Is there any documentation in progress? > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160120/676c13b1/attachment.html From william.king at quentustech.com Tue Jan 19 22:34:01 2016 From: william.king at quentustech.com (William King) Date: Tue, 19 Jan 2016 11:34:01 -0800 Subject: [Freeswitch-users] hiredis module In-Reply-To: References: <569E7777.1080306@quentustech.com> Message-ID: <569E8FA9.2090504@quentustech.com> I see the confusion. If you have a redis DB installed, you can tell redis to run a lua script to perform a set of commands. To run that redis lua script you still need redis api access to the redis DB. Now, if you are running a lua script in FS, to send api commands to redis you'd need to use mod_hiredis. So from the FS lua script you can run a FS api command like: api = freeswitch.API(); digits = api:execute("hiredis_raw", "get thiskey"); 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 1/19/16 10:56 AM, John Nash wrote: > Thank you. But in my case (Accessing redis from lua scripts) do i really > need hiredis module?...Or I can directly use redis from lua as per this > link? In what situations hiredis will be used (Apart from limit) > http://redis.io/commands/eval > > On Tue, Jan 19, 2016 at 11:20 PM, William King > > wrote: > > If you can add a section to the wiki for how to use the module there is > a blog post with usage examples here: > https://quentustech.com/tag/hiredis.html > > 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 1/19/16 8:01 AM, John Nash wrote: > > I saw this module > > https://freeswitch.org/confluence/display/FREESWITCH/mod_hiredis > > > > I am looking forward to insert some data in REDIS from lua scripts and > > access it but I could not find any documentation on commands > available. > > Above links only show how to configure freeswitch hiredis module. > > > > Is there any documentation in progress? > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 lists at kavun.ch Wed Jan 20 01:40:31 2016 From: lists at kavun.ch (Emrah) Date: Tue, 19 Jan 2016 23:40:31 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 Message-ID: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> Hi all, Looked too easy to be true? I?m all set up with FS and the Verto demo. I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt The error message is: Invalid Method, Missing Method or Permission Denied I?m not sure what to investigate here. Your suggestions are welcome! Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/4cc3ee13/attachment.html From lists at kavun.ch Wed Jan 20 01:45:34 2016 From: lists at kavun.ch (Emrah) Date: Tue, 19 Jan 2016 23:45:34 +0100 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> Message-ID: Why should it work? When you set it in the dial plan the way you?ve put it in your message, you are setting it on the channel that executes that dial plan extension. It?s not going to set it as a user variable for the person you?re calling. Sorry but as far as I know this has to be set as a user parameter as described in the documentation Emrah > On Jan 19, 2016, at 7:44 AM, Rutu Patel wrote: > > Hi, > > Thanks Andrew and Bote for reply. > > I have tried by setting parameter 'vm-alternate-greet-id' in extension and its working as expected. > > ?But when setting in dialplan, its not working. > I tried to set before voicemail app as below: > ? > > Can you please assist how to set this parameter in dialplan ? > > -- > Thanks, > Rutu Patel > > On Tue, Jan 19, 2016 at 11:45 AM, Bote Man > wrote: > Confluence has that: > > > > https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 > > > Wiki is dead. Long live the wiki. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > From: Andrew Cassidy > Sent: Monday, 18 January, 2016 10:06 > Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? > > > > https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 > > > On 18 January 2016 at 12:48, Rutu Patel > wrote: > > Hi All, > > I am using voicemail module with odbc. > > I have a DID(123456789) in freeswitch and it's routed to local extension(1000). > When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? > I want to play DID(123456789) is not available instead of destination number(1000). > > Any suggestions will be appreciated. > > -- > Thanks, > Rutu 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/0ca6f853/attachment-0001.html From aronp at guaranteedplus.com Wed Jan 20 02:23:19 2016 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Tue, 19 Jan 2016 18:23:19 -0500 Subject: [Freeswitch-users] Has anyone else experienced this issue - presence leaked / notifies for non subscribers In-Reply-To: <8497c930aee04cf58a98dab1da55f4a5@nysolutions.com> References: <8497c930aee04cf58a98dab1da55f4a5@nysolutions.com> Message-ID: Yeah! I had my init script use a old fs path which caused my confusion. It has already been fixed way back. Thanks. On Mon, Jan 18, 2016 at 8:12 PM, Moishe Grunstein wrote: > Did you try on latest master? I have not experienced the issue however in > the back of head I think there was something on IRC a while back. > > > > 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 *Podrigal, > Aron > *Sent:* Monday, January 18, 2016 8:02 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Has anyone else experienced this issue - > presence leaked / notifies for non subscribers > > > > https://freeswitch.org/jira/browse/FS-8753 > > > > -- > > Aron Podrigal > > - > > '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', > '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' > > > > P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 - '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/a053a259/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/20160119/a053a259/attachment.jpg From gmaruzz at gmail.com Wed Jan 20 02:40:00 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 20 Jan 2016 00:40:00 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> Message-ID: have you given permission to browser to use camera and microphone? also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... On Tue, Jan 19, 2016 at 11:40 PM, Emrah wrote: > Hi all, > Looked too easy to be true? I?m all set up with FS and the Verto demo. > I use commercial certificates, the cA is already in my distrib, and > everything seemed to work well. I can log in from the Verto page? Except > when I attempt to make a call, it miserably fails with error code": > -32601. > I did my Google homework with no luck. Some stuff seem to point to the CA > needing to be imported, but not sure where I could have gone wrong there. > There is hardly any verbose? But a debug output is here: > http://dmn.io/fs-verto-error.txt > > The error message is: Invalid Method, Missing Method or Permission Denied > > I?m not sure what to investigate here. Your suggestions are welcome! > Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit > > 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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/6ac1a3ec/attachment.html From mike at jerris.com Wed Jan 20 02:40:40 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 19 Jan 2016 18:40:40 -0500 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> Message-ID: <2F4894B0-C5A4-419B-93D5-36E12435E217@jerris.com> what does the freeswitch debug log say? > On Jan 19, 2016, at 5:40 PM, Emrah wrote: > > Hi all, > Looked too easy to be true? I?m all set up with FS and the Verto demo. > I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. > I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. > There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt > > The error message is: Invalid Method, Missing Method or Permission Denied > > I?m not sure what to investigate here. Your suggestions are welcome! > Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit > > 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/20160119/6b97149c/attachment-0001.html From david.witham at netsip.com.au Wed Jan 20 04:15:10 2016 From: david.witham at netsip.com.au (David Witham) Date: Wed, 20 Jan 2016 11:15:10 +1000 Subject: [Freeswitch-users] Call progress not being passed In-Reply-To: <00cf01d152b5$e6a55c50$b3f014f0$@botecomm.com> References: <00cf01d152b5$e6a55c50$b3f014f0$@botecomm.com> Message-ID: Our virtual environment is currently restricted to debian7 so we have to stay with 1.4.x for the time being since 1.6.x requires debian8. We have some non-virtual FS boxes running 1.6.x on debian8 and don't have this problem so it may well have been fixed. I'm just wondering if anyone still running 1.4 has seen this problem. We're not using ignore_early_media. We're using the bridge application to bridge from our upstream profile to our internal profile. regards, David On 19 January 2016 at 22:35, Bote Man wrote: > Good points. > > > > Another observation: FreeSWITCH 1.6.xx-something is the latest. > > > > If you choose to upgrade, a careful comparison of configuration files is > in order as some channel variables might have changed name, and certainly > some have been added. > > > > I wish you success. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Steven Ayre > *Sent:* Tuesday, 19 January, 2016 04:38 > *Subject:* Re: [Freeswitch-users] Call progress not being passed > > > > 1) Are you using ignore_early_media? > > 2) Are you using the bridge application, or doing an originate and > bridging the two channels when it connects? > > > > > > On 19 January 2016 at 08:39, David Witham > wrote: > > Hi all, > > > > We're running the latest FREESwitch 1.4 (1.4.26) on debian7. > > > > We have a problem where we receive a SIP 183 from our upstream provider > (via a sofia gateway) but the 183 does not get forwarded to the internal > leg we bridge to. When we receive the 200 OK, that gets passed through and > the call is established with media. > > > > We can add a ring_ready into the dialplan and force it to pass a 180 back > to the A party but that just masks the problem. > > > > Has anyone else come across this behaviour? I haven't found any JIRAs that > match this although perhaps FS-7714 is related. > > > > thanks, > > David > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160120/5ae1403b/attachment.html From bote_radio at botecomm.com Wed Jan 20 06:36:18 2016 From: bote_radio at botecomm.com (Bote Man) Date: Tue, 19 Jan 2016 22:36:18 -0500 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: Message-ID: <009c01d15333$b95e5660$2c1b0320$@botecomm.com> I?m not sure that you need to use the loopback special channel to accomplish this. What happens if you simply set ?and let FreeSWITCH do its normal routing? I think the loopback might be complicating matters. The above lines work for me, anyway. I think under the hood the auto_outcall simply stacks up originate commands so if the plain outside telephone number doesn?t work as-is, try sofia/gateway-name-here/3438773 or variations on that syntax to see if that works. There?s a possibility that you?re overthinking this with the loopback channel* J Hope this helps. * We must always keep in mind that loopback is evil. Amen. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Michael Nielsen Sent: Tuesday, 19 January, 2016 10:51 Subject: Re: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel My reason for this question is that I'm using the conference module, and are trying to 2 of the called numbers should be handled internally and 1 should be going through my sip provider. So I need all 3 of them to be handled from the top of my dial plan - with the correct variables set. On Fri, Jan 15, 2016 at 2:16 PM, Michael Nielsen wrote: I've tried that as well. CLI shows: Dialplan: sofia/internal/+44234987447 at my-domain Action set(loopback_export=country_code) After the loopback the dialplan is as follows: Dialplan: loopback/32487477-b Action set(dialed_number=${country_code} 32487477) INLINE EXECUTE loopback/32487477-b set(dialed_number=32487477) So +44 is not added, even though the country_code variable is +44 before the loopback. On Fri, Jan 15, 2016 at 2:10 PM, Michael Jerris wrote: On Friday, January 15, 2016, Michael Nielsen wrote: I've tried to add: And my log shows the following: set(loopback_export=[country_code=+44]) But it still isn't available on the next runthrough of dial plan. On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale wrote: set loopback_export to the names of all of the variables you want to copy across sep buy a , (comma) On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen wrote: I've got directory with subscribers containing a variable called "country_code". This variable can be used in regular dial plans and works perfectly. However, I've got a conference call dial plan where I use conference_set_auto_outcall. I'mm calling loopback/XYZ to get my other dial plans into play. Everything works, except my subscriber variable "country_code" doesn't get recognised after the loopback/. How can I fix this kind of issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/af913a23/attachment-0001.html From rutu.patel at inextrix.com Wed Jan 20 09:07:52 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Wed, 20 Jan 2016 11:37:52 +0530 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> Message-ID: Hi, Its working from dialplan as well. Set voicemail_alternate_greet_id instead of vm-alternate-greet-id . -- Thanks, Rutu Patel On Wed, Jan 20, 2016 at 4:15 AM, Emrah wrote: > Why should it work? When you set it in the dial plan the way you?ve put it > in your message, you are setting it on the channel that executes that dial > plan extension. It?s not going to set it as a user variable for the person > you?re calling. > Sorry but as far as I know this has to be set as a user parameter as > described in the documentation > > Emrah > > On Jan 19, 2016, at 7:44 AM, Rutu Patel wrote: > > Hi, > > Thanks Andrew and Bote for reply. > > I have tried by setting parameter 'vm-alternate-greet-id' in extension > and its working as expected. > > ?But when setting in dialplan, its not working. > I tried to set before voicemail app as below: > ? > > Can you please assist how to set this parameter in dialplan ? > > -- > Thanks, > Rutu Patel > > On Tue, Jan 19, 2016 at 11:45 AM, Bote Man > wrote: > >> Confluence has that: >> >> >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 >> >> >> >> Wiki is dead. Long live the wiki. >> >> >> >> >> >> --- >> >> Bote >> >> >> >> FreeSWITCH Docs Janitor >> >> http://freeswitch.org/confluence >> >> >> >> >> >> >> >> >> >> *From:* Andrew Cassidy >> *Sent:* Monday, 18 January, 2016 10:06 >> *Subject:* Re: [Freeswitch-users] How to customize voicemail greeting >> number ? >> >> >> >> >> https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 >> >> >> >> On 18 January 2016 at 12:48, Rutu Patel wrote: >> >> Hi All, >> >> I am using voicemail module with odbc. >> >> I have a DID(123456789) in freeswitch and it's routed to local >> extension(1000). >> When the extension does not available it goes to voicemail and plays that >> number(1000) is not available.Is it possible to change the number in >> playback? >> I want to play DID(123456789) is not available instead of destination >> number(1000). >> >> Any suggestions will be appreciated. >> >> -- >> Thanks, >> Rutu 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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160120/a10443ae/attachment.html From bote_radio at botecomm.com Wed Jan 20 10:13:31 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 20 Jan 2016 02:13:31 -0500 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> Message-ID: <00d201d15352$11b3e140$351ba3c0$@botecomm.com> If it is possible to capture both the FreeSWITCH multicast stream and the working PBX multicast stream and compare them, I suspect that you will discover the difference. "The packets sent are *always* converted to G.711 mu-Law / PCMU (8khz) because some phones (Snom for example) won't accept other codecs via multicast", so if your phones are looking for something else that could account for it. Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Varsha Agarwal > Sent: Tuesday, 19 January, 2016 01:18 > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Thanks. I will capture this. I wanted to find out if there is something > phone/codec specific not set here that is there in the log and I am not > catching. Basically in my network there is another PBX setup that is able to do > multicast paging but FreeSwitch is not able to. So there is something specific > to my Freeswitch setup. I also did not find too much documentation on the > ESF module. I am relatively new to the SIP world. > From bote_radio at botecomm.com Wed Jan 20 10:21:57 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 20 Jan 2016 02:21:57 -0500 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> Message-ID: <00d301d15353$3f5dd500$be197f00$@botecomm.com> HUH?? The source code in mod_voicemail.c only looks for ?vm-alternate-greet-id? so I?m curious how you got ?voicemail-alternate-greet-id? to work properly. Please explain! Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Rutu Patel Sent: Wednesday, 20 January, 2016 01:08 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? Hi, Its working from dialplan as well. Set voicemail_alternate_greet_id instead of vm-alternate-greet-id . -- Thanks, Rutu Patel On Jan 19, 2016, at 7:44 AM, Rutu Patel wrote: Hi, Thanks Andrew and Bote for reply. I have tried by setting parameter 'vm-alternate-greet-id' in extension and its working as expected. ?But when setting in dialplan, its not working. I tried to set before voicemail app as below: ? Can you please assist how to set this parameter in dialplan ? -- Thanks, Rutu Patel On Tue, Jan 19, 2016 at 11:45 AM, Bote Man wrote: Confluence has that: https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 Wiki is dead. Long live the wiki. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Andrew Cassidy Sent: Monday, 18 January, 2016 10:06 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 On 18 January 2016 at 12:48, Rutu Patel wrote: Hi All, I am using voicemail module with odbc. I have a DID(123456789) in freeswitch and it's routed to local extension(1000). When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? I want to play DID(123456789) is not available instead of destination number(1000). Any suggestions will be appreciated. -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/04555285/attachment-0001.html From lists at kavun.ch Wed Jan 20 10:34:46 2016 From: lists at kavun.ch (Emrah) Date: Wed, 20 Jan 2016 08:34:46 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <2F4894B0-C5A4-419B-93D5-36E12435E217@jerris.com> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <2F4894B0-C5A4-419B-93D5-36E12435E217@jerris.com> Message-ID: <3B7B900F-0EB8-46C1-80C7-47C176787D5E@kavun.ch> Hi there, There is nothing. This is as far as it goes. No dial plan execution, nothing that says the SDP failed with FS, etc? If you know how I could get more verbose from FS I?m sure it would help. Access to the microphone and camera are granted. Could this be IPv6 related? Thanks! > On Jan 20, 2016, at 12:40 AM, Michael Jerris wrote: > > what does the freeswitch debug log say? > >> On Jan 19, 2016, at 5:40 PM, Emrah > wrote: >> >> Hi all, >> Looked too easy to be true? I?m all set up with FS and the Verto demo. >> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >> >> The error message is: Invalid Method, Missing Method or Permission Denied >> >> I?m not sure what to investigate here. Your suggestions are welcome! >> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >> >> 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/20160120/cbaa2012/attachment.html From lists at kavun.ch Wed Jan 20 10:56:45 2016 From: lists at kavun.ch (Emrah) Date: Wed, 20 Jan 2016 08:56:45 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> Message-ID: Giovanni, Yes permission is granted to camera and mike. Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. Thanks! > On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli wrote: > > have you given permission to browser to use camera and microphone? > > also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... > > On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: > Hi all, > Looked too easy to be true? I?m all set up with FS and the Verto demo. > I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. > I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. > There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt > > The error message is: Invalid Method, Missing Method or Permission Denied > > I?m not sure what to investigate here. Your suggestions are welcome! > Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit > > 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 > > > > -- > 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/20160120/8a0d30c9/attachment.html From s.safarov at gmail.com Wed Jan 20 07:03:51 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 20 Jan 2016 04:03:51 +0000 Subject: [Freeswitch-users] How to check whether incoming call is authenticated In-Reply-To: References: Message-ID: Please check provided example on vanila config. Example is correct. On Tue, Jan 19, 2016, 20:24 Artur Mega wrote: > ?We tried, but doesn't work. ?In the dialplan: > > > > break="never"> > > > > > > > See two attachments. First - it is when in external.xml we set name="auth-calls" value="*false*"/>: (in anti-action it must print the > value of ${sip_authorized}, but prints nothing) > [image: ?????????? ??????????? 1] > (${sip_authorized} is nothing, even not false) > > > Next screen - it is when in external.xml we set value="*true*"/>: (we made call from phone not in our domain, and it > behaviored like should - call is breaked) > [image: ?????????? ??????????? 2] > > > > > > > 2016-01-19 18:14 GMT+05:00 Brian West : > >> Did you try it? Because what was posted will work. >> >> >> On Tuesday, January 19, 2016, Artur Mega wrote: >> >>> No, it doesnt work, becouse we set in external.xml >>> >>> >>> >>> documentation ( >>> https://wiki.freeswitch.org/wiki/Sofia.conf.xml#auth-calls) says that *"Value >>> can be "false" to disable authentication on this profile, meaning that when >>> calls come in the profile will not send an auth challenge to the caller."* >>> >>> We can receive calls, no problem, but for our needs we want to check who >>> is calling - user is authorised or not. >>> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | 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 >> > > > > -- > > Arthur > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160120/0b72daef/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: auth_true.png Type: image/png Size: 328078 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/0b72daef/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: auth_false.png Type: image/png Size: 300722 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/0b72daef/attachment-0003.png From rutu.patel at inextrix.com Wed Jan 20 12:53:37 2016 From: rutu.patel at inextrix.com (Rutu Patel) Date: Wed, 20 Jan 2016 15:23:37 +0530 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: <00d301d15353$3f5dd500$be197f00$@botecomm.com> References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> <00d301d15353$3f5dd500$be197f00$@botecomm.com> Message-ID: Hi Bote, https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 vm-alternate-greet-id (voicemail_alternate_greet_id) vm-alternate-greet-id is parameter that can be set in extension and voicemail_alternate_greet_id is variable. https://wiki.freeswitch.org/wiki/Variable_voicemail_alternate_greet_id -- Thanks, Rutu Patel On Wed, Jan 20, 2016 at 12:51 PM, Bote Man wrote: > HUH?? > > > > The source code in mod_voicemail.c only looks for ?vm-alternate-greet-id? > so I?m curious how you got ?voicemail-alternate-greet-id? to work properly. > Please explain! > > > > Thanks. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Rutu Patel > *Sent:* Wednesday, 20 January, 2016 01:08 > *Subject:* Re: [Freeswitch-users] How to customize voicemail greeting > number ? > > > > Hi, > > Its working from dialplan as well. > data="voicemail_alternate_greet_id=123456789"/> > > Set voicemail_alternate_greet_id instead of vm-alternate-greet-id . > > > -- > Thanks, > Rutu Patel > > > > > > On Jan 19, 2016, at 7:44 AM, Rutu Patel wrote: > > > > Hi, > > Thanks Andrew and Bote for reply. > > I have tried by setting parameter 'vm-alternate-greet-id' in extension > and its working as expected. > > ?But when setting in dialplan, its not working. > > I tried to set before voicemail app as below: > ? > > Can you please assist how to set this parameter in dialplan ? > > > -- > Thanks, > Rutu Patel > > > > On Tue, Jan 19, 2016 at 11:45 AM, Bote Man > wrote: > > Confluence has that: > > > https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 > > Wiki is dead. Long live the wiki. > > --- > > Bote > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > *From:* Andrew Cassidy > *Sent:* Monday, 18 January, 2016 10:06 > *Subject:* Re: [Freeswitch-users] How to customize voicemail greeting > number ? > > > > > https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 > > > > On 18 January 2016 at 12:48, Rutu Patel wrote: > > Hi All, > > I am using voicemail module with odbc. > > I have a DID(123456789) in freeswitch and it's routed to local > extension(1000). > When the extension does not available it goes to voicemail and plays that > number(1000) is not available.Is it possible to change the number in > playback? > I want to play DID(123456789) is not available instead of destination > number(1000). > > Any suggestions will be appreciated. > > -- > Thanks, > Rutu 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/20160120/674e85ac/attachment.html From lists at kavun.ch Wed Jan 20 15:27:46 2016 From: lists at kavun.ch (Emrah) Date: Wed, 20 Jan 2016 13:27:46 +0100 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> <00d301d15353$3f5dd500$be197f00$@botecomm.com> Message-ID: <3C9BA14C-7113-4405-92D8-92C7ABDF735D@kavun.ch> Nice one! I stand corrected. E > On Jan 20, 2016, at 10:53 AM, Rutu Patel wrote: > > Hi Bote, > > https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 > > vm-alternate-greet-id (voicemail_alternate_greet_id) > > vm-alternate-greet-id is parameter that can be set in extension and voicemail_alternate_greet_id is variable. > > https://wiki.freeswitch.org/wiki/Variable_voicemail_alternate_greet_id > > -- > Thanks, > Rutu Patel > > > On Wed, Jan 20, 2016 at 12:51 PM, Bote Man > wrote: > HUH?? > > > > The source code in mod_voicemail.c only looks for ?vm-alternate-greet-id? so I?m curious how you got ?voicemail-alternate-greet-id? to work properly. Please explain! > > > > Thanks. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > From: Rutu Patel > Sent: Wednesday, 20 January, 2016 01:08 > Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? > > > > Hi, > > Its working from dialplan as well. > > > Set voicemail_alternate_greet_id instead of vm-alternate-greet-id . > > > > -- > Thanks, > Rutu Patel > > > > > > On Jan 19, 2016, at 7:44 AM, Rutu Patel > wrote: > > > > Hi, > > Thanks Andrew and Bote for reply. > > I have tried by setting parameter 'vm-alternate-greet-id' in extension and its working as expected. > > ?But when setting in dialplan, its not working. > > I tried to set before voicemail app as below: > ? > > Can you please assist how to set this parameter in dialplan ? > > > > -- > Thanks, > Rutu Patel > > > > On Tue, Jan 19, 2016 at 11:45 AM, Bote Man > wrote: > > Confluence has that: > > https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 > Wiki is dead. Long live the wiki. > > --- > > Bote > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > From: Andrew Cassidy > Sent: Monday, 18 January, 2016 10:06 > Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? > > > > https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 > > > On 18 January 2016 at 12:48, Rutu Patel > wrote: > > Hi All, > > I am using voicemail module with odbc. > > I have a DID(123456789) in freeswitch and it's routed to local extension(1000). > When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? > I want to play DID(123456789) is not available instead of destination number(1000). > > Any suggestions will be appreciated. > > -- > Thanks, > Rutu 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/2c7b3883/attachment-0001.html From ankit_doshi2011 at yahoo.com Wed Jan 20 17:02:16 2016 From: ankit_doshi2011 at yahoo.com (Ankit Doshi) Date: Wed, 20 Jan 2016 14:02:16 +0000 (UTC) Subject: [Freeswitch-users] How to transfer call from one extension to another extension ? References: <2113166609.2861595.1453298536598.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <2113166609.2861595.1453298536598.JavaMail.yahoo@mail.yahoo.com> Hi All, Anyone please help me out for transfer a call ? let me give you an example : i have 3 extension 1- caller(1000)2- receiver(1001)3- transfer(1002) I am dialing from 1000 and call is received by 1001 then push transfer button and press 1002 for transfer but its not going to transfer.I have set below parameters in sip profile but still its not going to work? 1. manual-redirect=true,2. disable-transfer =false Can anyone please help me out for this ? Any suggestion will be appreciated . ?Best Regards, Ankit Doshi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/f8ea6b73/attachment.html From bote_radio at botecomm.com Wed Jan 20 17:42:44 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 20 Jan 2016 09:42:44 -0500 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> <00d301d15353$3f5dd500$be197f00$@botecomm.com> Message-ID: <010801d15390$d303e960$790bbc20$@botecomm.com> AH! Nat?rlich! I was searching for the one with dashes, which represents parameters. Variables in FreeSWITCH use the underscore_ separator. Thank you. Glad you got it working to your liking. That?s a very neat feature. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Rutu Patel Sent: Wednesday, 20 January, 2016 04:54 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? Hi Bote, https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 vm-alternate-greet-id (voicemail_alternate_greet_id) vm-alternate-greet-id is parameter that can be set in extension and voicemail_alternate_greet_id is variable. https://wiki.freeswitch.org/wiki/Variable_voicemail_alternate_greet_id -- Thanks, Rutu Patel On Wed, Jan 20, 2016 at 12:51 PM, Bote Man wrote: HUH?? The source code in mod_voicemail.c only looks for ?vm-alternate-greet-id? so I?m curious how you got ?voicemail-alternate-greet-id? to work properly. Please explain! Thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Rutu Patel Sent: Wednesday, 20 January, 2016 01:08 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? Hi, Its working from dialplan as well. Set voicemail_alternate_greet_id instead of vm-alternate-greet-id . -- Thanks, Rutu Patel On Jan 19, 2016, at 7:44 AM, Rutu Patel wrote: Hi, Thanks Andrew and Bote for reply. I have tried by setting parameter 'vm-alternate-greet-id' in extension and its working as expected. ?But when setting in dialplan, its not working. I tried to set before voicemail app as below: ? Can you please assist how to set this parameter in dialplan ? -- Thanks, Rutu Patel On Tue, Jan 19, 2016 at 11:45 AM, Bote Man wrote: Confluence has that: https://freeswitch.org/confluence/display/FREESWITCH/mod_voicemail#mod_voicemail-vm-alternate-greet-id%28voicemail_alternate_greet_id%29 Wiki is dead. Long live the wiki. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Andrew Cassidy Sent: Monday, 18 January, 2016 10:06 Subject: Re: [Freeswitch-users] How to customize voicemail greeting number ? https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-alternate-greet-id_.28voicemail_alternate_greet_id.29 On 18 January 2016 at 12:48, Rutu Patel wrote: Hi All, I am using voicemail module with odbc. I have a DID(123456789) in freeswitch and it's routed to local extension(1000). When the extension does not available it goes to voicemail and plays that number(1000) is not available.Is it possible to change the number in playback? I want to play DID(123456789) is not available instead of destination number(1000). Any suggestions will be appreciated. -- Thanks, Rutu Patel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/efb2667e/attachment-0001.html From sm at noisynotes.com Wed Jan 20 18:45:56 2016 From: sm at noisynotes.com (Steve Matzura) Date: Wed, 20 Jan 2016 10:45:56 -0500 Subject: [Freeswitch-users] Reloading XML's In-Reply-To: <569E3EDF.2040000@zg.t-com.hr> References: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> <569E3EDF.2040000@zg.t-com.hr> Message-ID: Thank you. Hadn't gotten to that part of the book yet I guess. On Tue, 19 Jan 2016 14:49:19 +0100, you wrote: >If you're in shell, type fs_cli -x "reloadxml" >If you're in FreeSWITCH console, type reloadxml > >On 01/19/2016 01:50 PM, Steve Matzura wrote: >> I'm just getting started with Freeswitch. I edited freeswitch.xml and >> added one command to set my external IP address as explained in the >> book. What I can't find is how to cause Freeswitch to rescan that >> file, or any XML file that gets changed. Do I have to restart the >> service to do that? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.com > >Official FreeSWITCH Sites >http://www.freeswitch.org >http://confluence.freeswitch.org >http://www.cluecon.com > >FreeSWITCH-users mailing list >FreeSWITCH-users at 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 sm at noisynotes.com Wed Jan 20 18:45:53 2016 From: sm at noisynotes.com (Steve Matzura) Date: Wed, 20 Jan 2016 10:45:53 -0500 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: References: <30177.1453167149@ccs.covici.com> Message-ID: OH yes, it's quite fine. But out-of-date technically. But if you say the differences are negligible, then I'm happy to carry on. On Tue, 19 Jan 2016 13:57:42 +0100, you wrote: >there are always two ways to install it: either by compiling from >sources, or by using pre-built packages. As far as I remember, the 1.2 >book only explained the building from sources. > >The early version of 1.2 in ePub format didn't get any graphical >images, and it was still easy to read. So I guess it should be alright >to read for visually impaired. > > > > >On Tue, Jan 19, 2016 at 1:47 PM, Steve Matzura wrote: >> Thank you. While I've been reading it, I've found there are a lot of >> things in there that just don't jibe with how things went when I >> installed it from a package management system. For instance, I didn't >> have to really do anything but enter a couple install commands. The >> book describes installation in a lot more detail and talks about stuff >> I never even had to deal with. Maybe a lot has change since 1.2 to >> make that easier? >> >> On Mon, 18 Jan 2016 20:32:29 -0500, you wrote: >> >>>It is fine, as far as I remember. >>> >>>Steve Matzura wrote: >>> >>>> Before I lay my money down, does anyone know if this is useable with >>>> alternative format outputs such as braille displays and/or speech >>>> synthesis via the Kindle Reader on either the OSX or iOS platforms? >>>> Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions >>>> work a lot better. There is also an older version of it on Bookshare >>>> (http://www.bookshare.org) and I'm wondering if just because it's >>>> three years old, is it out-of-date? If it is, what can I do to help >>>> move the process along for getting an updated edition into Bookshare? >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.com > >Official FreeSWITCH Sites >http://www.freeswitch.org >http://confluence.freeswitch.org >http://www.cluecon.com > >FreeSWITCH-users mailing list >FreeSWITCH-users at 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 sm at noisynotes.com Wed Jan 20 18:45:55 2016 From: sm at noisynotes.com (Steve Matzura) Date: Wed, 20 Jan 2016 10:45:55 -0500 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: <25870.1453215802@ccs.covici.com> References: <30177.1453167149@ccs.covici.com> <25870.1453215802@ccs.covici.com> Message-ID: <8mtu9btgalabojq7mp7p3c0sua4pdg58nm@4ax.com> Yes, but only if one knows what one is doing, which right now, I do not. :-) On Tue, 19 Jan 2016 10:03:22 -0500, you wrote: >The book talks about installing from source, which I actually prefer, >rather than the packages. Much easier to customize that way. > >Steve Matzura wrote: > >> Thank you. While I've been reading it, I've found there are a lot of >> things in there that just don't jibe with how things went when I >> installed it from a package management system. For instance, I didn't >> have to really do anything but enter a couple install commands. The >> book describes installation in a lot more detail and talks about stuff >> I never even had to deal with. Maybe a lot has change since 1.2 to >> make that easier? >> >> On Mon, 18 Jan 2016 20:32:29 -0500, you wrote: >> >> >It is fine, as far as I remember. >> > >> >Steve Matzura wrote: >> > >> >> Before I lay my money down, does anyone know if this is useable with >> >> alternative format outputs such as braille displays and/or speech >> >> synthesis via the Kindle Reader on either the OSX or iOS platforms? >> >> Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions >> >> work a lot better. There is also an older version of it on Bookshare >> >> (http://www.bookshare.org) and I'm wondering if just because it's >> >> three years old, is it out-of-date? If it is, what can I do to help >> >> move the process along for getting an updated edition into Bookshare? >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 sm at noisynotes.com Wed Jan 20 18:45:57 2016 From: sm at noisynotes.com (Steve Matzura) Date: Wed, 20 Jan 2016 10:45:57 -0500 Subject: [Freeswitch-users] Reloading XML's In-Reply-To: <00ee01d152c6$92ae3e30$b80aba90$@botecomm.com> References: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> <00ee01d152c6$92ae3e30$b80aba90$@botecomm.com> Message-ID: <6qtu9btchtor7rn7s61k4k824s2khupq6h@4ax.com> Oh great. Two different answers--one from you, one from the book: On Tue, 19 Jan 2016 09:34:58 -0500, you wrote: >I'm pretty sure that the external i.p. address goes in vars.xml in the root >'conf' directory. This sets global variables for use by the sip profiles. >Also, the sip profile configuration XML files can also specify addresses and >ports for more complex setups. > >For good measure a change like this probably needs FreeSWITCH to be >restarted. > >Hope this helps. > > >--- >Bote > >FreeSWITCH Docs Janitor >http://freeswitch.org/confluence > > > > > >> -----Original Message----- >> From: Steve Matzura >> Sent: Tuesday, 19 January, 2016 07:51 >> Subject: [Freeswitch-users] Reloading XML's >> >> I'm just getting started with Freeswitch. I edited freeswitch.xml and >> added one command to set my external IP address as explained in the >> book. What I can't find is how to cause Freeswitch to rescan that >> file, or any XML file that gets changed. Do I have to restart the >> service to do that? >> > > >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.com > >Official FreeSWITCH Sites >http://www.freeswitch.org >http://confluence.freeswitch.org >http://www.cluecon.com > >FreeSWITCH-users mailing list >FreeSWITCH-users at 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 Wed Jan 20 18:55:22 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 20 Jan 2016 10:55:22 -0500 Subject: [Freeswitch-users] Reloading XML's In-Reply-To: <6qtu9btchtor7rn7s61k4k824s2khupq6h@4ax.com> References: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> <00ee01d152c6$92ae3e30$b80aba90$@botecomm.com> <6qtu9btchtor7rn7s61k4k824s2khupq6h@4ax.com> Message-ID: <011401d1539a$f85257b0$e8f70710$@botecomm.com> Well, the config files don't lie. :-) Try it either way and see which way works best for you. It is definitely within the realm of possibility that I am wrong! --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Steve Matzura > Sent: Wednesday, 20 January, 2016 10:46 > Subject: Re: [Freeswitch-users] Reloading XML's > > Oh great. Two different answers--one from you, one from the book: > > > On Tue, 19 Jan 2016 09:34:58 -0500, you wrote: > > >I'm pretty sure that the external i.p. address goes in vars.xml in the root > >'conf' directory. This sets global variables for use by the sip profiles. > >Also, the sip profile configuration XML files can also specify addresses and > >ports for more complex setups. > > > >For good measure a change like this probably needs FreeSWITCH to be > >restarted. > > > >Hope this helps. > > > > > >--- > >Bote > > > >FreeSWITCH Docs Janitor > >http://freeswitch.org/confluence From covici at ccs.covici.com Wed Jan 20 19:09:57 2016 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Wed, 20 Jan 2016 11:09:57 -0500 Subject: [Freeswitch-users] Reloading XML's In-Reply-To: <6qtu9btchtor7rn7s61k4k824s2khupq6h@4ax.com> References: <75cs9b506sc2jn3pkv8siruojhnt2n3t2j@4ax.com> <00ee01d152c6$92ae3e30$b80aba90$@botecomm.com> <6qtu9btchtor7rn7s61k4k824s2khupq6h@4ax.com> Message-ID: <9678.1453306197@ccs.covici.com> For the profiles, you may need to restart them or unload and load mod_sofia, not a complete restart, but reloading xml does not always take, if its a profile change. Steve Matzura wrote: > Oh great. Two different answers--one from you, one from the book: > > > On Tue, 19 Jan 2016 09:34:58 -0500, you wrote: > > >I'm pretty sure that the external i.p. address goes in vars.xml in the root > >'conf' directory. This sets global variables for use by the sip profiles. > >Also, the sip profile configuration XML files can also specify addresses and > >ports for more complex setups. > > > >For good measure a change like this probably needs FreeSWITCH to be > >restarted. > > > >Hope this helps. > > > > > >--- > >Bote > > > >FreeSWITCH Docs Janitor > >http://freeswitch.org/confluence > > > > > > > > > > > >> -----Original Message----- > >> From: Steve Matzura > >> Sent: Tuesday, 19 January, 2016 07:51 > >> Subject: [Freeswitch-users] Reloading XML's > >> > >> I'm just getting started with Freeswitch. I edited freeswitch.xml and > >> added one command to set my external IP address as explained in the > >> book. What I can't find is how to cause Freeswitch to rescan that > >> file, or any XML file that gets changed. Do I have to restart the > >> service to do that? > >> > > > > > >_________________________________________________________________________ > >Professional FreeSWITCH Consulting Services: > >consulting at freeswitch.org > >http://www.freeswitchsolutions.com > > > >Official FreeSWITCH Sites > >http://www.freeswitch.org > >http://confluence.freeswitch.org > >http://www.cluecon.com > > > >FreeSWITCH-users mailing list > >FreeSWITCH-users at lists.freeswitch.org > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 ssinyagin at gmail.com Wed Jan 20 19:11:45 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 20 Jan 2016 17:11:45 +0100 Subject: [Freeswitch-users] The "awesome FreeSWITCH book" In-Reply-To: References: <30177.1453167149@ccs.covici.com> Message-ID: The structure of the dialplan and applications hasn't changed much since 1.0.6 (except for nested conditions), so even the first edition of the book will give you a good overview of the software and how it functions as a whole. Also see my short tutorial here. It also explains some basics: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example On Wed, Jan 20, 2016 at 4:45 PM, Steve Matzura wrote: > OH yes, it's quite fine. But out-of-date technically. But if you say > the differences are negligible, then I'm happy to carry on. > > On Tue, 19 Jan 2016 13:57:42 +0100, you wrote: > >>there are always two ways to install it: either by compiling from >>sources, or by using pre-built packages. As far as I remember, the 1.2 >>book only explained the building from sources. >> >>The early version of 1.2 in ePub format didn't get any graphical >>images, and it was still easy to read. So I guess it should be alright >>to read for visually impaired. >> >> >> >> >>On Tue, Jan 19, 2016 at 1:47 PM, Steve Matzura wrote: >>> Thank you. While I've been reading it, I've found there are a lot of >>> things in there that just don't jibe with how things went when I >>> installed it from a package management system. For instance, I didn't >>> have to really do anything but enter a couple install commands. The >>> book describes installation in a lot more detail and talks about stuff >>> I never even had to deal with. Maybe a lot has change since 1.2 to >>> make that easier? >>> >>> On Mon, 18 Jan 2016 20:32:29 -0500, you wrote: >>> >>>>It is fine, as far as I remember. >>>> >>>>Steve Matzura wrote: >>>> >>>>> Before I lay my money down, does anyone know if this is useable with >>>>> alternative format outputs such as braille displays and/or speech >>>>> synthesis via the Kindle Reader on either the OSX or iOS platforms? >>>>> Windows Kindle is a bit of a pile, sometimes the Mac and iOS versions >>>>> work a lot better. There is also an older version of it on Bookshare >>>>> (http://www.bookshare.org) and I'm wondering if just because it's >>>>> three years old, is it out-of-date? If it is, what can I do to help >>>>> move the process along for getting an updated edition into Bookshare? >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >>_________________________________________________________________________ >>Professional FreeSWITCH Consulting Services: >>consulting at freeswitch.org >>http://www.freeswitchsolutions.com >> >>Official FreeSWITCH Sites >>http://www.freeswitch.org >>http://confluence.freeswitch.org >>http://www.cluecon.com >> >>FreeSWITCH-users mailing list >>FreeSWITCH-users at lists.freeswitch.org >>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 anthony.minessale at gmail.com Wed Jan 20 19:36:25 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 20 Jan 2016 10:36:25 -0600 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> Message-ID: Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. On Wed, Jan 20, 2016 at 1:56 AM, Emrah wrote: > Giovanni, > Yes permission is granted to camera and mike. > Thanks for the clarification about importing the CA. In this case the CA > was both stored on the server and on my client, I didn?t import anything. > Reading the doc I had understood that the server also needed to be aware of > its own CA, but your explanation makes more sense! > I think the only grey zone here in my TLS setup is the stuff about the > chain certificate. Is this the certificate that was used to sign my key? Is > this the CA of my supplier? > > I?m really getting nothing out of FS as far as logs are concerned. If you > have suggestions on how to make things more talkative I?d be grateful to > know about them. > > Thanks! > > On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: > > have you given permission to browser to use camera and microphone? > > also, with commercial certificates you don't need to import them. You just > put them in the correct places in freeswitch config (pay attention you must > concatenate some of them, and chains too), and that's it. Browser > automatically accept commercial certificates... > > On Tue, Jan 19, 2016 at 11:40 PM, Emrah wrote: > >> Hi all, >> Looked too easy to be true? I?m all set up with FS and the Verto demo. >> I use commercial certificates, the cA is already in my distrib, and >> everything seemed to work well. I can log in from the Verto page? Except >> when I attempt to make a call, it miserably fails with error code": >> -32601. >> I did my Google homework with no luck. Some stuff seem to point to the CA >> needing to be imported, but not sure where I could have gone wrong there. >> There is hardly any verbose? But a debug output is here: >> http://dmn.io/fs-verto-error.txt >> >> The error message is: Invalid Method, Missing Method or Permission Denied >> >> I?m not sure what to investigate here. Your suggestions are welcome! >> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >> >> 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 >> > > > > -- > 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 > -- 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/20160120/7bdfc66e/attachment.html From vagarwal at vertical.com Wed Jan 20 22:02:21 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Wed, 20 Jan 2016 19:02:21 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <00d201d15352$11b3e140$351ba3c0$@botecomm.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> <00d201d15352$11b3e140$351ba3c0$@botecomm.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233732E38@SCEX1.vertical.com> Working pbx shows G.729 in wireshark, here is what I see on the working pbx 1235 2016-01-19 13:05:56.024053000 172.18.18.215 239.192.0.2 UDP 294 Source port: 16468 Destination port: 8000 1236 2016-01-19 13:05:56.024089000 172.18.18.215 172.18.7.67 RTP 74 PT=ITU-T G.729, SSRC=0xD2ECCEA9, Seq=10, Time=2880 1237 2016-01-19 13:05:56.030450000 172.18.7.67 172.18.18.215 RTP 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=6, Time=1280 1238 2016-01-19 13:05:56.050338000 172.18.7.67 172.18.18.215 RTP 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=7, Time=1440 1239 2016-01-19 13:05:56.055168000 172.18.18.215 239.192.0.2 UDP 294 Source port: 16468 Destination port: 8000 It is different on FreeSwitch 1140 36.313847000 172.18.18.237 239.192.0.2 UDP 214 Source port: 28080 Destination port: irdmi 1141 36.313946000 172.18.18.237 224.0.1.116 UDP 388 Source port: snap Destination port: commplex-link 1142 36.326208000 172.18.7.105 172.18.18.237 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x24A22162, Seq=16, Time=2880 1143 36.331901000 172.18.18.237 239.192.0.2 UDP 214 Source port: 28080 Destination port: irdmi How do I change codec settings? -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bote Man Sent: Tuesday, January 19, 2016 11:14 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Getting multicast paging to work If it is possible to capture both the FreeSWITCH multicast stream and the working PBX multicast stream and compare them, I suspect that you will discover the difference. "The packets sent are *always* converted to G.711 mu-Law / PCMU (8khz) because some phones (Snom for example) won't accept other codecs via multicast", so if your phones are looking for something else that could account for it. Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Varsha Agarwal > Sent: Tuesday, 19 January, 2016 01:18 > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Thanks. I will capture this. I wanted to find out if there is > something phone/codec specific not set here that is there in the log > and I am not catching. Basically in my network there is another PBX > setup that is able to do > multicast paging but FreeSwitch is not able to. So there is something specific > to my Freeswitch setup. I also did not find too much documentation on > the ESF module. I am relatively new to the SIP world. > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 lists at kavun.ch Wed Jan 20 22:41:02 2016 From: lists at kavun.ch (Emrah) Date: Wed, 20 Jan 2016 20:41:02 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> Message-ID: <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> Hi Anthony, To be sure, I reinstalled my certificates. No improvement. I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. > On Jan 20, 2016, at 5:36 PM, Anthony Minessale wrote: > > Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. > > > On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: > Giovanni, > Yes permission is granted to camera and mike. > Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! > I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? > > I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. > > Thanks! > >> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >> >> have you given permission to browser to use camera and microphone? >> >> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >> >> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >> Hi all, >> Looked too easy to be true? I?m all set up with FS and the Verto demo. >> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >> >> The error message is: Invalid Method, Missing Method or Permission Denied >> >> I?m not sure what to investigate here. Your suggestions are welcome! >> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >> >> 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 >> >> >> >> -- >> 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 > > > > -- > 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 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160120/4946097f/attachment-0001.html From gmaruzz at gmail.com Wed Jan 20 22:47:50 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 20 Jan 2016 20:47:50 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> Message-ID: Emrah, have you installe the certificate and the chain as instructed by Tony? Here a couple references: https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates On Wed, Jan 20, 2016 at 8:41 PM, Emrah wrote: > Hi Anthony, > To be sure, I reinstalled my certificates. No improvement. > > I appreciate the suggestions so far. Any recommendation on what to try > next? There isn?t enough verbose and I?m not going to be any good in > analyzing the code to find out what triggers this error. > > On Jan 20, 2016, at 5:36 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > Try putting the CERT followed by the KEY followed by your issuer's CHAIN > CERT into a single text file and install that as wss.pem in the FS certs > dir. > > > On Wed, Jan 20, 2016 at 1:56 AM, Emrah wrote: > >> Giovanni, >> Yes permission is granted to camera and mike. >> Thanks for the clarification about importing the CA. In this case the CA >> was both stored on the server and on my client, I didn?t import anything. >> Reading the doc I had understood that the server also needed to be aware of >> its own CA, but your explanation makes more sense! >> I think the only grey zone here in my TLS setup is the stuff about the >> chain certificate. Is this the certificate that was used to sign my key? Is >> this the CA of my supplier? >> >> I?m really getting nothing out of FS as far as logs are concerned. If you >> have suggestions on how to make things more talkative I?d be grateful to >> know about them. >> >> Thanks! >> >> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli >> wrote: >> >> have you given permission to browser to use camera and microphone? >> >> also, with commercial certificates you don't need to import them. You >> just put them in the correct places in freeswitch config (pay attention you >> must concatenate some of them, and chains too), and that's it. Browser >> automatically accept commercial certificates... >> >> On Tue, Jan 19, 2016 at 11:40 PM, Emrah wrote: >> >>> Hi all, >>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>> I use commercial certificates, the cA is already in my distrib, and >>> everything seemed to work well. I can log in from the Verto page? Except >>> when I attempt to make a call, it miserably fails with error code": >>> -32601. >>> I did my Google homework with no luck. Some stuff seem to point to the >>> CA needing to be imported, but not sure where I could have gone wrong there. >>> There is hardly any verbose? But a debug output is here: >>> http://dmn.io/fs-verto-error.txt >>> >>> The error message is: Invalid Method, Missing Method or Permission >>> Denied >>> >>> I?m not sure what to investigate here. Your suggestions are welcome! >>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>> >>> 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 >>> >> >> >> >> -- >> 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 >> > > > > -- > 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 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160120/b612196b/attachment.html From schoch+freeswitch.org at xwin32.com Wed Jan 20 23:22:01 2016 From: schoch+freeswitch.org at xwin32.com (Steven Schoch) Date: Wed, 20 Jan 2016 12:22:01 -0800 Subject: [Freeswitch-users] How to customize voicemail greeting number ? In-Reply-To: <010801d15390$d303e960$790bbc20$@botecomm.com> References: <006b01d15280$bdce4b00$396ae100$@botecomm.com> <00d301d15353$3f5dd500$be197f00$@botecomm.com> <010801d15390$d303e960$790bbc20$@botecomm.com> Message-ID: A nice alternative is to set: This lets you record an alternative greeting, in your own voice, specific to the DID number called. -- Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160120/1e3b5c1c/attachment.html From bote_radio at botecomm.com Thu Jan 21 00:16:53 2016 From: bote_radio at botecomm.com (Bote Man) Date: Wed, 20 Jan 2016 16:16:53 -0500 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233732E38@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> <00d201d15352$11b3e140$351ba3c0$@botecomm.com> <04AB0A185A23864CA9255FD38901F65D0233732E38@SCEX1.vertical.com> Message-ID: <017601d153c7$e2dd8260$a8988720$@botecomm.com> Per https://freeswitch.org/confluence/display/FREESWITCH/mod_esf "The packets sent are *always* converted to G.711 mu-Law / PCMU (8khz) because some phones (Snom for example) won't accept other codecs via multicast." If the phones only accept G.729 and not G.711 then you are out of luck, I'm afraid. But also, when the pbx shows Destination port: 8000 but FS shows Destination port: irdmi It makes me wonder what in the world is going on there. I mean, if it showed the same in both of them, then OK; but what port number is associated with irdmi? If it's not 8000, then you have found another important difference. That must be 2 different installations of Wireshark since one shows real time stamps and the other shows serial log time elapsed. Turn off the port name lookup in Wireshark and just compare the raw port numbers. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Varsha Agarwal > Sent: Wednesday, 20 January, 2016 14:02 > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > Working pbx shows G.729 in wireshark, here is what I see on the working pbx > 1235 2016-01-19 13:05:56.024053000 172.18.18.215 239.192.0.2 UDP > 294 Source port: 16468 Destination port: 8000 > 1236 2016-01-19 13:05:56.024089000 172.18.18.215 172.18.7.67 RTP > 74 PT=ITU-T G.729, SSRC=0xD2ECCEA9, Seq=10, Time=2880 > 1237 2016-01-19 13:05:56.030450000 172.18.7.67 172.18.18.215 RTP > 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=6, Time=1280 > 1238 2016-01-19 13:05:56.050338000 172.18.7.67 172.18.18.215 RTP > 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=7, Time=1440 > 1239 2016-01-19 13:05:56.055168000 172.18.18.215 239.192.0.2 UDP > 294 Source port: 16468 Destination port: 8000 > > It is different on FreeSwitch > 1140 36.313847000 172.18.18.237 239.192.0.2 UDP 214 > Source port: 28080 Destination port: irdmi > 1141 36.313946000 172.18.18.237 224.0.1.116 UDP 388 > Source port: snap Destination port: commplex-link > 1142 36.326208000 172.18.7.105 172.18.18.237 RTP 214 > PT=ITU-T G.711 PCMU, SSRC=0x24A22162, Seq=16, Time=2880 > 1143 36.331901000 172.18.18.237 239.192.0.2 UDP 214 > Source port: 28080 Destination port: irdmi > > How do I change codec settings? > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch- > users-bounces at lists.freeswitch.org] On Behalf Of Bote Man > Sent: Tuesday, January 19, 2016 11:14 PM > To: 'FreeSWITCH Users Help' > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > If it is possible to capture both the FreeSWITCH multicast stream and the > working PBX multicast stream and compare them, I suspect that you will > discover the difference. > > "The packets sent are *always* converted to G.711 mu-Law / PCMU (8khz) > because some phones (Snom for example) won't accept other codecs via > multicast", so if your phones are looking for something else that could > account for it. > > Hope this helps. > > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > > > -----Original Message----- > > From: Varsha Agarwal > > Sent: Tuesday, 19 January, 2016 01:18 > > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > > > Thanks. I will capture this. I wanted to find out if there is > > something phone/codec specific not set here that is there in the log > > and I am not catching. Basically in my network there is another PBX > > setup that is able > to do > > multicast paging but FreeSwitch is not able to. So there is something > specific > > to my Freeswitch setup. I also did not find too much documentation on > > the ESF module. I am relatively new to the SIP world. > > > From ssinyagin at gmail.com Thu Jan 21 02:05:07 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 21 Jan 2016 00:05:07 +0100 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233732E38@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> <00d201d15352$11b3e140$351ba3c0$@botecomm.com> <04AB0A185A23864CA9255FD38901F65D0233732E38@SCEX1.vertical.com> Message-ID: the G.729 sessions are point-to-point (destination address 172.18.18.215), so they are not relevant to multicast traffic. You need to open the capture in Wireshark and force it to treat port 8000 as RTP, Then you will see what kind of codec is used for multicast. On Wed, Jan 20, 2016 at 8:02 PM, Varsha Agarwal wrote: > Working pbx shows G.729 in wireshark, here is what I see on the working pbx > 1235 2016-01-19 13:05:56.024053000 172.18.18.215 239.192.0.2 UDP 294 Source port: 16468 Destination port: 8000 > 1236 2016-01-19 13:05:56.024089000 172.18.18.215 172.18.7.67 RTP 74 PT=ITU-T G.729, SSRC=0xD2ECCEA9, Seq=10, Time=2880 > 1237 2016-01-19 13:05:56.030450000 172.18.7.67 172.18.18.215 RTP 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=6, Time=1280 > 1238 2016-01-19 13:05:56.050338000 172.18.7.67 172.18.18.215 RTP 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=7, Time=1440 > 1239 2016-01-19 13:05:56.055168000 172.18.18.215 239.192.0.2 UDP 294 Source port: 16468 Destination port: 8000 > > It is different on FreeSwitch > 1140 36.313847000 172.18.18.237 239.192.0.2 UDP 214 Source port: 28080 Destination port: irdmi > 1141 36.313946000 172.18.18.237 224.0.1.116 UDP 388 Source port: snap Destination port: commplex-link > 1142 36.326208000 172.18.7.105 172.18.18.237 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x24A22162, Seq=16, Time=2880 > 1143 36.331901000 172.18.18.237 239.192.0.2 UDP 214 Source port: 28080 Destination port: irdmi > > How do I change codec settings? > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bote Man > Sent: Tuesday, January 19, 2016 11:14 PM > To: 'FreeSWITCH Users Help' > Subject: Re: [Freeswitch-users] Getting multicast paging to work > > If it is possible to capture both the FreeSWITCH multicast stream and the working PBX multicast stream and compare them, I suspect that you will discover the difference. > > "The packets sent are *always* converted to G.711 mu-Law / PCMU (8khz) because some phones (Snom for example) won't accept other codecs via multicast", so if your phones are looking for something else that could account for it. > > Hope this helps. > > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > >> -----Original Message----- >> From: Varsha Agarwal >> Sent: Tuesday, 19 January, 2016 01:18 >> Subject: Re: [Freeswitch-users] Getting multicast paging to work >> >> Thanks. I will capture this. I wanted to find out if there is >> something phone/codec specific not set here that is there in the log >> and I am not catching. Basically in my network there is another PBX >> setup that is able > to do >> multicast paging but FreeSwitch is not able to. So there is something > specific >> to my Freeswitch setup. I also did not find too much documentation on >> the ESF module. I am relatively new to the SIP world. >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 vagarwal at vertical.com Thu Jan 21 02:46:35 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Wed, 20 Jan 2016 23:46:35 +0000 Subject: [Freeswitch-users] Getting multicast paging to work In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D02337303BF@SCEX1.vertical.com> <879e1f74bbd74a4b9a01e0db47241584@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D02337304E7@SCEX1.vertical.com> <04AB0A185A23864CA9255FD38901F65D023373086B@SCEX1.vertical.com> <00d201d15352$11b3e140$351ba3c0$@botecomm.com> <04AB0A185A23864CA9255FD38901F65D0233732E38@SCEX1.vertical.com>, Message-ID: <1A6780E3-B578-43C5-A06A-B54B3B6C5E88@vertical.com> I verified irdmi is actually 8000. The phone I am using does support 711 codec too. > On Jan 20, 2016, at 3:07 PM, Stanislav Sinyagin wrote: > > the G.729 sessions are point-to-point (destination address > 172.18.18.215), so they are not relevant to multicast traffic. > > You need to open the capture in Wireshark and force it to treat port > 8000 as RTP, Then you will see what kind of codec is used for > multicast. > > > >> On Wed, Jan 20, 2016 at 8:02 PM, Varsha Agarwal wrote: >> Working pbx shows G.729 in wireshark, here is what I see on the working pbx >> 1235 2016-01-19 13:05:56.024053000 172.18.18.215 239.192.0.2 UDP 294 Source port: 16468 Destination port: 8000 >> 1236 2016-01-19 13:05:56.024089000 172.18.18.215 172.18.7.67 RTP 74 PT=ITU-T G.729, SSRC=0xD2ECCEA9, Seq=10, Time=2880 >> 1237 2016-01-19 13:05:56.030450000 172.18.7.67 172.18.18.215 RTP 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=6, Time=1280 >> 1238 2016-01-19 13:05:56.050338000 172.18.7.67 172.18.18.215 RTP 74 PT=ITU-T G.729, SSRC=0x4BF0F35E, Seq=7, Time=1440 >> 1239 2016-01-19 13:05:56.055168000 172.18.18.215 239.192.0.2 UDP 294 Source port: 16468 Destination port: 8000 >> >> It is different on FreeSwitch >> 1140 36.313847000 172.18.18.237 239.192.0.2 UDP 214 Source port: 28080 Destination port: irdmi >> 1141 36.313946000 172.18.18.237 224.0.1.116 UDP 388 Source port: snap Destination port: commplex-link >> 1142 36.326208000 172.18.7.105 172.18.18.237 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x24A22162, Seq=16, Time=2880 >> 1143 36.331901000 172.18.18.237 239.192.0.2 UDP 214 Source port: 28080 Destination port: irdmi >> >> How do I change codec settings? >> >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bote Man >> Sent: Tuesday, January 19, 2016 11:14 PM >> To: 'FreeSWITCH Users Help' >> Subject: Re: [Freeswitch-users] Getting multicast paging to work >> >> If it is possible to capture both the FreeSWITCH multicast stream and the working PBX multicast stream and compare them, I suspect that you will discover the difference. >> >> "The packets sent are *always* converted to G.711 mu-Law / PCMU (8khz) because some phones (Snom for example) won't accept other codecs via multicast", so if your phones are looking for something else that could account for it. >> >> Hope this helps. >> >> >> --- >> Bote >> >> FreeSWITCH Docs Janitor >> http://freeswitch.org/confluence >> >> >> >> >> >>> -----Original Message----- >>> From: Varsha Agarwal >>> Sent: Tuesday, 19 January, 2016 01:18 >>> Subject: Re: [Freeswitch-users] Getting multicast paging to work >>> >>> Thanks. I will capture this. I wanted to find out if there is >>> something phone/codec specific not set here that is there in the log >>> and I am not catching. Basically in my network there is another PBX >>> setup that is able >> to do >>> multicast paging but FreeSwitch is not able to. So there is something >> specific >>> to my Freeswitch setup. I also did not find too much documentation on >>> the ESF module. I am relatively new to the SIP world. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 lists at kavun.ch Thu Jan 21 02:57:26 2016 From: lists at kavun.ch (Emrah) Date: Thu, 21 Jan 2016 00:57:26 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> Message-ID: <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> Yes absolutely WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss This is my WSS binding URL with Sofia. TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. My verto.conf.xml has this: The only doubt I have is about the chain component in my wss.pem. I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? Running out of ideas! Thanks for your inputs guys > On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli wrote: > > Emrah, > > have you installe the certificate and the chain as instructed by Tony? > > Here a couple references: > https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates > > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates > > On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: > Hi Anthony, > To be sure, I reinstalled my certificates. No improvement. > > I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >> >> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >> >> >> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >> Giovanni, >> Yes permission is granted to camera and mike. >> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >> >> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >> >> Thanks! >> >>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>> >>> have you given permission to browser to use camera and microphone? >>> >>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>> >>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>> Hi all, >>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>> >>> The error message is: Invalid Method, Missing Method or Permission Denied >>> >>> I?m not sure what to investigate here. Your suggestions are welcome! >>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>> >>> 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 >>> >>> >>> >>> -- >>> 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 >> >> >> >> -- >> 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 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160121/7424a92d/attachment-0001.html From lists at kavun.ch Thu Jan 21 03:23:21 2016 From: lists at kavun.ch (Emrah) Date: Thu, 21 Jan 2016 01:23:21 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> Message-ID: <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> OK ipv6 isn?t the problem either. Just forced my NIC to ipv4. > On Jan 21, 2016, at 12:57 AM, Emrah wrote: > > Yes absolutely > WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss > This is my WSS binding URL with Sofia. > TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. > My verto.conf.xml has this: > > > The only doubt I have is about the chain component in my wss.pem. > I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? > > Running out of ideas! > > Thanks for your inputs guys >> On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli > wrote: >> >> Emrah, >> >> have you installe the certificate and the chain as instructed by Tony? >> >> Here a couple references: >> https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates >> >> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates >> >> On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: >> Hi Anthony, >> To be sure, I reinstalled my certificates. No improvement. >> >> I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >>> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >>> >>> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >>> >>> >>> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >>> Giovanni, >>> Yes permission is granted to camera and mike. >>> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >>> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >>> >>> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >>> >>> Thanks! >>> >>>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>>> >>>> have you given permission to browser to use camera and microphone? >>>> >>>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>>> >>>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>>> Hi all, >>>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>>> >>>> The error message is: Invalid Method, Missing Method or Permission Denied >>>> >>>> I?m not sure what to investigate here. Your suggestions are welcome! >>>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>>> >>>> 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 >>>> >>>> >>>> >>>> -- >>>> 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 >>> >>> >>> >>> -- >>> 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 >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160121/79aadfaa/attachment-0001.html From lists at kavun.ch Thu Jan 21 03:37:23 2016 From: lists at kavun.ch (Emrah) Date: Thu, 21 Jan 2016 01:37:23 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> Message-ID: <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> One more message to clarify what I sent earlier. I do have ipv6 bindings in my verto.conf.xml. I forgot to paste the relevant line for that. I also went hunting for the WSS binding parameter in my sofia.conf.xml and understand things better already. To sum up: I can log in from Verto. But I can?t make calls. > On Jan 21, 2016, at 1:23 AM, Emrah wrote: > > OK ipv6 isn?t the problem either. Just forced my NIC to ipv4. >> On Jan 21, 2016, at 12:57 AM, Emrah > wrote: >> >> Yes absolutely >> WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss >> This is my WSS binding URL with Sofia. >> TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. >> My verto.conf.xml has this: >> >> >> The only doubt I have is about the chain component in my wss.pem. >> I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? >> >> Running out of ideas! >> >> Thanks for your inputs guys >>> On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli > wrote: >>> >>> Emrah, >>> >>> have you installe the certificate and the chain as instructed by Tony? >>> >>> Here a couple references: >>> https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates >>> >>> On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: >>> Hi Anthony, >>> To be sure, I reinstalled my certificates. No improvement. >>> >>> I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >>>> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >>>> >>>> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >>>> >>>> >>>> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >>>> Giovanni, >>>> Yes permission is granted to camera and mike. >>>> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >>>> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >>>> >>>> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >>>> >>>> Thanks! >>>> >>>>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>>>> >>>>> have you given permission to browser to use camera and microphone? >>>>> >>>>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>>>> >>>>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>>>> Hi all, >>>>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>>>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>>>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>>>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>>>> >>>>> The error message is: Invalid Method, Missing Method or Permission Denied >>>>> >>>>> I?m not sure what to investigate here. Your suggestions are welcome! >>>>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>>>> >>>>> 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 >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>> >>>> >>>> >>>> -- >>>> 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 >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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/20160121/d8ed9bb4/attachment-0001.html From mike at jerris.com Thu Jan 21 04:07:28 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 20 Jan 2016 20:07:28 -0500 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> Message-ID: Configs based on the default configs from 1.6? > On Jan 20, 2016, at 7:37 PM, Emrah wrote: > > One more message to clarify what I sent earlier. > I do have ipv6 bindings in my verto.conf.xml. I forgot to paste the relevant line for that. > I also went hunting for the WSS binding parameter in my sofia.conf.xml and understand things better already. > > To sum up: > I can log in from Verto. But I can?t make calls. >> On Jan 21, 2016, at 1:23 AM, Emrah > wrote: >> >> OK ipv6 isn?t the problem either. Just forced my NIC to ipv4. >>> On Jan 21, 2016, at 12:57 AM, Emrah > wrote: >>> >>> Yes absolutely >>> WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss >>> This is my WSS binding URL with Sofia. >>> TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. >>> My verto.conf.xml has this: >>> >>> >>> The only doubt I have is about the chain component in my wss.pem. >>> I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? >>> >>> Running out of ideas! >>> >>> Thanks for your inputs guys >>>> On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli > wrote: >>>> >>>> Emrah, >>>> >>>> have you installe the certificate and the chain as instructed by Tony? >>>> >>>> Here a couple references: >>>> https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates >>>> >>>> On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: >>>> Hi Anthony, >>>> To be sure, I reinstalled my certificates. No improvement. >>>> >>>> I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >>>>> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >>>>> >>>>> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >>>>> >>>>> >>>>> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >>>>> Giovanni, >>>>> Yes permission is granted to camera and mike. >>>>> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >>>>> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >>>>> >>>>> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >>>>> >>>>> Thanks! >>>>> >>>>>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>>>>> >>>>>> have you given permission to browser to use camera and microphone? >>>>>> >>>>>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>>>>> >>>>>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>>>>> Hi all, >>>>>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>>>>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>>>>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>>>>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>>>>> >>>>>> The error message is: Invalid Method, Missing Method or Permission Denied >>>>>> >>>>>> I?m not sure what to investigate here. Your suggestions are welcome! >>>>>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>>>>> >>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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/20160120/86fc664f/attachment-0001.html From karl at xtronics.com Thu Jan 21 06:21:13 2016 From: karl at xtronics.com (Karl Schmidt) Date: Wed, 20 Jan 2016 21:21:13 -0600 Subject: [Freeswitch-users] [WARNING] switch_core_media.c:3261 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back..... Message-ID: <56A04EA9.6000103@xtronics.com> OK this warning from when a polycom is going on hold. Is it the phone setup or freeswitch that is wrong? Any breadcrumbs? -- -------------------------------------------------------------------------------- Link to our website and get free US-48 shipping on your next order. Karl Schmidt EMail Karl at xtronics.com Transtronics, Inc. WEB https://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-3089 Those that have knowledge don't predict. Those that predict, don't have knowledge. Lao tzu -------------------------------------------------------------------------------- From deepikay at iiitd.ac.in Thu Jan 21 09:46:40 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Thu, 21 Jan 2016 12:16:40 +0530 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: I tried to receive the events in my java program in this way : Code Snippet ESLconnection con = new ESLconnection("127.0.0.1","8021","ClueCon"); event = con.recvEvent(); String eventHeader = event.getHeader("Event-Name",-1); while (con.connected() == 1) { if(eventHeader.equalsIgnoreCase("stop-talking")){ System.out.println("some stopped speaking"+(System.currentTimeMillis() % 1000)); } if(eventHeader.equalsIgnoreCase("start-talking")){ System.out.println("some started speaking at"+ (System.currentTimeMillis() % 1000)); } ..... } I don not receive events when conference members speak although, I receive other events (DTMF, conference_add_member) correctly Please let know the correct way On Mon, Jan 18, 2016 at 8:43 AM, Deepika Yadav wrote: > Thanks Nathan & Bote, > > I am surely gonna try this approach. > > On Sun, Jan 17, 2016 at 10:34 PM, Nathan Neulinger wrote: > >> Woops. Yeah, good point on the stop vs. start... >> >> -- Nathan >> >> On 01/17/2016 10:13 AM, Bote Man wrote: >> > I was going to suggest the same approach, but measure the time since the >> > last 'stop-talking' event since that indicates that silence has begun. >> > >> > The script should make sure that it has no 'start-talking' events >> without a >> > matching 'stop-talking' event to ensure that everybody is silent before >> > starting the timer. >> > >> > Bote >> > >> > >> >> -----Original Message----- >> >> From: Nathan Neulinger >> >> Sent: Sunday, 17 January, 2016 10:00 >> >> Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in >> > Conference Session >> >> >> >> Might not be the best way to do it - but you could potentially look for >> > the >> >> inverse. >> >> >> >> Set up an event listener for all conference events - watch for >> > 'start-talking' >> >> and 'stop-talking', and just keep track >> >> of how long it has been since the last 'start-talking' event. >> >> >> >> -- Nathan >> >> >> >> On 01/17/2016 01:21 AM, Deepika Yadav wrote: >> >>> Hi, >> >>> >> >>> I am using event socket layer to receive events happenening in the >> >> conference session from the Freeswitch in my java >> >>> program. My program is interested in knowing when there is silence in >> > the >> >> conference for a particular period of time. >> >>> >> >>> How can I set a condition for silence detection in the conference >> > dialplan >> >> and receive its value through a channel >> >>> variable in my program. >> >>> >> >>> Regards, >> >>> Deepika >> >>> >> >>> >> >>> >> >> >> >> -- >> >> ------------------------------------------------------------ >> >> 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 >> > >> >> -- >> ------------------------------------------------------------ >> 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/20160121/347d03f4/attachment.html From miha at softnet.si Thu Jan 21 11:36:34 2016 From: miha at softnet.si (Miha) Date: Thu, 21 Jan 2016 09:36:34 +0100 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto Message-ID: <56A09892.5050500@softnet.si> Hi, is the any info regarding javascript library usage for client part? tnx miha From gmaruzz at gmail.com Thu Jan 21 11:46:02 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 21 Jan 2016 09:46:02 +0100 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: <56A09892.5050500@softnet.si> References: <56A09892.5050500@softnet.si> Message-ID: On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: > Hi, > > is the any info regarding javascript library usage for client part? > > Not yet, but you can check how is used by Verto Communicator, or see the easier (basic) example implementation described in latest FreeSWITCH Cookbok from Packtpub. -giovanni > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160121/b9df137b/attachment.html From ankit_doshi2011 at yahoo.com Thu Jan 21 12:34:32 2016 From: ankit_doshi2011 at yahoo.com (ankitdoshi) Date: Thu, 21 Jan 2016 02:34:32 -0700 (MST) Subject: [Freeswitch-users] How to transfer call from one extension to another extension ? Message-ID: <1453368872045-7596198.post@n2.nabble.com> Hi All, Anyone please help me out for transfer a call ? let me give you an example : i have 3 extension 1- caller(1000) 2- receiver(1001) 3- transfer(1002) I am dialing from 1000 and call is received by 1001 then push transfer button and press 1002 for transfer but its not going to transfer.I have set below parameters in sip profile but still its not going to work 1. manual-redirect=true,2. disable-transfer =false Can anyone please help me out for this ? Any suggestion will be appreciated . ----- Thanks Ankit Doshi -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-transfer-call-from-one-extension-to-another-extension-tp7596198.html Sent from the freeswitch-users mailing list archive at Nabble.com. From lists at kavun.ch Thu Jan 21 14:28:12 2016 From: lists at kavun.ch (Emrah) Date: Thu, 21 Jan 2016 12:28:12 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> Message-ID: <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> Yes, except users in the directory, all profiles and modules have their default configs. E > On Jan 21, 2016, at 2:07 AM, Michael Jerris wrote: > > Configs based on the default configs from 1.6? > >> On Jan 20, 2016, at 7:37 PM, Emrah > wrote: >> >> One more message to clarify what I sent earlier. >> I do have ipv6 bindings in my verto.conf.xml. I forgot to paste the relevant line for that. >> I also went hunting for the WSS binding parameter in my sofia.conf.xml and understand things better already. >> >> To sum up: >> I can log in from Verto. But I can?t make calls. >>> On Jan 21, 2016, at 1:23 AM, Emrah > wrote: >>> >>> OK ipv6 isn?t the problem either. Just forced my NIC to ipv4. >>>> On Jan 21, 2016, at 12:57 AM, Emrah > wrote: >>>> >>>> Yes absolutely >>>> WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss >>>> This is my WSS binding URL with Sofia. >>>> TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. >>>> My verto.conf.xml has this: >>>> >>>> >>>> The only doubt I have is about the chain component in my wss.pem. >>>> I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? >>>> >>>> Running out of ideas! >>>> >>>> Thanks for your inputs guys >>>>> On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli > wrote: >>>>> >>>>> Emrah, >>>>> >>>>> have you installe the certificate and the chain as instructed by Tony? >>>>> >>>>> Here a couple references: >>>>> https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates >>>>> >>>>> On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: >>>>> Hi Anthony, >>>>> To be sure, I reinstalled my certificates. No improvement. >>>>> >>>>> I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >>>>>> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >>>>>> >>>>>> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >>>>>> >>>>>> >>>>>> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >>>>>> Giovanni, >>>>>> Yes permission is granted to camera and mike. >>>>>> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >>>>>> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >>>>>> >>>>>> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >>>>>> >>>>>> Thanks! >>>>>> >>>>>>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>>>>>> >>>>>>> have you given permission to browser to use camera and microphone? >>>>>>> >>>>>>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>>>>>> >>>>>>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>>>>>> Hi all, >>>>>>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>>>>>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>>>>>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>>>>>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>>>>>> >>>>>>> The error message is: Invalid Method, Missing Method or Permission Denied >>>>>>> >>>>>>> I?m not sure what to investigate here. Your suggestions are welcome! >>>>>>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>>>>>> >>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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/20160121/35b2bcfa/attachment-0001.html From vfclists at gmail.com Thu Jan 21 15:03:18 2016 From: vfclists at gmail.com (vfclists .) Date: Thu, 21 Jan 2016 12:03:18 +0000 Subject: [Freeswitch-users] Is there some setting that stops configuraton from being loaded from sofia.conf.xml? Message-ID: I am experiencing a strange issue on my system. It seems that configurations in sofia.conf.xml will not load correctly. It is a configuration that contains the entirety of internal.xml and external.xml in the sofia.conf.xml file, bypassing the files on the sip_profiles/external and for some reason it wasn't loading. However when I copy the profile sections for the internal and external profiles into the sip_profiles directory, it works normally. Is there some setting that can cause this? -- Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/f670efe0/attachment.html From gmaruzz at gmail.com Thu Jan 21 17:36:01 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 21 Jan 2016 15:36:01 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> Message-ID: On Thu, Jan 21, 2016 at 12:28 PM, Emrah wrote: > Yes, except users in the directory, all profiles and modules have their > default configs. > > E > > On Jan 21, 2016, at 2:07 AM, Michael Jerris wrote: > > Configs based on the default configs from 1.6? > > Well, I would start it all anew from scratch. Maybe there was something overlooked... Btw, are you aware that the preferred platform is debian 8 jessie, while centos 7 is supported too (and all other distros are unsupported at the moment) ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/32a32186/attachment.html From idokan at gmail.com Thu Jan 21 19:02:36 2016 From: idokan at gmail.com (ik) Date: Thu, 21 Jan 2016 18:02:36 +0200 Subject: [Freeswitch-users] the unit for answered_time Message-ID: Hello, I require to calculate on hangup the duration of a call regardless of the CDR, and do some logic if it's above a range. I'm placing at the api_hangup_hook a cli parameters that one of them is answered_time. I need the data in minutes unit, and the data seems to be a timestamp in microseconds, but converting it to seconds (e.g. answered_time / 1000000) provides me a very low range of number, sometimes even less then a millisecond. I can't seems to find at the documentation what is the unit for the answered_time in order to properly convert it to my requirements. I'm also missing the place at the source code where the data is set to the variable (here is the grep result (at the src directory): grep answered_time ./* -R ./mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.c: bson_append_long(&cdr, "answered_time", caller_profile->times->answered); ./mod/languages/mod_managed/managed/ChannelVariables.cs: const string answered_time = "answered_time"; ./mod/languages/mod_managed/managed/ChannelVariables.cs: get { return readUsecsDateTime(answered_time); } ./switch_caller.c: if (!strcasecmp(name, "answered_time")) { ./switch_core_session.c: } else if (!strcmp(tag3->name, "answered_time")) { ./switch_ivr.c: if (!(time_tag = switch_xml_add_child_d(x_times, "answered_time", t_off++))) { ./switch_ivr.c: cJSON_AddItemToObject(j_times, "answered_time", cJSON_CreateString(tmp)); So what am I missing here? Thank you Ido -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/fe25d5eb/attachment.html From mike at jerris.com Thu Jan 21 20:03:23 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 12:03:23 -0500 Subject: [Freeswitch-users] [WARNING] switch_core_media.c:3261 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back..... In-Reply-To: <56A04EA9.6000103@xtronics.com> References: <56A04EA9.6000103@xtronics.com> Message-ID: This would be a warning about a phone configuration or firmware limitation. I'm pretty sure there is a way to change this on polycom. > On Jan 20, 2016, at 10:21 PM, Karl Schmidt wrote: > > OK this warning from when a polycom is going on hold. > > Is it the phone setup or freeswitch that is wrong? > > > Any breadcrumbs? From mike at jerris.com Thu Jan 21 20:04:48 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 12:04:48 -0500 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: If you pull up fs_cli and do /events all plain, you should be able to see all the events, and can help nail down exactly what you are looking to match. > On Jan 21, 2016, at 1:46 AM, Deepika Yadav wrote: > > I tried to receive the events in my java program in this way : > > Code Snippet > > ESLconnection con = new ESLconnection("127.0.0.1","8021","ClueCon"); > event = con.recvEvent(); > String eventHeader = event.getHeader("Event-Name",-1); > > while (con.connected() == 1) { > if(eventHeader.equalsIgnoreCase("stop-talking")){ > System.out.println("some stopped speaking"+(System.currentTimeMillis() % 1000)); > > } > > if(eventHeader.equalsIgnoreCase("start-talking")){ > System.out.println("some started speaking at"+ (System.currentTimeMillis() % 1000)); > > } > ..... > } > > > I don not receive events when conference members speak although, I receive other events (DTMF, conference_add_member) correctly > > Please let know the correct way > > > On Mon, Jan 18, 2016 at 8:43 AM, Deepika Yadav > wrote: > Thanks Nathan & Bote, > > I am surely gonna try this approach. > > On Sun, Jan 17, 2016 at 10:34 PM, Nathan Neulinger > wrote: > Woops. Yeah, good point on the stop vs. start... > > -- Nathan > > On 01/17/2016 10:13 AM, Bote Man wrote: > > I was going to suggest the same approach, but measure the time since the > > last 'stop-talking' event since that indicates that silence has begun. > > > > The script should make sure that it has no 'start-talking' events without a > > matching 'stop-talking' event to ensure that everybody is silent before > > starting the timer. > > > > Bote > > > > > >> -----Original Message----- > >> From: Nathan Neulinger > >> Sent: Sunday, 17 January, 2016 10:00 > >> Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in > > Conference Session > >> > >> Might not be the best way to do it - but you could potentially look for > > the > >> inverse. > >> > >> Set up an event listener for all conference events - watch for > > 'start-talking' > >> and 'stop-talking', and just keep track > >> of how long it has been since the last 'start-talking' event. > >> > >> -- Nathan > >> > >> On 01/17/2016 01:21 AM, Deepika Yadav wrote: > >>> Hi, > >>> > >>> I am using event socket layer to receive events happenening in the > >> conference session from the Freeswitch in my java > >>> program. My program is interested in knowing when there is silence in > > the > >> conference for a particular period of time. > >>> > >>> How can I set a condition for silence detection in the conference > > dialplan > >> and receive its value through a channel > >>> variable in my program. > >>> > >>> Regards, > >>> Deepika > >>> > >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/ff672d37/attachment-0001.html From tg at level5.de Wed Jan 20 19:11:51 2016 From: tg at level5.de (=?UTF-8?Q?Thorsten_G=c3=b6llner?=) Date: Wed, 20 Jan 2016 17:11:51 +0100 Subject: [Freeswitch-users] WebRTC / Voice- and/or Video-Call to freeSwitch / which JavaScript-Library should I take Message-ID: <569FB1C7.20104@level5.de> Hi there, I am new to WebRTC. I just installed my first FreeSWITCH-Server (1.6.6) and SIP-Calls work fine. Now I want to implement a simple Button on our homepage to establish a voice and/or video-call with a fixed extension in our dialplan. I do *not* need a complete Sip-Client-Interface etc. I just want to implment a simple "Call-Button" :) Do you have any good suggestion, which JavaScript-Libarary I should use in that case? Thanks in advance Thorsten From giacomo.vacca at gmail.com Thu Jan 21 11:50:41 2016 From: giacomo.vacca at gmail.com (Giacomo Vacca) Date: Thu, 21 Jan 2016 09:50:41 +0100 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: References: <56A09892.5050500@softnet.si> Message-ID: I've found it useful to get insights from the source code: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto And in particular an example of usage in the demo folder: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo A suggested read is https://freeswitch.org/confluence/display/FREESWITCH/mod_verto which links to the actual demo: https://webrtc.freeswitch.org/verto/index.html#page-main Giacomo On 21 January 2016 at 09:46, Giovanni Maruzzelli wrote: > > > On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: > >> Hi, >> >> is the any info regarding javascript library usage for client part? >> >> > Not yet, but you can check how is used by Verto Communicator, or see the > easier (basic) example implementation described in latest FreeSWITCH > Cookbok from Packtpub. > > -giovanni > > > >> >> tnx >> miha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160121/6b4566fa/attachment.html From mike at jerris.com Thu Jan 21 20:09:57 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 12:09:57 -0500 Subject: [Freeswitch-users] Is there some setting that stops configuraton from being loaded from sofia.conf.xml? In-Reply-To: References: Message-ID: <5D00A173-0C77-4F9A-92C7-D9244C6A6784@jerris.com> This would happen if the conf file was missing the preprocessor include directives to include the other files. > On Jan 21, 2016, at 7:03 AM, vfclists . wrote: > > > I am experiencing a strange issue on my system. It seems that configurations in sofia.conf.xml will not load correctly. > > It is a configuration that contains the entirety of internal.xml and external.xml in the sofia.conf.xml file, bypassing the files on the sip_profiles/external and for some reason it wasn't loading. However when I copy the profile sections for the internal and external profiles into the sip_profiles directory, it works normally. > > Is there some setting that can cause this? > From mike at jerris.com Thu Jan 21 20:12:03 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 12:12:03 -0500 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> Message-ID: <9196F8C5-73E3-4378-8DE6-636D7921CA38@jerris.com> from the directory default.xml in the default configs: > On Jan 21, 2016, at 6:28 AM, Emrah wrote: > > Yes, except users in the directory, all profiles and modules have their default configs. > > E >> On Jan 21, 2016, at 2:07 AM, Michael Jerris > wrote: >> >> Configs based on the default configs from 1.6? >> >>> On Jan 20, 2016, at 7:37 PM, Emrah > wrote: >>> >>> One more message to clarify what I sent earlier. >>> I do have ipv6 bindings in my verto.conf.xml. I forgot to paste the relevant line for that. >>> I also went hunting for the WSS binding parameter in my sofia.conf.xml and understand things better already. >>> >>> To sum up: >>> I can log in from Verto. But I can?t make calls. >>>> On Jan 21, 2016, at 1:23 AM, Emrah > wrote: >>>> >>>> OK ipv6 isn?t the problem either. Just forced my NIC to ipv4. >>>>> On Jan 21, 2016, at 12:57 AM, Emrah > wrote: >>>>> >>>>> Yes absolutely >>>>> WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss >>>>> This is my WSS binding URL with Sofia. >>>>> TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. >>>>> My verto.conf.xml has this: >>>>> >>>>> >>>>> The only doubt I have is about the chain component in my wss.pem. >>>>> I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? >>>>> >>>>> Running out of ideas! >>>>> >>>>> Thanks for your inputs guys >>>>>> On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli > wrote: >>>>>> >>>>>> Emrah, >>>>>> >>>>>> have you installe the certificate and the chain as instructed by Tony? >>>>>> >>>>>> Here a couple references: >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates >>>>>> >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates >>>>>> >>>>>> On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: >>>>>> Hi Anthony, >>>>>> To be sure, I reinstalled my certificates. No improvement. >>>>>> >>>>>> I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >>>>>>> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >>>>>>> >>>>>>> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >>>>>>> >>>>>>> >>>>>>> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >>>>>>> Giovanni, >>>>>>> Yes permission is granted to camera and mike. >>>>>>> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >>>>>>> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >>>>>>> >>>>>>> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>>>>>>> >>>>>>>> have you given permission to browser to use camera and microphone? >>>>>>>> >>>>>>>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>>>>>>> >>>>>>>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>>>>>>> Hi all, >>>>>>>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>>>>>>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>>>>>>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>>>>>>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>>>>>>> >>>>>>>> The error message is: Invalid Method, Missing Method or Permission Denied >>>>>>>> >>>>>>>> I?m not sure what to investigate here. Your suggestions are welcome! >>>>>>>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>>>>>>> >>>>>>>> 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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/fe9a5fb5/attachment-0001.html From mike at jerris.com Thu Jan 21 20:14:42 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 12:14:42 -0500 Subject: [Freeswitch-users] the unit for answered_time In-Reply-To: References: Message-ID: <2606C954-2618-46BC-9970-3120EFD1FAB0@jerris.com> maybe check out billsec ? there are quite a number of values available depending on what exactly you need, try checking the cdr for what values you actually want and what format they are in. > On Jan 21, 2016, at 11:02 AM, ik wrote: > > Hello, > > I require to calculate on hangup the duration of a call regardless of the CDR, and do some logic if it's above a range. > > I'm placing at the api_hangup_hook a cli parameters that one of them is answered_time. > > I need the data in minutes unit, and the data seems to be a timestamp in microseconds, but converting it to seconds (e.g. answered_time / 1000000) provides me a very low range of number, sometimes even less then a millisecond. > > I can't seems to find at the documentation what is the unit for the answered_time in order to properly convert it to my requirements. > > I'm also missing the place at the source code where the data is set to the variable (here is the grep result (at the src directory): > > grep answered_time ./* -R > ./mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.c: bson_append_long(&cdr, "answered_time", caller_profile->times->answered); > ./mod/languages/mod_managed/managed/ChannelVariables.cs: const string answered_time = "answered_time"; > ./mod/languages/mod_managed/managed/ChannelVariables.cs: get { return readUsecsDateTime(answered_time); } > ./switch_caller.c: if (!strcasecmp(name, "answered_time")) { > ./switch_core_session.c: } else if (!strcmp(tag3->name, "answered_time")) { > ./switch_ivr.c: if (!(time_tag = switch_xml_add_child_d(x_times, "answered_time", t_off++))) { > ./switch_ivr.c: cJSON_AddItemToObject(j_times, "answered_time", cJSON_CreateString(tmp)); From mike at jerris.com Thu Jan 21 20:15:51 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 12:15:51 -0500 Subject: [Freeswitch-users] WebRTC / Voice- and/or Video-Call to freeSwitch / which JavaScript-Library should I take In-Reply-To: <569FB1C7.20104@level5.de> References: <569FB1C7.20104@level5.de> Message-ID: <246D352D-E975-4756-8D2A-3BA0694D112A@jerris.com> I would take a look at mod_verto and our verto js library. > On Jan 20, 2016, at 11:11 AM, Thorsten G?llner wrote: > > Hi there, > > I am new to WebRTC. I just installed my first FreeSWITCH-Server (1.6.6) > and SIP-Calls work fine. > > Now I want to implement a simple Button on our homepage to establish a > voice and/or video-call with a fixed extension in our dialplan. I do > *not* need a complete Sip-Client-Interface etc. I just want to implment > a simple "Call-Button" :) > > Do you have any good suggestion, which JavaScript-Libarary I should use > in that case? > > Thanks in advance > Thorsten From avi at avimarcus.net Thu Jan 21 22:56:43 2016 From: avi at avimarcus.net (Avi Marcus) Date: Thu, 21 Jan 2016 19:56:43 +0000 Subject: [Freeswitch-users] recv_refuse but normal_clearing / no failover? Message-ID: <0000015265c2ad33-c8345e37-8f81-40f1-9232-7dbed0fe28b8-000000@email.amazonses.com> This leg was marked normal_clearing so it didn't try failing over. sip_hangup_disposition was recv_refuse but that didn't try the next carrier in my bridge string.. since it was cause 16/normal, I presume. Any suggestion on dealing with these kind of bugged calls? I've told the carrier... (running FreeSWITCH Version 1.6.5-11-d5520a6~64bit (-11-d5520a6 64bit)) *SIP/2.0 487 Request Terminated* Via: SIP/2.0/UDP 80.85.85.46;received=80.85.85.46;rport=5060;branch=z9hG4bK2jKN0erN6acjg To: ;tag=3662377546-339101 From: "972535927644" ;tag=6NBQDBN3Bg8HQ Call-ID: 47aa3d9c-3af3-1234-64a8-aec02ee4871b CSeq: 86358306 INVITE Allow: PUBLISH,MESSAGE,UPDATE,PRACK,SUBSCRIBE,REFER,INFO,NOTIFY,REGISTER,OPTIONS,BYE,INVITE,ACK,CANCEL Contact: *Reason: Q.850;cause=16* P-Charging-Vector: icid-value=" 7fa379cc7fa379b-0004-00c3-0000-0000 at 10.11.100.185 ";icid-generated-at=10.11.102.24;term-ioi=italtel.com Content-Length: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/cfee8c70/attachment.html From vfclists at gmail.com Fri Jan 22 04:26:28 2016 From: vfclists at gmail.com (vfclists .) Date: Fri, 22 Jan 2016 01:26:28 +0000 Subject: [Freeswitch-users] Is there some setting that stops configuraton from being loaded from sofia.conf.xml? In-Reply-To: <5D00A173-0C77-4F9A-92C7-D9244C6A6784@jerris.com> References: <5D00A173-0C77-4F9A-92C7-D9244C6A6784@jerris.com> Message-ID: Which conf file would that be? Is there some file higher up the chain that can cause that? On 21 January 2016 at 17:09, Michael Jerris wrote: > This would happen if the conf file was missing the preprocessor include > directives to include the other files. > > > On Jan 21, 2016, at 7:03 AM, vfclists . wrote: > > > > > > I am experiencing a strange issue on my system. It seems that > configurations in sofia.conf.xml will not load correctly. > > > > It is a configuration that contains the entirety of internal.xml and > external.xml in the sofia.conf.xml file, bypassing the files on the > sip_profiles/external and for some reason it wasn't loading. However when I > copy the profile sections for the internal and external profiles into the > sip_profiles directory, it works normally. > > > > Is there some setting that can cause this? > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/127db89a/attachment.html From mike at jerris.com Fri Jan 22 05:08:48 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 21 Jan 2016 21:08:48 -0500 Subject: [Freeswitch-users] Is there some setting that stops configuraton from being loaded from sofia.conf.xml? In-Reply-To: References: <5D00A173-0C77-4F9A-92C7-D9244C6A6784@jerris.com> Message-ID: the same one you pasted the profiles in when it worked On Thursday, January 21, 2016, vfclists . wrote: > Which conf file would that be? > > Is there some file higher up the chain that can cause that? > > On 21 January 2016 at 17:09, Michael Jerris > wrote: > >> This would happen if the conf file was missing the preprocessor include >> directives to include the other files. >> >> > On Jan 21, 2016, at 7:03 AM, vfclists . > > wrote: >> > >> > >> > I am experiencing a strange issue on my system. It seems that >> configurations in sofia.conf.xml will not load correctly. >> > >> > It is a configuration that contains the entirety of internal.xml and >> external.xml in the sofia.conf.xml file, bypassing the files on the >> sip_profiles/external and for some reason it wasn't loading. However when I >> copy the profile sections for the internal and external profiles into the >> sip_profiles directory, it works normally. >> > >> > Is there some setting that can cause this? >> > >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Frank Church > > ======================= > http://devblog.brahmancreations.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160121/930a1f39/attachment.html From john.nash778 at gmail.com Fri Jan 22 06:49:02 2016 From: john.nash778 at gmail.com (John Nash) Date: Fri, 22 Jan 2016 09:19:02 +0530 Subject: [Freeswitch-users] Identify billable calls Message-ID: I am using bridge application to connect to carrier gateways and using CDR csv module for billing. In my logic I am only billing calls which have billsec>0 now I wonder if this is correct way to find what calls are connected I mean may be some calls I am ignoring which were connected for less than 1 second?..Is that possible?...what is the sure shot way to filter connected calls? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/e02de459/attachment-0001.html From s.safarov at gmail.com Fri Jan 22 06:54:36 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 22 Jan 2016 03:54:36 +0000 Subject: [Freeswitch-users] Identify billable calls In-Reply-To: References: Message-ID: Use grep command with regex to filter not answered calls. On Fri, Jan 22, 2016, 06:50 John Nash wrote: > I am using bridge application to connect to carrier gateways and using CDR > csv module for billing. > > In my logic I am only billing calls which have billsec>0 now I wonder if > this is correct way to find what calls are connected I mean may be some > calls I am ignoring which were connected for less than 1 second?..Is that > possible?...what is the sure shot way to filter connected calls? > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/f43772ad/attachment.html From john.nash778 at gmail.com Fri Jan 22 07:01:59 2016 From: john.nash778 at gmail.com (John Nash) Date: Fri, 22 Jan 2016 09:31:59 +0530 Subject: [Freeswitch-users] Identify billable calls In-Reply-To: References: Message-ID: I am already filtering when importing these calls to mysql on the criteria where billsec>0. My question is will I miss some of the connected calls which were connected for less than 1 second and may be freeswitch is rounding up to 0. On Fri, Jan 22, 2016 at 9:24 AM, Sergey Safarov wrote: > Use grep command with regex to filter not answered calls. > > On Fri, Jan 22, 2016, 06:50 John Nash wrote: > >> I am using bridge application to connect to carrier gateways and using >> CDR csv module for billing. >> >> In my logic I am only billing calls which have billsec>0 now I wonder if >> this is correct way to find what calls are connected I mean may be some >> calls I am ignoring which were connected for less than 1 second?..Is that >> possible?...what is the sure shot way to filter connected calls? >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/6a80a54e/attachment.html From ssinyagin at gmail.com Fri Jan 22 07:16:18 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 22 Jan 2016 05:16:18 +0100 Subject: [Freeswitch-users] Identify billable calls In-Reply-To: References: Message-ID: there are also two additional variables at the closure of a channel: billmsec (milliseconds) and billusec (microseconds). They may not be present in CSV CDR, so you need to choose some other CDR format: for example, XML CDR delivers all available variables. Also you can catch the channel closing event via ESL and queue it for further processing in real time. On Fri, Jan 22, 2016 at 5:01 AM, John Nash wrote: > I am already filtering when importing these calls to mysql on the criteria > where billsec>0. My question is will I miss some of the connected calls > which were connected for less than 1 second and may be freeswitch is > rounding up to 0. > > On Fri, Jan 22, 2016 at 9:24 AM, Sergey Safarov wrote: >> >> Use grep command with regex to filter not answered calls. >> >> >> On Fri, Jan 22, 2016, 06:50 John Nash wrote: >>> >>> I am using bridge application to connect to carrier gateways and using >>> CDR csv module for billing. >>> >>> In my logic I am only billing calls which have billsec>0 now I wonder if >>> this is correct way to find what calls are connected I mean may be some >>> calls I am ignoring which were connected for less than 1 second?..Is that >>> possible?...what is the sure shot way to filter connected calls? >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 vagarwal at vertical.com Fri Jan 22 08:18:37 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Fri, 22 Jan 2016 05:18:37 +0000 Subject: [Freeswitch-users] mod_callCenter scalability Message-ID: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> Hi, Does anyone have any data on how mod_callCenter scales? How many queues, concurrent calls, number of agents can be supported on one instance of FreeSwitch? I looked through the whole documentation but did not find any data. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/e525e638/attachment.html From anthony.minessale at gmail.com Fri Jan 22 08:29:17 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 21 Jan 2016 23:29:17 -0600 Subject: [Freeswitch-users] Is there some setting that stops configuraton from being loaded from sofia.conf.xml? In-Reply-To: References: <5D00A173-0C77-4F9A-92C7-D9244C6A6784@jerris.com> Message-ID: Start over with defaults and be careful its probably a typo. On Thu, Jan 21, 2016 at 8:08 PM, Michael Jerris wrote: > the same one you pasted the profiles in when it worked > > > On Thursday, January 21, 2016, vfclists . wrote: > >> Which conf file would that be? >> >> Is there some file higher up the chain that can cause that? >> >> On 21 January 2016 at 17:09, Michael Jerris wrote: >> >>> This would happen if the conf file was missing the preprocessor include >>> directives to include the other files. >>> >>> > On Jan 21, 2016, at 7:03 AM, vfclists . wrote: >>> > >>> > >>> > I am experiencing a strange issue on my system. It seems that >>> configurations in sofia.conf.xml will not load correctly. >>> > >>> > It is a configuration that contains the entirety of internal.xml and >>> external.xml in the sofia.conf.xml file, bypassing the files on the >>> sip_profiles/external and for some reason it wasn't loading. However when I >>> copy the profile sections for the internal and external profiles into the >>> sip_profiles directory, it works normally. >>> > >>> > Is there some setting that can cause this? >>> > >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Frank Church >> >> ======================= >> http://devblog.brahmancreations.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 > -- 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/20160121/7ca6248b/attachment-0001.html From anthony.minessale at gmail.com Fri Jan 22 08:40:45 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 21 Jan 2016 23:40:45 -0600 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: References: <56A09892.5050500@softnet.si> Message-ID: There are some docs in the works. We could use some help on it. We have a FreeSWITCH Docs channel in hipchat. If you don't already have a JIRA account get one at https://freeswitch.org/jira After about 20 to 40 min after creating an account, or if you already have one, your credentials will get you into hipchat.freeswitch.org Download the client for every device you have at https://www.hipchat.com/downloads The clients have an option somewhere to supply a dedicated server. Use hipchat.freeswitch.org Spread this info to anyone interested in helping with dev. We have many channels. The Live Chat link on our website will trigger the temporary guest access if anyone needs help getting the client working. On Thu, Jan 21, 2016 at 2:50 AM, Giacomo Vacca wrote: > I've found it useful to get insights from the source code: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto > > And in particular an example of usage in the demo folder: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo > > A suggested read is > https://freeswitch.org/confluence/display/FREESWITCH/mod_verto > > which links to the actual demo: > https://webrtc.freeswitch.org/verto/index.html#page-main > > Giacomo > > On 21 January 2016 at 09:46, Giovanni Maruzzelli > wrote: > >> >> >> On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: >> >>> Hi, >>> >>> is the any info regarding javascript library usage for client part? >>> >>> >> Not yet, but you can check how is used by Verto Communicator, or see the >> easier (basic) example implementation described in latest FreeSWITCH >> Cookbok from Packtpub. >> >> -giovanni >> >> >> >>> >>> tnx >>> miha >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 > -- 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/20160121/d8241204/attachment.html From max at nysolutions.com Fri Jan 22 08:42:42 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Fri, 22 Jan 2016 05:42:42 +0000 Subject: [Freeswitch-users] mod_callCenter scalability In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> Message-ID: <975cbb7af6ef411c96a556e9117371d9@nysolutions.com> Just one of each. No limits. 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 Varsha Agarwal Sent: Friday, January 22, 2016 12:19 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] mod_callCenter scalability Hi, Does anyone have any data on how mod_callCenter scales? How many queues, concurrent calls, number of agents can be supported on one instance of FreeSwitch? I looked through the whole documentation but did not find any data. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/21c7f387/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/20160122/21c7f387/attachment.jpg From vagarwal at vertical.com Fri Jan 22 09:12:17 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Fri, 22 Jan 2016 06:12:17 +0000 Subject: [Freeswitch-users] mod_callCenter scalability In-Reply-To: <975cbb7af6ef411c96a556e9117371d9@nysolutions.com> References: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> <975cbb7af6ef411c96a556e9117371d9@nysolutions.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D0233733E4B@SCEX1.vertical.com> If you are setting up a LINUX server, you need to know what kind of configuration will be required to support a certain size of call center. No limit is little un-realistic. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moishe Grunstein Sent: Thursday, January 21, 2016 9:43 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_callCenter scalability Just one of each. No limits. 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 Varsha Agarwal Sent: Friday, January 22, 2016 12:19 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] mod_callCenter scalability Hi, Does anyone have any data on how mod_callCenter scales? How many queues, concurrent calls, number of agents can be supported on one instance of FreeSwitch? I looked through the whole documentation but did not find any data. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/c6b34724/attachment-0001.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/20160122/c6b34724/attachment-0001.jpg From max at nysolutions.com Fri Jan 22 09:36:52 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Fri, 22 Jan 2016 06:36:52 +0000 Subject: [Freeswitch-users] mod_callCenter scalability In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233733E4B@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> <975cbb7af6ef411c96a556e9117371d9@nysolutions.com> <04AB0A185A23864CA9255FD38901F65D0233733E4B@SCEX1.vertical.com> Message-ID: <84c32f1098324fb892daf595a6f711ec@nysolutions.com> Well your hardware and set up may have limits however those limits are not Freeswitch limits. If you need help designing and spec'ing your servers you might want to consult with Freeswitch Solutions. 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 Varsha Agarwal Sent: Friday, January 22, 2016 1:12 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_callCenter scalability If you are setting up a LINUX server, you need to know what kind of configuration will be required to support a certain size of call center. No limit is little un-realistic. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Moishe Grunstein Sent: Thursday, January 21, 2016 9:43 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_callCenter scalability Just one of each. No limits. 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 Varsha Agarwal Sent: Friday, January 22, 2016 12:19 AM To: FreeSWITCH-users at lists.freeswitch.org Subject: [Freeswitch-users] mod_callCenter scalability Hi, Does anyone have any data on how mod_callCenter scales? How many queues, concurrent calls, number of agents can be supported on one instance of FreeSwitch? I looked through the whole documentation but did not find any data. Thanks, Varsha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/db5a09d8/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/20160122/db5a09d8/attachment.jpg From lists at kavun.ch Fri Jan 22 10:34:00 2016 From: lists at kavun.ch (Emrah) Date: Fri, 22 Jan 2016 08:34:00 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> Message-ID: <83C9E9ED-901A-4AFA-A12C-CA7D6B4442B1@kavun.ch> Thanks Giovanni. Using Debian 8 Jessie. I?ll go ahead and restart see where i could have gone wrong. If I find something I?ll put it here. Is there anyone familiar with the error though, and what can cause it? Thanks > On Jan 21, 2016, at 3:36 PM, Giovanni Maruzzelli wrote: > > > > On Thu, Jan 21, 2016 at 12:28 PM, Emrah > wrote: > Yes, except users in the directory, all profiles and modules have their default configs. > > E > >> On Jan 21, 2016, at 2:07 AM, Michael Jerris > wrote: >> >> Configs based on the default configs from 1.6? >> > > > Well, I would start it all anew from scratch. Maybe there was something overlooked... > > Btw, are you aware that the preferred platform is debian 8 jessie, while centos 7 is supported too (and all other distros are unsupported at the moment) ? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/4a4121c1/attachment.html From lists at kavun.ch Fri Jan 22 10:38:50 2016 From: lists at kavun.ch (Emrah) Date: Fri, 22 Jan 2016 08:38:50 +0100 Subject: [Freeswitch-users] mod_verto: Invalid Method, Missing Method or Permission Denied / Error code": -32601 In-Reply-To: <9196F8C5-73E3-4378-8DE6-636D7921CA38@jerris.com> References: <2B0D3DF0-D42D-4CE0-88F4-76F656C0CB04@kavun.ch> <01381288-CD13-4B39-96A5-C092B32EA85B@kavun.ch> <085893DC-F217-4104-B02E-8B29928901A0@kavun.ch> <771416BA-0D05-4389-904A-F9036F06DE24@kavun.ch> <680C6BA5-C80D-4F30-819C-6D18B2576DA8@kavun.ch> <09C6CC4B-253D-4022-B7A5-22336DDBD9E2@kavun.ch> <9196F8C5-73E3-4378-8DE6-636D7921CA38@jerris.com> Message-ID: Michael, I am so very grateful for this. It did it. Thank you very much! I think this should definitely be more prevailing in the documentation. Again thanks a lot! > On Jan 21, 2016, at 6:12 PM, Michael Jerris wrote: > > from the directory default.xml in the default configs: > > > > > > >> On Jan 21, 2016, at 6:28 AM, Emrah > wrote: >> >> Yes, except users in the directory, all profiles and modules have their default configs. >> >> E >>> On Jan 21, 2016, at 2:07 AM, Michael Jerris > wrote: >>> >>> Configs based on the default configs from 1.6? >>> >>>> On Jan 20, 2016, at 7:37 PM, Emrah > wrote: >>>> >>>> One more message to clarify what I sent earlier. >>>> I do have ipv6 bindings in my verto.conf.xml. I forgot to paste the relevant line for that. >>>> I also went hunting for the WSS binding parameter in my sofia.conf.xml and understand things better already. >>>> >>>> To sum up: >>>> I can log in from Verto. But I can?t make calls. >>>>> On Jan 21, 2016, at 1:23 AM, Emrah > wrote: >>>>> >>>>> OK ipv6 isn?t the problem either. Just forced my NIC to ipv4. >>>>>> On Jan 21, 2016, at 12:57 AM, Emrah > wrote: >>>>>> >>>>>> Yes absolutely >>>>>> WSS-BIND-URL sips:mod_sofia at 5.6.7.8:7443;transport=wss >>>>>> This is my WSS binding URL with Sofia. >>>>>> TLS works generally, but it?s the first time I see this port number as far as the WSS binding goes. >>>>>> My verto.conf.xml has this: >>>>>> >>>>>> >>>>>> The only doubt I have is about the chain component in my wss.pem. >>>>>> I?ve tried all the logical options, combining the CA with the issuing certificate, the CA alone, etc? >>>>>> >>>>>> Running out of ideas! >>>>>> >>>>>> Thanks for your inputs guys >>>>>>> On Jan 20, 2016, at 8:47 PM, Giovanni Maruzzelli > wrote: >>>>>>> >>>>>>> Emrah, >>>>>>> >>>>>>> have you installe the certificate and the chain as instructed by Tony? >>>>>>> >>>>>>> Here a couple references: >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#WebRTC-InstallCertificates >>>>>>> >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-Certificates >>>>>>> >>>>>>> On Wed, Jan 20, 2016 at 8:41 PM, Emrah > wrote: >>>>>>> Hi Anthony, >>>>>>> To be sure, I reinstalled my certificates. No improvement. >>>>>>> >>>>>>> I appreciate the suggestions so far. Any recommendation on what to try next? There isn?t enough verbose and I?m not going to be any good in analyzing the code to find out what triggers this error. >>>>>>>> On Jan 20, 2016, at 5:36 PM, Anthony Minessale > wrote: >>>>>>>> >>>>>>>> Try putting the CERT followed by the KEY followed by your issuer's CHAIN CERT into a single text file and install that as wss.pem in the FS certs dir. >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jan 20, 2016 at 1:56 AM, Emrah > wrote: >>>>>>>> Giovanni, >>>>>>>> Yes permission is granted to camera and mike. >>>>>>>> Thanks for the clarification about importing the CA. In this case the CA was both stored on the server and on my client, I didn?t import anything. Reading the doc I had understood that the server also needed to be aware of its own CA, but your explanation makes more sense! >>>>>>>> I think the only grey zone here in my TLS setup is the stuff about the chain certificate. Is this the certificate that was used to sign my key? Is this the CA of my supplier? >>>>>>>> >>>>>>>> I?m really getting nothing out of FS as far as logs are concerned. If you have suggestions on how to make things more talkative I?d be grateful to know about them. >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>>> On Jan 20, 2016, at 12:40 AM, Giovanni Maruzzelli > wrote: >>>>>>>>> >>>>>>>>> have you given permission to browser to use camera and microphone? >>>>>>>>> >>>>>>>>> also, with commercial certificates you don't need to import them. You just put them in the correct places in freeswitch config (pay attention you must concatenate some of them, and chains too), and that's it. Browser automatically accept commercial certificates... >>>>>>>>> >>>>>>>>> On Tue, Jan 19, 2016 at 11:40 PM, Emrah > wrote: >>>>>>>>> Hi all, >>>>>>>>> Looked too easy to be true? I?m all set up with FS and the Verto demo. >>>>>>>>> I use commercial certificates, the cA is already in my distrib, and everything seemed to work well. I can log in from the Verto page? Except when I attempt to make a call, it miserably fails with error code": -32601. >>>>>>>>> I did my Google homework with no luck. Some stuff seem to point to the CA needing to be imported, but not sure where I could have gone wrong there. >>>>>>>>> There is hardly any verbose? But a debug output is here: http://dmn.io/fs-verto-error.txt >>>>>>>>> >>>>>>>>> The error message is: Invalid Method, Missing Method or Permission Denied >>>>>>>>> >>>>>>>>> I?m not sure what to investigate here. Your suggestions are welcome! >>>>>>>>> Running FreeSWITCH Version 1.6.5-11-d5520a6~64bit >>>>>>>>> >>>>>>>>> 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 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/fee7e688/attachment-0001.html From idokan at gmail.com Fri Jan 22 12:42:35 2016 From: idokan at gmail.com (ik) Date: Fri, 22 Jan 2016 11:42:35 +0200 Subject: [Freeswitch-users] the unit for answered_time In-Reply-To: <2606C954-2618-46BC-9970-3120EFD1FAB0@jerris.com> References: <2606C954-2618-46BC-9970-3120EFD1FAB0@jerris.com> Message-ID: Dmann, you are right, thank you On Thu, Jan 21, 2016 at 7:14 PM, Michael Jerris wrote: > maybe check out billsec ? there are quite a number of values available > depending on what exactly you need, try checking the cdr for what values > you actually want and what format they are in. > > > On Jan 21, 2016, at 11:02 AM, ik wrote: > > > > Hello, > > > > I require to calculate on hangup the duration of a call regardless of > the CDR, and do some logic if it's above a range. > > > > I'm placing at the api_hangup_hook a cli parameters that one of them is > answered_time. > > > > I need the data in minutes unit, and the data seems to be a timestamp in > microseconds, but converting it to seconds (e.g. answered_time / 1000000) > provides me a very low range of number, sometimes even less then a > millisecond. > > > > I can't seems to find at the documentation what is the unit for the > answered_time in order to properly convert it to my requirements. > > > > I'm also missing the place at the source code where the data is set to > the variable (here is the grep result (at the src directory): > > > > grep answered_time ./* -R > > ./mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.c: > bson_append_long(&cdr, "answered_time", caller_profile->times->answered); > > ./mod/languages/mod_managed/managed/ChannelVariables.cs: > const string answered_time = "answered_time"; > > ./mod/languages/mod_managed/managed/ChannelVariables.cs: > get { return readUsecsDateTime(answered_time); } > > ./switch_caller.c: if (!strcasecmp(name, "answered_time")) { > > ./switch_core_session.c: > } else if (!strcmp(tag3->name, "answered_time")) { > > ./switch_ivr.c: if (!(time_tag = > switch_xml_add_child_d(x_times, "answered_time", t_off++))) { > > ./switch_ivr.c: cJSON_AddItemToObject(j_times, > "answered_time", cJSON_CreateString(tmp)); > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/f99ef1c2/attachment.html From bote_radio at botecomm.com Fri Jan 22 14:58:01 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 22 Jan 2016 06:58:01 -0500 Subject: [Freeswitch-users] How to transfer call from one extension to another extension ? In-Reply-To: <1453368872045-7596198.post@n2.nabble.com> References: <1453368872045-7596198.post@n2.nabble.com> Message-ID: <018401d1550c$24edfc80$6ec9f580$@botecomm.com> What does the Transfer button do? Bote > -----Original Message----- > From: ankitdoshi > Sent: Thursday, 21 January, 2016 04:35 > Subject: [Freeswitch-users] How to transfer call from one extension to another extension ? > > Hi All, > > Anyone please help me out for transfer a call ? > > let me give you an example : > > i have 3 extension > > 1- caller(1000) > 2- receiver(1001) > 3- transfer(1002) > > I am dialing from 1000 and call is received by 1001 then push transfer > button and press 1002 for transfer but its not going to transfer.I have set > below parameters in sip profile but still its not going to work > 1. manual-redirect=true,2. disable-transfer =false > > Can anyone please help me out for this ? > Any suggestion will be appreciated . > > > > ----- > Thanks > Ankit Doshi > -- > View this message in context: http://freeswitch- > users.2379917.n2.nabble.com/How-to-transfer-call-from-one-extension-to- > another-extension-tp7596198.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > From bote_radio at botecomm.com Fri Jan 22 15:03:25 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 22 Jan 2016 07:03:25 -0500 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: <018501d1550c$e63f1f40$b2bd5dc0$@botecomm.com> Read https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conf erence-EventSocketUse about suppress-events --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Michael Jerris Sent: Thursday, 21 January, 2016 12:05 Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session If you pull up fs_cli and do /events all plain, you should be able to see all the events, and can help nail down exactly what you are looking to match. On Jan 21, 2016, at 1:46 AM, Deepika Yadav wrote: I tried to receive the events in my java program in this way : Code Snippet ESLconnection con = new ESLconnection("127.0.0.1","8021","ClueCon"); event = con.recvEvent(); String eventHeader = event.getHeader("Event-Name",-1); while (con.connected() == 1) { if(eventHeader.equalsIgnoreCase("stop-talking")){ System.out.println("some stopped speaking"+(System.currentTimeMillis() % 1000)); } if(eventHeader.equalsIgnoreCase("start-talking")){ System.out.println("some started speaking at"+ (System.currentTimeMillis() % 1000)); } ..... } I don not receive events when conference members speak although, I receive other events (DTMF, conference_add_member) correctly Please let know the correct way -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/65a0cd8d/attachment.html From fdelawarde at wirelessmundi.com Fri Jan 22 15:22:47 2016 From: fdelawarde at wirelessmundi.com (=?UTF-8?B?RnJhbsOnb2lz?=) Date: Fri, 22 Jan 2016 13:22:47 +0100 Subject: [Freeswitch-users] Linux clocksource TSC vs HPET Message-ID: <56A21F17.7090509@wirelessmundi.com> Hi all, I'm trying to find a solution for an "RT throttling" issue under relatively high load (20cps) on linux 3.10 and CPU Xeon E5-1650v2 (6cores). A similar jira ticket FS-8620 has a recommendation to set the clocksource to "hpet": echo hpet > /sys/devices/system/clocksource/clocksource0/current_clocksource I read somewhere that the default clocksource (TSC) is lighter in CPU usage because it only requires reading a register that is synchronized across all cores... Considering FreeSWITCH needs: -> Is HPET recommended over the default "TSC" clock? -> Does a change in clocksource have immediate effects or does it require an FS restart/reboot? -> Also, is it recommended to disable RT-throttling to resolve these types of issues? echo -1 >/proc/sys/kernel/sched_rt_runtime_us echo -1 >/proc/sys/kernel/sched_rt_period_us Thanks, Fran?ois. From miha at softnet.si Fri Jan 22 15:38:22 2016 From: miha at softnet.si (Miha) Date: Fri, 22 Jan 2016 13:38:22 +0100 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: References: <56A09892.5050500@softnet.si> Message-ID: <56A222BE.9010101@softnet.si> thx Anthony. Will do that... br miha On 22/01/2016 06:40, Anthony Minessale wrote: > There are some docs in the works. We could use some help on it. > We have a FreeSWITCH Docs channel in hipchat. > > If you don't already have a JIRA account get one at > https://freeswitch.org/jira > > After about 20 to 40 min after creating an account, or if you already > have one, your credentials will get you into hipchat.freeswitch.org > > Download the client for every device you have at > https://www.hipchat.com/downloads > The clients have an option somewhere to supply a dedicated server. > Use hipchat.freeswitch.org > > Spread this info to anyone interested in helping with dev. We have > many channels. > The Live Chat link on our website will trigger the temporary guest > access if anyone needs help getting the client working. > > > > > > > On Thu, Jan 21, 2016 at 2:50 AM, Giacomo Vacca > > wrote: > > I've found it useful to get insights from the source code: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto > > And in particular an example of usage in the demo folder: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo > > A suggested read is > https://freeswitch.org/confluence/display/FREESWITCH/mod_verto > > which links to the actual demo: > https://webrtc.freeswitch.org/verto/index.html#page-main > > Giacomo > > On 21 January 2016 at 09:46, Giovanni Maruzzelli > > wrote: > > > > On Thu, Jan 21, 2016 at 9:36 AM, Miha > wrote: > > Hi, > > is the any info regarding javascript library usage for > client part? > > > Not yet, but you can check how is used by Verto Communicator, > or see the easier (basic) example implementation described in > latest FreeSWITCH Cookbok from Packtpub. > > -giovanni > > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > > > > -- > 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/b1327256/attachment-0001.html From miha at softnet.si Fri Jan 22 15:38:37 2016 From: miha at softnet.si (Miha) Date: Fri, 22 Jan 2016 13:38:37 +0100 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: References: <56A09892.5050500@softnet.si> Message-ID: <56A222CD.7010907@softnet.si> OK. tnx Will take a look in it. On 21/01/2016 09:50, Giacomo Vacca wrote: > I've found it useful to get insights from the source code: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto > > And in particular an example of usage in the demo folder: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo > > A suggested read is > https://freeswitch.org/confluence/display/FREESWITCH/mod_verto > > which links to the actual demo: > https://webrtc.freeswitch.org/verto/index.html#page-main > > Giacomo > > On 21 January 2016 at 09:46, Giovanni Maruzzelli > wrote: > > > > On Thu, Jan 21, 2016 at 9:36 AM, Miha > wrote: > > Hi, > > is the any info regarding javascript library usage for client > part? > > > Not yet, but you can check how is used by Verto Communicator, or > see the easier (basic) example implementation described in latest > FreeSWITCH Cookbok from Packtpub. > > -giovanni > > > tnx > miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/69699b68/attachment.html From john.nash778 at gmail.com Fri Jan 22 16:34:33 2016 From: john.nash778 at gmail.com (John Nash) Date: Fri, 22 Jan 2016 19:04:33 +0530 Subject: [Freeswitch-users] Identify billable calls In-Reply-To: References: Message-ID: OK.. so if a cdr has billsec=0 but billmsec=30(lets say) it will not be logged by cdr csv module but will be logged in xml cdr? On Fri, Jan 22, 2016 at 9:46 AM, Stanislav Sinyagin wrote: > there are also two additional variables at the closure of a channel: > billmsec (milliseconds) and billusec (microseconds). > > They may not be present in CSV CDR, so you need to choose some other > CDR format: for example, XML CDR delivers all available variables. > Also you can catch the channel closing event via ESL and queue it for > further processing in real time. > > > > On Fri, Jan 22, 2016 at 5:01 AM, John Nash wrote: > > I am already filtering when importing these calls to mysql on the > criteria > > where billsec>0. My question is will I miss some of the connected calls > > which were connected for less than 1 second and may be freeswitch is > > rounding up to 0. > > > > On Fri, Jan 22, 2016 at 9:24 AM, Sergey Safarov > wrote: > >> > >> Use grep command with regex to filter not answered calls. > >> > >> > >> On Fri, Jan 22, 2016, 06:50 John Nash wrote: > >>> > >>> I am using bridge application to connect to carrier gateways and using > >>> CDR csv module for billing. > >>> > >>> In my logic I am only billing calls which have billsec>0 now I wonder > if > >>> this is correct way to find what calls are connected I mean may be some > >>> calls I am ignoring which were connected for less than 1 second?..Is > that > >>> possible?...what is the sure shot way to filter connected calls? > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/2ff7237d/attachment-0001.html From josefu at gmail.com Fri Jan 22 19:46:11 2016 From: josefu at gmail.com (=?UTF-8?Q?Jose_Fco=2E_Irles_Dur=C3=A1?=) Date: Fri, 22 Jan 2016 17:46:11 +0100 Subject: [Freeswitch-users] Possible performance problem Message-ID: Hi, I have a FreeSWITCH (1.4.26) for click2call call center application in production. Some times, I have detected some delay on bridge operations (captured with tcpdump): 1. originate call to softphone and softphone answers 2. deflect call 3. bridge to a gateway in the step 3, some times (I suspect in peak hours) when the FreeSWITCH receives de 200 OK from the upstream gateway when de called party answers, it delays until 3 seconds to send the 200 OK to the softphone leg. How I can debug if it is a performance problem? The system is a lxc container on top of drbd disk. On peak hours the system has around 60 concurrent calls The calls are recorded in ram disk The FreeSWITCH is connected to localhost postgresql database for its core db. Best regards From krice at freeswitch.org Fri Jan 22 19:50:01 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 22 Jan 2016 10:50:01 -0600 Subject: [Freeswitch-users] Possible performance problem In-Reply-To: References: Message-ID: <17f101d15534$efebe690$cfc3b3b0$@freeswitch.org> Debugging something like this can be a time intensive thing. You might want to contact consulting at freeswitch.org and get one of the experts to help you out to minimize your business impact -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jose Fco. Irles Dur? Sent: Friday, January 22, 2016 10:46 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Possible performance problem Hi, I have a FreeSWITCH (1.4.26) for click2call call center application in production. Some times, I have detected some delay on bridge operations (captured with tcpdump): 1. originate call to softphone and softphone answers 2. deflect call 3. bridge to a gateway in the step 3, some times (I suspect in peak hours) when the FreeSWITCH receives de 200 OK from the upstream gateway when de called party answers, it delays until 3 seconds to send the 200 OK to the softphone leg. How I can debug if it is a performance problem? The system is a lxc container on top of drbd disk. On peak hours the system has around 60 concurrent calls The calls are recorded in ram disk The FreeSWITCH is connected to localhost postgresql database for its core db. Best 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 From anthony.minessale at gmail.com Fri Jan 22 19:55:49 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 22 Jan 2016 10:55:49 -0600 Subject: [Freeswitch-users] Linux clocksource TSC vs HPET In-Reply-To: <56A21F17.7090509@wirelessmundi.com> References: <56A21F17.7090509@wirelessmundi.com> Message-ID: These things mainly come up when someone is trying to overload a system or drag more out of it. If its already working, there is no need to mess with the clock source. HPET is for sure more accurate and can come in handy when doing heavy load because, yes, it uses the cpu but it does so from the kernel which has priority, You want timing to always have priority. If you are triggering real time throttling issues, you are probably pushing the box pretty hard. This is considered very advanced tuning and we don't really endorse it for community level support. Consider contacting consulting at freeswitch.org for advanced support. On Fri, Jan 22, 2016 at 6:22 AM, Fran?ois wrote: > Hi all, > > I'm trying to find a solution for an "RT throttling" issue under > relatively high load (20cps) on linux 3.10 and CPU Xeon E5-1650v2 > (6cores). A similar jira ticket FS-8620 has a recommendation to set the > clocksource to "hpet": > > echo hpet > > /sys/devices/system/clocksource/clocksource0/current_clocksource > > I read somewhere that the default clocksource (TSC) is lighter in CPU > usage because it only requires reading a register that is synchronized > across all cores... > > Considering FreeSWITCH needs: > > -> Is HPET recommended over the default "TSC" clock? > > -> Does a change in clocksource have immediate effects or does it > require an FS restart/reboot? > > -> Also, is it recommended to disable RT-throttling to resolve these > types of issues? > > echo -1 >/proc/sys/kernel/sched_rt_runtime_us > echo -1 >/proc/sys/kernel/sched_rt_period_us > > Thanks, > Fran?ois. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/be24634e/attachment.html From denis at ringme.ru Fri Jan 22 20:05:33 2016 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Fri, 22 Jan 2016 20:05:33 +0300 Subject: [Freeswitch-users] faxes send bad Message-ID: <56A2615D.5040101@ringme.ru> Hello. We want migrate from asterisk to FS and now we need stable faxing, but with aster - 90% faxes success, with FS - only 20%. disable_v17=true is set, but usually we got Disconnected after permitted retries What i can tune and how? bad: https://pastebin.freeswitch.org/24532 success transmit: https://pastebin.freeswitch.org/24533 From gmaruzz at gmail.com Fri Jan 22 20:18:21 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Fri, 22 Jan 2016 18:18:21 +0100 Subject: [Freeswitch-users] faxes send bad In-Reply-To: <56A2615D.5040101@ringme.ru> References: <56A2615D.5040101@ringme.ru> Message-ID: Disable ecc. Also, are you using a provider that supports t38? Check that, and use t38. On Jan 22, 2016 6:05 PM, "?????" wrote: > Hello. > > We want migrate from asterisk to FS and now we need stable faxing, but > with aster - 90% faxes success, with FS - only 20%. > disable_v17=true is set, but usually we got Disconnected after permitted > retries > What i can tune and how? > bad: https://pastebin.freeswitch.org/24532 > success transmit: https://pastebin.freeswitch.org/24533 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/92d95f5c/attachment.html From gmaruzz at gmail.com Fri Jan 22 20:21:55 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Fri, 22 Jan 2016 18:21:55 +0100 Subject: [Freeswitch-users] faxes send bad In-Reply-To: References: <56A2615D.5040101@ringme.ru> Message-ID: Also, after remote answer sleep or send silence a couple seconds, only then start txfax On Jan 22, 2016 6:18 PM, "Giovanni Maruzzelli" wrote: > Disable ecc. > > Also, are you using a provider that supports t38? Check that, and use t38. > On Jan 22, 2016 6:05 PM, "?????" wrote: > >> Hello. >> >> We want migrate from asterisk to FS and now we need stable faxing, but >> with aster - 90% faxes success, with FS - only 20%. >> disable_v17=true is set, but usually we got Disconnected after permitted >> retries >> What i can tune and how? >> bad: https://pastebin.freeswitch.org/24532 >> success transmit: https://pastebin.freeswitch.org/24533 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160122/885d1632/attachment-0001.html From fdelawarde at wirelessmundi.com Fri Jan 22 20:42:51 2016 From: fdelawarde at wirelessmundi.com (=?UTF-8?B?RnJhbsOnb2lz?=) Date: Fri, 22 Jan 2016 18:42:51 +0100 Subject: [Freeswitch-users] Linux clocksource TSC vs HPET In-Reply-To: References: <56A21F17.7090509@wirelessmundi.com> Message-ID: <56A26A1B.4050305@wirelessmundi.com> Thanks for the info, i guess i'd better not change any of the defaults if it's working most of the times (except maybe HPET)! I thought things like that could help. A couple of times a day during a minute or so, new channels hang between ROUTING to EXECUTE state (the rest works perfectly), and I can see this "RT Throttle" issue in dmesg. Strange thing is that the average load is pretty low (<10% cpu_usage, and <3 cpu_load on avg). I'd better try to find and fix the cause of this than mess with kernel settings! Fran?ois. On 2016-01-22 17:55, Anthony Minessale wrote: > These things mainly come up when someone is trying to overload a > system or drag more out of it. > If its already working, there is no need to mess with the clock source. > HPET is for sure more accurate and can come in handy when doing heavy > load because, yes, it uses the cpu but it does so from the kernel > which has priority, You want timing to always have priority. > If you are triggering real time throttling issues, you are probably > pushing the box pretty hard. This is considered very advanced tuning > and we don't really endorse it for community level support. > > Consider contacting consulting at freeswitch.org > for advanced support. > > > > > > > On Fri, Jan 22, 2016 at 6:22 AM, Fran?ois > > > wrote: > > Hi all, > > I'm trying to find a solution for an "RT throttling" issue under > relatively high load (20cps) on linux 3.10 and CPU Xeon E5-1650v2 > (6cores). A similar jira ticket FS-8620 has a recommendation to > set the > clocksource to "hpet": > > echo hpet > > /sys/devices/system/clocksource/clocksource0/current_clocksource > > I read somewhere that the default clocksource (TSC) is lighter in CPU > usage because it only requires reading a register that is synchronized > across all cores... > > Considering FreeSWITCH needs: > > -> Is HPET recommended over the default "TSC" clock? > > -> Does a change in clocksource have immediate effects or does it > require an FS restart/reboot? > > -> Also, is it recommended to disable RT-throttling to resolve these > types of issues? > > echo -1 >/proc/sys/kernel/sched_rt_runtime_us > echo -1 >/proc/sys/kernel/sched_rt_period_us > > Thanks, > Fran?ois. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/255ebd51/attachment.html From mario_fs at mgtech.com Fri Jan 22 21:38:25 2016 From: mario_fs at mgtech.com (Mario G) Date: Fri, 22 Jan 2016 10:38:25 -0800 Subject: [Freeswitch-users] Puzzling DTMF problem Message-ID: Called an automated system. The first couple of prompts work (press 1 for english, etc.). Then DTMF is not recognized. For a few places I notice none of the DTMF is recognized. But it?s really a puzzle when it?s partial for a the same called number. I always thought RFC2833 is what should be set. Any thoughts? Mario G From chad at apartmentlines.com Fri Jan 22 22:41:05 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 22 Jan 2016 12:41:05 -0700 Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua scripting toolkit Message-ID: Looking for folks in the FreeSWITCH community who would be interested in collaborating on an open source scripting toolkit I've written for FreeSWITCH/Lua. The basic idea is to have ready made solutions to common scripting needs, so as not to reinvent the wheel. The original project was written in 2010. A lot of it still works great, and there are some design flaws that I'd like to work out in the next release. Project code is here: https://github.com/thehunmonkgroup/jester Some background and reasoning for the project here: http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ If anyone is interested in helping, please let me know! Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/ca68c11c/attachment.html From nhall at unixlan.com.ar Fri Jan 22 22:54:58 2016 From: nhall at unixlan.com.ar (Normando Hall) Date: Fri, 22 Jan 2016 16:54:58 -0300 Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: Message-ID: <56A28912.8090703@unixlan.com.ar> Very nice Chad. Thanks for shared!! I am not a LUA coder, so I can't help, sorry. Normando El 22/01/2016 a las 04:41 p.m., Chad Phillips escribi?: > Looking for folks in the FreeSWITCH community who would be interested > in collaborating on an open source scripting toolkit I've written for > FreeSWITCH/Lua. The basic idea is to have ready made solutions to > common scripting needs, so as not to reinvent the wheel. > > The original project was written in 2010. A lot of it still works > great, and there are some design flaws that I'd like to work out in > the next release. > > Project code is here: https://github.com/thehunmonkgroup/jester > > Some background and reasoning for the project here: > http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ > > If anyone is interested in helping, please let me know! > > Chad > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160122/438cdf36/attachment-0001.html From bote_radio at botecomm.com Sat Jan 23 00:00:35 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 22 Jan 2016 16:00:35 -0500 Subject: [Freeswitch-users] Puzzling DTMF problem In-Reply-To: References: Message-ID: <00a101d15557$f0cf7ae0$d26e70a0$@botecomm.com> This sounds suspiciously like the DTMF trouble discussed on this very list last week or so, no? What was the conclusion then? Bote > -----Original Message----- > From: Mario G > Sent: Friday, 22 January, 2016 13:38 > Subject: [Freeswitch-users] Puzzling DTMF problem > > Called an automated system. The first couple of prompts work (press 1 for > english, etc.). Then DTMF is not recognized. For a few places I notice none of > the DTMF is recognized. But it?s really a puzzle when it?s partial for a the same > called number. I always thought RFC2833 is what should be set. Any > thoughts? > Mario G From bote_radio at botecomm.com Sat Jan 23 00:16:19 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 22 Jan 2016 16:16:19 -0500 Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: Message-ID: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Hey Chad, long time no chat J I saw your update to the Help section of the Confluence page concerning this and glanced at some things there. I guess I don?t even know enough to understand the difference between using your toolkit and just plain writing a Lua script. Would I, for example, write an abbreviated Lua script that calls tested and proven functions in your toolkit, sort of like a library? Anyway it sounds useful, so thanks. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Chad Phillips Sent: Friday, 22 January, 2016 14:41 Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua scripting toolkit Looking for folks in the FreeSWITCH community who would be interested in collaborating on an open source scripting toolkit I've written for FreeSWITCH/Lua. The basic idea is to have ready made solutions to common scripting needs, so as not to reinvent the wheel. The original project was written in 2010. A lot of it still works great, and there are some design flaws that I'd like to work out in the next release. Project code is here: https://github.com/thehunmonkgroup/jester Some background and reasoning for the project here: http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ If anyone is interested in helping, please let me know! Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/dae9b02e/attachment.html From mario_fs at mgtech.com Sat Jan 23 00:49:42 2016 From: mario_fs at mgtech.com (Mario G) Date: Fri, 22 Jan 2016 13:49:42 -0800 Subject: [Freeswitch-users] Puzzling DTMF problem In-Reply-To: <00a101d15557$f0cf7ae0$d26e70a0$@botecomm.com> References: <00a101d15557$f0cf7ae0$d26e70a0$@botecomm.com> Message-ID: Unless I am mistaken the person last week had a dial plan error which is not my case. I just went to 1.6.6 to see if it was solved but no luck. I am still baffled why a auto attendant would work at the beginning then completely stop working. I can reproduce it every time. I wonder if the other end ?transfers? to a different AA. Either way I wish I could get DTMF to work all the time. Mario G > On Jan 22, 2016, at 1:00 PM, Bote Man wrote: > > This sounds suspiciously like the DTMF trouble discussed on this very list last week or so, no? > > What was the conclusion then? > > Bote > > >> -----Original Message----- >> From: Mario G >> Sent: Friday, 22 January, 2016 13:38 >> Subject: [Freeswitch-users] Puzzling DTMF problem >> >> Called an automated system. The first couple of prompts work (press 1 for >> english, etc.). Then DTMF is not recognized. For a few places I notice none of >> the DTMF is recognized. But it?s really a puzzle when it?s partial for a the same >> called number. I always thought RFC2833 is what should be set. Any >> thoughts? >> Mario G > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 italo at freeswitch.org Sat Jan 23 01:15:08 2016 From: italo at freeswitch.org (=?utf-8?Q?=C3=8Dtalo_Rossi?=) Date: Fri, 22 Jan 2016 19:15:08 -0300 Subject: [Freeswitch-users] mod_callCenter scalability In-Reply-To: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> References: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> Message-ID: Hi Varsha, > On 22 de jan de 2016, at 02:18, Varsha Agarwal wrote: > > Hi, > > Does anyone have any data on how mod_callCenter scales? How many queues, concurrent calls, number of agents can be supported on one instance of FreeSwitch? I looked through the whole documentation but did not find any data. I have a scenario running more than 150 queues, and 100 agents simultaneously (300+ agents in total). We process more than 10k calls per day between 0600am and 1800pm, sometimes we have more than 150 members waiting in the queue plus 90+ callers talking to agents. The server has a Xeon(R) CPU E5-2603 (4 cores 4 threads 1.8Ghz) 8GB RAM, two 500GB 7200 SATA disks. We?re also running our application stack for reporting and call control. We rarely stay above 50% of CPU, the backend database is mariadb through odbc (we?re migrating to postgresql due to better locking and other reasons...). As others said, it?ll be also dependant to your hardware and environment, do your load testing (sipp or switchy) and see where is your bottleneck. Hope this helps! > > Thanks, > Varsha > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 italo at freeswitch.org Sat Jan 23 01:17:18 2016 From: italo at freeswitch.org (=?windows-1252?Q?=CDtalo_Rossi?=) Date: Fri, 22 Jan 2016 19:17:18 -0300 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: <56A222CD.7010907@softnet.si> References: <56A09892.5050500@softnet.si> <56A222CD.7010907@softnet.si> Message-ID: <9DD35421-D135-4C73-8E04-0398D47450C7@freeswitch.org> We also did http://evoluxbr.github.io/verto-docs/ > On 22 de jan de 2016, at 09:38, Miha wrote: > > OK. tnx > > Will take a look in it. > > On 21/01/2016 09:50, Giacomo Vacca wrote: >> I've found it useful to get insights from the source code: >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto >> >> And in particular an example of usage in the demo folder: >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo >> >> A suggested read is >> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >> >> which links to the actual demo: >> https://webrtc.freeswitch.org/verto/index.html#page-main >> >> Giacomo >> >> On 21 January 2016 at 09:46, Giovanni Maruzzelli wrote: >> >> >> On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: >> Hi, >> >> is the any info regarding javascript library usage for client part? >> >> >> Not yet, but you can check how is used by Verto Communicator, or see the easier (basic) example implementation described in latest FreeSWITCH Cookbok from Packtpub. >> >> -giovanni >> >> >> >> tnx >> miha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 From vagarwal at vertical.com Sat Jan 23 01:23:39 2016 From: vagarwal at vertical.com (Varsha Agarwal) Date: Fri, 22 Jan 2016 22:23:39 +0000 Subject: [Freeswitch-users] mod_callCenter scalability In-Reply-To: References: <04AB0A185A23864CA9255FD38901F65D0233733D81@SCEX1.vertical.com> Message-ID: <04AB0A185A23864CA9255FD38901F65D02337347FF@SCEX1.vertical.com> Thanks a lot for your feedback. That helps a lot. We are going to use this FreeSwitch instance merely for call queueing and routing. We have a main PBX that is going to handle all the incoming calls, phones are going to be registered to this PBX, it is going to handle Voicemail, IVR etc. Calls just come to Freeswitch to place in the queue and get routed to an available agent. This is should pretty light weight right? We are going to setup load testing environment, just wanted to get a starting point from someone's experience. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ?talo Rossi Sent: Friday, January 22, 2016 2:15 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_callCenter scalability Hi Varsha, > On 22 de jan de 2016, at 02:18, Varsha Agarwal wrote: > > Hi, > > Does anyone have any data on how mod_callCenter scales? How many queues, concurrent calls, number of agents can be supported on one instance of FreeSwitch? I looked through the whole documentation but did not find any data. I have a scenario running more than 150 queues, and 100 agents simultaneously (300+ agents in total). We process more than 10k calls per day between 0600am and 1800pm, sometimes we have more than 150 members waiting in the queue plus 90+ callers talking to agents. The server has a Xeon(R) CPU E5-2603 (4 cores 4 threads 1.8Ghz) 8GB RAM, two 500GB 7200 SATA disks. We?re also running our application stack for reporting and call control. We rarely stay above 50% of CPU, the backend database is mariadb through odbc (we?re migrating to postgresql due to better locking and other reasons...). As others said, it?ll be also dependant to your hardware and environment, do your load testing (sipp or switchy) and see where is your bottleneck. Hope this helps! > > Thanks, > Varsha > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 william at williamcollsassoc.ca Sat Jan 23 02:03:44 2016 From: william at williamcollsassoc.ca (William Colls) Date: Fri, 22 Jan 2016 18:03:44 -0500 Subject: [Freeswitch-users] Learning FreeSWITCH - Can't call into test installation Message-ID: <56A2B550.2020108@williamcollsassoc.ca> I am new to freeSWITCH, and working trough the examples from the FreeSWITCH (1.2) Book. I have the system built, and running, and everything looks OK. The system registers with my VoIP provider (voip.ms), an IP phone registers with FreeSWITCH, and I can call out to the POTS. However, when I try to call into the IP phone, I can see the incoming call information at fs_cli, but it instantly hangs up, and never goes through to the intended destination set up in dialplan/public/01_voipms.xml. The message that I get is [NOTICE] switch_core_state_machine.c:315 sofia/external/613XXXXXXX at 158.85.70.XXX has executed the last dialplan instruction, hanging up Appreciate any pointers as to what/where I should be looking for the problem. Thanks for your time. William. From john.nash778 at gmail.com Sat Jan 23 07:43:36 2016 From: john.nash778 at gmail.com (John Nash) Date: Sat, 23 Jan 2016 10:13:36 +0530 Subject: [Freeswitch-users] Identify billable calls In-Reply-To: References: Message-ID: Will XML CDR record CDR more accurately?...coz I see some 1 second calls billed to us from carriers but in freeswitch we do not see in our logs. Is mod CDR csv wrong choice? On Fri, Jan 22, 2016 at 9:46 AM, Stanislav Sinyagin wrote: > there are also two additional variables at the closure of a channel: > billmsec (milliseconds) and billusec (microseconds). > > They may not be present in CSV CDR, so you need to choose some other > CDR format: for example, XML CDR delivers all available variables. > Also you can catch the channel closing event via ESL and queue it for > further processing in real time. > > > > On Fri, Jan 22, 2016 at 5:01 AM, John Nash wrote: > > I am already filtering when importing these calls to mysql on the > criteria > > where billsec>0. My question is will I miss some of the connected calls > > which were connected for less than 1 second and may be freeswitch is > > rounding up to 0. > > > > On Fri, Jan 22, 2016 at 9:24 AM, Sergey Safarov > wrote: > >> > >> Use grep command with regex to filter not answered calls. > >> > >> > >> On Fri, Jan 22, 2016, 06:50 John Nash wrote: > >>> > >>> I am using bridge application to connect to carrier gateways and using > >>> CDR csv module for billing. > >>> > >>> In my logic I am only billing calls which have billsec>0 now I wonder > if > >>> this is correct way to find what calls are connected I mean may be some > >>> calls I am ignoring which were connected for less than 1 second?..Is > that > >>> possible?...what is the sure shot way to filter connected calls? > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160123/1f0cf3ab/attachment.html From jurij.ivo at gmail.com Sat Jan 23 09:35:59 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Sat, 23 Jan 2016 08:35:59 +0200 Subject: [Freeswitch-users] Learning FreeSWITCH - Can't call into test installation In-Reply-To: <56A2B550.2020108@williamcollsassoc.ca> References: <56A2B550.2020108@williamcollsassoc.ca> Message-ID: Hi William, Please send your dial plan to mailing and I will take a look. With kind regards, Jurijs On Saturday, 23 January 2016, William Colls wrote: > I am new to freeSWITCH, and working trough the examples from the > FreeSWITCH (1.2) Book. > > I have the system built, and running, and everything looks OK. The > system registers with my VoIP provider (voip.ms), an IP phone registers > with FreeSWITCH, and I can call out to the POTS. However, when I try to > call into the IP phone, I can see the incoming call information at > fs_cli, but it instantly hangs up, and never goes through to the > intended destination set up in dialplan/public/01_voipms.xml. The > message that I get is > > [NOTICE] switch_core_state_machine.c:315 > sofia/external/613XXXXXXX at 158.85.70.XXX has executed the last dialplan > instruction, hanging up > > Appreciate any pointers as to what/where I should be looking for the > problem. > > Thanks for your time. > > William. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160123/ca00164c/attachment-0001.html From jurij.ivo at gmail.com Sat Jan 23 09:57:42 2016 From: jurij.ivo at gmail.com (Jurijs Ivolga) Date: Sat, 23 Jan 2016 08:57:42 +0200 Subject: [Freeswitch-users] Puzzling DTMF problem In-Reply-To: References: <00a101d15557$f0cf7ae0$d26e70a0$@botecomm.com> Message-ID: Hi Mario, If I understood correctly this is your case: VoIP phone ---> freeswitch-----> Voip provider ----> destination In this case first you need to eliminate all other possible root causes, before blaming freeswitch. 1) Have you tried to call destination number from your mobile and have you checked if same issue exist when you are calling from mobile? 2) Have you tried to call through other VoIP provider to same number? 3) Maybe you should try different VoIP phone? Personally I experienced similar issue some time ago and as far as I remember issue was on destination side, so I called destination from my mobile phone and then I experienced same behavior, what means that issue is on destination side. I hope this will helps. With kind regards, Jurijs On Friday, 22 January 2016, Mario G wrote: > Unless I am mistaken the person last week had a dial plan error which is > not my case. I just went to 1.6.6 to see if it was solved but no luck. I am > still baffled why a auto attendant would work at the beginning then > completely stop working. I can reproduce it every time. I wonder if the > other end ?transfers? to a different AA. Either way I wish I could get DTMF > to work all the time. > Mario G > > > On Jan 22, 2016, at 1:00 PM, Bote Man > wrote: > > > > This sounds suspiciously like the DTMF trouble discussed on this very > list last week or so, no? > > > > What was the conclusion then? > > > > Bote > > > > > >> -----Original Message----- > >> From: Mario G > >> Sent: Friday, 22 January, 2016 13:38 > >> Subject: [Freeswitch-users] Puzzling DTMF problem > >> > >> Called an automated system. The first couple of prompts work (press 1 > for > >> english, etc.). Then DTMF is not recognized. For a few places I notice > none of > >> the DTMF is recognized. But it?s really a puzzle when it?s partial for > a the same > >> called number. I always thought RFC2833 is what should be set. Any > >> thoughts? > >> Mario G > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160123/cc23f7ce/attachment.html From jude.mukundane at gmail.com Sat Jan 23 13:09:19 2016 From: jude.mukundane at gmail.com (Jude Mukundane) Date: Sat, 23 Jan 2016 10:09:19 +0000 Subject: [Freeswitch-users] Puzzling DTMF problem In-Reply-To: References: <00a101d15557$f0cf7ae0$d26e70a0$@botecomm.com> Message-ID: In Uganda, I had to switch providers. I was being driven crazy by partial DTMF recognition, until one time by hazard I was listening to the call while punching some digits. I realized with one providers the tones were really flat with a "pep" kind of sound as opposed to other telcos. I believe some providers degrade the quality of the call, including DTMF, past their switches making unusable downstream. Jude On Sat, Jan 23, 2016 at 6:57 AM, Jurijs Ivolga wrote: > Hi Mario, > > If I understood correctly this is your case: > > VoIP phone ---> freeswitch-----> Voip provider ----> destination > > In this case first you need to eliminate all other possible root causes, > before blaming freeswitch. > > 1) Have you tried to call destination number from your mobile and have you > checked if same issue exist when you are calling from mobile? > > 2) Have you tried to call through other VoIP provider to same number? > > 3) Maybe you should try different VoIP phone? > > Personally I experienced similar issue some time ago and as far as I > remember issue was on destination side, so I called destination from my > mobile phone and then I experienced same behavior, what means that issue is > on destination side. > > I hope this will helps. > > With kind regards, > > Jurijs > > On Friday, 22 January 2016, Mario G wrote: > >> Unless I am mistaken the person last week had a dial plan error which is >> not my case. I just went to 1.6.6 to see if it was solved but no luck. I am >> still baffled why a auto attendant would work at the beginning then >> completely stop working. I can reproduce it every time. I wonder if the >> other end ?transfers? to a different AA. Either way I wish I could get DTMF >> to work all the time. >> Mario G >> >> > On Jan 22, 2016, at 1:00 PM, Bote Man wrote: >> > >> > This sounds suspiciously like the DTMF trouble discussed on this very >> list last week or so, no? >> > >> > What was the conclusion then? >> > >> > Bote >> > >> > >> >> -----Original Message----- >> >> From: Mario G >> >> Sent: Friday, 22 January, 2016 13:38 >> >> Subject: [Freeswitch-users] Puzzling DTMF problem >> >> >> >> Called an automated system. The first couple of prompts work (press 1 >> for >> >> english, etc.). Then DTMF is not recognized. For a few places I notice >> none of >> >> the DTMF is recognized. But it?s really a puzzle when it?s partial for >> a the same >> >> called number. I always thought RFC2833 is what should be set. Any >> >> thoughts? >> >> Mario G >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160123/58be40c7/attachment.html From talk at voxbox.io Sat Jan 23 14:10:02 2016 From: talk at voxbox.io (Voxbox.io) Date: Sat, 23 Jan 2016 12:10:02 +0100 Subject: [Freeswitch-users] Learning FreeSWITCH - Can't call into test installation In-Reply-To: References: <56A2B550.2020108@williamcollsassoc.ca> Message-ID: Hi William, as you are looking at fs_cli console, I suggest you to enable maximum logging to potential identify the problem, The debug log will show you any match on the dialplan and if your rules are validated or not, so after typing fs_cli use this command console loglevel 7 And maybe you will find immediately the problem. Cheers Max On 23 January 2016 at 07:35, Jurijs Ivolga wrote: > Hi William, > > Please send your dial plan to mailing and I will take a look. > > With kind regards, > > Jurijs > > > On Saturday, 23 January 2016, William Colls > wrote: > >> I am new to freeSWITCH, and working trough the examples from the >> FreeSWITCH (1.2) Book. >> >> I have the system built, and running, and everything looks OK. The >> system registers with my VoIP provider (voip.ms), an IP phone registers >> with FreeSWITCH, and I can call out to the POTS. However, when I try to >> call into the IP phone, I can see the incoming call information at >> fs_cli, but it instantly hangs up, and never goes through to the >> intended destination set up in dialplan/public/01_voipms.xml. The >> message that I get is >> >> [NOTICE] switch_core_state_machine.c:315 >> sofia/external/613XXXXXXX at 158.85.70.XXX has executed the last dialplan >> instruction, hanging up >> >> Appreciate any pointers as to what/where I should be looking for the >> problem. >> >> Thanks for your time. >> >> William. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160123/f9202377/attachment-0001.html From fernando at softov.com.br Sun Jan 24 00:03:50 2016 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Sat, 23 Jan 2016 18:03:50 -0300 Subject: [Freeswitch-users] Profile won't start after stop, doesn't properly release IP/Port Message-ID: Hi all, i'm trying to do a stop then a start in a profile. After profile stop, the IP/Port doesn't release I Google it and found this JIRA https://freeswitch.org/jira/browse/FS-6603 But this is when i'm making a unload mod_sofia, the port release So, only after this i can start the profile I'm using FreeBRS, and in my other programs I use SO_REUSEPORT There is a function (su_setreuseaddr) in libs/sofia-sip/libsofia-sip-ua/su/su.c where i found a #define SO_REUSEPORT My question is, there a correct place to define SO_REUSEPORT, or i just add it to make of the system and the SO_REUSEPORT will work? Or this isn't related with the fact that the port isn't released by the module when i make a stop? If not, how can i make to stop and start profile without problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160123/5988a3ff/attachment.html From steveu at coppice.org Sun Jan 24 10:00:14 2016 From: steveu at coppice.org (Steve Underwood) Date: Sun, 24 Jan 2016 15:00:14 +0800 Subject: [Freeswitch-users] faxes send bad In-Reply-To: <56A2615D.5040101@ringme.ru> References: <56A2615D.5040101@ringme.ru> Message-ID: <56A4767E.6050309@coppice.org> On 01/23/2016 01:05 AM, ????? wrote: > Hello. > > We want migrate from asterisk to FS and now we need stable faxing, but > with aster - 90% faxes success, with FS - only 20%. > disable_v17=true is set, but usually we got Disconnected after permitted > retries > What i can tune and how? > bad: https://pastebin.freeswitch.org/24532 > success transmit: https://pastebin.freeswitch.org/24533 > Try the latest code in the git repository. I found something not complying with the T.30 spec in recent versions of spandsp, which limited the amount of time the two ends of a fax call have to sync up. It would make very little difference to most people, but if you have a lot of connections which are established very slowly it might help a lot. Regards, Steve From yehavi.bourvine at gmail.com Sun Jan 24 11:38:29 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 24 Jan 2016 10:38:29 +0200 Subject: [Freeswitch-users] Freeswitch 1.6.6 crash when a call returns from HOLD Message-ID: Hello, After trying to upgrade to version 1.6.6 I've found that quite often Freeswitch crashes when a user tries to un-hold a held call. I've already opened FS-8739 a few days ago, but no comment yet. With version 1.6.5 it works ok. Has anyone also noticed it? I tried it with Polycom phone, as this is what I have in my lab. Thanks, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/1bd0bf42/attachment.html From john.nash778 at gmail.com Sun Jan 24 12:30:08 2016 From: john.nash778 at gmail.com (John Nash) Date: Sun, 24 Jan 2016 15:00:08 +0530 Subject: [Freeswitch-users] mod_cdr_csv vs mod_xml_cdr Message-ID: Hello, I am currently using mod_cdr_csv and a perl script (every 5 min) to insert into DB. I tested with live traffic of around 500 CDR per hour but every hour I see a difference of 4-5 CDR with my carrier. These CDR are of various durations ranging from 1 second to 600 seconds. I dont know how to debug this. As many suggested in mailing list that mod_xml_cdr is a better choice? I understand that XML cdr is good option where freeswitch instances are in many locations but Can the issue I am facing be related to mod_cdr_csv? Regards, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/944c9e4f/attachment.html From petedao at gmail.com Sun Jan 24 15:14:09 2016 From: petedao at gmail.com (Pete Kay) Date: Sun, 24 Jan 2016 07:14:09 -0500 Subject: [Freeswitch-users] mod_potaudio eror on opening device Message-ID: Hi I am not able to get pa play to work. could someone please kindly help me out? I am getting the following ERROR messages: freeswitch at vps57327.vps.ovh.ca> pa play /tmp/running.wav Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 2016-01-24 07:02:32.591002 [ERR] mod_portaudio.c:2428 Error opening audio device retrying Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 Failed to engage audio device 2016-01-24 07:02:34.090957 [ERR] mod_portaudio.c:2435 Can't open audio device freeswitch at vps57327.vps.ovh.ca> pa outdev #4 outdev set to 4 freeswitch at vps57327.vps.ovh.ca> pa indev #5 indev set to 5 freeswitch at vps57327.vps.ovh.ca> pa play /tmp/running.wav Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 2016-01-24 07:02:51.991013 [ERR] mod_portaudio.c:2428 Error opening audio device retrying Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 Failed to engage audio device 2016-01-24 07:02:53.491018 [ERR] mod_portaudio.c:2435 Can't open audio device freeswitch at vps57327.vps.ovh.ca> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/8dd4a1ac/attachment.html From mario_fs at mgtech.com Sun Jan 24 19:31:55 2016 From: mario_fs at mgtech.com (Mario G) Date: Sun, 24 Jan 2016 08:31:55 -0800 Subject: [Freeswitch-users] Puzzling DTMF problem In-Reply-To: References: <00a101d15557$f0cf7ae0$d26e70a0$@botecomm.com> Message-ID: The DTMF worked fine calling from anything not going through FS. But it is now resolved?. I upgraded from FS 1.6.2 to 1.6.6 and there is a big improvement in DTMF recognition. Thanks for the responses. Mario G > On Jan 23, 2016, at 2:09 AM, Jude Mukundane wrote: > > In Uganda, I had to switch providers. I was being driven crazy by partial DTMF recognition, until one time by hazard I was listening to the call while punching some digits. I realized with one providers the tones were really flat with a "pep" kind of sound as opposed to other telcos. I believe some providers degrade the quality of the call, including DTMF, past their switches making unusable downstream. > > Jude > > On Sat, Jan 23, 2016 at 6:57 AM, Jurijs Ivolga > wrote: > Hi Mario, > > If I understood correctly this is your case: > > VoIP phone ---> freeswitch-----> Voip provider ----> destination > > In this case first you need to eliminate all other possible root causes, before blaming freeswitch. > > 1) Have you tried to call destination number from your mobile and have you checked if same issue exist when you are calling from mobile? > > 2) Have you tried to call through other VoIP provider to same number? > > 3) Maybe you should try different VoIP phone? > > Personally I experienced similar issue some time ago and as far as I remember issue was on destination side, so I called destination from my mobile phone and then I experienced same behavior, what means that issue is on destination side. > > I hope this will helps. > > With kind regards, > > Jurijs > > On Friday, 22 January 2016, Mario G > wrote: > Unless I am mistaken the person last week had a dial plan error which is not my case. I just went to 1.6.6 to see if it was solved but no luck. I am still baffled why a auto attendant would work at the beginning then completely stop working. I can reproduce it every time. I wonder if the other end ?transfers? to a different AA. Either way I wish I could get DTMF to work all the time. > Mario G > > > On Jan 22, 2016, at 1:00 PM, Bote Man > wrote: > > > > This sounds suspiciously like the DTMF trouble discussed on this very list last week or so, no? > > > > What was the conclusion then? > > > > Bote > > > > > >> -----Original Message----- > >> From: Mario G > >> Sent: Friday, 22 January, 2016 13:38 > >> Subject: [Freeswitch-users] Puzzling DTMF problem > >> > >> Called an automated system. The first couple of prompts work (press 1 for > >> english, etc.). Then DTMF is not recognized. For a few places I notice none of > >> the DTMF is recognized. But it?s really a puzzle when it?s partial for a the same > >> called number. I always thought RFC2833 is what should be set. Any > >> thoughts? > >> Mario G > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org <> > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org <> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org <> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org <> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160124/1ee5c39d/attachment-0001.html From w8hdkim at gmail.com Sun Jan 24 20:50:42 2016 From: w8hdkim at gmail.com (Kim Culhan) Date: Sun, 24 Jan 2016 12:50:42 -0500 Subject: [Freeswitch-users] Learning FreeSWITCH - Can't call into test installation Message-ID: > I am new to freeSWITCH, and working trough the examples from the > FreeSWITCH (1.2) Book. > > I have the system built, and running, and everything looks OK. The > system registers with my VoIP provider (voip.ms), an IP phone registers > with FreeSWITCH, and I can call out to the POTS. However, when I try to > call into the IP phone, I can see the incoming call information at > fs_cli, but it instantly hangs up, and never goes through to the > intended destination set up in dialplan/public/01_voipms.xml. The > message that I get is > > [NOTICE] switch_core_state_machine.c:315 > sofia/external/613XXXXXXX at 158.85.70.XXX has executed the last dialplan > instruction, hanging up Suggest you take a look at: https://wiki.freeswitch.org/wiki/Dialplan_XML#Example_9:_Routing_DID_to_an_extension Since is has 'executed the last dialplan instruction' it has failed to find a match within any of the dialplan instructions and it hangs up. Take a look back through the lines appearing in your fs_cli and try to find the line containing a reference to '01_voipms.xml' and you will probably notice the problem a few characters after: 'Regex (FAIL)' This will be where your incoming voip.ms phone number fails to match what you have in the dialplan intended destination setup. Hope this helps. -kim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/f2e0c49a/attachment.html From petervnv1 at gmail.com Sun Jan 24 22:52:26 2016 From: petervnv1 at gmail.com (Peter Villeneuve) Date: Sun, 24 Jan 2016 19:52:26 +0000 Subject: [Freeswitch-users] zrtp HS80 not supported? Message-ID: Hi guys, I'm testing out FS' zrtp implementation with a zrtp enabled softphone and I found the following in the FS logs: 2016-01-24 18:59:31.761752 [DEBUG] switch_rtp.c:1370 [zrtp respond]: Preparse incoming COMMIT. Remote peer wants DH3k:2 mode lic=1 peer M=0. 2016-01-24 18:59:31.761752 [DEBUG] switch_rtp.c:1370 [zrtp respond]: INFO: Authtag HS80 isn't supported by profile. ID=0 2016-01-24 18:59:31.761752 [DEBUG] switch_rtp.c:1370 [ zrtp engine]: Enter InitiatingError State with ERROR:, notification Enabled. ID=0 Looking through the source at zrtp_crypto_atl.c I see that HS80 should be supported as well as the more common HS32: atl80->base.id= ZRTP_ATL_HS80; Anyone know what I'm doing wrong? I would expect FS to detect the HS_80 hash length and negotiate zrtp with the endpoint but it doesn't seem to be working. Is there any config file for zrtp in FS that I should be looking at? Any clues? Cheers, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/dc7d17a8/attachment.html From mike at jerris.com Sun Jan 24 23:00:47 2016 From: mike at jerris.com (Michael Jerris) Date: Sun, 24 Jan 2016 15:00:47 -0500 Subject: [Freeswitch-users] Profile won't start after stop, doesn't properly release IP/Port In-Reply-To: References: Message-ID: never heard of freebrs, so I'm sure we've done nothing about making sure this works properly. We should be using reuse properly, if your operating system defines this weird or it behaves differently than other common operating systems it may require code fixes to do it properly. If you figure out why, we would be happy to review a pull request to correct this issue. On Saturday, January 23, 2016, Luiz Fernando Softov wrote: > Hi all, i'm trying to do a stop then a start in a profile. > > After profile stop, the IP/Port doesn't release > > I Google it and found this JIRA > > https://freeswitch.org/jira/browse/FS-6603 > > But this is when i'm making a unload mod_sofia, the port release > So, only after this i can start the profile > > I'm using FreeBRS, and in my other programs I use SO_REUSEPORT > > There is a function (su_setreuseaddr) in > libs/sofia-sip/libsofia-sip-ua/su/su.c where i found a > #define SO_REUSEPORT > > My question is, there a correct place to define SO_REUSEPORT, or i just > add it to make of the system and the SO_REUSEPORT will work? > > Or this isn't related with the fact that the port isn't released by the > module when i make a stop? If not, how can i make to stop and start profile > without problem? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/97dd5884/attachment.html From mike at jerris.com Sun Jan 24 23:04:22 2016 From: mike at jerris.com (Michael Jerris) Date: Sun, 24 Jan 2016 15:04:22 -0500 Subject: [Freeswitch-users] mod_cdr_csv vs mod_xml_cdr In-Reply-To: References: Message-ID: do you see errors in your db logs? On Sunday, January 24, 2016, John Nash wrote: > Hello, > > I am currently using mod_cdr_csv and a perl script (every 5 min) to insert > into DB. I tested with live traffic of around 500 CDR per hour but every > hour I see a difference of 4-5 CDR with my carrier. These CDR are of > various durations ranging from 1 second to 600 seconds. > > I dont know how to debug this. As many suggested in mailing list that > mod_xml_cdr is a better choice? I understand that XML cdr is good option > where freeswitch instances are in many locations but Can the issue I am > facing be related to mod_cdr_csv? > > Regards, > > John > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/65fc630f/attachment.html From mike at jerris.com Sun Jan 24 23:05:03 2016 From: mike at jerris.com (Michael Jerris) Date: Sun, 24 Jan 2016 15:05:03 -0500 Subject: [Freeswitch-users] mod_potaudio eror on opening device In-Reply-To: References: Message-ID: if you build port audio manually do the sample programs work? On Sunday, January 24, 2016, Pete Kay wrote: > Hi > > > > I am not able to get pa play to work. could someone please > kindly help me out? I am getting the following ERROR messages: > > > > > freeswitch at vps57327.vps.ovh.ca > > pa play > /tmp/running.wav > > Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 > > Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, > inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869 > > Expression 'PaAlsaStream_Configure( stream, inputParameters, > outputParameters, sampleRate, framesPerBuffer, &inputLatency, > &outputLatency, &hostBufferSizeMode )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 > > 2016-01-24 07:02:32.591002 [ERR] mod_portaudio.c:2428 Error opening audio > device retrying > > Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 > > Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, > inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869 > > Expression 'PaAlsaStream_Configure( stream, inputParameters, > outputParameters, sampleRate, framesPerBuffer, &inputLatency, > &outputLatency, &hostBufferSizeMode )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 > > > Failed to engage audio device > > > 2016-01-24 07:02:34.090957 [ERR] mod_portaudio.c:2435 Can't open audio > device > > freeswitch at vps57327.vps.ovh.ca > > pa > outdev #4 > > > outdev set to 4 > > > freeswitch at vps57327.vps.ovh.ca > > pa > indev #5 > > > indev set to 5 > > > freeswitch at vps57327.vps.ovh.ca > > pa play > /tmp/running.wav > > Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 > > Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, > outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872 > > Expression 'PaAlsaStream_Configure( stream, inputParameters, > outputParameters, sampleRate, framesPerBuffer, &inputLatency, > &outputLatency, &hostBufferSizeMode )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 > > 2016-01-24 07:02:51.991013 [ERR] mod_portaudio.c:2428 Error opening audio > device retrying > > Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 > > Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, > outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872 > > Expression 'PaAlsaStream_Configure( stream, inputParameters, > outputParameters, sampleRate, framesPerBuffer, &inputLatency, > &outputLatency, &hostBufferSizeMode )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 > > > Failed to engage audio device > > > 2016-01-24 07:02:53.491018 [ERR] mod_portaudio.c:2435 Can't open audio > device > > freeswitch at vps57327.vps.ovh.ca > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160124/e3a51669/attachment-0001.html From chad at apartmentlines.com Sun Jan 24 23:47:02 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Sun, 24 Jan 2016 13:47:02 -0700 Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: <00a201d1555a$233aaac0$69b00040$@botecomm.com> References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Hi Bote, The difference is (supposed to be) that using Jester takes a lot of the dirty work out of doing things that you must turn to scripting for. The original design was to remove almost all scripting complexity, and instead have users use a more template-based approach to writing their advanced workflows. You can have a look at http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences to see the basic template style. And here's an example template that does some fairly advanced stuff: http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html To my eyes, what the template accomplishes is quite easy to deduce from simply reading it, and all of the dirty work for taking those actions is handled by Jester core and the supporting modules. The current limitation is that you must use the template structure to gain access to Jester's modules. Looking back, this was a design mistake that I intend to rectify -- it would be much more powerful and flexible to use a template when it made sense, and still be able to mix pure Lua scripting with calls to Jester's support modules when that makes more sense. And what I'm hoping to get help with is correcting that design flaw while preserving 'the good stuff' in the toolkit. Chad On Fri, Jan 22, 2016 at 2:16 PM, Bote Man wrote: > Hey Chad, long time no chat J I saw your update to the Help section of > the Confluence page concerning this and glanced at some things there. > > > > I guess I don?t even know enough to understand the difference between > using your toolkit and just plain writing a Lua script. Would I, for > example, write an abbreviated Lua script that calls tested and proven > functions in your toolkit, sort of like a library? > > > > Anyway it sounds useful, so thanks. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Chad Phillips > *Sent:* Friday, 22 January, 2016 14:41 > *Subject:* [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua > scripting toolkit > > > > Looking for folks in the FreeSWITCH community who would be interested in > collaborating on an open source scripting toolkit I've written for > FreeSWITCH/Lua. The basic idea is to have ready made solutions to common > scripting needs, so as not to reinvent the wheel. > > > > The original project was written in 2010. A lot of it still works great, > and there are some design flaws that I'd like to work out in the next > release. > > > > Project code is here: https://github.com/thehunmonkgroup/jester > > > > Some background and reasoning for the project here: > http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ > > > > If anyone is interested in helping, please let me know! > > > > Chad > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160124/e84b14a4/attachment.html From ssinyagin at gmail.com Mon Jan 25 02:50:48 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 25 Jan 2016 00:50:48 +0100 Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: why not re-implementing it in Golang and ESL? What's happening now with your system, is that FreeSWITCH loads few thousand lines of Lua code on every call establishment. So, even with default 30cps limit, you may overload the CPU with unnecessary job. if you don't like Go, it could be some other language, but I like the built-in threads in it. On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips wrote: > Hi Bote, > > The difference is (supposed to be) that using Jester takes a lot of the > dirty work out of doing things that you must turn to scripting for. The > original design was to remove almost all scripting complexity, and instead > have users use a more template-based approach to writing their advanced > workflows. You can have a look at > http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences > to see the basic template style. > > And here's an example template that does some fairly advanced stuff: > > http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html > > To my eyes, what the template accomplishes is quite easy to deduce from > simply reading it, and all of the dirty work for taking those actions is > handled by Jester core and the supporting modules. > > The current limitation is that you must use the template structure to gain > access to Jester's modules. Looking back, this was a design mistake that I > intend to rectify -- it would be much more powerful and flexible to use a > template when it made sense, and still be able to mix pure Lua scripting > with calls to Jester's support modules when that makes more sense. And what > I'm hoping to get help with is correcting that design flaw while preserving > 'the good stuff' in the toolkit. > > Chad > > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man wrote: >> >> Hey Chad, long time no chat J I saw your update to the Help section of >> the Confluence page concerning this and glanced at some things there. >> >> >> >> I guess I don?t even know enough to understand the difference between >> using your toolkit and just plain writing a Lua script. Would I, for >> example, write an abbreviated Lua script that calls tested and proven >> functions in your toolkit, sort of like a library? >> >> >> >> Anyway it sounds useful, so thanks. >> >> >> >> >> >> --- >> >> Bote >> >> >> >> FreeSWITCH Docs Janitor >> >> http://freeswitch.org/confluence >> >> >> >> >> >> >> >> >> >> From: Chad Phillips >> Sent: Friday, 22 January, 2016 14:41 >> Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua >> scripting toolkit >> >> >> >> Looking for folks in the FreeSWITCH community who would be interested in >> collaborating on an open source scripting toolkit I've written for >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to common >> scripting needs, so as not to reinvent the wheel. >> >> >> >> The original project was written in 2010. A lot of it still works great, >> and there are some design flaws that I'd like to work out in the next >> release. >> >> >> >> Project code is here: https://github.com/thehunmonkgroup/jester >> >> >> >> Some background and reasoning for the project here: >> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >> >> >> >> If anyone is interested in helping, please let me know! >> >> >> >> Chad >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 mike at jerris.com Mon Jan 25 05:34:59 2016 From: mike at jerris.com (Michael Jerris) Date: Sun, 24 Jan 2016 21:34:59 -0500 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Lua is likely to be by far the most efficient of any scripting language used in FreeSWITCH, if there is still really a concern about performance, more pieces can be moved to helpers built out in c code. If you are looking for dynamic but still optimal performance, lua is likely your best bet On Sunday, January 24, 2016, Stanislav Sinyagin wrote: > why not re-implementing it in Golang and ESL? > > What's happening now with your system, is that FreeSWITCH loads few > thousand lines of Lua code on every call establishment. So, even with > default 30cps limit, you may overload the CPU with unnecessary job. > > if you don't like Go, it could be some other language, but I like the > built-in threads in it. > > > > On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips > wrote: > > Hi Bote, > > > > The difference is (supposed to be) that using Jester takes a lot of the > > dirty work out of doing things that you must turn to scripting for. The > > original design was to remove almost all scripting complexity, and > instead > > have users use a more template-based approach to writing their advanced > > workflows. You can have a look at > > > http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences > > to see the basic template style. > > > > And here's an example template that does some fairly advanced stuff: > > > > > http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html > > > > To my eyes, what the template accomplishes is quite easy to deduce from > > simply reading it, and all of the dirty work for taking those actions is > > handled by Jester core and the supporting modules. > > > > The current limitation is that you must use the template structure to > gain > > access to Jester's modules. Looking back, this was a design mistake that > I > > intend to rectify -- it would be much more powerful and flexible to use a > > template when it made sense, and still be able to mix pure Lua scripting > > with calls to Jester's support modules when that makes more sense. And > what > > I'm hoping to get help with is correcting that design flaw while > preserving > > 'the good stuff' in the toolkit. > > > > Chad > > > > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man > wrote: > >> > >> Hey Chad, long time no chat J I saw your update to the Help section of > >> the Confluence page concerning this and glanced at some things there. > >> > >> > >> > >> I guess I don?t even know enough to understand the difference between > >> using your toolkit and just plain writing a Lua script. Would I, for > >> example, write an abbreviated Lua script that calls tested and proven > >> functions in your toolkit, sort of like a library? > >> > >> > >> > >> Anyway it sounds useful, so thanks. > >> > >> > >> > >> > >> > >> --- > >> > >> Bote > >> > >> > >> > >> FreeSWITCH Docs Janitor > >> > >> http://freeswitch.org/confluence > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> From: Chad Phillips > >> Sent: Friday, 22 January, 2016 14:41 > >> Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua > >> scripting toolkit > >> > >> > >> > >> Looking for folks in the FreeSWITCH community who would be interested in > >> collaborating on an open source scripting toolkit I've written for > >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to common > >> scripting needs, so as not to reinvent the wheel. > >> > >> > >> > >> The original project was written in 2010. A lot of it still works great, > >> and there are some design flaws that I'd like to work out in the next > >> release. > >> > >> > >> > >> Project code is here: https://github.com/thehunmonkgroup/jester > >> > >> > >> > >> Some background and reasoning for the project here: > >> > http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ > >> > >> > >> > >> If anyone is interested in helping, please let me know! > >> > >> > >> > >> Chad > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160124/f5dfdda0/attachment-0001.html From nhall at unixlan.com.ar Mon Jan 25 08:53:07 2016 From: nhall at unixlan.com.ar (Normando Hall) Date: Mon, 25 Jan 2016 02:53:07 -0300 Subject: [Freeswitch-users] Issue with Javascript setTimeout Message-ID: <56A5B843.8040207@unixlan.com.ar> Hello everybody. I am coding a js script to do somethings, and I want to add a global timeout, to call a function to play a file and hangup. But the function called inmediatelly. Also tested with setInterval, the same behaviour. function playTimeout(despedida){ if (session.ready()) { logger("TIMEOUT"); session.execute("playback", sonidos + "/TIMEOUT.wav"); session.execute("sleep","500"); logger(despedida); session.execute("playback", sonidos + "/" + despedida + ".wav"); session.hangup(); } exit("TIMEOUT"); } setTimeout(playTimeout(despedida),120000); . . . my script continue Any help is welcome! Thank you Normando From ssinyagin at gmail.com Mon Jan 25 08:54:13 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 25 Jan 2016 06:54:13 +0100 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Yes, for relatively small scripts that are concentrated on their jobs. But this thing is huge. On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: > Lua is likely to be by far the most efficient of any scripting language > used in FreeSWITCH, if there is still really a concern about performance, > more pieces can be moved to helpers built out in c code. If you are > looking for dynamic but still optimal performance, lua is likely your best > bet > > On Sunday, January 24, 2016, Stanislav Sinyagin > wrote: > >> why not re-implementing it in Golang and ESL? >> >> What's happening now with your system, is that FreeSWITCH loads few >> thousand lines of Lua code on every call establishment. So, even with >> default 30cps limit, you may overload the CPU with unnecessary job. >> >> if you don't like Go, it could be some other language, but I like the >> built-in threads in it. >> >> >> >> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips >> wrote: >> > Hi Bote, >> > >> > The difference is (supposed to be) that using Jester takes a lot of the >> > dirty work out of doing things that you must turn to scripting for. The >> > original design was to remove almost all scripting complexity, and >> instead >> > have users use a more template-based approach to writing their advanced >> > workflows. You can have a look at >> > >> http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences >> > to see the basic template style. >> > >> > And here's an example template that does some fairly advanced stuff: >> > >> > >> http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html >> > >> > To my eyes, what the template accomplishes is quite easy to deduce from >> > simply reading it, and all of the dirty work for taking those actions is >> > handled by Jester core and the supporting modules. >> > >> > The current limitation is that you must use the template structure to >> gain >> > access to Jester's modules. Looking back, this was a design mistake >> that I >> > intend to rectify -- it would be much more powerful and flexible to use >> a >> > template when it made sense, and still be able to mix pure Lua scripting >> > with calls to Jester's support modules when that makes more sense. And >> what >> > I'm hoping to get help with is correcting that design flaw while >> preserving >> > 'the good stuff' in the toolkit. >> > >> > Chad >> > >> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man >> wrote: >> >> >> >> Hey Chad, long time no chat J I saw your update to the Help section of >> >> the Confluence page concerning this and glanced at some things there. >> >> >> >> >> >> >> >> I guess I don?t even know enough to understand the difference between >> >> using your toolkit and just plain writing a Lua script. Would I, for >> >> example, write an abbreviated Lua script that calls tested and proven >> >> functions in your toolkit, sort of like a library? >> >> >> >> >> >> >> >> Anyway it sounds useful, so thanks. >> >> >> >> >> >> >> >> >> >> >> >> --- >> >> >> >> Bote >> >> >> >> >> >> >> >> FreeSWITCH Docs Janitor >> >> >> >> http://freeswitch.org/confluence >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> From: Chad Phillips >> >> Sent: Friday, 22 January, 2016 14:41 >> >> Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua >> >> scripting toolkit >> >> >> >> >> >> >> >> Looking for folks in the FreeSWITCH community who would be interested >> in >> >> collaborating on an open source scripting toolkit I've written for >> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to >> common >> >> scripting needs, so as not to reinvent the wheel. >> >> >> >> >> >> >> >> The original project was written in 2010. A lot of it still works >> great, >> >> and there are some design flaws that I'd like to work out in the next >> >> release. >> >> >> >> >> >> >> >> Project code is here: https://github.com/thehunmonkgroup/jester >> >> >> >> >> >> >> >> Some background and reasoning for the project here: >> >> >> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >> >> >> >> >> >> >> >> If anyone is interested in helping, please let me know! >> >> >> >> >> >> >> >> Chad >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/de1e18aa/attachment.html From john.nash778 at gmail.com Mon Jan 25 08:58:20 2016 From: john.nash778 at gmail.com (John Nash) Date: Mon, 25 Jan 2016 11:28:20 +0530 Subject: [Freeswitch-users] mod_cdr_csv vs mod_xml_cdr In-Reply-To: References: Message-ID: No...so far I have identified one issue where mod_cdr_csv records 0 duration call but our carrier recorded as 1 second. I am assuming that may be they round milliseconds to closest integer while mod_cdr_csv does not? Also what is the practical use of https://wiki.freeswitch.org/wiki/Variable_sip_wait_for_aleg_ack should I enable it in my bridge application? On Mon, Jan 25, 2016 at 1:34 AM, Michael Jerris wrote: > do you see errors in your db logs? > > > On Sunday, January 24, 2016, John Nash wrote: > >> Hello, >> >> I am currently using mod_cdr_csv and a perl script (every 5 min) to >> insert into DB. I tested with live traffic of around 500 CDR per hour but >> every hour I see a difference of 4-5 CDR with my carrier. These CDR are of >> various durations ranging from 1 second to 600 seconds. >> >> I dont know how to debug this. As many suggested in mailing list that >> mod_xml_cdr is a better choice? I understand that XML cdr is good option >> where freeswitch instances are in many locations but Can the issue I am >> facing be related to mod_cdr_csv? >> >> Regards, >> >> John >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/1cab54fc/attachment-0001.html From nhall at unixlan.com.ar Mon Jan 25 09:11:48 2016 From: nhall at unixlan.com.ar (Normando Hall) Date: Mon, 25 Jan 2016 03:11:48 -0300 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: <56A5B843.8040207@unixlan.com.ar> References: <56A5B843.8040207@unixlan.com.ar> Message-ID: <56A5BCA4.6030901@unixlan.com.ar> Sorry, I missed to say it is Freeswitch 1.4 El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: > Hello everybody. > > I am coding a js script to do somethings, and I want to add a global > timeout, to call a function to play a file and hangup. But the function > called inmediatelly. > Also tested with setInterval, the same behaviour. > > > function playTimeout(despedida){ > if (session.ready()) { > logger("TIMEOUT"); > session.execute("playback", sonidos + "/TIMEOUT.wav"); > session.execute("sleep","500"); > logger(despedida); > session.execute("playback", sonidos + "/" + despedida + ".wav"); > session.hangup(); > } > exit("TIMEOUT"); > } > > > setTimeout(playTimeout(despedida),120000); > . > . > . > my script continue > > Any help is welcome! > > Thank you > Normando > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 royj at yandex.ru Mon Jan 25 09:58:52 2016 From: royj at yandex.ru (royj at yandex.ru) Date: Mon, 25 Jan 2016 09:58:52 +0300 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: <56A5BCA4.6030901@unixlan.com.ar> References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> Message-ID: <4565201453705132@web17j.yandex.ru> have no relationship to the resource, but first link to request 'asynchronous code javascript' http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ 25.01.2016, 09:16, "Normando Hall" : > Sorry, I missed to say it is Freeswitch 1.4 > > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >> ?Hello everybody. >> >> ?I am coding a js script to do somethings, and I want to add a global >> ?timeout, to call a function to play a file and hangup. But the function >> ?called inmediatelly. >> ?Also tested with setInterval, the same behaviour. >> >> ?function playTimeout(despedida){ >> ?????if (session.ready()) { >> ?????????logger("TIMEOUT"); >> ?????????session.execute("playback", sonidos + "/TIMEOUT.wav"); >> ?????????session.execute("sleep","500"); >> ?????????logger(despedida); >> ?????????session.execute("playback", sonidos + "/" + despedida + ".wav"); >> ?????????session.hangup(); >> ?????} >> ?????exit("TIMEOUT"); >> ?} >> >> ?setTimeout(playTimeout(despedida),120000); >> ?. >> ?. >> ?. >> ?my script continue >> >> ?Any help is welcome! >> >> ?Thank you >> ?Normando >> >> ?_________________________________________________________________________ >> ?Professional FreeSWITCH Consulting Services: >> ?consulting at freeswitch.org >> ?http://www.freeswitchsolutions.com >> >> ?Official FreeSWITCH Sites >> ?http://www.freeswitch.org >> ?http://confluence.freeswitch.org >> ?http://www.cluecon.com >> >> ?FreeSWITCH-users mailing list >> ?FreeSWITCH-users at lists.freeswitch.org >> ?http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> ?UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> ?http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 matt at supportedbusiness.com Mon Jan 25 11:59:58 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Mon, 25 Jan 2016 08:59:58 +0000 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: <4565201453705132@web17j.yandex.ru> References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> Message-ID: try using the 1 liner sched_broadcast https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both legs after 60 seconds. *maxTimeTaskID = **session.execute("sched_broadcast", "+60 playback!normal_clearing::/tmp/hangupfile.mp3 both")*; If you find you need to cancel the broadcast use: *session.execute("sched_cancel",maxTimeTaskID);* hope this helps. thanks Matt On 25 January 2016 at 06:58, wrote: > have no relationship to the resource, but first link to request > 'asynchronous code javascript' > > > http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ > > 25.01.2016, 09:16, "Normando Hall" : > > Sorry, I missed to say it is Freeswitch 1.4 > > > > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: > >> Hello everybody. > >> > >> I am coding a js script to do somethings, and I want to add a global > >> timeout, to call a function to play a file and hangup. But the function > >> called inmediatelly. > >> Also tested with setInterval, the same behaviour. > >> > >> function playTimeout(despedida){ > >> if (session.ready()) { > >> logger("TIMEOUT"); > >> session.execute("playback", sonidos + "/TIMEOUT.wav"); > >> session.execute("sleep","500"); > >> logger(despedida); > >> session.execute("playback", sonidos + "/" + despedida + > ".wav"); > >> session.hangup(); > >> } > >> exit("TIMEOUT"); > >> } > >> > >> setTimeout(playTimeout(despedida),120000); > >> . > >> . > >> . > >> my script continue > >> > >> Any help is welcome! > >> > >> Thank you > >> Normando > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/ca7b1abb/attachment.html From fernando at softov.com.br Mon Jan 25 14:57:17 2016 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Mon, 25 Jan 2016 08:57:17 -0300 Subject: [Freeswitch-users] Profile won't start after stop, doesn't properly release IP/Port In-Reply-To: References: Message-ID: Sorry, I mean FreeBSD, FreeBRS is the name of my custom SO (Free BrByte Routing System). I remove the #ifdef in su.c and make SO_REUSEPORT + SO_REUSEADDR, and now it's working fine. 2016-01-24 17:00 GMT-03:00 Michael Jerris : > never heard of freebrs, so I'm sure we've done nothing about making sure > this works properly. We should be using reuse properly, if your operating > system defines this weird or it behaves differently than other common > operating systems it may require code fixes to do it properly. If you > figure out why, we would be happy to review a pull request to correct this > issue. > > > On Saturday, January 23, 2016, Luiz Fernando Softov < > fernando at softov.com.br> wrote: > >> Hi all, i'm trying to do a stop then a start in a profile. >> >> After profile stop, the IP/Port doesn't release >> >> I Google it and found this JIRA >> >> https://freeswitch.org/jira/browse/FS-6603 >> >> But this is when i'm making a unload mod_sofia, the port release >> So, only after this i can start the profile >> >> I'm using FreeBRS, and in my other programs I use SO_REUSEPORT >> >> There is a function (su_setreuseaddr) in >> libs/sofia-sip/libsofia-sip-ua/su/su.c where i found a >> #define SO_REUSEPORT >> >> My question is, there a correct place to define SO_REUSEPORT, or i just >> add it to make of the system and the SO_REUSEPORT will work? >> >> Or this isn't related with the fact that the port isn't released by the >> module when i make a stop? If not, how can i make to stop and start profile >> without problem? >> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/2172fd88/attachment-0001.html From gb at cm.nl Mon Jan 25 15:27:11 2016 From: gb at cm.nl (Grant Bagdasarian) Date: Mon, 25 Jan 2016 12:27:11 +0000 Subject: [Freeswitch-users] How to build from source v1.6? Message-ID: Hello, I've followed the steps for building from source, but I noticed 1.7 is installed, instead of 1.6. https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie How do I force 1.6 to be installed when building from source? I need to enable/disable some unused modules, and I can't find a way to do it when using the "stable branch" steps. These are the steps I following (they're also on the website) Dependencies: apt-get update && apt-get install -y curl curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update apt-get install -y --force-yes freeswitch-video-deps-most Compiling: # because we're in a branch that will go through many rebases it's # better to set this one, or you'll get CONFLICTS when pulling (update) git config --global pull.rebase true # then let's get the source cd /usr/src/ git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git cd freeswitch.git ./bootstrap.sh -j ./configure make make install -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/434352f9/attachment.html From gb at cm.nl Mon Jan 25 15:49:11 2016 From: gb at cm.nl (Grant Bagdasarian) Date: Mon, 25 Jan 2016 12:49:11 +0000 Subject: [Freeswitch-users] How to build from source v1.6? In-Reply-To: References: Message-ID: <568d5a41afc64bfeb30fadda6c73bb8b@CM-EX-V01.cm.local> To answer my own question: I replaced: git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git With: git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git Could someone update the wiki? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Grant Bagdasarian Sent: Monday, January 25, 2016 1:27 PM To: FreeSWITCH Users Help (freeswitch-users at lists.freeswitch.org) Subject: [Freeswitch-users] How to build from source v1.6? Hello, I've followed the steps for building from source, but I noticed 1.7 is installed, instead of 1.6. https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie How do I force 1.6 to be installed when building from source? I need to enable/disable some unused modules, and I can't find a way to do it when using the "stable branch" steps. These are the steps I following (they're also on the website) Dependencies: apt-get update && apt-get install -y curl curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update apt-get install -y --force-yes freeswitch-video-deps-most Compiling: # because we're in a branch that will go through many rebases it's # better to set this one, or you'll get CONFLICTS when pulling (update) git config --global pull.rebase true # then let's get the source cd /usr/src/ git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git cd freeswitch.git ./bootstrap.sh -j ./configure make make install -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/3ccd084e/attachment-0001.html From gmaruzz at gmail.com Mon Jan 25 17:35:12 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 25 Jan 2016 15:35:12 +0100 Subject: [Freeswitch-users] How to build from source v1.6? In-Reply-To: <568d5a41afc64bfeb30fadda6c73bb8b@CM-EX-V01.cm.local> References: <568d5a41afc64bfeb30fadda6c73bb8b@CM-EX-V01.cm.local> Message-ID: 1.7 is the development branch, 1.6 the release branch. That is clearly explained in the confluence (wiki) page IIRC. -giovanni Il 25/Gen/2016 13:49, "Grant Bagdasarian" ha scritto: > To answer my own question: > > > > I replaced: git clone https://freeswitch.org/stash/scm/fs/freeswitch.git > freeswitch.git > > > > With: git clone ?b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git > freeswitch.git > > > > Could someone update the wiki? > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Grant > Bagdasarian > *Sent:* Monday, January 25, 2016 1:27 PM > *To:* FreeSWITCH Users Help (freeswitch-users at lists.freeswitch.org) < > freeswitch-users at lists.freeswitch.org> > *Subject:* [Freeswitch-users] How to build from source v1.6? > > > > Hello, > > > > I?ve followed the steps for building from source, but I noticed 1.7 is > installed, instead of 1.6. > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > > > > How do I force 1.6 to be installed when building from source? I need to > enable/disable some unused modules, and I can?t find a way to do it when > using the ?stable branch? steps. > > > > These are the steps I following (they?re also on the website) > > > > Dependencies: > > apt-get update && apt-get install -y curl > > curl > https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | > apt-key add - > > > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie > main" > /etc/apt/sources.list.d/freeswitch.list > > apt-get update > > apt-get install -y --force-yes freeswitch-video-deps-most > > > > Compiling: > > # because we're in a branch that will go through many rebases it's > > # better to set this one, or you'll get CONFLICTS when pulling (update) > > git config --global pull.rebase true > > > > # then let's get the source > > cd /usr/src/ > > git clone https://freeswitch.org/stash/scm/fs/freeswitch.git > freeswitch.git > > cd freeswitch.git > > ./bootstrap.sh -j > > ./configure > > make > > make install > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/fc616f1a/attachment.html From denis at ringme.ru Mon Jan 25 19:48:58 2016 From: denis at ringme.ru (=?UTF-8?B?0JTQtdC90LjRgQ==?=) Date: Mon, 25 Jan 2016 19:48:58 +0300 Subject: [Freeswitch-users] subevents from CHANNEL_EXECUTE Message-ID: <56A651FA.5020506@ringme.ru> I need make some checks for callcenter and better event - CHANNEL_EXECUTE. Can i set another fields in lua bind? Now in call logs - many 2016-01-25 19:35:49.890541 [DEBUG] mod_lua.cpp:459 lua event hook: execute 'hook/event-CHANNEL_EXECUTE-for-callcenter-recording.lua' 2016-01-25 19:35:49.890541 [DEBUG] mod_lua.cpp:459 lua event hook: execute 'hook/event-CHANNEL_EXECUTE-for-callcenter-recording.lua' 2016-01-25 19:35:49.890541 [DEBUG] mod_lua.cpp:459 lua event hook: execute 'hook/event-CHANNEL_EXECUTE-for-callcenter-recording.lua' ... How can i reduce this out? (i need run recording on queue before any agent answers, based on some fields in A leg, without callcenter record property) from event - i need fields -- variable_current_application: callcenter -- variable_current_application_data: 000*111%40domain -- Application: callcenter -- Application-Data: 000*111%40domain -- Application-UUID: 8270b92a-bdc5-11e5-9a68-b50922e2fa07 From william at williamcollsassoc.ca Sun Jan 24 22:47:25 2016 From: william at williamcollsassoc.ca (William Colls) Date: Sun, 24 Jan 2016 14:47:25 -0500 Subject: [Freeswitch-users] Learning FreeSWITCH - Can't call into test installation In-Reply-To: References: Message-ID: <56A52A4D.2080700@williamcollsassoc.ca> Thank you. Got it working, and I understand much better how the whole dialplan thing works. Not a full, and complete understanding, mind you, but I think I can fight my way through it with a little time and patience. Again Thanks to all for the help. On 16-01-24 12:50 PM, Kim Culhan wrote: > > I am new to freeSWITCH, and working trough the examples from the > > FreeSWITCH (1.2) Book. > > > > I have the system built, and running, and everything looks OK. The > > system registers with my VoIP provider (voip.ms ), > an IP phone registers > > with FreeSWITCH, and I can call out to the POTS. However, when I try to > > call into the IP phone, I can see the incoming call information at > > fs_cli, but it instantly hangs up, and never goes through to the > > intended destination set up in dialplan/public/01_voipms.xml. The > > message that I get is > > > > [NOTICE] switch_core_state_machine.c:315 > > sofia/external/613XXXXXXX at 158.85.70.XXX has executed the last dialplan > > instruction, hanging up > > Suggest you take a look at: > > https://wiki.freeswitch.org/wiki/Dialplan_XML#Example_9:_Routing_DID_to_an_extension > > Since is has 'executed the last dialplan instruction' it has failed to > find a match within > any of the dialplan instructions and it hangs up. > > Take a look back through the lines appearing in your fs_cli and try to > find the line > containing a reference to '01_voipms.xml' and you will probably notice > the problem > a few characters after: 'Regex (FAIL)' > > This will be where your incoming voip.ms phone number > fails to match what you have > in the dialplan intended destination setup. > > Hope this helps. > > -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/20160124/8a59f16e/attachment-0001.html From siju at in.chitrchatr.net Mon Jan 25 10:47:47 2016 From: siju at in.chitrchatr.net (Siju Nair) Date: Mon, 25 Jan 2016 13:17:47 +0530 Subject: [Freeswitch-users] documents for mod_verto Message-ID: <56A5D323.8000107@in.chitrchatr.net> Hi Team, i am trying mod_verto, i didn't find more documents regarding this, can i have a link or pdf file where i can see in depth details of mod_verto. Thanks, Siju Nair From mike at jerris.com Mon Jan 25 19:58:13 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 25 Jan 2016 11:58:13 -0500 Subject: [Freeswitch-users] Profile won't start after stop, doesn't properly release IP/Port In-Reply-To: References: Message-ID: <8C3DB559-1B7D-4B53-A487-35268545A10F@jerris.com> Please create a jira and pull request that makes this modification in a portable way so it can be included. Thanks Mike > On Jan 25, 2016, at 6:57 AM, Luiz Fernando Softov wrote: > > Sorry, I mean FreeBSD, FreeBRS is the name of my custom SO (Free BrByte Routing System). > > I remove the #ifdef in su.c and make SO_REUSEPORT + SO_REUSEADDR, and now it's working fine. > > 2016-01-24 17:00 GMT-03:00 Michael Jerris >: > never heard of freebrs, so I'm sure we've done nothing about making sure this works properly. We should be using reuse properly, if your operating system defines this weird or it behaves differently than other common operating systems it may require code fixes to do it properly. If you figure out why, we would be happy to review a pull request to correct this issue. > > > On Saturday, January 23, 2016, Luiz Fernando Softov > wrote: > Hi all, i'm trying to do a stop then a start in a profile. > > After profile stop, the IP/Port doesn't release > > I Google it and found this JIRA > > https://freeswitch.org/jira/browse/FS-6603 > > But this is when i'm making a unload mod_sofia, the port release > So, only after this i can start the profile > > I'm using FreeBRS, and in my other programs I use SO_REUSEPORT > > There is a function (su_setreuseaddr) in libs/sofia-sip/libsofia-sip-ua/su/su.c where i found a > #define SO_REUSEPORT > > My question is, there a correct place to define SO_REUSEPORT, or i just add it to make of the system and the SO_REUSEPORT will work? > > Or this isn't related with the fact that the port isn't released by the module when i make a stop? If not, how can i make to stop and start profile without problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/f11c43b0/attachment.html From mike at jerris.com Mon Jan 25 19:59:19 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 25 Jan 2016 11:59:19 -0500 Subject: [Freeswitch-users] How to build from source v1.6? In-Reply-To: References: <568d5a41afc64bfeb30fadda6c73bb8b@CM-EX-V01.cm.local> Message-ID: <79C07F3C-DFD8-425B-99B2-FE0188644F17@jerris.com> Also we JUST tagged a 1.6 off the development branch so they should nearly match right now (although not always) > On Jan 25, 2016, at 9:35 AM, Giovanni Maruzzelli wrote: > > 1.7 is the development branch, 1.6 the release branch. That is clearly explained in the confluence (wiki) page IIRC. > -giovanni > > Il 25/Gen/2016 13:49, "Grant Bagdasarian" > ha scritto: > To answer my own question: > > > > I replaced: git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git > > > > With: git clone ?b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git > > > > Could someone update the wiki? > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Grant Bagdasarian > Sent: Monday, January 25, 2016 1:27 PM > To: FreeSWITCH Users Help (freeswitch-users at lists.freeswitch.org ) > > Subject: [Freeswitch-users] How to build from source v1.6? > > > > Hello, > > > > I?ve followed the steps for building from source, but I noticed 1.7 is installed, instead of 1.6. > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > > > How do I force 1.6 to be installed when building from source? I need to enable/disable some unused modules, and I can?t find a way to do it when using the ?stable branch? steps. > > > > These are the steps I following (they?re also on the website) > > > > Dependencies: > > apt-get update && apt-get install -y curl > > curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - > > > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list > > apt-get update > > apt-get install -y --force-yes freeswitch-video-deps-most > > > > Compiling: > > # because we're in a branch that will go through many rebases it's > > # better to set this one, or you'll get CONFLICTS when pulling (update) > > git config --global pull.rebase true > > > > # then let's get the source > > cd /usr/src/ > > git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git > > cd freeswitch.git > > ./bootstrap.sh -j > > ./configure > > make > > make install > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/30caeae2/attachment-0001.html From randhawaay at gmail.com Mon Jan 25 20:03:23 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Mon, 25 Jan 2016 22:03:23 +0500 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS Message-ID: Hi, i need some help. Is there a way in scripting like in lua like using freeswitch.API() through which i can get active channels . I can get active channels in fs cli by running command "active channels".But how to do it in scripts. Thanks. Regards, Shan randhawa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/b5d6f8d0/attachment.html From randhawaay at gmail.com Mon Jan 25 22:12:50 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Tue, 26 Jan 2016 00:12:50 +0500 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: Hi, Can any tell me how to access/call freeswitch client and then execute command on it. like reply = fs.command("show channels"); Thanks. Regards, Shan randhawa On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa wrote: > > Hi, > > i need some help. > Is there a way in scripting like in lua like using freeswitch.API() > through which i can get active channels . > > I can get active channels in fs cli by running command "active > channels".But how to do it in scripts. > > > Thanks. > > > Regards, > Shan randhawa > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/73418c6f/attachment.html From brian.beebe at vivint.com Mon Jan 25 22:07:15 2016 From: brian.beebe at vivint.com (Brian Beebe) Date: Mon, 25 Jan 2016 19:07:15 +0000 Subject: [Freeswitch-users] Freeswitch is crashing often. Message-ID: <905f654ce6f24680a8675d713f8ac2e5@MAILDB04.APEX.Local> We have Freeswitch setup with bypass-media and we have 2 HA pairs. Since we have been in production we have had a few segfaults. Jan 25 09:05:09 freeswitch-pl1a kernel: freeswitch[30906]: segfault at 30 ip 00007ff5f770cdc0 sp 00007ff5ea7073a8 error 4 in libfreeswitch.so.1.0.0[7ff5f769d000+1bf000] Jan 21 23:13:45 freeswitch-pl1a kernel: freeswitch[18879]: segfault at 30 ip 00007f19ad23fdc0 sp 00007f19a42833a8 error 4 in libfreeswitch.so.1.0.0[7f19ad1d0000+1bf000] Jan 21 13:09:42 freeswitch-pl2b kernel: fs_cli[3863]: segfault at 3134264fc0 ip 00007f6270c4dd1c sp 00007ffd19738690 error 4 in libc-2.17.so[7f6270bd0000+1b6000] Jan 21 12:32:29 freeswitch-pl2a kernel: freeswitch[2594]: segfault at 30 ip 00007f50e1e4edc0 sp 00007f50d8e573a8 error 4 in libfreeswitch.so.1.0.0[7f50e1ddf000+1bf000] Jan 21 09:10:44 freeswitch-pl2a kernel: fs_cli[9629]: segfault at 10 ip 00007f0710166bb0 sp 00007f07107abcf8 error 4 in libpthread-2.17.so[7f071015c000+16000] Jan 19 14:30:54 freeswitch-pl2a kernel: fs_cli[19996]: segfault at 10 ip 00007f29026e7bb0 sp 00007f2902d2ccf8 error 4 in libpthread-2.17.so[7f29026dd000+16000] Jan 19 09:51:33 freeswitch-pl1a kernel: freeswitch[24917]: segfault at 30 ip 00007fc974829dc0 sp 00007fc95f80d3a8 error 4 in libfreeswitch.so.1.0.0[7fc9747ba000+1bf000] The latest was this morning and we were able to get a crash file. The fscore_pb output is located at http://pastebin.freeswitch.org/24538 It seems to be happening in the switch_core_session_get_channel call. Any help would be appreciated. Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/f19b5fb6/attachment.html From mike at jerris.com Mon Jan 25 22:25:02 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 25 Jan 2016 14:25:02 -0500 Subject: [Freeswitch-users] Freeswitch is crashing often. In-Reply-To: <905f654ce6f24680a8675d713f8ac2e5@MAILDB04.APEX.Local> References: <905f654ce6f24680a8675d713f8ac2e5@MAILDB04.APEX.Local> Message-ID: <6B62981C-7288-4093-A7A5-5F2CF6B32CE4@jerris.com> Please create a jira for this bug: https://freeswitch.org/confluence/display/FREESWITCH/Debugging https://freeswitch.org/confluence/display/FREESWITCH/Reporting+Bugs+to+JIRA Please make sure to reproduce this on master and include a backtrace so we can look into this. > On Jan 25, 2016, at 2:07 PM, Brian Beebe wrote: > > We have Freeswitch setup with bypass-media and we have 2 HA pairs. Since we have been in production we have had a few segfaults. > > Jan 25 09:05:09 freeswitch-pl1a kernel: freeswitch[30906]: segfault at 30 ip 00007ff5f770cdc0 sp 00007ff5ea7073a8 error 4 in libfreeswitch.so.1.0.0[7ff5f769d000+1bf000] > Jan 21 23:13:45 freeswitch-pl1a kernel: freeswitch[18879]: segfault at 30 ip 00007f19ad23fdc0 sp 00007f19a42833a8 error 4 in libfreeswitch.so.1.0.0[7f19ad1d0000+1bf000] > Jan 21 13:09:42 freeswitch-pl2b kernel: fs_cli[3863]: segfault at 3134264fc0 ip 00007f6270c4dd1c sp 00007ffd19738690 error 4 in libc-2.17.so[7f6270bd0000+1b6000] > Jan 21 12:32:29 freeswitch-pl2a kernel: freeswitch[2594]: segfault at 30 ip 00007f50e1e4edc0 sp 00007f50d8e573a8 error 4 in libfreeswitch.so.1.0.0[7f50e1ddf000+1bf000] > Jan 21 09:10:44 freeswitch-pl2a kernel: fs_cli[9629]: segfault at 10 ip 00007f0710166bb0 sp 00007f07107abcf8 error 4 in libpthread-2.17.so[7f071015c000+16000] > Jan 19 14:30:54 freeswitch-pl2a kernel: fs_cli[19996]: segfault at 10 ip 00007f29026e7bb0 sp 00007f2902d2ccf8 error 4 in libpthread-2.17.so[7f29026dd000+16000] > Jan 19 09:51:33 freeswitch-pl1a kernel: freeswitch[24917]: segfault at 30 ip 00007fc974829dc0 sp 00007fc95f80d3a8 error 4 in libfreeswitch.so.1.0.0[7fc9747ba000+1bf000] > > The latest was this morning and we were able to get a crash file. The fscore_pb output is located at http://pastebin.freeswitch.org/24538 > > It seems to be happening in the switch_core_session_get_channel call. > > Any help would be appreciated. > > Thanks, > > Brian > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/6521bb85/attachment-0001.html From nneul at mst.edu Mon Jan 25 22:30:47 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Mon, 25 Jan 2016 13:30:47 -0600 Subject: [Freeswitch-users] fyi - DTMF with FlowRoute Message-ID: <56A677E7.8040401@mst.edu> I know this has been brought up previously in another thread, but wanted to mention I'm seeing it as well. However - I do have an additional data point. This is the SDP being sent: v=0 o=FreeSWITCH 1453729420 1453729421 IN IP4 131.151.x.x s=FreeSWITCH c=IN IP4 131.151.x.x t=0 0 m=audio 19222 RTP/AVP 102 103 9 0 8 104 106 101 a=rtpmap:102 G7221/32000 a=fmtp:102 bitrate=48000 a=rtpmap:103 G7221/16000 a=fmtp:103 bitrate=32000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:104 telephone-event/32000 a=fmtp:104 0-16 a=rtpmap:106 telephone-event/16000 a=fmtp:106 0-16 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 I realize that anything other than PCMU is pointless with flowroute. Symptom is seen on both 1.4 and 1.6. Confirming what some others on the thread have said - forcing codec to PCMU (in my case via carrier_gateway lcr table), immediately corrects the issue. It seems like a definite bug on flowroute's side, and will be following up with that on the open case. -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From nhall at unixlan.com.ar Mon Jan 25 22:49:06 2016 From: nhall at unixlan.com.ar (Normando Hall) Date: Mon, 25 Jan 2016 16:49:06 -0300 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> Message-ID: <56A67C32.50906@unixlan.com.ar> Thanks Matt, I can play a file, but still can't run the function. Are there any application can run a function instead a file? Thanks! Normando El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: > try using the 1 liner > sched_broadcast https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast > > > The below will schedule a broadcast to play /tmp/hangupfile.mp3 to > both legs after 60 seconds. > > /maxTimeTaskID = //session.execute("sched_broadcast", "+60 > playback!normal_clearing::/tmp/hangupfile.mp3 both")/; > > If you find you need to cancel the broadcast use: > > /session.execute("sched_cancel",maxTimeTaskID);/ > > hope this helps. > > thanks > Matt > > On 25 January 2016 at 06:58, > > wrote: > > have no relationship to the resource, but first link to request > 'asynchronous code javascript' > > http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ > > 25.01.2016, 09:16, "Normando Hall" >: > > Sorry, I missed to say it is Freeswitch 1.4 > > > > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: > >> Hello everybody. > >> > >> I am coding a js script to do somethings, and I want to add a > global > >> timeout, to call a function to play a file and hangup. But the > function > >> called inmediatelly. > >> Also tested with setInterval, the same behaviour. > >> > >> function playTimeout(despedida){ > >> if (session.ready()) { > >> logger("TIMEOUT"); > >> session.execute("playback", sonidos + "/TIMEOUT.wav"); > >> session.execute("sleep","500"); > >> logger(despedida); > >> session.execute("playback", sonidos + "/" + despedida > + ".wav"); > >> session.hangup(); > >> } > >> exit("TIMEOUT"); > >> } > >> > >> setTimeout(playTimeout(despedida),120000); > >> . > >> . > >> . > >> my script continue > >> > >> Any help is welcome! > >> > >> Thank you > >> Normando > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/3873df75/attachment.html From randhawaay at gmail.com Mon Jan 25 22:57:55 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Tue, 26 Jan 2016 00:57:55 +0500 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: Hi, i need some help. Basically i need a way to get info about active no of active outbound sessions in lua . Thanks. Regards, Shan randhawa On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa wrote: > > Hi, > > i need some help. > Is there a way in scripting like in lua like using freeswitch.API() > through which i can get active channels . > > I can get active channels in fs cli by running command "active > channels".But how to do it in scripts. > > > Thanks. > > > Regards, > Shan randhawa > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/bfd62a31/attachment-0001.html From mike at jerris.com Mon Jan 25 23:20:15 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 25 Jan 2016 15:20:15 -0500 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: <56A67C32.50906@unixlan.com.ar> References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> Message-ID: What exactly is the javascript doing when you want to call that callback? this is probably not possible due to how the JavaScript is blocked by native functions when doing actions such as handling audio due to the threading model of the embedded languages. They run in the session thread so they are not as async as people tend to be used to with js. This sort of approach might be more appropriate when using js in a remote control type structure such as when controlling a session over esl, but not in the embedded mod_v8. we have discussed doing a truly async type control for embedded languages but have never implemented it. On Monday, January 25, 2016, Normando Hall wrote: > Thanks Matt, I can play a file, but still can't run the function. Are > there any application can run a function instead a file? > > Thanks! > Normando > > > El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: > > try using the 1 liner sched_broadcast > > https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast > > The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both > legs after 60 seconds. > > *maxTimeTaskID = **session.execute("sched_broadcast", "+60 > playback!normal_clearing::/tmp/hangupfile.mp3 both")*; > > If you find you need to cancel the broadcast use: > > *session.execute("sched_cancel",maxTimeTaskID);* > > hope this helps. > > thanks > Matt > > On 25 January 2016 at 06:58, > wrote: > >> have no relationship to the resource, but first link to request >> 'asynchronous code javascript' >> >> >> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >> >> 25.01.2016, 09:16, "Normando Hall" < >> >> nhall at unixlan.com.ar >> >: >> > Sorry, I missed to say it is Freeswitch 1.4 >> > >> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >> >> Hello everybody. >> >> >> >> I am coding a js script to do somethings, and I want to add a global >> >> timeout, to call a function to play a file and hangup. But the >> function >> >> called inmediatelly. >> >> Also tested with setInterval, the same behaviour. >> >> >> >> function playTimeout(despedida){ >> >> if (session.ready()) { >> >> logger("TIMEOUT"); >> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >> >> session.execute("sleep","500"); >> >> logger(despedida); >> >> session.execute("playback", sonidos + "/" + despedida + >> ".wav"); >> >> session.hangup(); >> >> } >> >> exit("TIMEOUT"); >> >> } >> >> >> >> setTimeout(playTimeout(despedida),120000); >> >> . >> >> . >> >> . >> >> my script continue >> >> >> >> Any help is welcome! >> >> >> >> Thank you >> >> Normando >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > _________________________________________________________________________ > 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/20160125/cab940a8/attachment.html From lists at kavun.ch Mon Jan 25 23:38:11 2016 From: lists at kavun.ch (Emrah) Date: Mon, 25 Jan 2016 21:38:11 +0100 Subject: [Freeswitch-users] Random calls failing with WRONG_CALL_STATe when using TLS In-Reply-To: References: <45FAC76E-D2B7-483A-88AB-9FB98600C42B@kavun.ch> <2B416F4C-561E-48E1-A31D-BB82854AB84E@kavun.ch> <7AB693FD-921B-43F0-81B4-41610CC5A4C3@freeswitch.org> <001E3109-E3ED-481E-A456-64B9603A8A44@kavun.ch> <72542EA4-5014-4F6B-9C32-523F975737FA@kavun.ch> <891CEDE1-9FE4-421C-88A8-CE8640E76A22@kavun.ch> Message-ID: <4EC36A08-3E64-4A8A-B80C-E903017874B0@kavun.ch> > I have found that some carriers trim the UDP packets to 512. This may be related. > How? TLS will force signaling in TCP. Compact headers don?t help much. In fact many client don?t offer it. More suggestions welcome. > On Jan 19, 2016, at 3:43 PM, Luis Daniel Lucio Quiroz wrote: > > I have found that some carriers trim the UDP packets to 512. This may be related. > > There is an option in the Sophia profile to use short header names. That will help for sure > > Le 19 janv. 2016 2:26 AM, "Emrah" > a ?crit : > Hi there, > So what do we do of this? > I don?t have any TLS issues except with FreeSWITCH. And to everyone here, it?s an issue with the equipment or the soft phone. > I tried FS V1.2, 1.4, 1.6 and 1.7. > Now remember this is something that can be reproduced with Yealink, Polycom, an I recently found out that Counterpath Bria was in the same basket. > https://support.counterpath.com/topic/intermittent-tls-403-forbidden-error > > We know what the problem is. When the TLS packet is too large, possibly because of a long list of codecs, the TLS thread crashes on the client. > > The question is, how can this happen only when using FS? The same clients do OK with other TLS enabled PBXs. > > Emrah >> On Jan 14, 2016, at 1:09 PM, Emrah > wrote: >> >> I was certain that I?d fixe all my issues with an FS update to 1.6. >> After much frustration and over a year of trial and error, I found out that the TLS session breaks if the content of the packet is too large. >> This was also confirmed with the FS documentation that lists this issue as a generic Polycom issue: Generic Polycom issues >> >> I can confirm that this also happens with Yealink phones and a couple of other Softphones including Blink Pro on Mac OS X. >> >> So far, I?ve only experienced this with FS. I?ve not been able to replicate this with other SIP servers that can also transport and handle media. >> >> Anyone else can relate to this? >> >> Anyway, what?s worked for me is to make my packets as small as possible by reducing the number of offered codecs to the bare minimum. >> >> Best, >> E >>> On Mar 3, 2015, at 2:38 PM, Brian West > wrote: >>> >>> sofia global siptrace on >>> sofia loglevel all 9 >>> >>> Then outline the scenario and config on the JIRA. >>> >>> On Tue, Mar 3, 2015 at 7:54 AM, Emrah > wrote: >>> Hey Brian, just saw this message. >>> There is no other UA in between FS and the endpoint. There is a regular NAT, that's all. >>> What seems to happen is: >>> endpoint -> FS: invite = ok >>> FS -> endpoint: 407 = OK >>> Endpoint -> FS: invite = Fails with SSL error. >>> >>> What are the components I should capture to open up a Jira? FS Logs, FS Siptrace, anything else? >>> >>> Thanks! >>>> On Feb 16, 2015, at 2:44 PM, Brian West > wrote: >>>> >>>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>>> >>>> Your issue is the contact has no port 443 or transport=tls right? What sits between FS and the endpoint? >>>> >>>> On Sun, Feb 15, 2015 at 5:38 AM, Emrah > wrote: >>>> Thanks Ken. Is there a way to filter the SIP trace? It's a busy box. >>>> >>>>> On Feb 14, 2015, at 3:35 AM, Ken Rice > wrote: >>>>> >>>>> Open a jire with a full debug login including sip tracing on >>>>> >>>>> Sent from my iPhone >>>>> >>>>> On Feb 13, 2015, at 7:57 PM, Emrah > wrote: >>>>> >>>>>> Hi, >>>>>> The issue is persistent. I am curious to know if anyone else on the list is experiencing this. It doesn't seem to have been reported before. >>>>>> Should I dedicate a profile to TLS use only? >>>>>> I also posted a message on the list about receiving options packet with the wrong transport. Are these 2 issues connected? Here is a copy paste of my message: >>>>>> >>>>>> My experience with FS and TLS has been rather mixed so far. It's been a little inconsistent in keeping NAT sessions up and users discoverable. >>>>>> One thing I've noticed is that FS advertises the wrong information in option packets. The following is what I receive over my TLS session which is working on port 443. >>>>>> 1.2.3.4:443 -(SIP over TLS)-> 10.0.0.99:51132 >>>>>> OPTIONS sip:53178246 at 10.0.0.99:56494;transport=tls;received=5.6.7.8:51132 <> SIP/2.0 >>>>>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>>>>> Route: >;transport=tls >>>>>> Max-Forwards: 70 >>>>>> From: >;tag=Q6XDFHeUUrcHD >>>>>> To: > >>>>>> Call-ID: 0a052f23-34a8-4158-8c88-fd2a70ffb561_c2RhaSoOYBR6jfJe4ndLoTTKJMrO2gMv >>>>>> CSeq: 71498568 OPTIONS >>>>>> Contact: > >>>>>> User-Agent: FreeSWITCH >>>>>> 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-Length: 0 >>>>>> >>>>>> As you can see FS stamps the packet with a port 5060... No reference to port 443 with a transport=tls. >>>>>> >>>>>> What shall be done? >>>>>> >>>>>>> On Feb 5, 2015, at 3:18 PM, Emrah > wrote: >>>>>>> >>>>>>> Hi there, >>>>>>> This issue is happening all around with devices using TLS. It's not very frequent with softphones, but not inexistant. >>>>>>> Any pointers would be greatly appreciated. Do you have best practice configs you'd like to share? >>>>>>> >>>>>>> Thanks >>>>>>>> On Jan 30, 2015, at 6:10 PM, Emrah > wrote: >>>>>>>> >>>>>>>> Hi all, >>>>>>>> I am facing a very frustrating issue. I often have to dial twice when using my Yealink phone with TLS because the first attempt times out. >>>>>>>> The logs on the Yealink indicate that the first invite is successfully received, to which my FS sends a 100 trying and 407 proxy auth required. It is subsequently when my phone sends back the invite that the connection crashes with the following error: >>>>>>>> SSL ERROR SYSCALL >>>>>>>> >>>>>>>> Is this something common? Why does the SSL connection crashes when the phone attempts to send the second invite? My phone is behind NAT. >>>>>>>> >>>>>>>> It is going to be a crazy expedition to collect the logs and Pastebin them, so I am tempting my luck on the list first to see if you have any pointers. >>>>>>>> >>>>>>>> As a last piece, my Bria on my iPHone, among other clients, never had this issue. I did experience it from time to time with Blink on Mac OS X. >>>>>>>> >>>>>>>> Any help appreciated. >>>>>>>> >>>>>>>> Emrah >>>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> >>> >>> -- >>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/dde39c19/attachment-0001.html From matt at supportedbusiness.com Tue Jan 26 00:16:26 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Mon, 25 Jan 2016 21:16:26 +0000 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> Message-ID: the sched_broadcast with the hangup parameter should work fine, I use it in a few js projects :) The function is replaced by the sched_broadcast, so going by your example you would have: //set up the play file and hangup *session.execute("sched_broadcast", "+120 playback!normal_clearing::" + *sonidos + "/" + despedida + ".wav* both")*; ... ... ... *script continues* After 120 seconds, the sonidos/despedida.wav file will be played and then the call will end with the "normal_clearing" (16) cause code. During the 120 seconds, you can run any other code you need. If the call ends before the 120 seconds, the broadcast is automatically disposed of. thanks Matt On 25 January 2016 at 20:20, Michael Jerris wrote: > What exactly is the javascript doing when you want to call that callback? > this is probably not possible due to how the JavaScript is blocked by > native functions when doing actions such as handling audio due to the > threading model of the embedded languages. They run in the session thread > so they are not as async as people tend to be used to with js. This sort > of approach might be more appropriate when using js in a remote control > type structure such as when controlling a session over esl, but not in the > embedded mod_v8. we have discussed doing a truly async type control for > embedded languages but have never implemented it. > > On Monday, January 25, 2016, Normando Hall wrote: > >> Thanks Matt, I can play a file, but still can't run the function. Are >> there any application can run a function instead a file? >> >> Thanks! >> Normando >> >> >> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >> >> try using the 1 liner sched_broadcast >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >> >> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both >> legs after 60 seconds. >> >> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >> >> If you find you need to cancel the broadcast use: >> >> *session.execute("sched_cancel",maxTimeTaskID);* >> >> hope this helps. >> >> thanks >> Matt >> >> On 25 January 2016 at 06:58, wrote: >> >>> have no relationship to the resource, but first link to request >>> 'asynchronous code javascript' >>> >>> >>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>> >>> 25.01.2016, 09:16, "Normando Hall" : >>> > Sorry, I missed to say it is Freeswitch 1.4 >>> > >>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>> >> Hello everybody. >>> >> >>> >> I am coding a js script to do somethings, and I want to add a global >>> >> timeout, to call a function to play a file and hangup. But the >>> function >>> >> called inmediatelly. >>> >> Also tested with setInterval, the same behaviour. >>> >> >>> >> function playTimeout(despedida){ >>> >> if (session.ready()) { >>> >> logger("TIMEOUT"); >>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>> >> session.execute("sleep","500"); >>> >> logger(despedida); >>> >> session.execute("playback", sonidos + "/" + despedida + >>> ".wav"); >>> >> session.hangup(); >>> >> } >>> >> exit("TIMEOUT"); >>> >> } >>> >> >>> >> setTimeout(playTimeout(despedida),120000); >>> >> . >>> >> . >>> >> . >>> >> my script continue >>> >> >>> >> Any help is welcome! >>> >> >>> >> Thank you >>> >> Normando >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/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/20160125/2c457fe5/attachment.html From nhall at unixlan.com.ar Tue Jan 26 00:24:02 2016 From: nhall at unixlan.com.ar (Normando Hall) Date: Mon, 25 Jan 2016 18:24:02 -0300 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> Message-ID: <56A69272.5020105@unixlan.com.ar> Hi Michael. Yes, you are right, maybe the better is to use ESL. My script is basically an IVR. When all the audio files are played, then wait until the user press a dtmf key or timeout occur. Because there are a lot of files to play based on caller ID, I wait for the user input at the end of the script, but prior to finish the script, because hangsup. I workaround this with: session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); playTimeout(despedida) and return always "true" from "onPlay" callback. Respond to your question, this is the function I want to run in setTimeout: function playTimeout(despedida){ if (session.ready()) { logger("TIMEOUT"); session.execute("sleep","400"); session.execute("playback", sonidos + "/TIMEOUT.wav"); session.execute("sleep","400"); logger(despedida); session.execute("playback", sonidos + "/" + despedida + ".wav"); session.hangup(); } exit("TIMEOUT"); } Thanks Normando El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: > What exactly is the javascript doing when you want to call that > callback? this is probably not possible due to how the JavaScript is > blocked by native functions when doing actions such as handling audio > due to the threading model of the embedded languages. They run in the > session thread so they are not as async as people tend to be used to > with js. This sort of approach might be more appropriate when using > js in a remote control type structure such as when controlling a > session over esl, but not in the embedded mod_v8. we have discussed > doing a truly async type control for embedded languages but have never > implemented it. > > On Monday, January 25, 2016, Normando Hall > wrote: > > Thanks Matt, I can play a file, but still can't run the function. > Are there any application can run a function instead a file? > > Thanks! > Normando > > > El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >> try using the 1 liner >> sched_broadcast https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >> >> >> The below will schedule a broadcast to play /tmp/hangupfile.mp3 >> to both legs after 60 seconds. >> >> /maxTimeTaskID = //session.execute("sched_broadcast", "+60 >> playback!normal_clearing::/tmp/hangupfile.mp3 both")/; >> >> If you find you need to cancel the broadcast use: >> >> /session.execute("sched_cancel",maxTimeTaskID);/ >> >> hope this helps. >> >> thanks >> Matt >> >> On 25 January 2016 at 06:58, > > wrote: >> >> have no relationship to the resource, but first link to >> request 'asynchronous code javascript' >> >> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >> >> 25.01.2016, 09:16, "Normando Hall" > >: >> > Sorry, I missed to say it is Freeswitch 1.4 >> > >> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >> >> Hello everybody. >> >> >> >> I am coding a js script to do somethings, and I want to >> add a global >> >> timeout, to call a function to play a file and hangup. >> But the function >> >> called inmediatelly. >> >> Also tested with setInterval, the same behaviour. >> >> >> >> function playTimeout(despedida){ >> >> if (session.ready()) { >> >> logger("TIMEOUT"); >> >> session.execute("playback", sonidos + >> "/TIMEOUT.wav"); >> >> session.execute("sleep","500"); >> >> logger(despedida); >> >> session.execute("playback", sonidos + "/" + >> despedida + ".wav"); >> >> session.hangup(); >> >> } >> >> exit("TIMEOUT"); >> >> } >> >> >> >> setTimeout(playTimeout(despedida),120000); >> >> . >> >> . >> >> . >> >> my script continue >> >> >> >> Any help is welcome! >> >> >> >> Thank you >> >> Normando >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/7fed2f89/attachment-0001.html From mike at jerris.com Tue Jan 26 01:11:17 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 25 Jan 2016 17:11:17 -0500 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: <56A69272.5020105@unixlan.com.ar> References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: If you are trying to trigger that code to run at a specific time, regardless of what else it is doing, that will be very difficult to do with embedded js, and running with something async is probably required. A note, you might want to look at phrase macros as they will greatly simplify some of that code as well.\ Mike > On Jan 25, 2016, at 4:24 PM, Normando Hall wrote: > > Hi Michael. > > Yes, you are right, maybe the better is to use ESL. > My script is basically an IVR. When all the audio files are played, then wait until the user press a dtmf key or timeout occur. Because there are a lot of files to play based on caller ID, I wait for the user input at the end of the script, but prior to finish the script, because hangsup. > > I workaround this with: > > session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); > playTimeout(despedida) > > and return always "true" from "onPlay" callback. > > Respond to your question, this is the function I want to run in setTimeout: > > function playTimeout(despedida){ > if (session.ready()) { > logger("TIMEOUT"); > session.execute("sleep","400"); > session.execute("playback", sonidos + "/TIMEOUT.wav"); > session.execute("sleep","400"); > logger(despedida); > session.execute("playback", sonidos + "/" + despedida + ".wav"); > session.hangup(); > } > exit("TIMEOUT"); > } > > Thanks > Normando > > El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >> What exactly is the javascript doing when you want to call that callback? this is probably not possible due to how the JavaScript is blocked by native functions when doing actions such as handling audio due to the threading model of the embedded languages. They run in the session thread so they are not as async as people tend to be used to with js. This sort of approach might be more appropriate when using js in a remote control type structure such as when controlling a session over esl, but not in the embedded mod_v8. we have discussed doing a truly async type control for embedded languages but have never implemented it. >> >> On Monday, January 25, 2016, Normando Hall < nhall at unixlan.com.ar > wrote: >> Thanks Matt, I can play a file, but still can't run the function. Are there any application can run a function instead a file? >> >> Thanks! >> Normando >> >> >> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>> try using the 1 liner sched_broadcast https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>> >>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both legs after 60 seconds. >>> >>> maxTimeTaskID = session.execute("sched_broadcast", "+60 playback!normal_clearing::/tmp/hangupfile.mp3 both"); >>> >>> If you find you need to cancel the broadcast use: >>> >>> session.execute("sched_cancel",maxTimeTaskID); >>> >>> hope this helps. >>> >>> thanks >>> Matt >>> >>> On 25 January 2016 at 06:58, > wrote: >>> have no relationship to the resource, but first link to request 'asynchronous code javascript' >>> >>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>> >>> 25.01.2016, 09:16, "Normando Hall" < nhall at unixlan.com.ar >: >>> > Sorry, I missed to say it is Freeswitch 1.4 >>> > >>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>> >> Hello everybody. >>> >> >>> >> I am coding a js script to do somethings, and I want to add a global >>> >> timeout, to call a function to play a file and hangup. But the function >>> >> called inmediatelly. >>> >> Also tested with setInterval, the same behaviour. >>> >> >>> >> function playTimeout(despedida){ >>> >> if (session.ready()) { >>> >> logger("TIMEOUT"); >>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>> >> session.execute("sleep","500"); >>> >> logger(despedida); >>> >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>> >> session.hangup(); >>> >> } >>> >> exit("TIMEOUT"); >>> >> } >>> >> >>> >> setTimeout(playTimeout(despedida),120000); >>> >> . >>> >> . >>> >> . >>> >> my script continue >>> >> >>> >> Any help is welcome! >>> >> >>> >> Thank you >>> >> Normando >>> >> >>> >> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/8104b093/attachment-0001.html From chad at apartmentlines.com Tue Jan 26 01:20:29 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Mon, 25 Jan 2016 15:20:29 -0700 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Stanislav, Back when I originally wrote Jester, we did some basic load testing of the Comdian Mail replica profile against Asterisk's actual Comedian Mail (which is written in C), and the Jester implementation outperformed it. I think you may be overestimating strain of loading Jester once per call. Not counting comments, the core module is less than 800 lines of code (hardly 'huge'), the other modules are all smaller than that, and they can be loaded conditionally based upon what you want to accomplish. And for those looking to squeeze more performance out, there's a supplied script to pre-compile core and all modules, which means they wouldn't have to be re-compiled every time they're loaded. I'm clear that there would be more efficient approaches than writing a Lua toolkit, and, I doubt that most of them would be as easily accessible as something written in Lua. Given that Lua is already blazing fast for a scripting language, I think it's a fair compromise. I will add that I've considered rewriting the core functionality in C for a number of reasons, performance being one of them, but at this time have neither the skill nor the time to learn the skill of writing C code at that level. Someday, maybe... :) Chad On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin wrote: > Yes, for relatively small scripts that are concentrated on their jobs. But > this thing is huge. > On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: > >> Lua is likely to be by far the most efficient of any scripting language >> used in FreeSWITCH, if there is still really a concern about performance, >> more pieces can be moved to helpers built out in c code. If you are >> looking for dynamic but still optimal performance, lua is likely your best >> bet >> >> On Sunday, January 24, 2016, Stanislav Sinyagin >> wrote: >> >>> why not re-implementing it in Golang and ESL? >>> >>> What's happening now with your system, is that FreeSWITCH loads few >>> thousand lines of Lua code on every call establishment. So, even with >>> default 30cps limit, you may overload the CPU with unnecessary job. >>> >>> if you don't like Go, it could be some other language, but I like the >>> built-in threads in it. >>> >>> >>> >>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips >>> wrote: >>> > Hi Bote, >>> > >>> > The difference is (supposed to be) that using Jester takes a lot of the >>> > dirty work out of doing things that you must turn to scripting for. The >>> > original design was to remove almost all scripting complexity, and >>> instead >>> > have users use a more template-based approach to writing their advanced >>> > workflows. You can have a look at >>> > >>> http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences >>> > to see the basic template style. >>> > >>> > And here's an example template that does some fairly advanced stuff: >>> > >>> > >>> http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html >>> > >>> > To my eyes, what the template accomplishes is quite easy to deduce from >>> > simply reading it, and all of the dirty work for taking those actions >>> is >>> > handled by Jester core and the supporting modules. >>> > >>> > The current limitation is that you must use the template structure to >>> gain >>> > access to Jester's modules. Looking back, this was a design mistake >>> that I >>> > intend to rectify -- it would be much more powerful and flexible to >>> use a >>> > template when it made sense, and still be able to mix pure Lua >>> scripting >>> > with calls to Jester's support modules when that makes more sense. And >>> what >>> > I'm hoping to get help with is correcting that design flaw while >>> preserving >>> > 'the good stuff' in the toolkit. >>> > >>> > Chad >>> > >>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man >>> wrote: >>> >> >>> >> Hey Chad, long time no chat J I saw your update to the Help section >>> of >>> >> the Confluence page concerning this and glanced at some things there. >>> >> >>> >> >>> >> >>> >> I guess I don?t even know enough to understand the difference between >>> >> using your toolkit and just plain writing a Lua script. Would I, for >>> >> example, write an abbreviated Lua script that calls tested and proven >>> >> functions in your toolkit, sort of like a library? >>> >> >>> >> >>> >> >>> >> Anyway it sounds useful, so thanks. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> --- >>> >> >>> >> Bote >>> >> >>> >> >>> >> >>> >> FreeSWITCH Docs Janitor >>> >> >>> >> http://freeswitch.org/confluence >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> From: Chad Phillips >>> >> Sent: Friday, 22 January, 2016 14:41 >>> >> Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua >>> >> scripting toolkit >>> >> >>> >> >>> >> >>> >> Looking for folks in the FreeSWITCH community who would be interested >>> in >>> >> collaborating on an open source scripting toolkit I've written for >>> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to >>> common >>> >> scripting needs, so as not to reinvent the wheel. >>> >> >>> >> >>> >> >>> >> The original project was written in 2010. A lot of it still works >>> great, >>> >> and there are some design flaws that I'd like to work out in the next >>> >> release. >>> >> >>> >> >>> >> >>> >> Project code is here: https://github.com/thehunmonkgroup/jester >>> >> >>> >> >>> >> >>> >> Some background and reasoning for the project here: >>> >> >>> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >>> >> >>> >> >>> >> >>> >> If anyone is interested in helping, please let me know! >>> >> >>> >> >>> >> >>> >> Chad >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160125/078f49b4/attachment.html From ssinyagin at gmail.com Tue Jan 26 02:13:41 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 26 Jan 2016 00:13:41 +0100 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Chad, if it's a daemon that stays in memory, it doesn't need to be written in C. It just needs to handle concurrent requests efficiently. It could be anything like python, perl, java... or golang which beats them in performance because it's compiled into native code. But the bottleneck would anyway be in I/O or database lookups, so it should simply be the language which you master the best. The nice thing about ESL is that it allows you to build a clusterized environment, with separated functional nodes and easily scalable. Then you may, for example, keep FreeSWITCH on a physical CPU churning its real-time tasks, and the application logic on a set of virtual machines with less-demanding SLA. I know some guys who implement this with Node.js. I'm not sure it's the right choice, but still it shows adequate performance. On Mon, Jan 25, 2016 at 11:20 PM, Chad Phillips wrote: > Stanislav, > > Back when I originally wrote Jester, we did some basic load testing of the > Comdian Mail replica profile against Asterisk's actual Comedian Mail (which > is written in C), and the Jester implementation outperformed it. > > I think you may be overestimating strain of loading Jester once per call. > Not counting comments, the core module is less than 800 lines of code > (hardly 'huge'), the other modules are all smaller than that, and they can > be loaded conditionally based upon what you want to accomplish. And for > those looking to squeeze more performance out, there's a supplied script to > pre-compile core and all modules, which means they wouldn't have to be > re-compiled every time they're loaded. > > I'm clear that there would be more efficient approaches than writing a Lua > toolkit, and, I doubt that most of them would be as easily accessible as > something written in Lua. Given that Lua is already blazing fast for a > scripting language, I think it's a fair compromise. > > I will add that I've considered rewriting the core functionality in C for a > number of reasons, performance being one of them, but at this time have > neither the skill nor the time to learn the skill of writing C code at that > level. Someday, maybe... :) > > Chad > > On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin > wrote: >> >> Yes, for relatively small scripts that are concentrated on their jobs. But >> this thing is huge. >> >> On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: >>> >>> Lua is likely to be by far the most efficient of any scripting language >>> used in FreeSWITCH, if there is still really a concern about performance, >>> more pieces can be moved to helpers built out in c code. If you are looking >>> for dynamic but still optimal performance, lua is likely your best bet >>> >>> On Sunday, January 24, 2016, Stanislav Sinyagin >>> wrote: >>>> >>>> why not re-implementing it in Golang and ESL? >>>> >>>> What's happening now with your system, is that FreeSWITCH loads few >>>> thousand lines of Lua code on every call establishment. So, even with >>>> default 30cps limit, you may overload the CPU with unnecessary job. >>>> >>>> if you don't like Go, it could be some other language, but I like the >>>> built-in threads in it. >>>> >>>> >>>> >>>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips >>>> wrote: >>>> > Hi Bote, >>>> > >>>> > The difference is (supposed to be) that using Jester takes a lot of >>>> > the >>>> > dirty work out of doing things that you must turn to scripting for. >>>> > The >>>> > original design was to remove almost all scripting complexity, and >>>> > instead >>>> > have users use a more template-based approach to writing their >>>> > advanced >>>> > workflows. You can have a look at >>>> > >>>> > http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences >>>> > to see the basic template style. >>>> > >>>> > And here's an example template that does some fairly advanced stuff: >>>> > >>>> > >>>> > http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html >>>> > >>>> > To my eyes, what the template accomplishes is quite easy to deduce >>>> > from >>>> > simply reading it, and all of the dirty work for taking those actions >>>> > is >>>> > handled by Jester core and the supporting modules. >>>> > >>>> > The current limitation is that you must use the template structure to >>>> > gain >>>> > access to Jester's modules. Looking back, this was a design mistake >>>> > that I >>>> > intend to rectify -- it would be much more powerful and flexible to >>>> > use a >>>> > template when it made sense, and still be able to mix pure Lua >>>> > scripting >>>> > with calls to Jester's support modules when that makes more sense. And >>>> > what >>>> > I'm hoping to get help with is correcting that design flaw while >>>> > preserving >>>> > 'the good stuff' in the toolkit. >>>> > >>>> > Chad >>>> > >>>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man >>>> > wrote: >>>> >> >>>> >> Hey Chad, long time no chat J I saw your update to the Help section >>>> >> of >>>> >> the Confluence page concerning this and glanced at some things there. >>>> >> >>>> >> >>>> >> >>>> >> I guess I don?t even know enough to understand the difference between >>>> >> using your toolkit and just plain writing a Lua script. Would I, for >>>> >> example, write an abbreviated Lua script that calls tested and proven >>>> >> functions in your toolkit, sort of like a library? >>>> >> >>>> >> >>>> >> >>>> >> Anyway it sounds useful, so thanks. >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> --- >>>> >> >>>> >> Bote >>>> >> >>>> >> >>>> >> >>>> >> FreeSWITCH Docs Janitor >>>> >> >>>> >> http://freeswitch.org/confluence >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> From: Chad Phillips >>>> >> Sent: Friday, 22 January, 2016 14:41 >>>> >> Subject: [Freeswitch-users] Seeking collaborators for FreeSWITCH/Lua >>>> >> scripting toolkit >>>> >> >>>> >> >>>> >> >>>> >> Looking for folks in the FreeSWITCH community who would be interested >>>> >> in >>>> >> collaborating on an open source scripting toolkit I've written for >>>> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to >>>> >> common >>>> >> scripting needs, so as not to reinvent the wheel. >>>> >> >>>> >> >>>> >> >>>> >> The original project was written in 2010. A lot of it still works >>>> >> great, >>>> >> and there are some design flaws that I'd like to work out in the next >>>> >> release. >>>> >> >>>> >> >>>> >> >>>> >> Project code is here: https://github.com/thehunmonkgroup/jester >>>> >> >>>> >> >>>> >> >>>> >> Some background and reasoning for the project here: >>>> >> >>>> >> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >>>> >> >>>> >> >>>> >> >>>> >> If anyone is interested in helping, please let me know! >>>> >> >>>> >> >>>> >> >>>> >> Chad >>>> >> >>>> >> >>>> >> >>>> >> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> >>>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Jan 26 06:55:56 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 26 Jan 2016 03:55:56 +0000 Subject: [Freeswitch-users] Random calls failing with WRONG_CALL_STATe when using TLS In-Reply-To: <4EC36A08-3E64-4A8A-B80C-E903017874B0@kavun.ch> References: <45FAC76E-D2B7-483A-88AB-9FB98600C42B@kavun.ch> <2B416F4C-561E-48E1-A31D-BB82854AB84E@kavun.ch> <7AB693FD-921B-43F0-81B4-41610CC5A4C3@freeswitch.org> <001E3109-E3ED-481E-A456-64B9603A8A44@kavun.ch> <72542EA4-5014-4F6B-9C32-523F975737FA@kavun.ch> <891CEDE1-9FE4-421C-88A8-CE8640E76A22@kavun.ch> <4EC36A08-3E64-4A8A-B80C-E903017874B0@kavun.ch> Message-ID: Please look contact string of registered client. If transport tcp, then disable sips uri and enable sip+tls On Mon, Jan 25, 2016, 23:39 Emrah wrote: > I have found that some carriers trim the UDP packets to 512. This may be > related. > > > How? TLS will force signaling in TCP. > Compact headers don?t help much. In fact many client don?t offer it. > > More suggestions welcome. > > > > On Jan 19, 2016, at 3:43 PM, Luis Daniel Lucio Quiroz < > luis.daniel.lucio at gmail.com> wrote: > > I have found that some carriers trim the UDP packets to 512. This may be > related. > > There is an option in the Sophia profile to use short header names. That > will help for sure > Le 19 janv. 2016 2:26 AM, "Emrah" a ?crit : > >> Hi there, >> So what do we do of this? >> I don?t have any TLS issues except with FreeSWITCH. And to everyone here, >> it?s an issue with the equipment or the soft phone. >> I tried FS V1.2, 1.4, 1.6 and 1.7. >> Now remember this is something that can be reproduced with Yealink, >> Polycom, an I recently found out that Counterpath Bria was in the same >> basket. >> https://support.counterpath.com/topic/intermittent-tls-403-forbidden-error >> >> We know what the problem is. When the TLS packet is too large, possibly >> because of a long list of codecs, the TLS thread crashes on the client. >> >> The question is, how can this happen only when using FS? The same clients >> do OK with other TLS enabled PBXs. >> >> Emrah >> >> On Jan 14, 2016, at 1:09 PM, Emrah wrote: >> >> I was certain that I?d fixe all my issues with an FS update to 1.6. >> After much frustration and over a year of trial and error, I found out >> that the TLS session breaks if the content of the packet is too large. >> This was also confirmed with the FS documentation that lists this issue >> as a generic Polycom issue: Generic Polycom issues >> >> >> I can confirm that this also happens with Yealink phones and a couple of >> other Softphones including Blink Pro on Mac OS X. >> >> So far, I?ve only experienced this with FS. I?ve not been able to >> replicate this with other SIP servers that can also transport and handle >> media. >> >> Anyone else can relate to this? >> >> Anyway, what?s worked for me is to make my packets as small as possible >> by reducing the number of offered codecs to the bare minimum. >> >> Best, >> E >> >> On Mar 3, 2015, at 2:38 PM, Brian West wrote: >> >> sofia global siptrace on >> sofia loglevel all 9 >> >> Then outline the scenario and config on the JIRA. >> >> On Tue, Mar 3, 2015 at 7:54 AM, Emrah wrote: >> >>> Hey Brian, just saw this message. >>> There is no other UA in between FS and the endpoint. There is a regular >>> NAT, that's all. >>> What seems to happen is: >>> endpoint -> FS: invite = ok >>> FS -> endpoint: 407 = OK >>> Endpoint -> FS: invite = Fails with SSL error. >>> >>> What are the components I should capture to open up a Jira? FS Logs, FS >>> Siptrace, anything else? >>> >>> Thanks! >>> >>> On Feb 16, 2015, at 2:44 PM, Brian West wrote: >>> >>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>> >>> Your issue is the contact has no port 443 or transport=tls right? What >>> sits between FS and the endpoint? >>> >>> On Sun, Feb 15, 2015 at 5:38 AM, Emrah wrote: >>> >>>> Thanks Ken. Is there a way to filter the SIP trace? It's a busy box. >>>> >>>> On Feb 14, 2015, at 3:35 AM, Ken Rice wrote: >>>> >>>> Open a jire with a full debug login including sip tracing on >>>> >>>> Sent from my iPhone >>>> >>>> On Feb 13, 2015, at 7:57 PM, Emrah wrote: >>>> >>>> Hi, >>>> The issue is persistent. I am curious to know if anyone else on the >>>> list is experiencing this. It doesn't seem to have been reported before. >>>> Should I dedicate a profile to TLS use only? >>>> I also posted a message on the list about receiving options packet with >>>> the wrong transport. Are these 2 issues connected? Here is a copy paste of >>>> my message: >>>> >>>> My experience with FS and TLS has been rather mixed so far. It's been a >>>> little inconsistent in keeping NAT sessions up and users discoverable. >>>> One thing I've noticed is that FS advertises the wrong information in >>>> option packets. The following is what I receive over my TLS session which >>>> is working on port 443. >>>> 1.2.3.4:443 -(SIP over TLS)-> 10.0.0.99:51132 >>>> OPTIONS >>>> sip:53178246 at 10.0.0.99:56494;transport=tls;received=5.6.7.8:51132 >>>> SIP/2.0 >>>> Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD >>>> Route: ;transport=tls >>>> Max-Forwards: 70 >>>> From: ;tag=Q6XDFHeUUrcHD >>>> To: >>>> Call-ID: >>>> 0a052f23-34a8-4158-8c88-fd2a70ffb561_c2RhaSoOYBR6jfJe4ndLoTTKJMrO2gMv >>>> CSeq: 71498568 OPTIONS >>>> Contact: >>>> User-Agent: FreeSWITCH >>>> 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-Length: 0 >>>> >>>> As you can see FS stamps the packet with a port 5060... No reference to >>>> port 443 with a transport=tls. >>>> >>>> What shall be done? >>>> >>>> On Feb 5, 2015, at 3:18 PM, Emrah wrote: >>>> >>>> Hi there, >>>> This issue is happening all around with devices using TLS. It's not >>>> very frequent with softphones, but not inexistant. >>>> Any pointers would be greatly appreciated. Do you have best practice >>>> configs you'd like to share? >>>> >>>> Thanks >>>> >>>> On Jan 30, 2015, at 6:10 PM, Emrah wrote: >>>> >>>> Hi all, >>>> I am facing a very frustrating issue. I often have to dial twice when >>>> using my Yealink phone with TLS because the first attempt times out. >>>> The logs on the Yealink indicate that the first invite is successfully >>>> received, to which my FS sends a 100 trying and 407 proxy auth required. It >>>> is subsequently when my phone sends back the invite that the connection >>>> crashes with the following error: >>>> SSL ERROR SYSCALL >>>> >>>> Is this something common? Why does the SSL connection crashes when the >>>> phone attempts to send the second invite? My phone is behind NAT. >>>> >>>> It is going to be a crazy expedition to collect the logs and Pastebin >>>> them, so I am tempting my luck on the list first to see if you have any >>>> pointers. >>>> >>>> As a last piece, my Bria on my iPHone, among other clients, never had >>>> this issue. I did experience it from time to time with Blink on Mac OS X. >>>> >>>> Any help appreciated. >>>> >>>> Emrah >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http:// >>>> lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >> >> >> >> -- >> >> *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 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/0a3ba98c/attachment-0001.html From siju at in.chitrchatr.net Tue Jan 26 08:13:48 2016 From: siju at in.chitrchatr.net (Siju Nair) Date: Tue, 26 Jan 2016 10:43:48 +0530 Subject: [Freeswitch-users] Fwd: documents for mod_verto In-Reply-To: <56A5D323.8000107@in.chitrchatr.net> References: <56A5D323.8000107@in.chitrchatr.net> Message-ID: <56A7008C.1040402@in.chitrchatr.net> Hi Team, i am trying mod_verto, i didn't find more documents regarding this, can i have a link or pdf file where i can see in depth details of mod_verto. Thanks, Siju Nair From krice at freeswitch.org Tue Jan 26 08:24:15 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 25 Jan 2016 23:24:15 -0600 Subject: [Freeswitch-users] Fwd: documents for mod_verto In-Reply-To: <56A7008C.1040402@in.chitrchatr.net> References: <56A5D323.8000107@in.chitrchatr.net> <56A7008C.1040402@in.chitrchatr.net> Message-ID: <35e101d157f9$cca9d350$65fd79f0$@freeswitch.org> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/end points/mod_verto -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Siju Nair Sent: Monday, January 25, 2016 11:14 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Fwd: documents for mod_verto Hi Team, i am trying mod_verto, i didn't find more documents regarding this, can i have a link or pdf file where i can see in depth details of mod_verto. Thanks, Siju Nair _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Tue Jan 26 10:04:39 2016 From: steveu at coppice.org (Steve Underwood) Date: Tue, 26 Jan 2016 15:04:39 +0800 Subject: [Freeswitch-users] Control Success with rxfax In-Reply-To: References: Message-ID: <56A71A87.7000507@coppice.org> On 01/15/2016 08:40 PM, Adam Sherman wrote: > Good Morning, > > Is it possible to control whether the rxfax application sends a > success code back to the far end? > > I would like to have a setup where the calling fax machine only thinks > there was success if my mod_python script successfully submits the > file to our mail server. > In the FAX protocol pages are accepted or rejected one by one. There is no overall success or failure condition reported back to the caller. Steve From findmeinwland at gmail.com Tue Jan 26 11:03:40 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Tue, 26 Jan 2016 13:03:40 +0500 Subject: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL Message-ID: Hello everybody, How can i connect to postgres database from lua through freeswitch.dbh ? I tried local dbh = freeswitch.dbh("pgsql://hostaddr=127.0.0.1 dbname=some_db user=uname password='passwd'") -- returns nil local dbh = freeswitch.dbh("odbc://some_db:uname:passwd") -- returns nil too Also I set up ODBS with PostgreSQL driver. If I run this command in console: isql some_db uname passwd then I can successfully connect to my database. What am i doing wrong? Also I tried to link odbc*.ini files for freeswitch: mkdir /usr/local/freeswitch/etc ln -s /etc/odbcinst.ini /usr/local/freeswitch/etc/odbcinst.ini ln -s /etc/odbc.ini /usr/local/freeswitch/etc/odbc.ini but it doesn't help too. Thanks in advance. -- Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/5c22fb04/attachment.html From matt at supportedbusiness.com Tue Jan 26 12:03:34 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Tue, 26 Jan 2016 09:03:34 +0000 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: Hi Normando, from your description I assumed you were just trying to schedule a file to play and hang up. If you are trying to run a block of code at a certain time in the future then you could use sched_api. https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api This will execute an API command after a given time. In your case you could use the API command *jsrun* to run a script containing your function. An example would be: *result = apiExecute("sched_api","120 "+session.uuid+" jsrun /scripts/function.js "+session.uuid+" "+despedida);* The above will execute jsrun after 120 seconds (this is linked to the session.uuid so if the channel is destroyed the task will be removed automatically). This will run the function.js file and pass it the current session uuid along with the despedida variable. Within the function.js file, you can create a session object using the uuid passed through and then use this to play the file etc e.g of function.js var session = new Session(argv[0]); var despedida = argv[1]; if (session.ready()) { logger("TIMEOUT"); session.execute("playback", sonidos + "/TIMEOUT.wav"); session.execute("sleep","500"); logger(despedida); session.execute("playback", sonidos + "/" + despedida + ".wav"); session.hangup(); } exit("TIMEOUT"); thanks Matt On 25 January 2016 at 22:11, Michael Jerris wrote: > If you are trying to trigger that code to run at a specific time, > regardless of what else it is doing, that will be very difficult to do with > embedded js, and running with something async is probably required. A > note, you might want to look at phrase macros as they will greatly simplify > some of that code as well.\ > Mike > > On Jan 25, 2016, at 4:24 PM, Normando Hall wrote: > > Hi Michael. > > Yes, you are right, maybe the better is to use ESL. > My script is basically an IVR. When all the audio files are played, then > wait until the user press a dtmf key or timeout occur. Because there are a > lot of files to play based on caller ID, I wait for the user input at the > end of the script, but prior to finish the script, because hangsup. > > I workaround this with: > > session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); > playTimeout(despedida) > > and return always "true" from "onPlay" callback. > > Respond to your question, this is the function I want to run in setTimeout: > > function playTimeout(despedida){ > if (session.ready()) { > logger("TIMEOUT"); > session.execute("sleep","400"); > session.execute("playback", sonidos + "/TIMEOUT.wav"); > session.execute("sleep","400"); > logger(despedida); > session.execute("playback", sonidos + "/" + despedida + ".wav"); > session.hangup(); > } > exit("TIMEOUT"); > } > > Thanks > Normando > > El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: > > What exactly is the javascript doing when you want to call that callback? > this is probably not possible due to how the JavaScript is blocked by > native functions when doing actions such as handling audio due to the > threading model of the embedded languages. They run in the session thread > so they are not as async as people tend to be used to with js. This sort > of approach might be more appropriate when using js in a remote control > type structure such as when controlling a session over esl, but not in the > embedded mod_v8. we have discussed doing a truly async type control for > embedded languages but have never implemented it. > > On Monday, January 25, 2016, Normando Hall < > nhall at unixlan.com.ar> wrote: > >> Thanks Matt, I can play a file, but still can't run the function. Are >> there any application can run a function instead a file? >> >> Thanks! >> Normando >> >> >> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >> >> try using the 1 liner sched_broadcast >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >> >> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both >> legs after 60 seconds. >> >> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >> >> If you find you need to cancel the broadcast use: >> >> *session.execute("sched_cancel",maxTimeTaskID);* >> >> hope this helps. >> >> thanks >> Matt >> >> On 25 January 2016 at 06:58, wrote: >> >>> have no relationship to the resource, but first link to request >>> 'asynchronous code javascript' >>> >>> >>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>> >>> 25.01.2016, 09:16, "Normando Hall" : >>> > Sorry, I missed to say it is Freeswitch 1.4 >>> > >>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>> >> Hello everybody. >>> >> >>> >> I am coding a js script to do somethings, and I want to add a global >>> >> timeout, to call a function to play a file and hangup. But the >>> function >>> >> called inmediatelly. >>> >> Also tested with setInterval, the same behaviour. >>> >> >>> >> function playTimeout(despedida){ >>> >> if (session.ready()) { >>> >> logger("TIMEOUT"); >>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>> >> session.execute("sleep","500"); >>> >> logger(despedida); >>> >> session.execute("playback", sonidos + "/" + despedida + >>> ".wav"); >>> >> session.hangup(); >>> >> } >>> >> exit("TIMEOUT"); >>> >> } >>> >> >>> >> setTimeout(playTimeout(despedida),120000); >>> >> . >>> >> . >>> >> . >>> >> my script continue >>> >> >>> >> Any help is welcome! >>> >> >>> >> Thank you >>> >> Normando >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/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.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/20160126/fe8a0035/attachment-0001.html From siju at in.chitrchatr.net Tue Jan 26 12:47:02 2016 From: siju at in.chitrchatr.net (Siju Nair) Date: Tue, 26 Jan 2016 15:17:02 +0530 Subject: [Freeswitch-users] Fwd: documents for mod_verto In-Reply-To: <35e101d157f9$cca9d350$65fd79f0$@freeswitch.org> References: <56A5D323.8000107@in.chitrchatr.net> <56A7008C.1040402@in.chitrchatr.net> <35e101d157f9$cca9d350$65fd79f0$@freeswitch.org> Message-ID: <56A74096.1010809@in.chitrchatr.net> apart from this any other freeswitch wiki document for mod verto . On Tuesday 26 January 2016 10:54 AM, Ken Rice wrote: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/end > points/mod_verto > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Siju > Nair > Sent: Monday, January 25, 2016 11:14 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Fwd: documents for mod_verto > > > Hi Team, > i am trying mod_verto, i didn't find more documents regarding this, can i > have a link or pdf file where i can see in depth details of mod_verto. > > > Thanks, > Siju Nair > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 asilva at wirelessmundi.com Tue Jan 26 12:52:31 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Tue, 26 Jan 2016 10:52:31 +0100 Subject: [Freeswitch-users] Fwd: documents for mod_verto In-Reply-To: <56A74096.1010809@in.chitrchatr.net> References: <56A5D323.8000107@in.chitrchatr.net> <56A7008C.1040402@in.chitrchatr.net> <35e101d157f9$cca9d350$65fd79f0$@freeswitch.org> <56A74096.1010809@in.chitrchatr.net> Message-ID: <56A741DF.1010102@wirelessmundi.com> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto On 01/26/2016 10:47 AM, Siju Nair wrote: > apart from this any other freeswitch wiki document for mod verto . > > On Tuesday 26 January 2016 10:54 AM, Ken Rice wrote: >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/end >> points/mod_verto >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Siju >> Nair >> Sent: Monday, January 25, 2016 11:14 PM >> To: freeswitch-users at lists.freeswitch.org >> Subject: [Freeswitch-users] Fwd: documents for mod_verto >> >> >> Hi Team, >> i am trying mod_verto, i didn't find more documents regarding this, can i >> have a link or pdf file where i can see in depth details of mod_verto. >> >> >> Thanks, >> Siju Nair >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva From regis.freeswitch.org at tornad.net Tue Jan 26 17:05:16 2016 From: regis.freeswitch.org at tornad.net (Regis M) Date: Tue, 26 Jan 2016 15:05:16 +0100 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: <9DD35421-D135-4C73-8E04-0398D47450C7@freeswitch.org> References: <56A09892.5050500@softnet.si> <56A222CD.7010907@softnet.si> <9DD35421-D135-4C73-8E04-0398D47450C7@freeswitch.org> Message-ID: What a great thing !!! It helps me to progress in a working verto/rtc system. I could make a call, but no sound available, it seems I had a problem with media in chrome. a=ssrc:850254557 cname:mfibZS7rm3m03AFr a=ssrc:850254557 msid:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheo a0 a=ssrc:850254557 mslabel:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheo a=ssrc:850254557 label:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheoa0 jquery.verto.js:2038 Dialog a327a3bf-80cc-e6fd-e23c-ee3c03e77b2a: state change from trying to active jquery.verto.js:2061 Using Speaker: true jquery.FSRTC.js:266 REMOTE STREAM MediaStream {} undefined *jquery.FSRTC.js:268 Uncaught TypeError: Cannot read property 'srcObject' of undefined* Can you help me ? 2016-01-22 23:17 GMT+01:00 ?talo Rossi : > We also did http://evoluxbr.github.io/verto-docs/ > > > On 22 de jan de 2016, at 09:38, Miha wrote: > > > > OK. tnx > > > > Will take a look in it. > > > > On 21/01/2016 09:50, Giacomo Vacca wrote: > >> I've found it useful to get insights from the source code: > >> > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto > >> > >> And in particular an example of usage in the demo folder: > >> > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo > >> > >> A suggested read is > >> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto > >> > >> which links to the actual demo: > >> https://webrtc.freeswitch.org/verto/index.html#page-main > >> > >> Giacomo > >> > >> On 21 January 2016 at 09:46, Giovanni Maruzzelli > wrote: > >> > >> > >> On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: > >> Hi, > >> > >> is the any info regarding javascript library usage for client part? > >> > >> > >> Not yet, but you can check how is used by Verto Communicator, or see > the easier (basic) example implementation described in latest FreeSWITCH > Cookbok from Packtpub. > >> > >> -giovanni > >> > >> > >> > >> tnx > >> miha > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/8bd7861d/attachment.html From abaci64 at gmail.com Tue Jan 26 17:28:55 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 26 Jan 2016 09:28:55 -0500 Subject: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL In-Reply-To: References: Message-ID: it's freeswitch.Dbh with a capital D. On Tue, Jan 26, 2016 at 3:03 AM, Artur Mega wrote: > Hello everybody, > How can i connect to postgres database from lua through freeswitch.dbh ? > > I tried > local dbh = freeswitch.dbh("pgsql://hostaddr=127.0.0.1 dbname=some_db > user=uname password='passwd'") -- returns nil > local dbh = freeswitch.dbh("odbc://some_db:uname:passwd") -- returns nil > too > > Also I set up ODBS with PostgreSQL driver. If I run this command in > console: > > isql some_db uname passwd > > then I can successfully connect to my database. What am i doing wrong? > Also I tried to link odbc*.ini files for freeswitch: > > mkdir /usr/local/freeswitch/etc > ln -s /etc/odbcinst.ini /usr/local/freeswitch/etc/odbcinst.ini > ln -s /etc/odbc.ini /usr/local/freeswitch/etc/odbc.ini > > but it doesn't help too. Thanks in advance. > > -- > > Arthur > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/ea79e624/attachment-0001.html From mike at jerris.com Tue Jan 26 17:43:41 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 26 Jan 2016 09:43:41 -0500 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: this won't actually work. You can't session execute from outside the session thread like this. On Tuesday, January 26, 2016, Matt Broad wrote: > Hi Normando, > > from your description I assumed you were just trying to schedule a file to > play and hang up. > > If you are trying to run a block of code at a certain time in the future > then you could use sched_api. > https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api > This will execute an API command after a given time. In your case you > could use the API command *jsrun* to run a script containing your > function. > > An example would be: > > *result = apiExecute("sched_api","120 "+session.uuid+" jsrun > /scripts/function.js "+session.uuid+" "+despedida);* > > > The above will execute jsrun after 120 seconds (this is linked to the > session.uuid so if the channel is destroyed the task will be removed > automatically). This will run the function.js file and pass it the current > session uuid along with the despedida variable. > Within the function.js file, you can create a session object using the > uuid passed through and then use this to play the file etc > > e.g of function.js > > var session = new Session(argv[0]); > var despedida = argv[1]; > > if (session.ready()) { > logger("TIMEOUT"); > session.execute("playback", sonidos + "/TIMEOUT.wav"); > session.execute("sleep","500"); > logger(despedida); > session.execute("playback", sonidos + "/" + despedida + ".wav"); > session.hangup(); > } > exit("TIMEOUT"); > > > > thanks > Matt > > On 25 January 2016 at 22:11, Michael Jerris > wrote: > >> If you are trying to trigger that code to run at a specific time, >> regardless of what else it is doing, that will be very difficult to do with >> embedded js, and running with something async is probably required. A >> note, you might want to look at phrase macros as they will greatly simplify >> some of that code as well.\ >> Mike >> >> On Jan 25, 2016, at 4:24 PM, Normando Hall > > wrote: >> >> Hi Michael. >> >> Yes, you are right, maybe the better is to use ESL. >> My script is basically an IVR. When all the audio files are played, then >> wait until the user press a dtmf key or timeout occur. Because there are a >> lot of files to play based on caller ID, I wait for the user input at the >> end of the script, but prior to finish the script, because hangsup. >> >> I workaround this with: >> >> session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); >> playTimeout(despedida) >> >> and return always "true" from "onPlay" callback. >> >> Respond to your question, this is the function I want to run in >> setTimeout: >> >> function playTimeout(despedida){ >> if (session.ready()) { >> logger("TIMEOUT"); >> session.execute("sleep","400"); >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >> session.execute("sleep","400"); >> logger(despedida); >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >> session.hangup(); >> } >> exit("TIMEOUT"); >> } >> >> Thanks >> Normando >> >> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >> >> What exactly is the javascript doing when you want to call that callback? >> this is probably not possible due to how the JavaScript is blocked by >> native functions when doing actions such as handling audio due to the >> threading model of the embedded languages. They run in the session thread >> so they are not as async as people tend to be used to with js. This sort >> of approach might be more appropriate when using js in a remote control >> type structure such as when controlling a session over esl, but not in the >> embedded mod_v8. we have discussed doing a truly async type control for >> embedded languages but have never implemented it. >> >> On Monday, January 25, 2016, Normando Hall < >> >> nhall at unixlan.com.ar >> > wrote: >> >>> Thanks Matt, I can play a file, but still can't run the function. Are >>> there any application can run a function instead a file? >>> >>> Thanks! >>> Normando >>> >>> >>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>> >>> try using the 1 liner sched_broadcast >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>> >>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both >>> legs after 60 seconds. >>> >>> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >>> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >>> >>> If you find you need to cancel the broadcast use: >>> >>> *session.execute("sched_cancel",maxTimeTaskID);* >>> >>> hope this helps. >>> >>> thanks >>> Matt >>> >>> On 25 January 2016 at 06:58, wrote: >>> >>>> have no relationship to the resource, but first link to request >>>> 'asynchronous code javascript' >>>> >>>> >>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>> >>>> 25.01.2016, 09:16, "Normando Hall" >>> >: >>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>> > >>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>> >> Hello everybody. >>>> >> >>>> >> I am coding a js script to do somethings, and I want to add a global >>>> >> timeout, to call a function to play a file and hangup. But the >>>> function >>>> >> called inmediatelly. >>>> >> Also tested with setInterval, the same behaviour. >>>> >> >>>> >> function playTimeout(despedida){ >>>> >> if (session.ready()) { >>>> >> logger("TIMEOUT"); >>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>> >> session.execute("sleep","500"); >>>> >> logger(despedida); >>>> >> session.execute("playback", sonidos + "/" + despedida + >>>> ".wav"); >>>> >> session.hangup(); >>>> >> } >>>> >> exit("TIMEOUT"); >>>> >> } >>>> >> >>>> >> setTimeout(playTimeout(despedida),120000); >>>> >> . >>>> >> . >>>> >> . >>>> >> my script continue >>>> >> >>>> >> Any help is welcome! >>>> >> >>>> >> Thank you >>>> >> Normando >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/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 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 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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/20160126/614c6ab3/attachment-0001.html From jgrow at flowroute.com Mon Jan 25 22:50:29 2016 From: jgrow at flowroute.com (Justin Grow) Date: Mon, 25 Jan 2016 19:50:29 +0000 Subject: [Freeswitch-users] fyi - DTMF with FlowRoute In-Reply-To: <56A677E7.8040401@mst.edu> References: <56A677E7.8040401@mst.edu> Message-ID: <1453751429786-0175e690-a351e0c1-53344138@mixmax.com> I'm curious how we are handling the multiple sample rates offered for DTMF. If you can open up a ticket at support.flowroute.com, and run a few test calls for us to capture, we'll get to the bottom of it. On Mon, Jan 25, 2016 at 11:31 AM Nathan Neulinger wrote: I know this has been brought up previously in another thread, but wanted to mention I'm seeing it as well. However - I do have an additional data point. This is the SDP being sent: v=0 o=FreeSWITCH 1453729420 1453729421 IN IP4 131.151.x.x s=FreeSWITCH c=IN IP4 131.151.x.x t=0 0 m=audio 19222 RTP/AVP 102 103 9 0 8 104 106 101 a=rtpmap:102 G7221/32000 a=fmtp:102 bitrate=48000 a=rtpmap:103 G7221/16000 a=fmtp:103 bitrate=32000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:104 telephone-event/32000 a=fmtp:104 0-16 a=rtpmap:106 telephone-event/16000 a=fmtp:106 0-16 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 I realize that anything other than PCMU is pointless with flowroute. Symptom is seen on both 1.4 and 1.6. Confirming what some others on the thread have said - forcing codec to PCMU (in my case via carrier_gateway lcr table), immediately corrects the issue. It seems like a definite bug on flowroute's side, and will be following up with that on the open case. -- Nathan ------------------------------ ------------------------------ 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.o rg http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswi tch.org http://lists.freeswitch.org/ma ilman/listinfo/freeswitch-user s UNSUBSCRIBE: http://lists.frees witch.org/mailman/options/ freeswitch-users http://www.freeswitch.org Justin Grow Operations +1.206.641.8038 jgrow at flowroute.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160125/afe90cb4/attachment-0001.html From BJordan at E-Teleco.com Tue Jan 26 05:05:59 2016 From: BJordan at E-Teleco.com (Branden Jordan) Date: Tue, 26 Jan 2016 02:05:59 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: Shan, If you are using Lua you can access that information by calling a Lua script from the dialplan and utilizing the API. api = freeswitch.API(); local channelCount = api:executeString("show channels"); session:consoleLog("crit", "here I am I worked," .. channelCount); This printed ?[CRIT] switch_cpp.cpp:1284 here I am I worked, 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 7bf61657-5dfe-4797-8c99-59e382cfb422,inbound,2016-01-25 17:59:34,1453773574,sofia/external/1000 at 192.168.0.10,CS_EXECUTE,1000,1000,192.168.0.10,1001,playback, ring.wav,XML,public,PCMU,8000,64000,PCMU,8000,64000,,TestMedia1,,,ACTIVE,,,,,,,1000,1000,192.168.0.10,1001,XML,public 1 total.? You will more than likely need to parse this to meet your needs. For further information on the Lua API there is a wiki doc that might help you. https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-freeswitch.API Thanks, Branden Jordan From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shan Randhawa Sent: Monday, January 25, 2016 11:13 AM To: FreeSWITCH Users Help ; brian at freeswitch.org; mike at jerris.com Subject: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS Hi, Can any tell me how to access/call freeswitch client and then execute command on it. like reply = fs.command("show channels"); Thanks. Regards, Shan randhawa [Image removed by sender.] On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa > wrote: Hi, i need some help. Is there a way in scripting like in lua like using freeswitch.API() through which i can get active channels . I can get active channels in fs cli by running command "active channels".But how to do it in scripts. Thanks. Regards, Shan randhawa [Image removed by sender.] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/7bf039cb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 479 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/7bf039cb/attachment-0001.jpg From marcel.haldemann at convercom.ch Tue Jan 26 13:38:48 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 10:38:48 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: For LUA it?s (FS 1.6): api = freeswitch.API(); num_channels = api:executeString("show channels count"); digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") to get the number of active channels. IN Dialplan it could be done like this: Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Shan Randhawa Gesendet: Montag, 25. Januar 2016 20:58 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS Hi, i need some help. Basically i need a way to get info about active no of active outbound sessions in lua . Thanks. Regards, Shan randhawa [https://mailtrack.io/trace/mail/b549f1756837c458a4ac23786cf74b4359f1fd02326470.png] On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa > wrote: Hi, i need some help. Is there a way in scripting like in lua like using freeswitch.API() through which i can get active channels . I can get active channels in fs cli by running command "active channels".But how to do it in scripts. Thanks. Regards, Shan randhawa [X] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/42dc83e3/attachment-0001.html From mangudai_ at hotmail.com Tue Jan 26 13:44:47 2016 From: mangudai_ at hotmail.com (yunqing) Date: Tue, 26 Jan 2016 10:44:47 +0000 Subject: [Freeswitch-users] issue of unidentified crash References: Message-ID: hi there, my fs installation began to crash once every one or two weeks since a couple of month ago(when some changes including esl and rpc connections are made), i can't find any useful things from the fs log file, it looks totally clueless to me. before the crash there are about 10 to 20 seconds without debug output, then there would be some "Send signal sofia/internal/xxxx at 192.168.0.1:5060 [BREAK]"s and then, crash and restart. the pastebin is here https://pastebin.freeswitch.org/24539 appreciate if someone could help. have a nice day! Vincent ________________________________ mangudai_ at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/3517257b/attachment-0001.html From marcel.haldemann at convercom.ch Tue Jan 26 14:03:35 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 11:03:35 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS References: Message-ID: PS: If you only want outbound calls you could try: Show channels like external as command, you then however must have a sip profile that is only for outbound (in this case named external). Von: Marcel Haldemann Gesendet: Dienstag, 26. Januar 2016 11:39 An: FreeSWITCH Users Help Betreff: AW: [Freeswitch-users] DETECT ACTIVE CHANNELS For LUA it?s (FS 1.6): api = freeswitch.API(); num_channels = api:executeString("show channels count"); digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") to get the number of active channels. IN Dialplan it could be done like this: Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Shan Randhawa Gesendet: Montag, 25. Januar 2016 20:58 An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS Hi, i need some help. Basically i need a way to get info about active no of active outbound sessions in lua . Thanks. Regards, Shan randhawa [https://mailtrack.io/trace/mail/b549f1756837c458a4ac23786cf74b4359f1fd02326470.png] On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa > wrote: Hi, i need some help. Is there a way in scripting like in lua like using freeswitch.API() through which i can get active channels . I can get active channels in fs cli by running command "active channels".But how to do it in scripts. Thanks. Regards, Shan randhawa [X] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/3a499b40/attachment-0001.html From marcel.haldemann at convercom.ch Tue Jan 26 14:10:40 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 11:10:40 +0000 Subject: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL In-Reply-To: References: Message-ID: Works for me in 1.4-1.7: local dbh = freeswitch.Dbh("odbc://dbname:user:password") -- connect to ODBC database maybe the big D in Dbh ? Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Artur Mega Gesendet: Dienstag, 26. Januar 2016 09:04 An: FreeSWITCH Users Help Betreff: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL Hello everybody, How can i connect to postgres database from lua through freeswitch.dbh ? I tried local dbh = freeswitch.dbh("pgsql://hostaddr=127.0.0.1 dbname=some_db user=uname password='passwd'") -- returns nil local dbh = freeswitch.dbh("odbc://some_db:uname:passwd") -- returns nil too Also I set up ODBS with PostgreSQL driver. If I run this command in console: isql some_db uname passwd then I can successfully connect to my database. What am i doing wrong? Also I tried to link odbc*.ini files for freeswitch: mkdir /usr/local/freeswitch/etc ln -s /etc/odbcinst.ini /usr/local/freeswitch/etc/odbcinst.ini ln -s /etc/odbc.ini /usr/local/freeswitch/etc/odbc.ini but it doesn't help too. Thanks in advance. -- Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/f2a35897/attachment-0001.html From marcel.haldemann at convercom.ch Tue Jan 26 17:34:40 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 14:34:40 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS Message-ID: For LUA it?s (FS 1.6): api = freeswitch.API(); num_channels = api:executeString("show channels count"); digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") to get the number of active channels. in Dialplan it could be done like this: PS: If you only want outbound calls you could try: Show channels like external as command, you then however must have a sip profile that is only for outbound (in this case named external). Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Shan Randhawa Gesendet: Montag, 25. Januar 2016 20:58 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS Hi, i need some help. Basically i need a way to get info about active no of active outbound sessions in lua . Thanks. Regards, Shan randhawa [https://mailtrack.io/trace/mail/b549f1756837c458a4ac23786cf74b4359f1fd02326470.png] On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa > wrote: Hi, i need some help. Is there a way in scripting like in lua like using freeswitch.API() through which i can get active channels . I can get active channels in fs cli by running command "active channels".But how to do it in scripts. Thanks. Regards, Shan randhawa [X] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/ff2dc409/attachment-0001.html From marcel.haldemann at convercom.ch Tue Jan 26 17:37:43 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 14:37:43 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS Message-ID: For LUA it's (FS 1.6): api = freeswitch.API(); num_channels = api:executeString("show channels count"); digits = api:execute("regex", num_channels? .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") to get the number of active channels. in Dialplan it could be done like this: PS: If you only want outbound calls you could try: Show channels like external as command, you then however must have a sip profile that is only for outbound (in this case named external). From marcel.haldemann at convercom.ch Tue Jan 26 18:04:08 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 15:04:08 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS Message-ID: For LUA it's (FS 1.6): api = freeswitch.API(); num_channels = api:executeString("show channels count"); digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") to get the number of active channels. IN Dialplan it could be done like this: PS: If you only want outbound calls you could try: Show channels like external as command, you then however must have a sip profile that is only for outbound (in this case named external). From matt at supportedbusiness.com Tue Jan 26 18:18:46 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Tue, 26 Jan 2016 15:18:46 +0000 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: works fine for me :) *DialPlan* *test.js* result = apiExecute("sched_api","+5 "+session.uuid+" jsrun /scripts/inc.js "+session.uuid); console_log("notice", "entering loop\n"); while (session.ready()) { //sit here whilst the call is still connected } console_log("notice", "call ended\n"); *inc.js* include("includes/General.js"); //this includes a function "Output" to log to screen var session = new Session(argv[0]); if (session.ready()) { Output("TIMEOUT"); session.execute("playback", "/sounds/en/us/callie/test.wav"); session.execute("sleep","500"); session.hangup(); } exit("TIMEOUT"); Thanks Matt On 26 January 2016 at 14:43, Michael Jerris wrote: > this won't actually work. You can't session execute from outside the > session thread like this. > > > On Tuesday, January 26, 2016, Matt Broad > wrote: > >> Hi Normando, >> >> from your description I assumed you were just trying to schedule a file >> to play and hang up. >> >> If you are trying to run a block of code at a certain time in the future >> then you could use sched_api. >> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api >> This will execute an API command after a given time. In your case you >> could use the API command *jsrun* to run a script containing your >> function. >> >> An example would be: >> >> *result = apiExecute("sched_api","120 "+session.uuid+" jsrun >> /scripts/function.js "+session.uuid+" "+despedida);* >> >> >> The above will execute jsrun after 120 seconds (this is linked to the >> session.uuid so if the channel is destroyed the task will be removed >> automatically). This will run the function.js file and pass it the current >> session uuid along with the despedida variable. >> Within the function.js file, you can create a session object using the >> uuid passed through and then use this to play the file etc >> >> e.g of function.js >> >> var session = new Session(argv[0]); >> var despedida = argv[1]; >> >> if (session.ready()) { >> logger("TIMEOUT"); >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >> session.execute("sleep","500"); >> logger(despedida); >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >> session.hangup(); >> } >> exit("TIMEOUT"); >> >> >> >> thanks >> Matt >> >> On 25 January 2016 at 22:11, Michael Jerris wrote: >> >>> If you are trying to trigger that code to run at a specific time, >>> regardless of what else it is doing, that will be very difficult to do with >>> embedded js, and running with something async is probably required. A >>> note, you might want to look at phrase macros as they will greatly simplify >>> some of that code as well.\ >>> Mike >>> >>> On Jan 25, 2016, at 4:24 PM, Normando Hall wrote: >>> >>> Hi Michael. >>> >>> Yes, you are right, maybe the better is to use ESL. >>> My script is basically an IVR. When all the audio files are played, then >>> wait until the user press a dtmf key or timeout occur. Because there are a >>> lot of files to play based on caller ID, I wait for the user input at the >>> end of the script, but prior to finish the script, because hangsup. >>> >>> I workaround this with: >>> >>> session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); >>> playTimeout(despedida) >>> >>> and return always "true" from "onPlay" callback. >>> >>> Respond to your question, this is the function I want to run in >>> setTimeout: >>> >>> function playTimeout(despedida){ >>> if (session.ready()) { >>> logger("TIMEOUT"); >>> session.execute("sleep","400"); >>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>> session.execute("sleep","400"); >>> logger(despedida); >>> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>> session.hangup(); >>> } >>> exit("TIMEOUT"); >>> } >>> >>> Thanks >>> Normando >>> >>> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >>> >>> What exactly is the javascript doing when you want to call that >>> callback? this is probably not possible due to how the JavaScript is >>> blocked by native functions when doing actions such as handling audio due >>> to the threading model of the embedded languages. They run in the session >>> thread so they are not as async as people tend to be used to with js. >>> This sort of approach might be more appropriate when using js in a remote >>> control type structure such as when controlling a session over esl, but not >>> in the embedded mod_v8. we have discussed doing a truly async type control >>> for embedded languages but have never implemented it. >>> >>> On Monday, January 25, 2016, Normando Hall wrote: >>> >>>> Thanks Matt, I can play a file, but still can't run the function. Are >>>> there any application can run a function instead a file? >>>> >>>> Thanks! >>>> Normando >>>> >>>> >>>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>>> >>>> try using the 1 liner sched_broadcast >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>>> >>>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both >>>> legs after 60 seconds. >>>> >>>> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >>>> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >>>> >>>> If you find you need to cancel the broadcast use: >>>> >>>> *session.execute("sched_cancel",maxTimeTaskID);* >>>> >>>> hope this helps. >>>> >>>> thanks >>>> Matt >>>> >>>> On 25 January 2016 at 06:58, wrote: >>>> >>>>> have no relationship to the resource, but first link to request >>>>> 'asynchronous code javascript' >>>>> >>>>> >>>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>>> >>>>> 25.01.2016, 09:16, "Normando Hall" : >>>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>>> > >>>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>>> >> Hello everybody. >>>>> >> >>>>> >> I am coding a js script to do somethings, and I want to add a >>>>> global >>>>> >> timeout, to call a function to play a file and hangup. But the >>>>> function >>>>> >> called inmediatelly. >>>>> >> Also tested with setInterval, the same behaviour. >>>>> >> >>>>> >> function playTimeout(despedida){ >>>>> >> if (session.ready()) { >>>>> >> logger("TIMEOUT"); >>>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>> >> session.execute("sleep","500"); >>>>> >> logger(despedida); >>>>> >> session.execute("playback", sonidos + "/" + despedida + >>>>> ".wav"); >>>>> >> session.hangup(); >>>>> >> } >>>>> >> exit("TIMEOUT"); >>>>> >> } >>>>> >> >>>>> >> setTimeout(playTimeout(despedida),120000); >>>>> >> . >>>>> >> . >>>>> >> . >>>>> >> my script continue >>>>> >> >>>>> >> Any help is welcome! >>>>> >> >>>>> >> Thank you >>>>> >> Normando >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> Professional FreeSWITCH Consulting Services: >>>>> >> consulting at freeswitch.org >>>>> >> http://www.freeswitchsolutions.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> http://www.freeswitch.org >>>>> >> http://confluence.freeswitch.org >>>>> >> http://www.cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> http://www.freeswitch.org >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/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.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/20160126/387eba6c/attachment-0001.html From randhawaay at gmail.com Tue Jan 26 19:07:17 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Tue, 26 Jan 2016 21:07:17 +0500 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: It works.Thnaks Marcel for the support.I m very grateful to your help. Regards, Shan Randhawa On Tue, Jan 26, 2016 at 7:34 PM, Marcel Haldemann < marcel.haldemann at convercom.ch> wrote: > For LUA it?s (FS 1.6): > > api = freeswitch.API(); > > num_channels = api:executeString("show channels count"); > > digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); > > freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") > > > > to get the number of active channels. > > > > > > in Dialplan it could be done like this: > > > > > > > > > > > > PS: If you only want outbound calls you could try: > > > > Show channels like external > > > > as command, you then however must have a sip profile that is only for > outbound (in this case named external). > > > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Shan > Randhawa > *Gesendet:* Montag, 25. Januar 2016 20:58 > *An:* FreeSWITCH Users Help > *Betreff:* Re: [Freeswitch-users] DETECT ACTIVE CHANNELS > > > > Hi, > > > > i need some help. > > Basically i need a way to get info about active no of active outbound > sessions in lua . > > > > > Thanks. > > > > > > Regards, > > Shan randhawa > > > > > > On Mon, Jan 25, 2016 at 10:03 PM, Shan Randhawa > wrote: > > > Hi, > > > > i need some help. > > Is there a way in scripting like in lua like using freeswitch.API() > through which i can get active channels . > > > > I can get active channels in fs cli by running command "active > channels".But how to do it in scripts. > > > > Thanks. > > > > > > Regards, > > Shan randhawa > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/79ab7a50/attachment.html From marcel.haldemann at convercom.ch Tue Jan 26 19:03:02 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 26 Jan 2016 16:03:02 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: small correction for my previous answer: For "outbound" only channels the command would have to be like: Show channels count like external What would result in: api = freeswitch.API(); filter = " like external"; -- set this as needed or let empty for no filter num_channels = api:executeString("show channels count" .. filter); digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n"); as already mentioned this would expect a profile for outbound calls "only", called external. More info about the filter see here: https://freeswitch.org/confluence/display/FREESWITCH/mod_commands and search for "show channels" This applys to FreeSwitch 1.6/1.7 -----Urspr?ngliche Nachricht----- Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Marcel Haldemann Gesendet: Dienstag, 26. Januar 2016 15:38 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS For LUA it's (FS 1.6): api = freeswitch.API(); num_channels = api:executeString("show channels count"); digits = api:execute("regex", num_channels? .. "|/([0-9]*)/|$1"); freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") to get the number of active channels. in Dialplan it could be done like this: PS: If you only want outbound calls you could try: Show channels like external as command, you then however must have a sip profile that is only for outbound (in this case named external). _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 joes.mailing.lists at gmail.com Tue Jan 26 19:13:21 2016 From: joes.mailing.lists at gmail.com ( .) Date: Tue, 26 Jan 2016 17:13:21 +0100 Subject: [Freeswitch-users] Event socket access to conversation audio Message-ID: Hi, I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide any mechanism to directly access the audio channels in a conversation? For instance, instead of just recording to a file, I'd like to pass the channel to python, which will perform some realtime processing on the raw audio, before writing it somewhere else. Is this possible, or do I need to modify the core? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/29bdc46e/attachment.html From mike at jerris.com Tue Jan 26 19:37:18 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 26 Jan 2016 11:37:18 -0500 Subject: [Freeswitch-users] issue of unidentified crash In-Reply-To: References: Message-ID: Please re-rest on got master, if this crash is reproducible collect backtraces and open a jira. Confluence has more details on how to accomplish this On Tuesday, January 26, 2016, yunqing wrote: > hi there, > > > my fs installation began to crash once every one or two weeks since a couple of month ago(when some changes including esl and rpc connections are made), > > i can't find any useful things from the fs log file, it looks totally clueless to me. > > > before the crash there are about 10 to 20 seconds without debug output, then there would be some > "Send signal sofia/internal/xxxx at 192.168.0.1:5060 [BREAK]"s > and then, crash and restart. > > the pastebin is here > https://pastebin.freeswitch.org/24539 > > appreciate if someone could help. > > have a nice day! > > Vincent > ------------------------------ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/47a7a1bf/attachment-0001.html From deepikay at iiitd.ac.in Tue Jan 26 20:02:05 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Tue, 26 Jan 2016 22:32:05 +0530 Subject: [Freeswitch-users] Receive Event for Silence Timeout in Conference Session In-Reply-To: References: <569BAC5D.4010107@mst.edu> <00a901d15142$0cd593b0$2680bb10$@botecomm.com> <569BC995.8080401@mst.edu> Message-ID: Thanks Michael, Yeah , by using the fs_cli command /plain CUSTOM conference::maintenance I was able to receive all the events related to the conference. On Thu, Jan 21, 2016 at 10:34 PM, Michael Jerris wrote: > If you pull up fs_cli and do /events all plain, you should be able to see > all the events, and can help nail down exactly what you are looking to > match. > > On Jan 21, 2016, at 1:46 AM, Deepika Yadav wrote: > > I tried to receive the events in my java program in this way : > > Code Snippet > > ESLconnection con = new ESLconnection("127.0.0.1","8021","ClueCon"); > event = con.recvEvent(); > String eventHeader = event.getHeader("Event-Name",-1); > > while (con.connected() == 1) { > if(eventHeader.equalsIgnoreCase("stop-talking")){ > System.out.println("some stopped > speaking"+(System.currentTimeMillis() % 1000)); > } > if(eventHeader.equalsIgnoreCase("start-talking")){ > System.out.println("some started speaking at"+ (System.currentTimeMillis() > % 1000)); > } > ..... > } > > > I don not receive events when conference members speak although, I receive > other events (DTMF, conference_add_member) correctly > > Please let know the correct way > > On Mon, Jan 18, 2016 at 8:43 AM, Deepika Yadav > wrote: > >> Thanks Nathan & Bote, >> >> I am surely gonna try this approach. >> >> On Sun, Jan 17, 2016 at 10:34 PM, Nathan Neulinger wrote: >> >>> Woops. Yeah, good point on the stop vs. start... >>> >>> -- Nathan >>> >>> On 01/17/2016 10:13 AM, Bote Man wrote: >>> > I was going to suggest the same approach, but measure the time since >>> the >>> > last 'stop-talking' event since that indicates that silence has begun. >>> > >>> > The script should make sure that it has no 'start-talking' events >>> without a >>> > matching 'stop-talking' event to ensure that everybody is silent before >>> > starting the timer. >>> > >>> > Bote >>> > >>> > >>> >> -----Original Message----- >>> >> From: Nathan Neulinger >>> >> Sent: Sunday, 17 January, 2016 10:00 >>> >> Subject: Re: [Freeswitch-users] Receive Event for Silence Timeout in >>> > Conference Session >>> >> >>> >> Might not be the best way to do it - but you could potentially look >>> for >>> > the >>> >> inverse. >>> >> >>> >> Set up an event listener for all conference events - watch for >>> > 'start-talking' >>> >> and 'stop-talking', and just keep track >>> >> of how long it has been since the last 'start-talking' event. >>> >> >>> >> -- Nathan >>> >> >>> >> On 01/17/2016 01:21 AM, Deepika Yadav wrote: >>> >>> Hi, >>> >>> >>> >>> I am using event socket layer to receive events happenening in the >>> >> conference session from the Freeswitch in my java >>> >>> program. My program is interested in knowing when there is silence in >>> > the >>> >> conference for a particular period of time. >>> >>> >>> >>> How can I set a condition for silence detection in the conference >>> > dialplan >>> >> and receive its value through a channel >>> >>> variable in my program. >>> >>> >>> >>> Regards, >>> >>> Deepika >>> >>> >>> >>> >>> >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/521a2a8f/attachment.html From mike at jerris.com Tue Jan 26 20:09:14 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 26 Jan 2016 12:09:14 -0500 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: This isn't supposed to work.. and might cause crashes. > On Jan 26, 2016, at 10:18 AM, Matt Broad wrote: > > works fine for me :) > > DialPlan > > > > > > > test.js > result = apiExecute("sched_api","+5 "+session.uuid+" jsrun /scripts/inc.js "+session.uuid); > console_log("notice", "entering loop\n"); > while (session.ready()) > { > //sit here whilst the call is still connected > } > console_log("notice", "call ended\n"); > > > inc.js > include("includes/General.js"); //this includes a function "Output" to log to screen > > var session = new Session(argv[0]); > > if (session.ready()) { > Output("TIMEOUT"); > session.execute("playback", "/sounds/en/us/callie/test.wav"); > session.execute("sleep","500"); > session.hangup(); > } > exit("TIMEOUT"); > > > Thanks > Matt > > On 26 January 2016 at 14:43, Michael Jerris > wrote: > this won't actually work. You can't session execute from outside the session thread like this. > > > On Tuesday, January 26, 2016, Matt Broad > wrote: > Hi Normando, > > from your description I assumed you were just trying to schedule a file to play and hang up. > > If you are trying to run a block of code at a certain time in the future then you could use sched_api. https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api This will execute an API command after a given time. In your case you could use the API command jsrun to run a script containing your function. > > An example would be: > > result = apiExecute("sched_api","120 "+session.uuid+" jsrun /scripts/function.js "+session.uuid+" "+despedida); > > > The above will execute jsrun after 120 seconds (this is linked to the session.uuid so if the channel is destroyed the task will be removed automatically). This will run the function.js file and pass it the current session uuid along with the despedida variable. > Within the function.js file, you can create a session object using the uuid passed through and then use this to play the file etc > > e.g of function.js > > var session = new Session(argv[0]); > var despedida = argv[1]; > > if (session.ready()) { > logger("TIMEOUT"); > session.execute("playback", sonidos + "/TIMEOUT.wav"); > session.execute("sleep","500"); > logger(despedida); > session.execute("playback", sonidos + "/" + despedida + ".wav"); > session.hangup(); > } > exit("TIMEOUT"); > > > > thanks > Matt > > On 25 January 2016 at 22:11, Michael Jerris > wrote: > If you are trying to trigger that code to run at a specific time, regardless of what else it is doing, that will be very difficult to do with embedded js, and running with something async is probably required. A note, you might want to look at phrase macros as they will greatly simplify some of that code as well.\ > Mike > >> On Jan 25, 2016, at 4:24 PM, Normando Hall > wrote: >> >> Hi Michael. >> >> Yes, you are right, maybe the better is to use ESL. >> My script is basically an IVR. When all the audio files are played, then wait until the user press a dtmf key or timeout occur. Because there are a lot of files to play based on caller ID, I wait for the user input at the end of the script, but prior to finish the script, because hangsup. >> >> I workaround this with: >> >> session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); >> playTimeout(despedida) >> >> and return always "true" from "onPlay" callback. >> >> Respond to your question, this is the function I want to run in setTimeout: >> >> function playTimeout(despedida){ >> if (session.ready()) { >> logger("TIMEOUT"); >> session.execute("sleep","400"); >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >> session.execute("sleep","400"); >> logger(despedida); >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >> session.hangup(); >> } >> exit("TIMEOUT"); >> } >> >> Thanks >> Normando >> >> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >>> What exactly is the javascript doing when you want to call that callback? this is probably not possible due to how the JavaScript is blocked by native functions when doing actions such as handling audio due to the threading model of the embedded languages. They run in the session thread so they are not as async as people tend to be used to with js. This sort of approach might be more appropriate when using js in a remote control type structure such as when controlling a session over esl, but not in the embedded mod_v8. we have discussed doing a truly async type control for embedded languages but have never implemented it. >>> >>> On Monday, January 25, 2016, Normando Hall < <>nhall at unixlan.com.ar <>> wrote: >>> Thanks Matt, I can play a file, but still can't run the function. Are there any application can run a function instead a file? >>> >>> Thanks! >>> Normando >>> >>> >>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>>> try using the 1 liner sched_broadcast https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>>> >>>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both legs after 60 seconds. >>>> >>>> maxTimeTaskID = session.execute("sched_broadcast", "+60 playback!normal_clearing::/tmp/hangupfile.mp3 both"); >>>> >>>> If you find you need to cancel the broadcast use: >>>> >>>> session.execute("sched_cancel",maxTimeTaskID); >>>> >>>> hope this helps. >>>> >>>> thanks >>>> Matt >>>> >>>> On 25 January 2016 at 06:58, > wrote: >>>> have no relationship to the resource, but first link to request 'asynchronous code javascript' >>>> >>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>> >>>> 25.01.2016, 09:16, "Normando Hall" < <>nhall at unixlan.com.ar <>>: >>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>> > >>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>> >> Hello everybody. >>>> >> >>>> >> I am coding a js script to do somethings, and I want to add a global >>>> >> timeout, to call a function to play a file and hangup. But the function >>>> >> called inmediatelly. >>>> >> Also tested with setInterval, the same behaviour. >>>> >> >>>> >> function playTimeout(despedida){ >>>> >> if (session.ready()) { >>>> >> logger("TIMEOUT"); >>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>> >> session.execute("sleep","500"); >>>> >> logger(despedida); >>>> >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>>> >> session.hangup(); >>>> >> } >>>> >> exit("TIMEOUT"); >>>> >> } >>>> >> >>>> >> setTimeout(playTimeout(despedida),120000); >>>> >> . >>>> >> . >>>> >> . >>>> >> my script continue >>>> >> >>>> >> Any help is welcome! >>>> >> >>>> >> Thank you >>>> >> Normando >>>> >> >>>> >> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org <> >>>> >> http://www.freeswitchsolutions.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org <> >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> http://www.freeswitch.org >>>> > >>>> > _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org <> >>>> > http://www.freeswitchsolutions.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org <> >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > http://www.freeswitch.org >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org <> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org <> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org <> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org <> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org <> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org <> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org <> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org <> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org <> > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org <> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/1b0fc2f0/attachment-0001.html From brian at freeswitch.org Tue Jan 26 20:22:00 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 26 Jan 2016 11:22:00 -0600 Subject: [Freeswitch-users] fyi - DTMF with FlowRoute In-Reply-To: <1453751429786-0175e690-a351e0c1-53344138@mixmax.com> References: <56A677E7.8040401@mst.edu> <1453751429786-0175e690-a351e0c1-53344138@mixmax.com> Message-ID: the different rates are on different payloads, if something is matching only telephony-event as a cheat, they may get it wrong. On Mon, Jan 25, 2016 at 1:50 PM, Justin Grow wrote: > I'm curious how we are handling the multiple sample rates offered for > DTMF. If you can open up a ticket at support.flowroute.com, and run a few > test calls for us to capture, we'll get to the bottom of it. > > > On Mon, Jan 25, 2016 at 11:31 AM Nathan Neulinger wrote: > >> I know this has been brought up previously in another thread, but wanted >> to mention I'm seeing it as well. However - I >> do have an additional data point. >> >> This is the SDP being sent: >> >> v=0 >> o=FreeSWITCH 1453729420 1453729421 IN IP4 131.151.x.x >> s=FreeSWITCH >> c=IN IP4 131.151.x.x >> t=0 0 >> m=audio 19222 RTP/AVP 102 103 9 0 8 104 106 101 >> a=rtpmap:102 G7221/32000 >> a=fmtp:102 bitrate=48000 >> a=rtpmap:103 G7221/16000 >> a=fmtp:103 bitrate=32000 >> a=rtpmap:9 G722/8000 >> a=rtpmap:0 PCMU/8000 >> a=rtpmap:8 PCMA/8000 >> a=rtpmap:104 telephone-event/32000 >> a=fmtp:104 0-16 >> a=rtpmap:106 telephone-event/16000 >> a=fmtp:106 0-16 >> a=rtpmap:101 telephone-event/8000 >> a=fmtp:101 0-16 >> a=ptime:20 >> >> I realize that anything other than PCMU is pointless with flowroute. >> Symptom is seen on both 1.4 and 1.6. >> >> Confirming what some others on the thread have said - forcing codec to >> PCMU (in my case via carrier_gateway lcr table), >> immediately corrects the issue. It seems like a definite bug on >> flowroute's side, and will be following up with that on >> the open case. >> >> -- Nathan >> >> ------------------------------------------------------------ >> 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 >> > > Justin Grow > > Operations > > > +1.206.641.8038 > > > jgrow at flowroute.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 Got Bugs? Report them here ! | 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/20160126/8eae6ccf/attachment.html From findmeinwland at gmail.com Tue Jan 26 20:40:11 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Tue, 26 Jan 2016 22:40:11 +0500 Subject: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL In-Reply-To: References: Message-ID: Thank you! Now it works! I copy/pasted from examples in documentation at https://freeswitch.org/confluence/display/FREESWITCH/Lua+FreeSWITCH+dbh You see, there freeswitch.dbh with small d. Bug in docs) need to correct. 2016-01-26 16:10 GMT+05:00 Marcel Haldemann : > Works for me in 1.4-1.7: > > > > local dbh = freeswitch.Dbh("odbc://dbname:user:password") -- connect to > ODBC database > > > > maybe the big D in Dbh ? > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Artur Mega > *Gesendet:* Dienstag, 26. Januar 2016 09:04 > *An:* FreeSWITCH Users Help > *Betreff:* [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL > > > > Hello everybody, > How can i connect to postgres database from lua through freeswitch.dbh ? > > I tried > > local dbh = freeswitch.dbh("pgsql://hostaddr=127.0.0.1 dbname=some_db > user=uname password='passwd'") -- returns nil > > local dbh = freeswitch.dbh("odbc://some_db:uname:passwd") -- returns nil > too > > > > Also I set up ODBS with PostgreSQL driver. If I run this command in > console: > > > > isql some_db uname passwd > > > > then I can successfully connect to my database. What am i doing wrong? > Also I tried to link odbc*.ini files for freeswitch: > > > > mkdir /usr/local/freeswitch/etc > > ln -s /etc/odbcinst.ini /usr/local/freeswitch/etc/odbcinst.ini > > ln -s /etc/odbc.ini /usr/local/freeswitch/etc/odbc.ini > > > > but it doesn't help too. Thanks in advance. > > > > -- > > > Arthur > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160126/6e626a36/attachment-0001.html From mike at jerris.com Tue Jan 26 21:03:46 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 26 Jan 2016 13:03:46 -0500 Subject: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL In-Reply-To: References: Message-ID: <5E95B3BF-7490-4413-85A5-A281F7D9E8D3@jerris.com> Fixed a bunch of these on this page and a related page paralell to this one too... Thanks > On Jan 26, 2016, at 12:40 PM, Artur Mega wrote: > > Thank you! Now it works! I copy/pasted from examples in documentation at https://freeswitch.org/confluence/display/FREESWITCH/Lua+FreeSWITCH+dbh > > You see, there freeswitch.dbh with small d. Bug in docs) need to correct. > > 2016-01-26 16:10 GMT+05:00 Marcel Haldemann >: > Works for me in 1.4-1.7: > > > > local dbh = freeswitch.Dbh("odbc://dbname:user:password") -- connect to ODBC database > > > > maybe the big D in Dbh ? > > > > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] Im Auftrag von Artur Mega > Gesendet: Dienstag, 26. Januar 2016 09:04 > An: FreeSWITCH Users Help > > Betreff: [Freeswitch-users] Lua FreeSWITCH 1.6 dbh and PostgreSQL > > > > Hello everybody, > How can i connect to postgres database from lua through freeswitch.dbh ? > > I tried > > local dbh = freeswitch.dbh("pgsql://hostaddr=127.0.0.1 dbname=some_db user=uname password='passwd'") -- returns nil > > local dbh = freeswitch.dbh("odbc://some_db:uname:passwd") -- returns nil too > > > > Also I set up ODBS with PostgreSQL driver. If I run this command in console: > > > > isql some_db uname passwd > > > > then I can successfully connect to my database. What am i doing wrong? Also I tried to link odbc*.ini files for freeswitch: > > > > mkdir /usr/local/freeswitch/etc > > ln -s /etc/odbcinst.ini /usr/local/freeswitch/etc/odbcinst.ini > > ln -s /etc/odbc.ini /usr/local/freeswitch/etc/odbc.ini > > > > but it doesn't help too. Thanks in advance. > > > > -- > > > Arthur > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > > Arthur > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/ecbb65ba/attachment.html From brian at freeswitch.org Tue Jan 26 22:24:53 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 26 Jan 2016 13:24:53 -0600 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: What exactly was the original issue that was trying to be resolved that required the session count? On Tue, Jan 26, 2016 at 10:03 AM, Marcel Haldemann < marcel.haldemann at convercom.ch> wrote: > small correction for my previous answer: > > For "outbound" only channels the command would have to be like: > > Show channels count like external > > What would result in: > > api = freeswitch.API(); > filter = " like external"; -- set this as needed or let empty for no filter > num_channels = api:executeString("show channels count" .. filter); > digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); > freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n"); > > as already mentioned this would expect a profile for outbound calls > "only", called external. > More info about the filter see here: > https://freeswitch.org/confluence/display/FREESWITCH/mod_commands and > search for "show channels" > This applys to FreeSwitch 1.6/1.7 > > -----Urspr?ngliche Nachricht----- > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Marcel > Haldemann > Gesendet: Dienstag, 26. Januar 2016 15:38 > An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS > > For LUA it's (FS 1.6): > api = freeswitch.API(); > num_channels = api:executeString("show channels count"); > digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); > freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") > > to get the number of active channels. > > > in Dialplan it could be done like this: > > > > > > PS: If you only want outbound calls you could try: > > Show channels like external > > as command, you then however must have a sip profile that is only for > outbound (in this case named external). > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160126/1a3a1974/attachment-0001.html From randhawaay at gmail.com Tue Jan 26 22:40:45 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Wed, 27 Jan 2016 00:40:45 +0500 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: Well i want that info in my php script running on xampp server to show how many calls are currently taking place in freeswitch and what i can do max to know is communicate to freeswitch through socket 8021 and then run some script like of lua and expect lua script to return me that info. Sent with MailTrack On Wed, Jan 27, 2016 at 12:24 AM, Brian West wrote: > What exactly was the original issue that was trying to be resolved that > required the session count? > > On Tue, Jan 26, 2016 at 10:03 AM, Marcel Haldemann < > marcel.haldemann at convercom.ch> wrote: > >> small correction for my previous answer: >> >> For "outbound" only channels the command would have to be like: >> >> Show channels count like external >> >> What would result in: >> >> api = freeswitch.API(); >> filter = " like external"; -- set this as needed or let empty for no >> filter >> num_channels = api:executeString("show channels count" .. filter); >> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n"); >> >> as already mentioned this would expect a profile for outbound calls >> "only", called external. >> More info about the filter see here: >> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands and >> search for "show channels" >> This applys to FreeSwitch 1.6/1.7 >> >> -----Urspr?ngliche Nachricht----- >> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Marcel >> Haldemann >> Gesendet: Dienstag, 26. Januar 2016 15:38 >> An: FreeSWITCH Users Help >> Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS >> >> For LUA it's (FS 1.6): >> api = freeswitch.API(); >> num_channels = api:executeString("show channels count"); >> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") >> >> to get the number of active channels. >> >> >> in Dialplan it could be done like this: >> >> >> >> >> >> PS: If you only want outbound calls you could try: >> >> Show channels like external >> >> as command, you then however must have a sip profile that is only for >> outbound (in this case named external). >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > Got Bugs? Report them here ! | 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/20160127/f9ba31c1/attachment.html From nneul at mst.edu Tue Jan 26 22:47:34 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Tue, 26 Jan 2016 13:47:34 -0600 Subject: [Freeswitch-users] fyi - DTMF with FlowRoute In-Reply-To: <1453751429786-0175e690-a351e0c1-53344138@mixmax.com> References: <56A677E7.8040401@mst.edu> <1453751429786-0175e690-a351e0c1-53344138@mixmax.com> Message-ID: <56A7CD56.5010301@mst.edu> FlowRoute Ticket 212706 is open and being investigated after providing the captures. Since it's so easy to reproduce, if they need additional captures/tests - will get them. -- Nathan On 01/25/2016 01:50 PM, Justin Grow wrote: > I'm curious how we are handling the multiple sample rates offered for DTMF. If you can open up a ticket at > support.flowroute.com, and run a few test calls for us to capture, we'll get to the bottom of it. > > > > On Mon, Jan 25, 2016 at 11:31 AM Nathan Neulinger wrote: > > I know this has been brought up previously in another thread, but wanted to mention I'm seeing it as well. However - I > do have an additional data point. > > This is the SDP being sent: > > v=0 > o=FreeSWITCH 1453729420 1453729421 IN IP4 131.151.x.x > s=FreeSWITCH > c=IN IP4 131.151.x.x > t=0 0 > m=audio 19222 RTP/AVP 102 103 9 0 8 104 106 101 > a=rtpmap:102 G7221/32000 > a=fmtp:102 bitrate=48000 > a=rtpmap:103 G7221/16000 > a=fmtp:103 bitrate=32000 > a=rtpmap:9 G722/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:104 telephone-event/32000 > a=fmtp:104 0-16 > a=rtpmap:106 telephone-event/16000 > a=fmtp:106 0-16 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > > I realize that anything other than PCMU is pointless with flowroute. Symptom is seen on both 1.4 and 1.6. > > Confirming what some others on the thread have said - forcing codec to PCMU (in my case via carrier_gateway lcr table), > immediately corrects the issue. It seems like a definite bug on flowroute's side, and will be following up with that on > the open case. > > -- Nathan > > ------------------------------------------------------------ > 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 > > > Justin Grow > Operations > > > > > +1.206.641.8038 > > > jgrow at flowroute.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 > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From abaci64 at gmail.com Tue Jan 26 23:05:08 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 26 Jan 2016 15:05:08 -0500 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: There are probably more efficient ways to do this, including doing the same thing with ESL, listening to call creation events and update your server, you can also probably take the info from the freeswitch database tracking all calls (be careful with this approach as you're dealing with the same database FreSWITCH relies on) On Tue, Jan 26, 2016 at 2:40 PM, Shan Randhawa wrote: > Well i want that info in my php script running on xampp server to show how > many calls are currently taking place in freeswitch and what i can do max > to know is communicate to freeswitch through socket 8021 and then run some > script like of lua and expect lua script to return me that info. > > > > > > > Sent with MailTrack > > > On Wed, Jan 27, 2016 at 12:24 AM, Brian West wrote: > >> What exactly was the original issue that was trying to be resolved that >> required the session count? >> >> On Tue, Jan 26, 2016 at 10:03 AM, Marcel Haldemann < >> marcel.haldemann at convercom.ch> wrote: >> >>> small correction for my previous answer: >>> >>> For "outbound" only channels the command would have to be like: >>> >>> Show channels count like external >>> >>> What would result in: >>> >>> api = freeswitch.API(); >>> filter = " like external"; -- set this as needed or let empty for no >>> filter >>> num_channels = api:executeString("show channels count" .. filter); >>> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >>> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n"); >>> >>> as already mentioned this would expect a profile for outbound calls >>> "only", called external. >>> More info about the filter see here: >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands and >>> search for "show channels" >>> This applys to FreeSwitch 1.6/1.7 >>> >>> -----Urspr?ngliche Nachricht----- >>> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Marcel >>> Haldemann >>> Gesendet: Dienstag, 26. Januar 2016 15:38 >>> An: FreeSWITCH Users Help >>> Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS >>> >>> For LUA it's (FS 1.6): >>> api = freeswitch.API(); >>> num_channels = api:executeString("show channels count"); >>> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >>> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") >>> >>> to get the number of active channels. >>> >>> >>> in Dialplan it could be done like this: >>> >>> >>> >>> >>> >>> PS: If you only want outbound calls you could try: >>> >>> Show channels like external >>> >>> as command, you then however must have a sip profile that is only for >>> outbound (in this case named external). >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> Got Bugs? Report them here ! | 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/20160126/20e270db/attachment-0001.html From brian at freeswitch.org Tue Jan 26 23:07:40 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 26 Jan 2016 14:07:40 -0600 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: Even more efficient is to subscribe to the HEARTBEAT, it has the session count in there, this fires ever few seconds. On Tue, Jan 26, 2016 at 2:05 PM, Abaci B wrote: > There are probably more efficient ways to do this, including doing the > same thing with ESL, listening to call creation events and update your > server, you can also probably take the info from the freeswitch database > tracking all calls (be careful with this approach as you're dealing with > the same database FreSWITCH relies on) > > On Tue, Jan 26, 2016 at 2:40 PM, Shan Randhawa > wrote: > >> Well i want that info in my php script running on xampp server to show >> how many calls are currently taking place in freeswitch and what i can do >> max to know is communicate to freeswitch through socket 8021 and then run >> some script like of lua and expect lua script to return me that info. >> >> >> >> >> >> >> Sent with MailTrack >> >> >> On Wed, Jan 27, 2016 at 12:24 AM, Brian West >> wrote: >> >>> What exactly was the original issue that was trying to be resolved that >>> required the session count? >>> >>> On Tue, Jan 26, 2016 at 10:03 AM, Marcel Haldemann < >>> marcel.haldemann at convercom.ch> wrote: >>> >>>> small correction for my previous answer: >>>> >>>> For "outbound" only channels the command would have to be like: >>>> >>>> Show channels count like external >>>> >>>> What would result in: >>>> >>>> api = freeswitch.API(); >>>> filter = " like external"; -- set this as needed or let empty for no >>>> filter >>>> num_channels = api:executeString("show channels count" .. filter); >>>> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >>>> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n"); >>>> >>>> as already mentioned this would expect a profile for outbound calls >>>> "only", called external. >>>> More info about the filter see here: >>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands and >>>> search for "show channels" >>>> This applys to FreeSwitch 1.6/1.7 >>>> >>>> -----Urspr?ngliche Nachricht----- >>>> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Marcel >>>> Haldemann >>>> Gesendet: Dienstag, 26. Januar 2016 15:38 >>>> An: FreeSWITCH Users Help >>>> Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS >>>> >>>> For LUA it's (FS 1.6): >>>> api = freeswitch.API(); >>>> num_channels = api:executeString("show channels count"); >>>> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >>>> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") >>>> >>>> to get the number of active channels. >>>> >>>> >>>> in Dialplan it could be done like this: >>>> >>>> >>>> >>>> >>>> >>>> PS: If you only want outbound calls you could try: >>>> >>>> Show channels like external >>>> >>>> as command, you then however must have a sip profile that is only for >>>> outbound (in this case named external). >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> Got Bugs? Report them here ! | 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160126/45e88366/attachment.html From randhawaay at gmail.com Tue Jan 26 23:10:01 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Tue, 26 Jan 2016 20:10:01 +0000 Subject: [Freeswitch-users] DETECT ACTIVE CHANNELS In-Reply-To: References: Message-ID: Thanks every one for the suggestions..I will surely try all of them and will choose the best one... Regards, Shan Randhawa On Wed, Jan 27, 2016 at 1:08 AM Brian West wrote: > Even more efficient is to subscribe to the HEARTBEAT, it has the session > count in there, this fires ever few seconds. > > On Tue, Jan 26, 2016 at 2:05 PM, Abaci B wrote: > >> There are probably more efficient ways to do this, including doing the >> same thing with ESL, listening to call creation events and update your >> server, you can also probably take the info from the freeswitch database >> tracking all calls (be careful with this approach as you're dealing with >> the same database FreSWITCH relies on) >> >> On Tue, Jan 26, 2016 at 2:40 PM, Shan Randhawa >> wrote: >> >>> Well i want that info in my php script running on xampp server to show >>> how many calls are currently taking place in freeswitch and what i can do >>> max to know is communicate to freeswitch through socket 8021 and then run >>> some script like of lua and expect lua script to return me that info. >>> >>> >>> >>> >>> >>> >>> Sent with MailTrack >>> >>> >>> On Wed, Jan 27, 2016 at 12:24 AM, Brian West >>> wrote: >>> >>>> What exactly was the original issue that was trying to be resolved that >>>> required the session count? >>>> >>>> On Tue, Jan 26, 2016 at 10:03 AM, Marcel Haldemann < >>>> marcel.haldemann at convercom.ch> wrote: >>>> >>>>> small correction for my previous answer: >>>>> >>>>> For "outbound" only channels the command would have to be like: >>>>> >>>>> Show channels count like external >>>>> >>>>> What would result in: >>>>> >>>>> api = freeswitch.API(); >>>>> filter = " like external"; -- set this as needed or let empty for no >>>>> filter >>>>> num_channels = api:executeString("show channels count" .. filter); >>>>> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >>>>> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n"); >>>>> >>>>> as already mentioned this would expect a profile for outbound calls >>>>> "only", called external. >>>>> More info about the filter see here: >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands and >>>>> search for "show channels" >>>>> This applys to FreeSwitch 1.6/1.7 >>>>> >>>>> -----Urspr?ngliche Nachricht----- >>>>> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto: >>>>> freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Marcel >>>>> Haldemann >>>>> Gesendet: Dienstag, 26. Januar 2016 15:38 >>>>> An: FreeSWITCH Users Help >>>>> Betreff: Re: [Freeswitch-users] DETECT ACTIVE CHANNELS >>>>> >>>>> For LUA it's (FS 1.6): >>>>> api = freeswitch.API(); >>>>> num_channels = api:executeString("show channels count"); >>>>> digits = api:execute("regex", num_channels .. "|/([0-9]*)/|$1"); >>>>> freeswitch.consoleLog("info", "num channels is: " .. digits .. "\n") >>>>> >>>>> to get the number of active channels. >>>>> >>>>> >>>>> in Dialplan it could be done like this: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> PS: If you only want outbound calls you could try: >>>>> >>>>> Show channels like external >>>>> >>>>> as command, you then however must have a sip profile that is only for >>>>> outbound (in this case named external). >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at 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 >>>> >>>> Got Bugs? Report them here ! | 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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/20160126/87dc959a/attachment-0001.html From mylists at polite.se Tue Jan 26 23:25:28 2016 From: mylists at polite.se (Oivvio Polite) Date: Tue, 26 Jan 2016 21:25:28 +0100 Subject: [Freeswitch-users] Simple way of stripping sensitive data from logs before posting a question Message-ID: <20160126202528.GA7193@blomma.liberationtech.net> Is there a ready made tool for stripping FS debug logs of sensitive information before posting them publicly? regards, Oivvio Polite From mylists at polite.se Tue Jan 26 23:29:04 2016 From: mylists at polite.se (Oivvio Polite) Date: Tue, 26 Jan 2016 21:29:04 +0100 Subject: [Freeswitch-users] Checking which codecs a SIP-Trunk provides. Message-ID: <20160126202904.GB7193@blomma.liberationtech.net> I've registered with SIP-trunk providers for experimentation. How can I figure out which codecs a SIP-trunk (gateway in FS parlance?) provides? regards, Oivvio Polite From matt at supportedbusiness.com Tue Jan 26 23:37:26 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Tue, 26 Jan 2016 20:37:26 +0000 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: :/ I only came across this method after trying to get the sched_broadcast to not block. An answer from Anthony on the 17th Sept 2015 (shown below) gave me the idea, though I have never implemented it into anything other than test code. *"uuid_broadcast does not block.* *The problem is you are calling it from your js app which is occupying the session thread.* *To perform async operation you need to run your script outside the session thread by calling the script via the api interface via jsrun and pass the uuid then put the channel into park or use an esl script to control the session externally."* I must admit the inner workings of the session thread is not something I have looked into personally (one day maybe). If you could give me a quick explanation as to why this wouldn't work that would be appreciated :) Thanks Matt On 26 January 2016 at 17:09, Michael Jerris wrote: > This isn't supposed to work.. and might cause crashes. > > On Jan 26, 2016, at 10:18 AM, Matt Broad > wrote: > > works fine for me :) > > *DialPlan* > > > > > > > *test.js* > result = apiExecute("sched_api","+5 "+session.uuid+" jsrun /scripts/inc.js > "+session.uuid); > console_log("notice", "entering loop\n"); > while (session.ready()) > { > //sit here whilst the call is still connected > } > console_log("notice", "call ended\n"); > > > *inc.js* > include("includes/General.js"); //this includes a function "Output" to log > to screen > > var session = new Session(argv[0]); > > if (session.ready()) { > Output("TIMEOUT"); > session.execute("playback", "/sounds/en/us/callie/test.wav"); > session.execute("sleep","500"); > session.hangup(); > } > exit("TIMEOUT"); > > > Thanks > Matt > > On 26 January 2016 at 14:43, Michael Jerris wrote: > >> this won't actually work. You can't session execute from outside the >> session thread like this. >> >> >> On Tuesday, January 26, 2016, Matt Broad >> wrote: >> >>> Hi Normando, >>> >>> from your description I assumed you were just trying to schedule a file >>> to play and hang up. >>> >>> If you are trying to run a block of code at a certain time in the future >>> then you could use sched_api. >>> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api >>> This will execute an API command after a given time. In your case you >>> could use the API command *jsrun* to run a script containing your >>> function. >>> >>> An example would be: >>> >>> *result = apiExecute("sched_api","120 "+session.uuid+" jsrun >>> /scripts/function.js "+session.uuid+" "+despedida);* >>> >>> >>> The above will execute jsrun after 120 seconds (this is linked to the >>> session.uuid so if the channel is destroyed the task will be removed >>> automatically). This will run the function.js file and pass it the current >>> session uuid along with the despedida variable. >>> Within the function.js file, you can create a session object using the >>> uuid passed through and then use this to play the file etc >>> >>> e.g of function.js >>> >>> var session = new Session(argv[0]); >>> var despedida = argv[1]; >>> >>> if (session.ready()) { >>> logger("TIMEOUT"); >>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>> session.execute("sleep","500"); >>> logger(despedida); >>> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>> session.hangup(); >>> } >>> exit("TIMEOUT"); >>> >>> >>> >>> thanks >>> Matt >>> >>> On 25 January 2016 at 22:11, Michael Jerris wrote: >>> >>>> If you are trying to trigger that code to run at a specific time, >>>> regardless of what else it is doing, that will be very difficult to do with >>>> embedded js, and running with something async is probably required. A >>>> note, you might want to look at phrase macros as they will greatly simplify >>>> some of that code as well.\ >>>> Mike >>>> >>>> On Jan 25, 2016, at 4:24 PM, Normando Hall >>>> wrote: >>>> >>>> Hi Michael. >>>> >>>> Yes, you are right, maybe the better is to use ESL. >>>> My script is basically an IVR. When all the audio files are played, >>>> then wait until the user press a dtmf key or timeout occur. Because there >>>> are a lot of files to play based on caller ID, I wait for the user input at >>>> the end of the script, but prior to finish the script, because hangsup. >>>> >>>> I workaround this with: >>>> >>>> session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); >>>> playTimeout(despedida) >>>> >>>> and return always "true" from "onPlay" callback. >>>> >>>> Respond to your question, this is the function I want to run in >>>> setTimeout: >>>> >>>> function playTimeout(despedida){ >>>> if (session.ready()) { >>>> logger("TIMEOUT"); >>>> session.execute("sleep","400"); >>>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>> session.execute("sleep","400"); >>>> logger(despedida); >>>> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>>> session.hangup(); >>>> } >>>> exit("TIMEOUT"); >>>> } >>>> >>>> Thanks >>>> Normando >>>> >>>> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >>>> >>>> What exactly is the javascript doing when you want to call that >>>> callback? this is probably not possible due to how the JavaScript is >>>> blocked by native functions when doing actions such as handling audio due >>>> to the threading model of the embedded languages. They run in the session >>>> thread so they are not as async as people tend to be used to with js. >>>> This sort of approach might be more appropriate when using js in a remote >>>> control type structure such as when controlling a session over esl, but not >>>> in the embedded mod_v8. we have discussed doing a truly async type control >>>> for embedded languages but have never implemented it. >>>> >>>> On Monday, January 25, 2016, Normando Hall >>>> wrote: >>>> >>>>> Thanks Matt, I can play a file, but still can't run the function. Are >>>>> there any application can run a function instead a file? >>>>> >>>>> Thanks! >>>>> Normando >>>>> >>>>> >>>>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>>>> >>>>> try using the 1 liner sched_broadcast >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>>>> >>>>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to >>>>> both legs after 60 seconds. >>>>> >>>>> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >>>>> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >>>>> >>>>> If you find you need to cancel the broadcast use: >>>>> >>>>> *session.execute("sched_cancel",maxTimeTaskID);* >>>>> >>>>> hope this helps. >>>>> >>>>> thanks >>>>> Matt >>>>> >>>>> On 25 January 2016 at 06:58, wrote: >>>>> >>>>>> have no relationship to the resource, but first link to request >>>>>> 'asynchronous code javascript' >>>>>> >>>>>> >>>>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>>>> >>>>>> 25.01.2016, 09:16, "Normando Hall" : >>>>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>>>> > >>>>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>>>> >> Hello everybody. >>>>>> >> >>>>>> >> I am coding a js script to do somethings, and I want to add a >>>>>> global >>>>>> >> timeout, to call a function to play a file and hangup. But the >>>>>> function >>>>>> >> called inmediatelly. >>>>>> >> Also tested with setInterval, the same behaviour. >>>>>> >> >>>>>> >> function playTimeout(despedida){ >>>>>> >> if (session.ready()) { >>>>>> >> logger("TIMEOUT"); >>>>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>>> >> session.execute("sleep","500"); >>>>>> >> logger(despedida); >>>>>> >> session.execute("playback", sonidos + "/" + despedida + >>>>>> ".wav"); >>>>>> >> session.hangup(); >>>>>> >> } >>>>>> >> exit("TIMEOUT"); >>>>>> >> } >>>>>> >> >>>>>> >> setTimeout(playTimeout(despedida),120000); >>>>>> >> . >>>>>> >> . >>>>>> >> . >>>>>> >> my script continue >>>>>> >> >>>>>> >> Any help is welcome! >>>>>> >> >>>>>> >> Thank you >>>>>> >> Normando >>>>>> >> >>>>>> >> >>>>>> _________________________________________________________________________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>>> >> http://www.freeswitchsolutions.com >>>>>> >> >>>>>> >> Official FreeSWITCH Sites >>>>>> >> http://www.freeswitch.org >>>>>> >> http://confluence.freeswitch.org >>>>>> >> http://www.cluecon.com >>>>>> >> >>>>>> >> FreeSWITCH-users mailing list >>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> >> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> >> http://www.freeswitch.org >>>>>> > >>>>>> > >>>>>> _________________________________________________________________________ >>>>>> > Professional FreeSWITCH Consulting Services: >>>>>> > consulting at freeswitch.org >>>>>> > http://www.freeswitchsolutions.com >>>>>> > >>>>>> > Official FreeSWITCH Sites >>>>>> > http://www.freeswitch.org >>>>>> > http://confluence.freeswitch.org >>>>>> > http://www.cluecon.com >>>>>> > >>>>>> > FreeSWITCH-users mailing list >>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> > UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> > http://www.freeswitch.org >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/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.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 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/cef941fe/attachment-0001.html From mike at jerris.com Tue Jan 26 23:44:55 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 26 Jan 2016 15:44:55 -0500 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> Message-ID: <2D041CA9-2F76-4D5A-97A9-842B6D752006@jerris.com> If its in park thats one thing, if you are doing ANYTHING to the channel, you have potential concurrency issues, if you are doing anything with audio from different threads, nothing good will come from it. As for another possible solution to the original problem, you could sched_api and uuid_transfer to a different extension that played what you needed to play and then hung up too. > On Jan 26, 2016, at 3:37 PM, Matt Broad wrote: > > :/ > > I only came across this method after trying to get the sched_broadcast to not block. An answer from Anthony on the 17th Sept 2015 (shown below) gave me the idea, though I have never implemented it into anything other than test code. > > "uuid_broadcast does not block. > The problem is you are calling it from your js app which is occupying the session thread. > > To perform async operation you need to run your script outside the session thread by calling the script via the api interface via jsrun and pass the uuid then put the channel into park or use an esl script to control the session externally." > > I must admit the inner workings of the session thread is not something I have looked into personally (one day maybe). > If you could give me a quick explanation as to why this wouldn't work that would be appreciated :) > > > Thanks > Matt > > On 26 January 2016 at 17:09, Michael Jerris > wrote: > This isn't supposed to work.. and might cause crashes. > >> On Jan 26, 2016, at 10:18 AM, Matt Broad > wrote: >> >> works fine for me :) >> >> DialPlan >> >> >> >> >> >> >> test.js >> result = apiExecute("sched_api","+5 "+session.uuid+" jsrun /scripts/inc.js "+session.uuid); >> console_log("notice", "entering loop\n"); >> while (session.ready()) >> { >> //sit here whilst the call is still connected >> } >> console_log("notice", "call ended\n"); >> >> >> inc.js >> include("includes/General.js"); //this includes a function "Output" to log to screen >> >> var session = new Session(argv[0]); >> >> if (session.ready()) { >> Output("TIMEOUT"); >> session.execute("playback", "/sounds/en/us/callie/test.wav"); >> session.execute("sleep","500"); >> session.hangup(); >> } >> exit("TIMEOUT"); >> >> >> Thanks >> Matt >> >> On 26 January 2016 at 14:43, Michael Jerris > wrote: >> this won't actually work. You can't session execute from outside the session thread like this. >> >> >> On Tuesday, January 26, 2016, Matt Broad > wrote: >> Hi Normando, >> >> from your description I assumed you were just trying to schedule a file to play and hang up. >> >> If you are trying to run a block of code at a certain time in the future then you could use sched_api. https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api This will execute an API command after a given time. In your case you could use the API command jsrun to run a script containing your function. >> >> An example would be: >> >> result = apiExecute("sched_api","120 "+session.uuid+" jsrun /scripts/function.js "+session.uuid+" "+despedida); >> >> >> The above will execute jsrun after 120 seconds (this is linked to the session.uuid so if the channel is destroyed the task will be removed automatically). This will run the function.js file and pass it the current session uuid along with the despedida variable. >> Within the function.js file, you can create a session object using the uuid passed through and then use this to play the file etc >> >> e.g of function.js >> >> var session = new Session(argv[0]); >> var despedida = argv[1]; >> >> if (session.ready()) { >> logger("TIMEOUT"); >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >> session.execute("sleep","500"); >> logger(despedida); >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >> session.hangup(); >> } >> exit("TIMEOUT"); >> >> >> >> thanks >> Matt >> >> On 25 January 2016 at 22:11, Michael Jerris > wrote: >> If you are trying to trigger that code to run at a specific time, regardless of what else it is doing, that will be very difficult to do with embedded js, and running with something async is probably required. A note, you might want to look at phrase macros as they will greatly simplify some of that code as well.\ >> Mike >> >>> On Jan 25, 2016, at 4:24 PM, Normando Hall > wrote: >>> >>> Hi Michael. >>> >>> Yes, you are right, maybe the better is to use ESL. >>> My script is basically an IVR. When all the audio files are played, then wait until the user press a dtmf key or timeout occur. Because there are a lot of files to play based on caller ID, I wait for the user input at the end of the script, but prior to finish the script, because hangsup. >>> >>> I workaround this with: >>> >>> session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); >>> playTimeout(despedida) >>> >>> and return always "true" from "onPlay" callback. >>> >>> Respond to your question, this is the function I want to run in setTimeout: >>> >>> function playTimeout(despedida){ >>> if (session.ready()) { >>> logger("TIMEOUT"); >>> session.execute("sleep","400"); >>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>> session.execute("sleep","400"); >>> logger(despedida); >>> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>> session.hangup(); >>> } >>> exit("TIMEOUT"); >>> } >>> >>> Thanks >>> Normando >>> >>> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >>>> What exactly is the javascript doing when you want to call that callback? this is probably not possible due to how the JavaScript is blocked by native functions when doing actions such as handling audio due to the threading model of the embedded languages. They run in the session thread so they are not as async as people tend to be used to with js. This sort of approach might be more appropriate when using js in a remote control type structure such as when controlling a session over esl, but not in the embedded mod_v8. we have discussed doing a truly async type control for embedded languages but have never implemented it. >>>> >>>> On Monday, January 25, 2016, Normando Hall < <>nhall at unixlan.com.ar <>> wrote: >>>> Thanks Matt, I can play a file, but still can't run the function. Are there any application can run a function instead a file? >>>> >>>> Thanks! >>>> Normando >>>> >>>> >>>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>>>> try using the 1 liner sched_broadcast https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>>>> >>>>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to both legs after 60 seconds. >>>>> >>>>> maxTimeTaskID = session.execute("sched_broadcast", "+60 playback!normal_clearing::/tmp/hangupfile.mp3 both"); >>>>> >>>>> If you find you need to cancel the broadcast use: >>>>> >>>>> session.execute("sched_cancel",maxTimeTaskID); >>>>> >>>>> hope this helps. >>>>> >>>>> thanks >>>>> Matt >>>>> >>>>> On 25 January 2016 at 06:58, > wrote: >>>>> have no relationship to the resource, but first link to request 'asynchronous code javascript' >>>>> >>>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>>> >>>>> 25.01.2016, 09:16, "Normando Hall" < <>nhall at unixlan.com.ar <>>: >>>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>>> > >>>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>>> >> Hello everybody. >>>>> >> >>>>> >> I am coding a js script to do somethings, and I want to add a global >>>>> >> timeout, to call a function to play a file and hangup. But the function >>>>> >> called inmediatelly. >>>>> >> Also tested with setInterval, the same behaviour. >>>>> >> >>>>> >> function playTimeout(despedida){ >>>>> >> if (session.ready()) { >>>>> >> logger("TIMEOUT"); >>>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>> >> session.execute("sleep","500"); >>>>> >> logger(despedida); >>>>> >> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>>>> >> session.hangup(); >>>>> >> } >>>>> >> exit("TIMEOUT"); >>>>> >> } >>>>> >> >>>>> >> setTimeout(playTimeout(despedida),120000); >>>>> >> . >>>>> >> . >>>>> >> . >>>>> >> my script continue >>>>> >> >>>>> >> Any help is welcome! >>>>> >> >>>>> >> Thank you >>>>> >> Normando >>>>> >> >>>>> >> _________________________________________________________________________ >>>>> >> Professional FreeSWITCH Consulting Services: >>>>> >> consulting at freeswitch.org <> >>>>> >> http://www.freeswitchsolutions.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> http://www.freeswitch.org >>>>> >> http://confluence.freeswitch.org >>>>> >> http://www.cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org <> >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> http://www.freeswitch.org >>>>> > >>>>> > _________________________________________________________________________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org <> >>>>> > http://www.freeswitchsolutions.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org <> >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > http://www.freeswitch.org >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org <> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org <> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org <> >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org <> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org <> >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org <> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org <> >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org <> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org <> >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org <> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/6f1d44c6/attachment-0001.html From anthony.minessale at gmail.com Wed Jan 27 03:24:58 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 26 Jan 2016 18:24:58 -0600 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: <2D041CA9-2F76-4D5A-97A9-842B6D752006@jerris.com> References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> <2D041CA9-2F76-4D5A-97A9-842B6D752006@jerris.com> Message-ID: You might get a more scalable result with this in test.js and get rid of inc.js completely. session:execute("sched_transfer", "+5 playback:/sounds/en/us/callie/test.wav,hangup inline"); On Tue, Jan 26, 2016 at 2:44 PM, Michael Jerris wrote: > If its in park thats one thing, if you are doing ANYTHING to the channel, > you have potential concurrency issues, if you are doing anything with audio > from different threads, nothing good will come from it. As for another > possible solution to the original problem, you could sched_api and > uuid_transfer to a different extension that played what you needed to play > and then hung up too. > > On Jan 26, 2016, at 3:37 PM, Matt Broad > wrote: > > :/ > > I only came across this method after trying to get the sched_broadcast to > not block. An answer from Anthony on the 17th Sept 2015 (shown below) gave > me the idea, though I have never implemented it into anything other than > test code. > > *"uuid_broadcast does not block.* > *The problem is you are calling it from your js app which is occupying the > session thread.* > > *To perform async operation you need to run your script outside the > session thread by calling the script via the api interface via jsrun and > pass the uuid then put the channel into park or use an esl script to > control the session externally."* > > I must admit the inner workings of the session thread is not something I > have looked into personally (one day maybe). > If you could give me a quick explanation as to why this wouldn't work that > would be appreciated :) > > > Thanks > Matt > > On 26 January 2016 at 17:09, Michael Jerris wrote: > >> This isn't supposed to work.. and might cause crashes. >> >> On Jan 26, 2016, at 10:18 AM, Matt Broad >> wrote: >> >> works fine for me :) >> >> *DialPlan* >> >> >> >> >> >> >> *test.js* >> result = apiExecute("sched_api","+5 "+session.uuid+" jsrun >> /scripts/inc.js "+session.uuid); >> console_log("notice", "entering loop\n"); >> while (session.ready()) >> { >> //sit here whilst the call is still connected >> } >> console_log("notice", "call ended\n"); >> >> >> *inc.js* >> include("includes/General.js"); //this includes a function "Output" to >> log to screen >> >> var session = new Session(argv[0]); >> >> if (session.ready()) { >> Output("TIMEOUT"); >> session.execute("playback", "/sounds/en/us/callie/test.wav"); >> session.execute("sleep","500"); >> session.hangup(); >> } >> exit("TIMEOUT"); >> >> >> Thanks >> Matt >> >> On 26 January 2016 at 14:43, Michael Jerris wrote: >> >>> this won't actually work. You can't session execute from outside the >>> session thread like this. >>> >>> >>> On Tuesday, January 26, 2016, Matt Broad >>> wrote: >>> >>>> Hi Normando, >>>> >>>> from your description I assumed you were just trying to schedule a file >>>> to play and hang up. >>>> >>>> If you are trying to run a block of code at a certain time in the >>>> future then you could use sched_api. >>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api >>>> This will execute an API command after a given time. In your case you >>>> could use the API command *jsrun* to run a script containing your >>>> function. >>>> >>>> An example would be: >>>> >>>> *result = apiExecute("sched_api","120 "+session.uuid+" jsrun >>>> /scripts/function.js "+session.uuid+" "+despedida);* >>>> >>>> >>>> The above will execute jsrun after 120 seconds (this is linked to the >>>> session.uuid so if the channel is destroyed the task will be removed >>>> automatically). This will run the function.js file and pass it the current >>>> session uuid along with the despedida variable. >>>> Within the function.js file, you can create a session object using the >>>> uuid passed through and then use this to play the file etc >>>> >>>> e.g of function.js >>>> >>>> var session = new Session(argv[0]); >>>> var despedida = argv[1]; >>>> >>>> if (session.ready()) { >>>> logger("TIMEOUT"); >>>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>> session.execute("sleep","500"); >>>> logger(despedida); >>>> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>>> session.hangup(); >>>> } >>>> exit("TIMEOUT"); >>>> >>>> >>>> >>>> thanks >>>> Matt >>>> >>>> On 25 January 2016 at 22:11, Michael Jerris wrote: >>>> >>>>> If you are trying to trigger that code to run at a specific time, >>>>> regardless of what else it is doing, that will be very difficult to do with >>>>> embedded js, and running with something async is probably required. A >>>>> note, you might want to look at phrase macros as they will greatly simplify >>>>> some of that code as well.\ >>>>> Mike >>>>> >>>>> On Jan 25, 2016, at 4:24 PM, Normando Hall >>>>> wrote: >>>>> >>>>> Hi Michael. >>>>> >>>>> Yes, you are right, maybe the better is to use ESL. >>>>> My script is basically an IVR. When all the audio files are played, >>>>> then wait until the user press a dtmf key or timeout occur. Because there >>>>> are a lot of files to play based on caller ID, I wait for the user input at >>>>> the end of the script, but prior to finish the script, because hangsup. >>>>> >>>>> I workaround this with: >>>>> >>>>> session.collectInput(onPlay, services, afterMenuTimeOut, totalTimeOut); >>>>> playTimeout(despedida) >>>>> >>>>> and return always "true" from "onPlay" callback. >>>>> >>>>> Respond to your question, this is the function I want to run in >>>>> setTimeout: >>>>> >>>>> function playTimeout(despedida){ >>>>> if (session.ready()) { >>>>> logger("TIMEOUT"); >>>>> session.execute("sleep","400"); >>>>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>> session.execute("sleep","400"); >>>>> logger(despedida); >>>>> session.execute("playback", sonidos + "/" + despedida + >>>>> ".wav"); >>>>> session.hangup(); >>>>> } >>>>> exit("TIMEOUT"); >>>>> } >>>>> >>>>> Thanks >>>>> Normando >>>>> >>>>> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >>>>> >>>>> What exactly is the javascript doing when you want to call that >>>>> callback? this is probably not possible due to how the JavaScript is >>>>> blocked by native functions when doing actions such as handling audio due >>>>> to the threading model of the embedded languages. They run in the session >>>>> thread so they are not as async as people tend to be used to with js. >>>>> This sort of approach might be more appropriate when using js in a remote >>>>> control type structure such as when controlling a session over esl, but not >>>>> in the embedded mod_v8. we have discussed doing a truly async type control >>>>> for embedded languages but have never implemented it. >>>>> >>>>> On Monday, January 25, 2016, Normando Hall >>>>> wrote: >>>>> >>>>>> Thanks Matt, I can play a file, but still can't run the function. Are >>>>>> there any application can run a function instead a file? >>>>>> >>>>>> Thanks! >>>>>> Normando >>>>>> >>>>>> >>>>>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>>>>> >>>>>> try using the 1 liner sched_broadcast >>>>>> >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>>>>> >>>>>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to >>>>>> both legs after 60 seconds. >>>>>> >>>>>> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >>>>>> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >>>>>> >>>>>> If you find you need to cancel the broadcast use: >>>>>> >>>>>> *session.execute("sched_cancel",maxTimeTaskID);* >>>>>> >>>>>> hope this helps. >>>>>> >>>>>> thanks >>>>>> Matt >>>>>> >>>>>> On 25 January 2016 at 06:58, wrote: >>>>>> >>>>>>> have no relationship to the resource, but first link to request >>>>>>> 'asynchronous code javascript' >>>>>>> >>>>>>> >>>>>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>>>>> >>>>>>> 25.01.2016, 09:16, "Normando Hall" : >>>>>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>>>>> > >>>>>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>>>>> >> Hello everybody. >>>>>>> >> >>>>>>> >> I am coding a js script to do somethings, and I want to add a >>>>>>> global >>>>>>> >> timeout, to call a function to play a file and hangup. But the >>>>>>> function >>>>>>> >> called inmediatelly. >>>>>>> >> Also tested with setInterval, the same behaviour. >>>>>>> >> >>>>>>> >> function playTimeout(despedida){ >>>>>>> >> if (session.ready()) { >>>>>>> >> logger("TIMEOUT"); >>>>>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>>>> >> session.execute("sleep","500"); >>>>>>> >> logger(despedida); >>>>>>> >> session.execute("playback", sonidos + "/" + despedida + >>>>>>> ".wav"); >>>>>>> >> session.hangup(); >>>>>>> >> } >>>>>>> >> exit("TIMEOUT"); >>>>>>> >> } >>>>>>> >> >>>>>>> >> setTimeout(playTimeout(despedida),120000); >>>>>>> >> . >>>>>>> >> . >>>>>>> >> . >>>>>>> >> my script continue >>>>>>> >> >>>>>>> >> Any help is welcome! >>>>>>> >> >>>>>>> >> Thank you >>>>>>> >> Normando >>>>>>> >> >>>>>>> >> >>>>>>> _________________________________________________________________________ >>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>> >> consulting at freeswitch.org >>>>>>> >> http://www.freeswitchsolutions.com >>>>>>> >> >>>>>>> >> Official FreeSWITCH Sites >>>>>>> >> http://www.freeswitch.org >>>>>>> >> http://confluence.freeswitch.org >>>>>>> >> http://www.cluecon.com >>>>>>> >> >>>>>>> >> FreeSWITCH-users mailing list >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> >> http://www.freeswitch.org >>>>>>> > >>>>>>> > >>>>>>> _________________________________________________________________________ >>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>> > consulting at freeswitch.org >>>>>>> > http://www.freeswitchsolutions.com >>>>>>> > >>>>>>> > Official FreeSWITCH Sites >>>>>>> > http://www.freeswitch.org >>>>>>> > http://confluence.freeswitch.org >>>>>>> > http://www.cluecon.com >>>>>>> > >>>>>>> > FreeSWITCH-users mailing list >>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> > UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> > http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/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.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 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160126/ffbf39c5/attachment-0001.html From luis.daniel.lucio at gmail.com Wed Jan 27 09:09:11 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Wed, 27 Jan 2016 01:09:11 -0500 Subject: [Freeswitch-users] UML to document a call flow Message-ID: Maybe OT, maybe no. But I have been using UML as a way to let my non-tech users to specify their complex call flow as clear as possible. so far, it has been a sucess I want to share you this little article so you can use it as well. http://inside-out.xyz/technology/how-to-document-a-call-flow-with-uml.html -- Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160127/2522fefd/attachment.html From ssinyagin at gmail.com Wed Jan 27 10:30:42 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 27 Jan 2016 08:30:42 +0100 Subject: [Freeswitch-users] Event socket access to conversation audio In-Reply-To: References: Message-ID: you can send the audio to some real-time, non-blocking channel -- the easiest way is to have the RTP stream to a UDP port on the same machine. see the Endpoints section at https://freeswitch.org/confluence/display/FREESWITCH/Modules On Tue, Jan 26, 2016 at 5:13 PM, . wrote: > Hi, > > I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide any > mechanism to directly access the audio channels in a conversation? > > For instance, instead of just recording to a file, I'd like to pass the > channel to python, which will perform some realtime processing on the raw > audio, before writing it somewhere else. > > Is this possible, or do I need to modify the core? > > 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 From matt at supportedbusiness.com Wed Jan 27 11:48:58 2016 From: matt at supportedbusiness.com (Matt Broad) Date: Wed, 27 Jan 2016 08:48:58 +0000 Subject: [Freeswitch-users] Issue with Javascript setTimeout In-Reply-To: References: <56A5B843.8040207@unixlan.com.ar> <56A5BCA4.6030901@unixlan.com.ar> <4565201453705132@web17j.yandex.ru> <56A67C32.50906@unixlan.com.ar> <56A69272.5020105@unixlan.com.ar> <2D041CA9-2F76-4D5A-97A9-842B6D752006@jerris.com> Message-ID: I had suggested the use of the inc.js file as the OP seemingly wanted to run some additional code along with the play file and hangup. Though as Michael has explained, using this method is not advisable due to the way the session threads work :) On a side note,I personally use something like the following to play a file and hangup the channel: *maxTimeTaskID = **session.execute("sched_broadcast", "+60 playback!normal_clearing::/tmp/hangupfile.mp3 both")*; Is there any benefit to using your sched_transfer method Anthony, or is it just a different way to skin the proverbial cat? thanks Matt On 27 January 2016 at 00:24, Anthony Minessale wrote: > You might get a more scalable result with this in test.js and get rid of > inc.js completely. > > session:execute("sched_transfer", "+5 playback:/sounds/en/us/callie/test.wav,hangup > inline"); > > > On Tue, Jan 26, 2016 at 2:44 PM, Michael Jerris wrote: > >> If its in park thats one thing, if you are doing ANYTHING to the channel, >> you have potential concurrency issues, if you are doing anything with audio >> from different threads, nothing good will come from it. As for another >> possible solution to the original problem, you could sched_api and >> uuid_transfer to a different extension that played what you needed to play >> and then hung up too. >> >> On Jan 26, 2016, at 3:37 PM, Matt Broad >> wrote: >> >> :/ >> >> I only came across this method after trying to get the sched_broadcast to >> not block. An answer from Anthony on the 17th Sept 2015 (shown below) gave >> me the idea, though I have never implemented it into anything other than >> test code. >> >> *"uuid_broadcast does not block.* >> *The problem is you are calling it from your js app which is occupying >> the session thread.* >> >> *To perform async operation you need to run your script outside the >> session thread by calling the script via the api interface via jsrun and >> pass the uuid then put the channel into park or use an esl script to >> control the session externally."* >> >> I must admit the inner workings of the session thread is not something I >> have looked into personally (one day maybe). >> If you could give me a quick explanation as to why this wouldn't work >> that would be appreciated :) >> >> >> Thanks >> Matt >> >> On 26 January 2016 at 17:09, Michael Jerris wrote: >> >>> This isn't supposed to work.. and might cause crashes. >>> >>> On Jan 26, 2016, at 10:18 AM, Matt Broad >>> wrote: >>> >>> works fine for me :) >>> >>> *DialPlan* >>> >>> >>> >>> >>> >>> >>> *test.js* >>> result = apiExecute("sched_api","+5 "+session.uuid+" jsrun >>> /scripts/inc.js "+session.uuid); >>> console_log("notice", "entering loop\n"); >>> while (session.ready()) >>> { >>> //sit here whilst the call is still connected >>> } >>> console_log("notice", "call ended\n"); >>> >>> >>> *inc.js* >>> include("includes/General.js"); //this includes a function "Output" to >>> log to screen >>> >>> var session = new Session(argv[0]); >>> >>> if (session.ready()) { >>> Output("TIMEOUT"); >>> session.execute("playback", "/sounds/en/us/callie/test.wav"); >>> session.execute("sleep","500"); >>> session.hangup(); >>> } >>> exit("TIMEOUT"); >>> >>> >>> Thanks >>> Matt >>> >>> On 26 January 2016 at 14:43, Michael Jerris wrote: >>> >>>> this won't actually work. You can't session execute from outside the >>>> session thread like this. >>>> >>>> >>>> On Tuesday, January 26, 2016, Matt Broad >>>> wrote: >>>> >>>>> Hi Normando, >>>>> >>>>> from your description I assumed you were just trying to schedule a >>>>> file to play and hang up. >>>>> >>>>> If you are trying to run a block of code at a certain time in the >>>>> future then you could use sched_api. >>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-sched_api >>>>> This will execute an API command after a given time. In your case you >>>>> could use the API command *jsrun* to run a script containing your >>>>> function. >>>>> >>>>> An example would be: >>>>> >>>>> *result = apiExecute("sched_api","120 "+session.uuid+" jsrun >>>>> /scripts/function.js "+session.uuid+" "+despedida);* >>>>> >>>>> >>>>> The above will execute jsrun after 120 seconds (this is linked to the >>>>> session.uuid so if the channel is destroyed the task will be removed >>>>> automatically). This will run the function.js file and pass it the current >>>>> session uuid along with the despedida variable. >>>>> Within the function.js file, you can create a session object using the >>>>> uuid passed through and then use this to play the file etc >>>>> >>>>> e.g of function.js >>>>> >>>>> var session = new Session(argv[0]); >>>>> var despedida = argv[1]; >>>>> >>>>> if (session.ready()) { >>>>> logger("TIMEOUT"); >>>>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>> session.execute("sleep","500"); >>>>> logger(despedida); >>>>> session.execute("playback", sonidos + "/" + despedida + ".wav"); >>>>> session.hangup(); >>>>> } >>>>> exit("TIMEOUT"); >>>>> >>>>> >>>>> >>>>> thanks >>>>> Matt >>>>> >>>>> On 25 January 2016 at 22:11, Michael Jerris wrote: >>>>> >>>>>> If you are trying to trigger that code to run at a specific time, >>>>>> regardless of what else it is doing, that will be very difficult to do with >>>>>> embedded js, and running with something async is probably required. A >>>>>> note, you might want to look at phrase macros as they will greatly simplify >>>>>> some of that code as well.\ >>>>>> Mike >>>>>> >>>>>> On Jan 25, 2016, at 4:24 PM, Normando Hall >>>>>> wrote: >>>>>> >>>>>> Hi Michael. >>>>>> >>>>>> Yes, you are right, maybe the better is to use ESL. >>>>>> My script is basically an IVR. When all the audio files are played, >>>>>> then wait until the user press a dtmf key or timeout occur. Because there >>>>>> are a lot of files to play based on caller ID, I wait for the user input at >>>>>> the end of the script, but prior to finish the script, because hangsup. >>>>>> >>>>>> I workaround this with: >>>>>> >>>>>> session.collectInput(onPlay, services, afterMenuTimeOut, >>>>>> totalTimeOut); >>>>>> playTimeout(despedida) >>>>>> >>>>>> and return always "true" from "onPlay" callback. >>>>>> >>>>>> Respond to your question, this is the function I want to run in >>>>>> setTimeout: >>>>>> >>>>>> function playTimeout(despedida){ >>>>>> if (session.ready()) { >>>>>> logger("TIMEOUT"); >>>>>> session.execute("sleep","400"); >>>>>> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>>> session.execute("sleep","400"); >>>>>> logger(despedida); >>>>>> session.execute("playback", sonidos + "/" + despedida + >>>>>> ".wav"); >>>>>> session.hangup(); >>>>>> } >>>>>> exit("TIMEOUT"); >>>>>> } >>>>>> >>>>>> Thanks >>>>>> Normando >>>>>> >>>>>> El 25/01/2016 a las 05:20 p.m., Michael Jerris escribi?: >>>>>> >>>>>> What exactly is the javascript doing when you want to call that >>>>>> callback? this is probably not possible due to how the JavaScript is >>>>>> blocked by native functions when doing actions such as handling audio due >>>>>> to the threading model of the embedded languages. They run in the session >>>>>> thread so they are not as async as people tend to be used to with js. >>>>>> This sort of approach might be more appropriate when using js in a remote >>>>>> control type structure such as when controlling a session over esl, but not >>>>>> in the embedded mod_v8. we have discussed doing a truly async type control >>>>>> for embedded languages but have never implemented it. >>>>>> >>>>>> On Monday, January 25, 2016, Normando Hall >>>>>> wrote: >>>>>> >>>>>>> Thanks Matt, I can play a file, but still can't run the function. >>>>>>> Are there any application can run a function instead a file? >>>>>>> >>>>>>> Thanks! >>>>>>> Normando >>>>>>> >>>>>>> >>>>>>> El 25/01/2016 a las 05:59 a.m., Matt Broad escribi?: >>>>>>> >>>>>>> try using the 1 liner sched_broadcast >>>>>>> >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast >>>>>>> >>>>>>> The below will schedule a broadcast to play /tmp/hangupfile.mp3 to >>>>>>> both legs after 60 seconds. >>>>>>> >>>>>>> *maxTimeTaskID = **session.execute("sched_broadcast", "+60 >>>>>>> playback!normal_clearing::/tmp/hangupfile.mp3 both")*; >>>>>>> >>>>>>> If you find you need to cancel the broadcast use: >>>>>>> >>>>>>> *session.execute("sched_cancel",maxTimeTaskID);* >>>>>>> >>>>>>> hope this helps. >>>>>>> >>>>>>> thanks >>>>>>> Matt >>>>>>> >>>>>>> On 25 January 2016 at 06:58, wrote: >>>>>>> >>>>>>>> have no relationship to the resource, but first link to request >>>>>>>> 'asynchronous code javascript' >>>>>>>> >>>>>>>> >>>>>>>> http://www.hiddenwebgenius.com/blog/guides/understanding-javascripts-asynchronous-code/ >>>>>>>> >>>>>>>> 25.01.2016, 09:16, "Normando Hall" : >>>>>>>> > Sorry, I missed to say it is Freeswitch 1.4 >>>>>>>> > >>>>>>>> > El 25/01/2016 a las 02:53 a.m., Normando Hall escribi?: >>>>>>>> >> Hello everybody. >>>>>>>> >> >>>>>>>> >> I am coding a js script to do somethings, and I want to add a >>>>>>>> global >>>>>>>> >> timeout, to call a function to play a file and hangup. But the >>>>>>>> function >>>>>>>> >> called inmediatelly. >>>>>>>> >> Also tested with setInterval, the same behaviour. >>>>>>>> >> >>>>>>>> >> function playTimeout(despedida){ >>>>>>>> >> if (session.ready()) { >>>>>>>> >> logger("TIMEOUT"); >>>>>>>> >> session.execute("playback", sonidos + "/TIMEOUT.wav"); >>>>>>>> >> session.execute("sleep","500"); >>>>>>>> >> logger(despedida); >>>>>>>> >> session.execute("playback", sonidos + "/" + despedida + >>>>>>>> ".wav"); >>>>>>>> >> session.hangup(); >>>>>>>> >> } >>>>>>>> >> exit("TIMEOUT"); >>>>>>>> >> } >>>>>>>> >> >>>>>>>> >> setTimeout(playTimeout(despedida),120000); >>>>>>>> >> . >>>>>>>> >> . >>>>>>>> >> . >>>>>>>> >> my script continue >>>>>>>> >> >>>>>>>> >> Any help is welcome! >>>>>>>> >> >>>>>>>> >> Thank you >>>>>>>> >> Normando >>>>>>>> >> >>>>>>>> >> >>>>>>>> _________________________________________________________________________ >>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>> >> consulting at freeswitch.org >>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>> >> >>>>>>>> >> Official FreeSWITCH Sites >>>>>>>> >> http://www.freeswitch.org >>>>>>>> >> http://confluence.freeswitch.org >>>>>>>> >> http://www.cluecon.com >>>>>>>> >> >>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> >> http://www.freeswitch.org >>>>>>>> > >>>>>>>> > >>>>>>>> _________________________________________________________________________ >>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>> > consulting at freeswitch.org >>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>> > >>>>>>>> > Official FreeSWITCH Sites >>>>>>>> > http://www.freeswitch.org >>>>>>>> > http://confluence.freeswitch.org >>>>>>>> > http://www.cluecon.com >>>>>>>> > >>>>>>>> > FreeSWITCH-users mailing list >>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> > UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> > http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/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.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 >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160127/7a2a37a7/attachment-0001.html From chad at apartmentlines.com Wed Jan 27 21:13:14 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Wed, 27 Jan 2016 11:13:14 -0700 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Stanislav, I'm guessing I could count on one hand the number of times any of my production systems have had to process 30 calls in one second, and I've been using FreeSWITCH since the earliest releases in a mission critical application for my primary telecom business. I can certainly appreciate that some FreeSWITCH users need to think at giant scale and about how they can squeeze every last ounce of performance out of their instances, I've just never had to do it. Perhaps this experience reflects in my library. :) Still, I'm not convinced that doing it the way I have costs a lot in performance. I think it would be interesting to whip up a few simple load testing scenarios, and run one set via dialplan only or dialplan with focused Lua scripts, and another set through Jester. Do you have any thoughts on what that set of scenarios might look like to effectively gauge the performance difference? Chad On Mon, Jan 25, 2016 at 4:13 PM, Stanislav Sinyagin wrote: > Chad, > > if it's a daemon that stays in memory, it doesn't need to be written > in C. It just needs to handle concurrent requests efficiently. It > could be anything like python, perl, java... or golang which beats > them in performance because it's compiled into native code. But the > bottleneck would anyway be in I/O or database lookups, so it should > simply be the language which you master the best. > > The nice thing about ESL is that it allows you to build a clusterized > environment, with separated functional nodes and easily scalable. Then > you may, for example, keep FreeSWITCH on a physical CPU churning its > real-time tasks, and the application logic on a set of virtual > machines with less-demanding SLA. > > I know some guys who implement this with Node.js. I'm not sure it's > the right choice, but still it shows adequate performance. > > > > > > > > On Mon, Jan 25, 2016 at 11:20 PM, Chad Phillips > wrote: > > Stanislav, > > > > Back when I originally wrote Jester, we did some basic load testing of > the > > Comdian Mail replica profile against Asterisk's actual Comedian Mail > (which > > is written in C), and the Jester implementation outperformed it. > > > > I think you may be overestimating strain of loading Jester once per call. > > Not counting comments, the core module is less than 800 lines of code > > (hardly 'huge'), the other modules are all smaller than that, and they > can > > be loaded conditionally based upon what you want to accomplish. And for > > those looking to squeeze more performance out, there's a supplied script > to > > pre-compile core and all modules, which means they wouldn't have to be > > re-compiled every time they're loaded. > > > > I'm clear that there would be more efficient approaches than writing a > Lua > > toolkit, and, I doubt that most of them would be as easily accessible as > > something written in Lua. Given that Lua is already blazing fast for a > > scripting language, I think it's a fair compromise. > > > > I will add that I've considered rewriting the core functionality in C > for a > > number of reasons, performance being one of them, but at this time have > > neither the skill nor the time to learn the skill of writing C code at > that > > level. Someday, maybe... :) > > > > Chad > > > > On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin < > ssinyagin at gmail.com> > > wrote: > >> > >> Yes, for relatively small scripts that are concentrated on their jobs. > But > >> this thing is huge. > >> > >> On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: > >>> > >>> Lua is likely to be by far the most efficient of any scripting language > >>> used in FreeSWITCH, if there is still really a concern about > performance, > >>> more pieces can be moved to helpers built out in c code. If you are > looking > >>> for dynamic but still optimal performance, lua is likely your best bet > >>> > >>> On Sunday, January 24, 2016, Stanislav Sinyagin > >>> wrote: > >>>> > >>>> why not re-implementing it in Golang and ESL? > >>>> > >>>> What's happening now with your system, is that FreeSWITCH loads few > >>>> thousand lines of Lua code on every call establishment. So, even with > >>>> default 30cps limit, you may overload the CPU with unnecessary job. > >>>> > >>>> if you don't like Go, it could be some other language, but I like the > >>>> built-in threads in it. > >>>> > >>>> > >>>> > >>>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips < > chad at apartmentlines.com> > >>>> wrote: > >>>> > Hi Bote, > >>>> > > >>>> > The difference is (supposed to be) that using Jester takes a lot of > >>>> > the > >>>> > dirty work out of doing things that you must turn to scripting for. > >>>> > The > >>>> > original design was to remove almost all scripting complexity, and > >>>> > instead > >>>> > have users use a more template-based approach to writing their > >>>> > advanced > >>>> > workflows. You can have a look at > >>>> > > >>>> > > http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences > >>>> > to see the basic template style. > >>>> > > >>>> > And here's an example template that does some fairly advanced stuff: > >>>> > > >>>> > > >>>> > > http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html > >>>> > > >>>> > To my eyes, what the template accomplishes is quite easy to deduce > >>>> > from > >>>> > simply reading it, and all of the dirty work for taking those > actions > >>>> > is > >>>> > handled by Jester core and the supporting modules. > >>>> > > >>>> > The current limitation is that you must use the template structure > to > >>>> > gain > >>>> > access to Jester's modules. Looking back, this was a design mistake > >>>> > that I > >>>> > intend to rectify -- it would be much more powerful and flexible to > >>>> > use a > >>>> > template when it made sense, and still be able to mix pure Lua > >>>> > scripting > >>>> > with calls to Jester's support modules when that makes more sense. > And > >>>> > what > >>>> > I'm hoping to get help with is correcting that design flaw while > >>>> > preserving > >>>> > 'the good stuff' in the toolkit. > >>>> > > >>>> > Chad > >>>> > > >>>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man > >>>> > wrote: > >>>> >> > >>>> >> Hey Chad, long time no chat J I saw your update to the Help > section > >>>> >> of > >>>> >> the Confluence page concerning this and glanced at some things > there. > >>>> >> > >>>> >> > >>>> >> > >>>> >> I guess I don?t even know enough to understand the difference > between > >>>> >> using your toolkit and just plain writing a Lua script. Would I, > for > >>>> >> example, write an abbreviated Lua script that calls tested and > proven > >>>> >> functions in your toolkit, sort of like a library? > >>>> >> > >>>> >> > >>>> >> > >>>> >> Anyway it sounds useful, so thanks. > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> --- > >>>> >> > >>>> >> Bote > >>>> >> > >>>> >> > >>>> >> > >>>> >> FreeSWITCH Docs Janitor > >>>> >> > >>>> >> http://freeswitch.org/confluence > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> From: Chad Phillips > >>>> >> Sent: Friday, 22 January, 2016 14:41 > >>>> >> Subject: [Freeswitch-users] Seeking collaborators for > FreeSWITCH/Lua > >>>> >> scripting toolkit > >>>> >> > >>>> >> > >>>> >> > >>>> >> Looking for folks in the FreeSWITCH community who would be > interested > >>>> >> in > >>>> >> collaborating on an open source scripting toolkit I've written for > >>>> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to > >>>> >> common > >>>> >> scripting needs, so as not to reinvent the wheel. > >>>> >> > >>>> >> > >>>> >> > >>>> >> The original project was written in 2010. A lot of it still works > >>>> >> great, > >>>> >> and there are some design flaws that I'd like to work out in the > next > >>>> >> release. > >>>> >> > >>>> >> > >>>> >> > >>>> >> Project code is here: https://github.com/thehunmonkgroup/jester > >>>> >> > >>>> >> > >>>> >> > >>>> >> Some background and reasoning for the project here: > >>>> >> > >>>> >> > http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ > >>>> >> > >>>> >> > >>>> >> > >>>> >> If anyone is interested in helping, please let me know! > >>>> >> > >>>> >> > >>>> >> > >>>> >> Chad > >>>> >> > >>>> >> > >>>> >> > >>>> >> > _________________________________________________________________________ > >>>> >> Professional FreeSWITCH Consulting Services: > >>>> >> consulting at freeswitch.org > >>>> >> http://www.freeswitchsolutions.com > >>>> >> > >>>> >> Official FreeSWITCH Sites > >>>> >> http://www.freeswitch.org > >>>> >> http://confluence.freeswitch.org > >>>> >> http://www.cluecon.com > >>>> >> > >>>> >> FreeSWITCH-users mailing list > >>>> >> FreeSWITCH-users at lists.freeswitch.org > >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> >> > >>>> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> >> http://www.freeswitch.org > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > _________________________________________________________________________ > >>>> > Professional FreeSWITCH Consulting Services: > >>>> > consulting at freeswitch.org > >>>> > http://www.freeswitchsolutions.com > >>>> > > >>>> > Official FreeSWITCH Sites > >>>> > http://www.freeswitch.org > >>>> > http://confluence.freeswitch.org > >>>> > http://www.cluecon.com > >>>> > > >>>> > FreeSWITCH-users mailing list > >>>> > FreeSWITCH-users at lists.freeswitch.org > >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> > > >>>> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> > http://www.freeswitch.org > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.com > >>>> > >>>> Official FreeSWITCH Sites > >>>> http://www.freeswitch.org > >>>> http://confluence.freeswitch.org > >>>> http://www.cluecon.com > >>>> > >>>> FreeSWITCH-users mailing list > >>>> FreeSWITCH-users at lists.freeswitch.org > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>>> http://www.freeswitch.org > >>> > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at freeswitch.org > >>> http://www.freeswitchsolutions.com > >>> > >>> Official FreeSWITCH Sites > >>> http://www.freeswitch.org > >>> http://confluence.freeswitch.org > >>> http://www.cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> http://www.freeswitch.org > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160127/13f4edd0/attachment-0001.html From joes.mailing.lists at gmail.com Thu Jan 28 00:17:03 2016 From: joes.mailing.lists at gmail.com ( .) Date: Wed, 27 Jan 2016 22:17:03 +0100 Subject: [Freeswitch-users] Event socket access to conversation audio In-Reply-To: References: Message-ID: Thanks Stanislav, this was just the hint/keyword I guess I needed. Best, Joe On Wed, Jan 27, 2016 at 8:30 AM, Stanislav Sinyagin wrote: > you can send the audio to some real-time, non-blocking channel -- the > easiest way is to have the RTP stream to a UDP port on the same > machine. > > see the Endpoints section at > https://freeswitch.org/confluence/display/FREESWITCH/Modules > > > > On Tue, Jan 26, 2016 at 5:13 PM, . wrote: > > Hi, > > > > I'm wondering if the FreeSwitch ESL (or DPtools for that matter) provide > any > > mechanism to directly access the audio channels in a conversation? > > > > For instance, instead of just recording to a file, I'd like to pass the > > channel to python, which will perform some realtime processing on the raw > > audio, before writing it somewhere else. > > > > Is this possible, or do I need to modify the core? > > > > 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/20160127/86573d8a/attachment.html From brian at freeswitch.org Thu Jan 28 00:26:18 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 27 Jan 2016 15:26:18 -0600 Subject: [Freeswitch-users] Event socket access to conversation audio In-Reply-To: References: Message-ID: see *scripts/c/socket2me/*socket2me.c Its how we would feed spandsp prior to the license change. On Wed, Jan 27, 2016 at 3:17 PM, . wrote: > Thanks Stanislav, this was just the hint/keyword I guess I needed. Best, > Joe > > On Wed, Jan 27, 2016 at 8:30 AM, Stanislav Sinyagin > wrote: > >> you can send the audio to some real-time, non-blocking channel -- the >> easiest way is to have the RTP stream to a UDP port on the same >> machine. >> >> see the Endpoints section at >> https://freeswitch.org/confluence/display/FREESWITCH/Modules >> >> >> >> On Tue, Jan 26, 2016 at 5:13 PM, . wrote: >> > Hi, >> > >> > I'm wondering if the FreeSwitch ESL (or DPtools for that matter) >> provide any >> > mechanism to directly access the audio channels in a conversation? >> > >> > For instance, instead of just recording to a file, I'd like to pass the >> > channel to python, which will perform some realtime processing on the >> raw >> > audio, before writing it somewhere else. >> > >> > Is this possible, or do I need to modify the core? >> > >> > 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 Got Bugs? Report them here ! | 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/20160127/4ed625e6/attachment.html From ssinyagin at gmail.com Thu Jan 28 00:49:32 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 27 Jan 2016 22:49:32 +0100 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: well, maybe I just dislike Lua :) but the approach that I described is not only about performance, but also about fault tolerance, and probably also a geographically distributed scenario. If properly designed, it could give much better flexibility and scalability. On Wed, Jan 27, 2016 at 7:13 PM, Chad Phillips wrote: > Stanislav, > > I'm guessing I could count on one hand the number of times any of my > production systems have had to process 30 calls in one second, and I've been > using FreeSWITCH since the earliest releases in a mission critical > application for my primary telecom business. > > I can certainly appreciate that some FreeSWITCH users need to think at giant > scale and about how they can squeeze every last ounce of performance out of > their instances, I've just never had to do it. Perhaps this experience > reflects in my library. :) > > Still, I'm not convinced that doing it the way I have costs a lot in > performance. I think it would be interesting to whip up a few simple load > testing scenarios, and run one set via dialplan only or dialplan with > focused Lua scripts, and another set through Jester. Do you have any > thoughts on what that set of scenarios might look like to effectively gauge > the performance difference? > > Chad > > On Mon, Jan 25, 2016 at 4:13 PM, Stanislav Sinyagin > wrote: >> >> Chad, >> >> if it's a daemon that stays in memory, it doesn't need to be written >> in C. It just needs to handle concurrent requests efficiently. It >> could be anything like python, perl, java... or golang which beats >> them in performance because it's compiled into native code. But the >> bottleneck would anyway be in I/O or database lookups, so it should >> simply be the language which you master the best. >> >> The nice thing about ESL is that it allows you to build a clusterized >> environment, with separated functional nodes and easily scalable. Then >> you may, for example, keep FreeSWITCH on a physical CPU churning its >> real-time tasks, and the application logic on a set of virtual >> machines with less-demanding SLA. >> >> I know some guys who implement this with Node.js. I'm not sure it's >> the right choice, but still it shows adequate performance. >> >> >> >> >> >> >> >> On Mon, Jan 25, 2016 at 11:20 PM, Chad Phillips >> wrote: >> > Stanislav, >> > >> > Back when I originally wrote Jester, we did some basic load testing of >> > the >> > Comdian Mail replica profile against Asterisk's actual Comedian Mail >> > (which >> > is written in C), and the Jester implementation outperformed it. >> > >> > I think you may be overestimating strain of loading Jester once per >> > call. >> > Not counting comments, the core module is less than 800 lines of code >> > (hardly 'huge'), the other modules are all smaller than that, and they >> > can >> > be loaded conditionally based upon what you want to accomplish. And for >> > those looking to squeeze more performance out, there's a supplied script >> > to >> > pre-compile core and all modules, which means they wouldn't have to be >> > re-compiled every time they're loaded. >> > >> > I'm clear that there would be more efficient approaches than writing a >> > Lua >> > toolkit, and, I doubt that most of them would be as easily accessible as >> > something written in Lua. Given that Lua is already blazing fast for a >> > scripting language, I think it's a fair compromise. >> > >> > I will add that I've considered rewriting the core functionality in C >> > for a >> > number of reasons, performance being one of them, but at this time have >> > neither the skill nor the time to learn the skill of writing C code at >> > that >> > level. Someday, maybe... :) >> > >> > Chad >> > >> > On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin >> > >> > wrote: >> >> >> >> Yes, for relatively small scripts that are concentrated on their jobs. >> >> But >> >> this thing is huge. >> >> >> >> On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: >> >>> >> >>> Lua is likely to be by far the most efficient of any scripting >> >>> language >> >>> used in FreeSWITCH, if there is still really a concern about >> >>> performance, >> >>> more pieces can be moved to helpers built out in c code. If you are >> >>> looking >> >>> for dynamic but still optimal performance, lua is likely your best bet >> >>> >> >>> On Sunday, January 24, 2016, Stanislav Sinyagin >> >>> wrote: >> >>>> >> >>>> why not re-implementing it in Golang and ESL? >> >>>> >> >>>> What's happening now with your system, is that FreeSWITCH loads few >> >>>> thousand lines of Lua code on every call establishment. So, even with >> >>>> default 30cps limit, you may overload the CPU with unnecessary job. >> >>>> >> >>>> if you don't like Go, it could be some other language, but I like the >> >>>> built-in threads in it. >> >>>> >> >>>> >> >>>> >> >>>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips >> >>>> >> >>>> wrote: >> >>>> > Hi Bote, >> >>>> > >> >>>> > The difference is (supposed to be) that using Jester takes a lot of >> >>>> > the >> >>>> > dirty work out of doing things that you must turn to scripting for. >> >>>> > The >> >>>> > original design was to remove almost all scripting complexity, and >> >>>> > instead >> >>>> > have users use a more template-based approach to writing their >> >>>> > advanced >> >>>> > workflows. You can have a look at >> >>>> > >> >>>> > >> >>>> > http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences >> >>>> > to see the basic template style. >> >>>> > >> >>>> > And here's an example template that does some fairly advanced >> >>>> > stuff: >> >>>> > >> >>>> > >> >>>> > >> >>>> > http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html >> >>>> > >> >>>> > To my eyes, what the template accomplishes is quite easy to deduce >> >>>> > from >> >>>> > simply reading it, and all of the dirty work for taking those >> >>>> > actions >> >>>> > is >> >>>> > handled by Jester core and the supporting modules. >> >>>> > >> >>>> > The current limitation is that you must use the template structure >> >>>> > to >> >>>> > gain >> >>>> > access to Jester's modules. Looking back, this was a design mistake >> >>>> > that I >> >>>> > intend to rectify -- it would be much more powerful and flexible to >> >>>> > use a >> >>>> > template when it made sense, and still be able to mix pure Lua >> >>>> > scripting >> >>>> > with calls to Jester's support modules when that makes more sense. >> >>>> > And >> >>>> > what >> >>>> > I'm hoping to get help with is correcting that design flaw while >> >>>> > preserving >> >>>> > 'the good stuff' in the toolkit. >> >>>> > >> >>>> > Chad >> >>>> > >> >>>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man >> >>>> > wrote: >> >>>> >> >> >>>> >> Hey Chad, long time no chat J I saw your update to the Help >> >>>> >> section >> >>>> >> of >> >>>> >> the Confluence page concerning this and glanced at some things >> >>>> >> there. >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> I guess I don?t even know enough to understand the difference >> >>>> >> between >> >>>> >> using your toolkit and just plain writing a Lua script. Would I, >> >>>> >> for >> >>>> >> example, write an abbreviated Lua script that calls tested and >> >>>> >> proven >> >>>> >> functions in your toolkit, sort of like a library? >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> Anyway it sounds useful, so thanks. >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> --- >> >>>> >> >> >>>> >> Bote >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> FreeSWITCH Docs Janitor >> >>>> >> >> >>>> >> http://freeswitch.org/confluence >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> From: Chad Phillips >> >>>> >> Sent: Friday, 22 January, 2016 14:41 >> >>>> >> Subject: [Freeswitch-users] Seeking collaborators for >> >>>> >> FreeSWITCH/Lua >> >>>> >> scripting toolkit >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> Looking for folks in the FreeSWITCH community who would be >> >>>> >> interested >> >>>> >> in >> >>>> >> collaborating on an open source scripting toolkit I've written for >> >>>> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions to >> >>>> >> common >> >>>> >> scripting needs, so as not to reinvent the wheel. >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> The original project was written in 2010. A lot of it still works >> >>>> >> great, >> >>>> >> and there are some design flaws that I'd like to work out in the >> >>>> >> next >> >>>> >> release. >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> Project code is here: https://github.com/thehunmonkgroup/jester >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> Some background and reasoning for the project here: >> >>>> >> >> >>>> >> >> >>>> >> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> If anyone is interested in helping, please let me know! >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> Chad >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> _________________________________________________________________________ >> >>>> >> Professional FreeSWITCH Consulting Services: >> >>>> >> consulting at freeswitch.org >> >>>> >> http://www.freeswitchsolutions.com >> >>>> >> >> >>>> >> Official FreeSWITCH Sites >> >>>> >> http://www.freeswitch.org >> >>>> >> http://confluence.freeswitch.org >> >>>> >> http://www.cluecon.com >> >>>> >> >> >>>> >> FreeSWITCH-users mailing list >> >>>> >> FreeSWITCH-users at lists.freeswitch.org >> >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> >> >> >>>> >> >> >>>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> >> http://www.freeswitch.org >> >>>> > >> >>>> > >> >>>> > >> >>>> > >> >>>> > >> >>>> > _________________________________________________________________________ >> >>>> > Professional FreeSWITCH Consulting Services: >> >>>> > consulting at freeswitch.org >> >>>> > http://www.freeswitchsolutions.com >> >>>> > >> >>>> > Official FreeSWITCH Sites >> >>>> > http://www.freeswitch.org >> >>>> > http://confluence.freeswitch.org >> >>>> > http://www.cluecon.com >> >>>> > >> >>>> > FreeSWITCH-users mailing list >> >>>> > FreeSWITCH-users at lists.freeswitch.org >> >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> > >> >>>> > >> >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> > http://www.freeswitch.org >> >>>> >> >>>> >> >>>> >> >>>> _________________________________________________________________________ >> >>>> Professional FreeSWITCH Consulting Services: >> >>>> consulting at freeswitch.org >> >>>> http://www.freeswitchsolutions.com >> >>>> >> >>>> Official FreeSWITCH Sites >> >>>> http://www.freeswitch.org >> >>>> http://confluence.freeswitch.org >> >>>> http://www.cluecon.com >> >>>> >> >>>> FreeSWITCH-users mailing list >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>>> >> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> >>> _________________________________________________________________________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> consulting at freeswitch.org >> >>> http://www.freeswitchsolutions.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> http://www.freeswitch.org >> >>> http://confluence.freeswitch.org >> >>> http://www.cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> > _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 anthony.minessale at gmail.com Thu Jan 28 01:02:37 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 27 Jan 2016 16:02:37 -0600 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Lets avoid going offtopic in threads: UserA: I would like to have a pool party, who wants to come? UserB: Why would you have a party in a pool. The beach is much better. UserA: I feel the pool is cleaner and has warmer water. UserB: Only fools swim in unnatural bodies of water. A real lake is much better. UserA: I've always enjoyed pools and had fun swimming in them. UserB: Let me demonstrate how to properly have a beach party. Lets keep things in context. If he said he wants to find collaborators to build IVR driven by hamster wheel, its not relevant if its a good idea or not. I'm sure there are valuable opinions here but we should save it for when they are asked for. On Wed, Jan 27, 2016 at 3:49 PM, Stanislav Sinyagin wrote: > well, maybe I just dislike Lua :) > > but the approach that I described is not only about performance, but > also about fault tolerance, and probably also a geographically > distributed scenario. If properly designed, it could give much better > flexibility and scalability. > > > > On Wed, Jan 27, 2016 at 7:13 PM, Chad Phillips > wrote: > > Stanislav, > > > > I'm guessing I could count on one hand the number of times any of my > > production systems have had to process 30 calls in one second, and I've > been > > using FreeSWITCH since the earliest releases in a mission critical > > application for my primary telecom business. > > > > I can certainly appreciate that some FreeSWITCH users need to think at > giant > > scale and about how they can squeeze every last ounce of performance out > of > > their instances, I've just never had to do it. Perhaps this experience > > reflects in my library. :) > > > > Still, I'm not convinced that doing it the way I have costs a lot in > > performance. I think it would be interesting to whip up a few simple load > > testing scenarios, and run one set via dialplan only or dialplan with > > focused Lua scripts, and another set through Jester. Do you have any > > thoughts on what that set of scenarios might look like to effectively > gauge > > the performance difference? > > > > Chad > > > > On Mon, Jan 25, 2016 at 4:13 PM, Stanislav Sinyagin > > > wrote: > >> > >> Chad, > >> > >> if it's a daemon that stays in memory, it doesn't need to be written > >> in C. It just needs to handle concurrent requests efficiently. It > >> could be anything like python, perl, java... or golang which beats > >> them in performance because it's compiled into native code. But the > >> bottleneck would anyway be in I/O or database lookups, so it should > >> simply be the language which you master the best. > >> > >> The nice thing about ESL is that it allows you to build a clusterized > >> environment, with separated functional nodes and easily scalable. Then > >> you may, for example, keep FreeSWITCH on a physical CPU churning its > >> real-time tasks, and the application logic on a set of virtual > >> machines with less-demanding SLA. > >> > >> I know some guys who implement this with Node.js. I'm not sure it's > >> the right choice, but still it shows adequate performance. > >> > >> > >> > >> > >> > >> > >> > >> On Mon, Jan 25, 2016 at 11:20 PM, Chad Phillips < > chad at apartmentlines.com> > >> wrote: > >> > Stanislav, > >> > > >> > Back when I originally wrote Jester, we did some basic load testing of > >> > the > >> > Comdian Mail replica profile against Asterisk's actual Comedian Mail > >> > (which > >> > is written in C), and the Jester implementation outperformed it. > >> > > >> > I think you may be overestimating strain of loading Jester once per > >> > call. > >> > Not counting comments, the core module is less than 800 lines of code > >> > (hardly 'huge'), the other modules are all smaller than that, and they > >> > can > >> > be loaded conditionally based upon what you want to accomplish. And > for > >> > those looking to squeeze more performance out, there's a supplied > script > >> > to > >> > pre-compile core and all modules, which means they wouldn't have to be > >> > re-compiled every time they're loaded. > >> > > >> > I'm clear that there would be more efficient approaches than writing a > >> > Lua > >> > toolkit, and, I doubt that most of them would be as easily accessible > as > >> > something written in Lua. Given that Lua is already blazing fast for a > >> > scripting language, I think it's a fair compromise. > >> > > >> > I will add that I've considered rewriting the core functionality in C > >> > for a > >> > number of reasons, performance being one of them, but at this time > have > >> > neither the skill nor the time to learn the skill of writing C code at > >> > that > >> > level. Someday, maybe... :) > >> > > >> > Chad > >> > > >> > On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin > >> > > >> > wrote: > >> >> > >> >> Yes, for relatively small scripts that are concentrated on their > jobs. > >> >> But > >> >> this thing is huge. > >> >> > >> >> On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: > >> >>> > >> >>> Lua is likely to be by far the most efficient of any scripting > >> >>> language > >> >>> used in FreeSWITCH, if there is still really a concern about > >> >>> performance, > >> >>> more pieces can be moved to helpers built out in c code. If you are > >> >>> looking > >> >>> for dynamic but still optimal performance, lua is likely your best > bet > >> >>> > >> >>> On Sunday, January 24, 2016, Stanislav Sinyagin < > ssinyagin at gmail.com> > >> >>> wrote: > >> >>>> > >> >>>> why not re-implementing it in Golang and ESL? > >> >>>> > >> >>>> What's happening now with your system, is that FreeSWITCH loads few > >> >>>> thousand lines of Lua code on every call establishment. So, even > with > >> >>>> default 30cps limit, you may overload the CPU with unnecessary job. > >> >>>> > >> >>>> if you don't like Go, it could be some other language, but I like > the > >> >>>> built-in threads in it. > >> >>>> > >> >>>> > >> >>>> > >> >>>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips > >> >>>> > >> >>>> wrote: > >> >>>> > Hi Bote, > >> >>>> > > >> >>>> > The difference is (supposed to be) that using Jester takes a lot > of > >> >>>> > the > >> >>>> > dirty work out of doing things that you must turn to scripting > for. > >> >>>> > The > >> >>>> > original design was to remove almost all scripting complexity, > and > >> >>>> > instead > >> >>>> > have users use a more template-based approach to writing their > >> >>>> > advanced > >> >>>> > workflows. You can have a look at > >> >>>> > > >> >>>> > > >> >>>> > > http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences > >> >>>> > to see the basic template style. > >> >>>> > > >> >>>> > And here's an example template that does some fairly advanced > >> >>>> > stuff: > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html > >> >>>> > > >> >>>> > To my eyes, what the template accomplishes is quite easy to > deduce > >> >>>> > from > >> >>>> > simply reading it, and all of the dirty work for taking those > >> >>>> > actions > >> >>>> > is > >> >>>> > handled by Jester core and the supporting modules. > >> >>>> > > >> >>>> > The current limitation is that you must use the template > structure > >> >>>> > to > >> >>>> > gain > >> >>>> > access to Jester's modules. Looking back, this was a design > mistake > >> >>>> > that I > >> >>>> > intend to rectify -- it would be much more powerful and flexible > to > >> >>>> > use a > >> >>>> > template when it made sense, and still be able to mix pure Lua > >> >>>> > scripting > >> >>>> > with calls to Jester's support modules when that makes more > sense. > >> >>>> > And > >> >>>> > what > >> >>>> > I'm hoping to get help with is correcting that design flaw while > >> >>>> > preserving > >> >>>> > 'the good stuff' in the toolkit. > >> >>>> > > >> >>>> > Chad > >> >>>> > > >> >>>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man < > bote_radio at botecomm.com> > >> >>>> > wrote: > >> >>>> >> > >> >>>> >> Hey Chad, long time no chat J I saw your update to the Help > >> >>>> >> section > >> >>>> >> of > >> >>>> >> the Confluence page concerning this and glanced at some things > >> >>>> >> there. > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> I guess I don?t even know enough to understand the difference > >> >>>> >> between > >> >>>> >> using your toolkit and just plain writing a Lua script. Would I, > >> >>>> >> for > >> >>>> >> example, write an abbreviated Lua script that calls tested and > >> >>>> >> proven > >> >>>> >> functions in your toolkit, sort of like a library? > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> Anyway it sounds useful, so thanks. > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> --- > >> >>>> >> > >> >>>> >> Bote > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> FreeSWITCH Docs Janitor > >> >>>> >> > >> >>>> >> http://freeswitch.org/confluence > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> From: Chad Phillips > >> >>>> >> Sent: Friday, 22 January, 2016 14:41 > >> >>>> >> Subject: [Freeswitch-users] Seeking collaborators for > >> >>>> >> FreeSWITCH/Lua > >> >>>> >> scripting toolkit > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> Looking for folks in the FreeSWITCH community who would be > >> >>>> >> interested > >> >>>> >> in > >> >>>> >> collaborating on an open source scripting toolkit I've written > for > >> >>>> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions > to > >> >>>> >> common > >> >>>> >> scripting needs, so as not to reinvent the wheel. > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> The original project was written in 2010. A lot of it still > works > >> >>>> >> great, > >> >>>> >> and there are some design flaws that I'd like to work out in the > >> >>>> >> next > >> >>>> >> release. > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> Project code is here: https://github.com/thehunmonkgroup/jester > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> Some background and reasoning for the project here: > >> >>>> >> > >> >>>> >> > >> >>>> >> > http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> If anyone is interested in helping, please let me know! > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> Chad > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > >> >>>> >> > _________________________________________________________________________ > >> >>>> >> Professional FreeSWITCH Consulting Services: > >> >>>> >> consulting at freeswitch.org > >> >>>> >> http://www.freeswitchsolutions.com > >> >>>> >> > >> >>>> >> Official FreeSWITCH Sites > >> >>>> >> http://www.freeswitch.org > >> >>>> >> http://confluence.freeswitch.org > >> >>>> >> http://www.cluecon.com > >> >>>> >> > >> >>>> >> FreeSWITCH-users mailing list > >> >>>> >> FreeSWITCH-users at lists.freeswitch.org > >> >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>>> >> > >> >>>> >> > >> >>>> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>>> >> http://www.freeswitch.org > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > _________________________________________________________________________ > >> >>>> > Professional FreeSWITCH Consulting Services: > >> >>>> > consulting at freeswitch.org > >> >>>> > http://www.freeswitchsolutions.com > >> >>>> > > >> >>>> > Official FreeSWITCH Sites > >> >>>> > http://www.freeswitch.org > >> >>>> > http://confluence.freeswitch.org > >> >>>> > http://www.cluecon.com > >> >>>> > > >> >>>> > FreeSWITCH-users mailing list > >> >>>> > FreeSWITCH-users at lists.freeswitch.org > >> >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>>> > > >> >>>> > > >> >>>> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>>> > http://www.freeswitch.org > >> >>>> > >> >>>> > >> >>>> > >> >>>> > _________________________________________________________________________ > >> >>>> Professional FreeSWITCH Consulting Services: > >> >>>> consulting at freeswitch.org > >> >>>> http://www.freeswitchsolutions.com > >> >>>> > >> >>>> Official FreeSWITCH Sites > >> >>>> http://www.freeswitch.org > >> >>>> http://confluence.freeswitch.org > >> >>>> http://www.cluecon.com > >> >>>> > >> >>>> FreeSWITCH-users mailing list > >> >>>> FreeSWITCH-users at lists.freeswitch.org > >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>>> > >> >>>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>>> http://www.freeswitch.org > >> >>> > >> >>> > >> >>> > >> >>> > _________________________________________________________________________ > >> >>> Professional FreeSWITCH Consulting Services: > >> >>> consulting at freeswitch.org > >> >>> http://www.freeswitchsolutions.com > >> >>> > >> >>> Official FreeSWITCH Sites > >> >>> http://www.freeswitch.org > >> >>> http://confluence.freeswitch.org > >> >>> http://www.cluecon.com > >> >>> > >> >>> FreeSWITCH-users mailing list > >> >>> FreeSWITCH-users at lists.freeswitch.org > >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >>> > >> >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >>> http://www.freeswitch.org > >> >> > >> >> > >> >> > >> >> > _________________________________________________________________________ > >> >> Professional FreeSWITCH Consulting Services: > >> >> consulting at freeswitch.org > >> >> http://www.freeswitchsolutions.com > >> >> > >> >> Official FreeSWITCH Sites > >> >> http://www.freeswitch.org > >> >> http://confluence.freeswitch.org > >> >> http://www.cluecon.com > >> >> > >> >> FreeSWITCH-users mailing list > >> >> FreeSWITCH-users at lists.freeswitch.org > >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> >> > >> >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> >> http://www.freeswitch.org > >> > > >> > > >> > > >> > > >> > > _________________________________________________________________________ > >> > Professional FreeSWITCH Consulting Services: > >> > consulting at freeswitch.org > >> > http://www.freeswitchsolutions.com > >> > > >> > Official FreeSWITCH Sites > >> > http://www.freeswitch.org > >> > http://confluence.freeswitch.org > >> > http://www.cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > http://www.freeswitch.org > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160127/5416108f/attachment-0001.html From victor.medina at cibersys.com Thu Jan 28 02:36:38 2016 From: victor.medina at cibersys.com (Victor Medina) Date: Wed, 27 Jan 2016 19:06:38 -0430 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: References: <56A09892.5050500@softnet.si> <56A222CD.7010907@softnet.si> <9DD35421-D135-4C73-8E04-0398D47450C7@freeswitch.org> Message-ID: Maybe a little off topic, but new chrome supports vp9, any support planned? On Jan 26, 2016 9:40 AM, "Regis M" wrote: > What a great thing !!! > It helps me to progress in a working verto/rtc system. > > I could make a call, but no sound available, it seems I had a problem with > media in chrome. > > a=ssrc:850254557 cname:mfibZS7rm3m03AFr > a=ssrc:850254557 msid:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheo a0 > a=ssrc:850254557 mslabel:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheo > a=ssrc:850254557 label:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheoa0 > > jquery.verto.js:2038 Dialog a327a3bf-80cc-e6fd-e23c-ee3c03e77b2a: state > change from trying to active > jquery.verto.js:2061 Using Speaker: true > jquery.FSRTC.js:266 REMOTE STREAM MediaStream {} undefined > *jquery.FSRTC.js:268 Uncaught TypeError: Cannot read property 'srcObject' > of undefined* > > Can you help me ? > > > 2016-01-22 23:17 GMT+01:00 ?talo Rossi : > >> We also did http://evoluxbr.github.io/verto-docs/ >> >> > On 22 de jan de 2016, at 09:38, Miha wrote: >> > >> > OK. tnx >> > >> > Will take a look in it. >> > >> > On 21/01/2016 09:50, Giacomo Vacca wrote: >> >> I've found it useful to get insights from the source code: >> >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto >> >> >> >> And in particular an example of usage in the demo folder: >> >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo >> >> >> >> A suggested read is >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >> >> >> >> which links to the actual demo: >> >> https://webrtc.freeswitch.org/verto/index.html#page-main >> >> >> >> Giacomo >> >> >> >> On 21 January 2016 at 09:46, Giovanni Maruzzelli >> wrote: >> >> >> >> >> >> On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: >> >> Hi, >> >> >> >> is the any info regarding javascript library usage for client part? >> >> >> >> >> >> Not yet, but you can check how is used by Verto Communicator, or see >> the easier (basic) example implementation described in latest FreeSWITCH >> Cookbok from Packtpub. >> >> >> >> -giovanni >> >> >> >> >> >> >> >> tnx >> >> miha >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160127/a17f4647/attachment.html From peter at hartmanncomputer.com Thu Jan 28 04:03:37 2016 From: peter at hartmanncomputer.com (Peter Hartmann) Date: Wed, 27 Jan 2016 20:03:37 -0500 Subject: [Freeswitch-users] mod_esf with polycom Message-ID: Hey, how do you use mod_esf with Polycom? The source suggests that it's supported, but the arguments in the documentation seem specific to Linksys. From using the feature directly from a handset, I imagine we have to pass multicast-address, multicast-port and group-number. I've tried every combination and permutation with no luck. The reason I'm doing this is because if the emergency group number is used, the announcements will be at full volume regardless of the hands-free volume setting. And also I'm looking to do this in FS because I'm bridging in another PA system also. Thanks, Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. From brian at freeswitch.org Thu Jan 28 06:03:13 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 27 Jan 2016 21:03:13 -0600 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: References: Message-ID: Have you tried it? It should just work if I recall correctly. On Wednesday, January 27, 2016, Peter Hartmann wrote: > Hey, how do you use mod_esf with Polycom? The source suggests that > it's supported, but the arguments in the documentation seem specific > to Linksys. From using the feature directly from a handset, I imagine > we have to pass multicast-address, multicast-port and group-number. > I've tried every combination and permutation with no luck. > > The reason I'm doing this is because if the emergency group number is > used, the announcements will be at full volume regardless of the > hands-free volume setting. > > And also I'm looking to do this in FS because I'm bridging in another > PA system also. > > > Thanks, > > > Peter Hartmann > Hartmann Computer Consulting > http://blog.hartmanncomputer.com > (212)203-8870 > > If I can't explain it to you in plain language, that means I don't > understand it. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Got Bugs? Report them here ! | 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/20160127/e5e2042f/attachment-0001.html From brian at freeswitch.org Thu Jan 28 06:03:44 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 27 Jan 2016 21:03:44 -0600 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: References: Message-ID: I'll review the source in the morning and verify if it's documented correctly. On Wednesday, January 27, 2016, Brian West wrote: > Have you tried it? It should just work if I recall correctly. > > On Wednesday, January 27, 2016, Peter Hartmann > wrote: > >> Hey, how do you use mod_esf with Polycom? The source suggests that >> it's supported, but the arguments in the documentation seem specific >> to Linksys. From using the feature directly from a handset, I imagine >> we have to pass multicast-address, multicast-port and group-number. >> I've tried every combination and permutation with no luck. >> >> The reason I'm doing this is because if the emergency group number is >> used, the announcements will be at full volume regardless of the >> hands-free volume setting. >> >> And also I'm looking to do this in FS because I'm bridging in another >> PA system also. >> >> >> Thanks, >> >> >> Peter Hartmann >> Hartmann Computer Consulting >> http://blog.hartmanncomputer.com >> (212)203-8870 >> >> If I can't explain it to you in plain language, that means I don't >> understand it. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160127/0d0719f7/attachment.html From peter at hartmanncomputer.com Thu Jan 28 06:27:19 2016 From: peter at hartmanncomputer.com (Peter Hartmann) Date: Wed, 27 Jan 2016 22:27:19 -0500 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: References: Message-ID: Thanks Brian. Yes, I've tried it. It looks promising though, since I can see some of the default polycom settings defined in variables. Nothing about group is mentioned...so maybe it's going to the default group? I have a feeling I'll be doing a packet capture on a group-25 (emergency) broadcast to see what it does. Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. On Wed, Jan 27, 2016 at 10:03 PM, Brian West wrote: > I'll review the source in the morning and verify if it's documented > correctly. > > > On Wednesday, January 27, 2016, Brian West wrote: > >> Have you tried it? It should just work if I recall correctly. >> >> On Wednesday, January 27, 2016, Peter Hartmann < >> peter at hartmanncomputer.com> wrote: >> >>> Hey, how do you use mod_esf with Polycom? The source suggests that >>> it's supported, but the arguments in the documentation seem specific >>> to Linksys. From using the feature directly from a handset, I imagine >>> we have to pass multicast-address, multicast-port and group-number. >>> I've tried every combination and permutation with no luck. >>> >>> The reason I'm doing this is because if the emergency group number is >>> used, the announcements will be at full volume regardless of the >>> hands-free volume setting. >>> >>> And also I'm looking to do this in FS because I'm bridging in another >>> PA system also. >>> >>> >>> Thanks, >>> >>> >>> Peter Hartmann >>> Hartmann Computer Consulting >>> http://blog.hartmanncomputer.com >>> (212)203-8870 >>> >>> If I can't explain it to you in plain language, that means I don't >>> understand it. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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/20160127/21bde552/attachment.html From brian at freeswitch.org Thu Jan 28 06:37:15 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 27 Jan 2016 21:37:15 -0600 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: References: Message-ID: Ip 224.0.1.116 port 5001, defaults to channel 0x1a, can be over ridden with the esf_multicast_channel variable, 1-255 are the valid ranges. https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/applications/mod_esf/mod_esf.c?at=78c8a5ffba6267f50e7c3353afa57c0a9c5d11e6&raw http://support.polycom.com/global/documents/support/technical/products/voice/Audio_Packet_Format.pdf Looking at the source it would appear we've missed documenting a few things, but the defaults just work without any changes. /b On Wednesday, January 27, 2016, Peter Hartmann wrote: > Thanks Brian. Yes, I've tried it. It looks promising though, since I can > see some of the default polycom settings defined in variables. Nothing > about group is mentioned...so maybe it's going to the default group? I > have a feeling I'll be doing a packet capture on a group-25 (emergency) > broadcast to see what it does. > > > > > Peter Hartmann > Hartmann Computer Consulting > http://blog.hartmanncomputer.com > (212)203-8870 > > If I can't explain it to you in plain language, that means I don't > understand it. > > On Wed, Jan 27, 2016 at 10:03 PM, Brian West > wrote: > >> I'll review the source in the morning and verify if it's documented >> correctly. >> >> >> On Wednesday, January 27, 2016, Brian West > > wrote: >> >>> Have you tried it? It should just work if I recall correctly. >>> >>> On Wednesday, January 27, 2016, Peter Hartmann < >>> peter at hartmanncomputer.com> wrote: >>> >>>> Hey, how do you use mod_esf with Polycom? The source suggests that >>>> it's supported, but the arguments in the documentation seem specific >>>> to Linksys. From using the feature directly from a handset, I imagine >>>> we have to pass multicast-address, multicast-port and group-number. >>>> I've tried every combination and permutation with no luck. >>>> >>>> The reason I'm doing this is because if the emergency group number is >>>> used, the announcements will be at full volume regardless of the >>>> hands-free volume setting. >>>> >>>> And also I'm looking to do this in FS because I'm bridging in another >>>> PA system also. >>>> >>>> >>>> Thanks, >>>> >>>> >>>> Peter Hartmann >>>> Hartmann Computer Consulting >>>> http://blog.hartmanncomputer.com >>>> (212)203-8870 >>>> >>>> If I can't explain it to you in plain language, that means I don't >>>> understand it. >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Sites >>>> http://www.freeswitch.org >>>> http://confluence.freeswitch.org >>>> http://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at 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 >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com >> http://www.freeswitchcookbook.com >> >> Got Bugs? Report them here ! | 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 Got Bugs? Report them here ! | 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/20160127/9d3fe748/attachment-0001.html From bote_radio at botecomm.com Thu Jan 28 08:30:00 2016 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 28 Jan 2016 00:30:00 -0500 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: References: Message-ID: <008001d1598c$ef0aa200$cd1fe600$@botecomm.com> Perhaps you are being led astray by the term ?multicast group? in the usage prototype. That is simply the multicast address, such as 239.1.1.1 FIXED! IGMP = Internet Group Management Protocol which is where that came from. I have used mod_esf to send multicast streams to devices manufactured by one of my clients and it worked swimmingly with only the multicast address and port being the fields that mattered. Thanks to a change by anthm you can even add it to the conference bridge if you want both regular SIP calls and pages to be combined into one group announcement. With a phone there?s no telling what else they might require to light it up for a multicast announcement. Somebody was just asking a very similar question here last week for a different phone. If the phone requires some control signal or command to open up the speaker for a multicast announcement to follow, then I don?t think FS does that right now. It might be worth scouring Polycom documentation to see if they reveal any secrets. * * * I really wish the order of the arguments were Address, port, TTL, [other stuff] So that ?other stuff? could?ve been made optional. I have never gotten a clear definition of what that Linksys control port does, but my research revealed that it was likely carried over from an Asterisk compatibility feature. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Peter Hartmann Sent: Wednesday, 27 January, 2016 22:27 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_esf with polycom Thanks Brian. Yes, I've tried it. It looks promising though, since I can see some of the default polycom settings defined in variables. Nothing about group is mentioned...so maybe it's going to the default group? I have a feeling I'll be doing a packet capture on a group-25 (emergency) broadcast to see what it does. Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. On Wed, Jan 27, 2016 at 10:03 PM, Brian West wrote: I'll review the source in the morning and verify if it's documented correctly. On Wednesday, January 27, 2016, Brian West wrote: Have you tried it? It should just work if I recall correctly. On Wednesday, January 27, 2016, Peter Hartmann wrote: Hey, how do you use mod_esf with Polycom? The source suggests that it's supported, but the arguments in the documentation seem specific to Linksys. From using the feature directly from a handset, I imagine we have to pass multicast-address, multicast-port and group-number. I've tried every combination and permutation with no luck. The reason I'm doing this is because if the emergency group number is used, the announcements will be at full volume regardless of the hands-free volume setting. And also I'm looking to do this in FS because I'm bridging in another PA system also. Thanks, Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here ! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest -- Brian West brian at freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160128/7ac33b7b/attachment.html From findmeinwland at gmail.com Thu Jan 28 11:08:42 2016 From: findmeinwland at gmail.com (Artur Mega) Date: Thu, 28 Jan 2016 13:08:42 +0500 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Good day, I have a question for Chad. Is Jester good only for writing IVR-menu? I'm planning to write dialplan in lua this days, for incoming and outgoing calls. So I want tot know pros and cons of Jester, where I can use it, it is good for what? 2016-01-28 3:02 GMT+05:00 Anthony Minessale : > Lets avoid going offtopic in threads: > > UserA: I would like to have a pool party, who wants to come? > UserB: Why would you have a party in a pool. The beach is much better. > UserA: I feel the pool is cleaner and has warmer water. > UserB: Only fools swim in unnatural bodies of water. A real lake is much > better. > UserA: I've always enjoyed pools and had fun swimming in them. > UserB: Let me demonstrate how to properly have a beach party. > > Lets keep things in context. If he said he wants to find collaborators to > build IVR driven by hamster wheel, its not relevant if its a good idea or > not. > I'm sure there are valuable opinions here but we should save it for when > they are asked for. > > > > > > On Wed, Jan 27, 2016 at 3:49 PM, Stanislav Sinyagin > wrote: > >> well, maybe I just dislike Lua :) >> >> but the approach that I described is not only about performance, but >> also about fault tolerance, and probably also a geographically >> distributed scenario. If properly designed, it could give much better >> flexibility and scalability. >> >> >> >> On Wed, Jan 27, 2016 at 7:13 PM, Chad Phillips >> wrote: >> > Stanislav, >> > >> > I'm guessing I could count on one hand the number of times any of my >> > production systems have had to process 30 calls in one second, and I've >> been >> > using FreeSWITCH since the earliest releases in a mission critical >> > application for my primary telecom business. >> > >> > I can certainly appreciate that some FreeSWITCH users need to think at >> giant >> > scale and about how they can squeeze every last ounce of performance >> out of >> > their instances, I've just never had to do it. Perhaps this experience >> > reflects in my library. :) >> > >> > Still, I'm not convinced that doing it the way I have costs a lot in >> > performance. I think it would be interesting to whip up a few simple >> load >> > testing scenarios, and run one set via dialplan only or dialplan with >> > focused Lua scripts, and another set through Jester. Do you have any >> > thoughts on what that set of scenarios might look like to effectively >> gauge >> > the performance difference? >> > >> > Chad >> > >> > On Mon, Jan 25, 2016 at 4:13 PM, Stanislav Sinyagin < >> ssinyagin at gmail.com> >> > wrote: >> >> >> >> Chad, >> >> >> >> if it's a daemon that stays in memory, it doesn't need to be written >> >> in C. It just needs to handle concurrent requests efficiently. It >> >> could be anything like python, perl, java... or golang which beats >> >> them in performance because it's compiled into native code. But the >> >> bottleneck would anyway be in I/O or database lookups, so it should >> >> simply be the language which you master the best. >> >> >> >> The nice thing about ESL is that it allows you to build a clusterized >> >> environment, with separated functional nodes and easily scalable. Then >> >> you may, for example, keep FreeSWITCH on a physical CPU churning its >> >> real-time tasks, and the application logic on a set of virtual >> >> machines with less-demanding SLA. >> >> >> >> I know some guys who implement this with Node.js. I'm not sure it's >> >> the right choice, but still it shows adequate performance. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Jan 25, 2016 at 11:20 PM, Chad Phillips < >> chad at apartmentlines.com> >> >> wrote: >> >> > Stanislav, >> >> > >> >> > Back when I originally wrote Jester, we did some basic load testing >> of >> >> > the >> >> > Comdian Mail replica profile against Asterisk's actual Comedian Mail >> >> > (which >> >> > is written in C), and the Jester implementation outperformed it. >> >> > >> >> > I think you may be overestimating strain of loading Jester once per >> >> > call. >> >> > Not counting comments, the core module is less than 800 lines of code >> >> > (hardly 'huge'), the other modules are all smaller than that, and >> they >> >> > can >> >> > be loaded conditionally based upon what you want to accomplish. And >> for >> >> > those looking to squeeze more performance out, there's a supplied >> script >> >> > to >> >> > pre-compile core and all modules, which means they wouldn't have to >> be >> >> > re-compiled every time they're loaded. >> >> > >> >> > I'm clear that there would be more efficient approaches than writing >> a >> >> > Lua >> >> > toolkit, and, I doubt that most of them would be as easily >> accessible as >> >> > something written in Lua. Given that Lua is already blazing fast for >> a >> >> > scripting language, I think it's a fair compromise. >> >> > >> >> > I will add that I've considered rewriting the core functionality in C >> >> > for a >> >> > number of reasons, performance being one of them, but at this time >> have >> >> > neither the skill nor the time to learn the skill of writing C code >> at >> >> > that >> >> > level. Someday, maybe... :) >> >> > >> >> > Chad >> >> > >> >> > On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin >> >> > >> >> > wrote: >> >> >> >> >> >> Yes, for relatively small scripts that are concentrated on their >> jobs. >> >> >> But >> >> >> this thing is huge. >> >> >> >> >> >> On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: >> >> >>> >> >> >>> Lua is likely to be by far the most efficient of any scripting >> >> >>> language >> >> >>> used in FreeSWITCH, if there is still really a concern about >> >> >>> performance, >> >> >>> more pieces can be moved to helpers built out in c code. If you >> are >> >> >>> looking >> >> >>> for dynamic but still optimal performance, lua is likely your best >> bet >> >> >>> >> >> >>> On Sunday, January 24, 2016, Stanislav Sinyagin < >> ssinyagin at gmail.com> >> >> >>> wrote: >> >> >>>> >> >> >>>> why not re-implementing it in Golang and ESL? >> >> >>>> >> >> >>>> What's happening now with your system, is that FreeSWITCH loads >> few >> >> >>>> thousand lines of Lua code on every call establishment. So, even >> with >> >> >>>> default 30cps limit, you may overload the CPU with unnecessary >> job. >> >> >>>> >> >> >>>> if you don't like Go, it could be some other language, but I like >> the >> >> >>>> built-in threads in it. >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips >> >> >>>> >> >> >>>> wrote: >> >> >>>> > Hi Bote, >> >> >>>> > >> >> >>>> > The difference is (supposed to be) that using Jester takes a >> lot of >> >> >>>> > the >> >> >>>> > dirty work out of doing things that you must turn to scripting >> for. >> >> >>>> > The >> >> >>>> > original design was to remove almost all scripting complexity, >> and >> >> >>>> > instead >> >> >>>> > have users use a more template-based approach to writing their >> >> >>>> > advanced >> >> >>>> > workflows. You can have a look at >> >> >>>> > >> >> >>>> > >> >> >>>> > >> http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences >> >> >>>> > to see the basic template style. >> >> >>>> > >> >> >>>> > And here's an example template that does some fairly advanced >> >> >>>> > stuff: >> >> >>>> > >> >> >>>> > >> >> >>>> > >> >> >>>> > >> http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html >> >> >>>> > >> >> >>>> > To my eyes, what the template accomplishes is quite easy to >> deduce >> >> >>>> > from >> >> >>>> > simply reading it, and all of the dirty work for taking those >> >> >>>> > actions >> >> >>>> > is >> >> >>>> > handled by Jester core and the supporting modules. >> >> >>>> > >> >> >>>> > The current limitation is that you must use the template >> structure >> >> >>>> > to >> >> >>>> > gain >> >> >>>> > access to Jester's modules. Looking back, this was a design >> mistake >> >> >>>> > that I >> >> >>>> > intend to rectify -- it would be much more powerful and >> flexible to >> >> >>>> > use a >> >> >>>> > template when it made sense, and still be able to mix pure Lua >> >> >>>> > scripting >> >> >>>> > with calls to Jester's support modules when that makes more >> sense. >> >> >>>> > And >> >> >>>> > what >> >> >>>> > I'm hoping to get help with is correcting that design flaw while >> >> >>>> > preserving >> >> >>>> > 'the good stuff' in the toolkit. >> >> >>>> > >> >> >>>> > Chad >> >> >>>> > >> >> >>>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man < >> bote_radio at botecomm.com> >> >> >>>> > wrote: >> >> >>>> >> >> >> >>>> >> Hey Chad, long time no chat J I saw your update to the Help >> >> >>>> >> section >> >> >>>> >> of >> >> >>>> >> the Confluence page concerning this and glanced at some things >> >> >>>> >> there. >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> I guess I don?t even know enough to understand the difference >> >> >>>> >> between >> >> >>>> >> using your toolkit and just plain writing a Lua script. Would >> I, >> >> >>>> >> for >> >> >>>> >> example, write an abbreviated Lua script that calls tested and >> >> >>>> >> proven >> >> >>>> >> functions in your toolkit, sort of like a library? >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> Anyway it sounds useful, so thanks. >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> --- >> >> >>>> >> >> >> >>>> >> Bote >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> FreeSWITCH Docs Janitor >> >> >>>> >> >> >> >>>> >> http://freeswitch.org/confluence >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> From: Chad Phillips >> >> >>>> >> Sent: Friday, 22 January, 2016 14:41 >> >> >>>> >> Subject: [Freeswitch-users] Seeking collaborators for >> >> >>>> >> FreeSWITCH/Lua >> >> >>>> >> scripting toolkit >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> Looking for folks in the FreeSWITCH community who would be >> >> >>>> >> interested >> >> >>>> >> in >> >> >>>> >> collaborating on an open source scripting toolkit I've written >> for >> >> >>>> >> FreeSWITCH/Lua. The basic idea is to have ready made solutions >> to >> >> >>>> >> common >> >> >>>> >> scripting needs, so as not to reinvent the wheel. >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> The original project was written in 2010. A lot of it still >> works >> >> >>>> >> great, >> >> >>>> >> and there are some design flaws that I'd like to work out in >> the >> >> >>>> >> next >> >> >>>> >> release. >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> Project code is here: >> https://github.com/thehunmonkgroup/jester >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> Some background and reasoning for the project here: >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> If anyone is interested in helping, please let me know! >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> Chad >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> >> _________________________________________________________________________ >> >> >>>> >> Professional FreeSWITCH Consulting Services: >> >> >>>> >> consulting at freeswitch.org >> >> >>>> >> http://www.freeswitchsolutions.com >> >> >>>> >> >> >> >>>> >> Official FreeSWITCH Sites >> >> >>>> >> http://www.freeswitch.org >> >> >>>> >> http://confluence.freeswitch.org >> >> >>>> >> http://www.cluecon.com >> >> >>>> >> >> >> >>>> >> FreeSWITCH-users mailing list >> >> >>>> >> FreeSWITCH-users at lists.freeswitch.org >> >> >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >>>> >> >> >> >>>> >> >> >> >>>> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >>>> >> http://www.freeswitch.org >> >> >>>> > >> >> >>>> > >> >> >>>> > >> >> >>>> > >> >> >>>> > >> >> >>>> > >> _________________________________________________________________________ >> >> >>>> > Professional FreeSWITCH Consulting Services: >> >> >>>> > consulting at freeswitch.org >> >> >>>> > http://www.freeswitchsolutions.com >> >> >>>> > >> >> >>>> > Official FreeSWITCH Sites >> >> >>>> > http://www.freeswitch.org >> >> >>>> > http://confluence.freeswitch.org >> >> >>>> > http://www.cluecon.com >> >> >>>> > >> >> >>>> > FreeSWITCH-users mailing list >> >> >>>> > FreeSWITCH-users at lists.freeswitch.org >> >> >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >>>> > >> >> >>>> > >> >> >>>> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >>>> > http://www.freeswitch.org >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> _________________________________________________________________________ >> >> >>>> Professional FreeSWITCH Consulting Services: >> >> >>>> consulting at freeswitch.org >> >> >>>> http://www.freeswitchsolutions.com >> >> >>>> >> >> >>>> Official FreeSWITCH Sites >> >> >>>> http://www.freeswitch.org >> >> >>>> http://confluence.freeswitch.org >> >> >>>> http://www.cluecon.com >> >> >>>> >> >> >>>> FreeSWITCH-users mailing list >> >> >>>> FreeSWITCH-users at lists.freeswitch.org >> >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >>>> >> >> >>>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >>>> http://www.freeswitch.org >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> _________________________________________________________________________ >> >> >>> Professional FreeSWITCH Consulting Services: >> >> >>> consulting at freeswitch.org >> >> >>> http://www.freeswitchsolutions.com >> >> >>> >> >> >>> Official FreeSWITCH Sites >> >> >>> http://www.freeswitch.org >> >> >>> http://confluence.freeswitch.org >> >> >>> http://www.cluecon.com >> >> >>> >> >> >>> FreeSWITCH-users mailing list >> >> >>> FreeSWITCH-users at lists.freeswitch.org >> >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >>> >> >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >>> http://www.freeswitch.org >> >> >> >> >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> >> Professional FreeSWITCH Consulting Services: >> >> >> consulting at freeswitch.org >> >> >> http://www.freeswitchsolutions.com >> >> >> >> >> >> Official FreeSWITCH Sites >> >> >> http://www.freeswitch.org >> >> >> http://confluence.freeswitch.org >> >> >> http://www.cluecon.com >> >> >> >> >> >> FreeSWITCH-users mailing list >> >> >> FreeSWITCH-users at lists.freeswitch.org >> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> >> >> >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> >> http://www.freeswitch.org >> >> > >> >> > >> >> > >> >> > >> >> > >> _________________________________________________________________________ >> >> > Professional FreeSWITCH Consulting Services: >> >> > consulting at freeswitch.org >> >> > http://www.freeswitchsolutions.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > http://www.freeswitch.org >> >> > http://confluence.freeswitch.org >> >> > http://www.cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > http://www.freeswitch.org >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> > >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at 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 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Arthur -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/a0cd085a/attachment-0001.html From italorossib at gmail.com Thu Jan 28 19:11:25 2016 From: italorossib at gmail.com (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 28 Jan 2016 13:11:25 -0300 Subject: [Freeswitch-users] Freeswitch, webrtc and mod_verto In-Reply-To: References: <56A09892.5050500@softnet.si> <56A222CD.7010907@softnet.si> <9DD35421-D135-4C73-8E04-0398D47450C7@freeswitch.org> Message-ID: Hi Regis, Are you running latest chrome? If yes, can you file a jira with this issue? On Tue, Jan 26, 2016 at 11:05 AM, Regis M wrote: > What a great thing !!! > It helps me to progress in a working verto/rtc system. > > I could make a call, but no sound available, it seems I had a problem with > media in chrome. > > a=ssrc:850254557 cname:mfibZS7rm3m03AFr > a=ssrc:850254557 msid:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheo a0 > a=ssrc:850254557 mslabel:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheo > a=ssrc:850254557 label:1fb3YUK6BD65N9oPyf1Jm8J4eZzKxheoa0 > > jquery.verto.js:2038 Dialog a327a3bf-80cc-e6fd-e23c-ee3c03e77b2a: state > change from trying to active > jquery.verto.js:2061 Using Speaker: true > jquery.FSRTC.js:266 REMOTE STREAM MediaStream {} undefined > *jquery.FSRTC.js:268 Uncaught TypeError: Cannot read property 'srcObject' > of undefined* > > Can you help me ? > > > 2016-01-22 23:17 GMT+01:00 ?talo Rossi : > >> We also did http://evoluxbr.github.io/verto-docs/ >> >> > On 22 de jan de 2016, at 09:38, Miha wrote: >> > >> > OK. tnx >> > >> > Will take a look in it. >> > >> > On 21/01/2016 09:50, Giacomo Vacca wrote: >> >> I've found it useful to get insights from the source code: >> >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto >> >> >> >> And in particular an example of usage in the demo folder: >> >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/html5/verto/demo >> >> >> >> A suggested read is >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_verto >> >> >> >> which links to the actual demo: >> >> https://webrtc.freeswitch.org/verto/index.html#page-main >> >> >> >> Giacomo >> >> >> >> On 21 January 2016 at 09:46, Giovanni Maruzzelli >> wrote: >> >> >> >> >> >> On Thu, Jan 21, 2016 at 9:36 AM, Miha wrote: >> >> Hi, >> >> >> >> is the any info regarding javascript library usage for client part? >> >> >> >> >> >> Not yet, but you can check how is used by Verto Communicator, or see >> the easier (basic) example implementation described in latest FreeSWITCH >> Cookbok from Packtpub. >> >> >> >> -giovanni >> >> >> >> >> >> >> >> tnx >> >> miha >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Sites >> >> http://www.freeswitch.org >> >> http://confluence.freeswitch.org >> >> http://www.cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at 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 >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160128/fb707bf3/attachment.html From llribeiro90 at gmail.com Thu Jan 28 23:52:25 2016 From: llribeiro90 at gmail.com (Leonardo Lima Ribeiro) Date: Thu, 28 Jan 2016 18:52:25 -0200 Subject: [Freeswitch-users] Simple LuaScript to Record Session Failing Message-ID: Hello all, I?m trying to record an IVR using my gateway to do the outbound call in my luascript: local new_session = freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/3157244022", session); new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav") new_session:sleep("10000") new_session:hangup() So in the above script I just call to the Bank Of America as an example and try to record the first 10 seconds of the call in the recordings path. The problem is that I have an empty recording file.. Why? The funny thing is: if I add this command after the record_session command: new_session:streamFile("voicemail/vm-goodbye.wav?); And then this is the entire new script: local new_session = freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/3157244022", session); new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav?) new_session:streamFile("voicemail/vm-goodbye.wav?); new_session:sleep("10000") new_session:hangup() I can hear the Good Bye sound from my script and then hear the Bank of America IVR. I just don?t understand why the record works if I play a sound in our side and the record does not work if I don?t play any sound. Do you know what?s happening? How can I solve this? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/9eb4f400/attachment.html From DEdwards at vertical.com Fri Jan 29 00:15:26 2016 From: DEdwards at vertical.com (Dan Edwards) Date: Thu, 28 Jan 2016 21:15:26 +0000 Subject: [Freeswitch-users] FreeSWITCH in virtual environments Message-ID: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> I am reviewing the Confluence Virtualization page and had some questions, in particular about VMWare. My company distributes some of its software as a VMWare image file and we were looking to distribute a new product using FS in the same manner. The products operate at a customer premise, on their VMWare infrastructure, not in a cloud environment. Since our customers already have VMWare, switching to a different VM infrastructure is going to hurt, so I am looking for options/alternatives. First, does anybody know if the virtual timing issues with VMWare have improved since this page was last updated in 2014? Is VMWare still not good enough? Is it possible to throw CPU & memory at this and make VMWare good enough, or is the virtual timing just not workable? On the virtualization page, there was a comment from 2010 that you might be happy with a High CPU Medium instance on AWS EC2. Certainly workload is a factor here, but I am trying to get my head around how big a machine to perform how small a workload. Is there a place where people talk about their experiences? Are there other VM platforms that might be acceptable? Any help or comment is appreciated. Thank you, Dan From bc at iptel.co Fri Jan 29 00:23:19 2016 From: bc at iptel.co (Brian ::) Date: Thu, 28 Jan 2016 21:23:19 +0000 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: Hi Dan We have quite a few FS running in KVM VMs under moderately heavy load with no issues. We always make sure the host isn't over taxed and I believe thats important. Have a number of FS instances on customer sites running under vmware with no issues also. I don't think virtualisation is the big bad monster it used to be in older times but I would be dubious about running a critical fs instance on a public VPS. --Brian On Thu, Jan 28, 2016 at 9:15 PM, Dan Edwards wrote: > I am reviewing the Confluence Virtualization page and had some questions, > in particular about VMWare. My company distributes some of its software as > a VMWare image file and we were looking to distribute a new product using > FS in the same manner. The products operate at a customer premise, on their > VMWare infrastructure, not in a cloud environment. Since our customers > already have VMWare, switching to a different VM infrastructure is going to > hurt, so I am looking for options/alternatives. > > First, does anybody know if the virtual timing issues with VMWare have > improved since this page was last updated in 2014? Is VMWare still not good > enough? Is it possible to throw CPU & memory at this and make VMWare good > enough, or is the virtual timing just not workable? > > On the virtualization page, there was a comment from 2010 that you might > be happy with a High CPU Medium instance on AWS EC2. Certainly workload is > a factor here, but I am trying to get my head around how big a machine to > perform how small a workload. Is there a place where people talk about > their experiences? > > Are there other VM platforms that might be acceptable? > > Any help or comment is appreciated. > > Thank you, > Dan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160128/bf84e7fe/attachment.html From Adam.Seeliger at qsc.de Thu Jan 28 13:48:47 2016 From: Adam.Seeliger at qsc.de (Seeliger, Adam) Date: Thu, 28 Jan 2016 10:48:47 +0000 Subject: [Freeswitch-users] all-reg-options-ping and tls issue Message-ID: <2E67ADAE1D3582409C90EBAE8C64C5070149F6B3@QSCDEMXP01a.ONE4ALL.LAN> Hi all, I have a problem, when I enable TLS and register a phone using TLS on Port 5061. FreeSWITCH still tries to "ping" the phone using Port 5060 using UDP, which is ignored by the phone. Moments later FreeSWITCH deletes the registration, because "unregister-on-options-fail" is set to "true". I already figured out, that you can set "all-reg-options-ping" to "udp-only", but this would completely disable this feature for TLS. Is there any way to ping TLS registered using TLS? Thanks in advance - Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/89b83095/attachment.html From Adam.Seeliger at qsc.de Thu Jan 28 15:25:01 2016 From: Adam.Seeliger at qsc.de (Seeliger, Adam) Date: Thu, 28 Jan 2016 12:25:01 +0000 Subject: [Freeswitch-users] all-reg-options-ping and tls issue Message-ID: <2E67ADAE1D3582409C90EBAE8C64C5070149F709@QSCDEMXP01a.ONE4ALL.LAN> Hi all, I have a problem, when I enable TLS and register a phone using TLS on Port 5061. FreeSWITCH still tries to "ping" the phone using Port 5060 using UDP, which is ignored by the phone. Moments later FreeSWITCH deletes the registration, because "unregister-on-options-fail" is set to "true". I already figured out, that you can set "all-reg-options-ping" to "udp-only", but this would completely disable this feature for TLS. Is there any way to ping TLS registered using TLS? Thanks in advance - Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/17221be2/attachment-0001.html From jgrow at flowroute.com Fri Jan 29 00:39:05 2016 From: jgrow at flowroute.com (Justin Grow) Date: Thu, 28 Jan 2016 21:39:05 +0000 Subject: [Freeswitch-users] fyi - DTMF with FlowRoute In-Reply-To: <56A7CD56.5010301@mst.edu> References: <56A677E7.8040401@mst.edu> <1453751429786-0175e690-a351e0c1-53344138@mixmax.com> <56A7CD56.5010301@mst.edu> Message-ID: <1454017147463-cd20b7e5-2118c811-00bf06b5@mixmax.com> I dug into this and looks like the multiple DTMF sample rates is triggering a bug in our call setup. While we work on getting this corrected, limiting the FS external gateway to offer only 101 telephone-event/8000 for DTMF will work normally. On Tue, Jan 26, 2016 at 11:48 AM Nathan Neulinger wrote: FlowRoute Ticket 212706 is open and being investigated after providing the captures. Since it's so easy to reproduce, if they need additional captures/tests - will get them. -- Nathan On 01/25/2016 01:50 PM, Justin Grow wrote: > I'm curious how we are handling the multiple sample rates offered for DTMF. If you can open up a ticket at > support.flowroute.com , and run a few test calls for us to capture, we'll get to the bottom of it. > > > > On Mon, Jan 25, 2016 at 11:31 AM Nathan Neulinger < nneul at mst.edu > wrote: > > I know this has been brought up previously in another thread, but wanted to mention I'm seeing it as well. However - I > do have an additional data point. > > This is the SDP being sent: > > v=0 > o=FreeSWITCH 1453729420 1453729421 IN IP4 131.151.x.x > s=FreeSWITCH > c=IN IP4 131.151.x.x > t=0 0 > m=audio 19222 RTP/AVP 102 103 9 0 8 104 106 101 > a=rtpmap:102 G7221/32000 > a=fmtp:102 bitrate=48000 > a=rtpmap:103 G7221/16000 > a=fmtp:103 bitrate=32000 > a=rtpmap:9 G722/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:104 telephone-event/32000 > a=fmtp:104 0-16 > a=rtpmap:106 telephone-event/16000 > a=fmtp:106 0-16 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=ptime:20 > > I realize that anything other than PCMU is pointless with flowroute. Symptom is seen on both 1.4 and 1.6. > > Confirming what some others on the thread have said - forcing codec to PCMU (in my case via carrier_gateway lcr table), > immediately corrects the issue. It seems like a definite bug on flowroute's side, and will be following up with that on > the open case. > > -- Nathan > > ----------------------------- ------------------------------ - > 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.freeswitchsolution s.com < http://www.freeswitchsolution s.com > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch. org < http://confluence.freeswitch. org > > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freesw itch.org > http://lists.freeswitch.org/m ailman/listinfo/freeswitch-use rs > < http://lists.freeswitch.org/ mailman/listinfo/freeswitch-us ers > > UNSUBSCRIBE: http://lists.free switch.org/mailman/options/ freeswitch-users > < http://lists.freeswitch.org/ mailman/options/freeswitch-use rs > > http://www.freeswitch.org > > > Justin Grow > Operations > > > < https://links.mixmax.com/b/2F SZu0eMXlzti9F0W?rn=ICcsVGSgMnc lNXVgg0QUl0VTVWZyZkI&re=icmcv5 CajRXa3NXZlJnZuMHdzlGbANnclNXd tg2Y0l2dzVWZyZmI > > > +1.206.641.8038 > < https://links.mixmax.com/b/to FJ630EPWHpLfK5d?rn=ICcsVGSgMnc lNXVgg0QUl0VTVWZyZkI&re=icmcv5 CajRXa3NXZlJnZuMHdzlGbANnclNXd tg2Y0l2dzVWZyZmI > > > jgrow at flowroute.com > < https://links.mixmax.com/b/Rs R2zxsh3vymbJ32a?rn=ICcsVGSgMnc lNXVgg0QUl0VTVWZyZkI&re=icmcv5 CajRXa3NXZlJnZuMHdzlGbANnclNXd tg2Y0l2dzVWZyZmI > > > > > > > ______________________________ ______________________________ _____________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions .com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.o rg > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswi tch.org > http://lists.freeswitch.org/ma ilman/listinfo/freeswitch-user s > UNSUBSCRIBE: http://lists.frees witch.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.o rg http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswi tch.org http://lists.freeswitch.org/ma ilman/listinfo/freeswitch-user s UNSUBSCRIBE: http://lists.frees witch.org/mailman/options/ freeswitch-users http://www.freeswitch.org Justin Grow Operations +1.206.641.8038 jgrow at flowroute.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/7a241924/attachment-0001.html From ssinyagin at gmail.com Fri Jan 29 01:36:49 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 28 Jan 2016 23:36:49 +0100 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: a relatively modern VmWare server should not be a problem, but you need to provide the VM some guaranteed CPU cycles. I made a number of tests in various cloud hosting offerings, and the hardware clock is not any more an issue. But there was always the issue that the VM was serviced in best-effort manner, and there's never a guaranteed CPU resource for it. So, with 10+ simultaneous calls, FreeSWITCH sometimes failed to send RTP on time, simply because the CPU cycles were not available when needed. You can perform the tests relatively easily, by firing calls by an automated dialer, and analyzing the RTP streams with tshark. here are some resources that might be useful: https://github.com/voxserv/freeswitch-perf-dialer https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/conference_dialer https://github.com/voxserv/voip_qos_probe feel free to contact me off-list if needed. On Thu, Jan 28, 2016 at 10:15 PM, Dan Edwards wrote: > I am reviewing the Confluence Virtualization page and had some questions, in particular about VMWare. My company distributes some of its software as a VMWare image file and we were looking to distribute a new product using FS in the same manner. The products operate at a customer premise, on their VMWare infrastructure, not in a cloud environment. Since our customers already have VMWare, switching to a different VM infrastructure is going to hurt, so I am looking for options/alternatives. > > First, does anybody know if the virtual timing issues with VMWare have improved since this page was last updated in 2014? Is VMWare still not good enough? Is it possible to throw CPU & memory at this and make VMWare good enough, or is the virtual timing just not workable? > > On the virtualization page, there was a comment from 2010 that you might be happy with a High CPU Medium instance on AWS EC2. Certainly workload is a factor here, but I am trying to get my head around how big a machine to perform how small a workload. Is there a place where people talk about their experiences? > > Are there other VM platforms that might be acceptable? > > Any help or comment is appreciated. > > Thank you, > Dan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 chad at apartmentlines.com Fri Jan 29 01:55:35 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Thu, 28 Jan 2016 15:55:35 -0700 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: I've had very good luck running the newer video branch code on ProfitBricks: https://www.profitbricks.com/ As far as I understand, the CPU cycles are guaranteed on their platform. I've had to put as many as 20 cores on a server to handle some of our busier video conference calls, but with that it runs quite smoothly. On Thu, Jan 28, 2016 at 2:15 PM, Dan Edwards wrote: > I am reviewing the Confluence Virtualization page and had some questions, > in particular about VMWare. My company distributes some of its software as > a VMWare image file and we were looking to distribute a new product using > FS in the same manner. The products operate at a customer premise, on their > VMWare infrastructure, not in a cloud environment. Since our customers > already have VMWare, switching to a different VM infrastructure is going to > hurt, so I am looking for options/alternatives. > > First, does anybody know if the virtual timing issues with VMWare have > improved since this page was last updated in 2014? Is VMWare still not good > enough? Is it possible to throw CPU & memory at this and make VMWare good > enough, or is the virtual timing just not workable? > > On the virtualization page, there was a comment from 2010 that you might > be happy with a High CPU Medium instance on AWS EC2. Certainly workload is > a factor here, but I am trying to get my head around how big a machine to > perform how small a workload. Is there a place where people talk about > their experiences? > > Are there other VM platforms that might be acceptable? > > Any help or comment is appreciated. > > Thank you, > Dan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160128/77985e30/attachment.html From servtelar at gmail.com Fri Jan 29 02:01:44 2016 From: servtelar at gmail.com (servtelar) Date: Thu, 28 Jan 2016 20:01:44 -0300 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: <88218521-FB01-4698-9DBF-625D99E8BC79@gmail.com> Hi Chad How many legs you are handling with 20 cores on a conference? Regards Gustavo > On Jan 28, 2016, at 7:55 PM, Chad Phillips wrote: > > I've had very good luck running the newer video branch code on ProfitBricks: https://www.profitbricks.com/ > > As far as I understand, the CPU cycles are guaranteed on their platform. I've had to put as many as 20 cores on a server to handle some of our busier video conference calls, but with that it runs quite smoothly. > > On Thu, Jan 28, 2016 at 2:15 PM, Dan Edwards > wrote: > I am reviewing the Confluence Virtualization page and had some questions, in particular about VMWare. My company distributes some of its software as a VMWare image file and we were looking to distribute a new product using FS in the same manner. The products operate at a customer premise, on their VMWare infrastructure, not in a cloud environment. Since our customers already have VMWare, switching to a different VM infrastructure is going to hurt, so I am looking for options/alternatives. > > First, does anybody know if the virtual timing issues with VMWare have improved since this page was last updated in 2014? Is VMWare still not good enough? Is it possible to throw CPU & memory at this and make VMWare good enough, or is the virtual timing just not workable? > > On the virtualization page, there was a comment from 2010 that you might be happy with a High CPU Medium instance on AWS EC2. Certainly workload is a factor here, but I am trying to get my head around how big a machine to perform how small a workload. Is there a place where people talk about their experiences? > > Are there other VM platforms that might be acceptable? > > Any help or comment is appreciated. > > Thank you, > Dan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160128/94b35045/attachment.html From chad at apartmentlines.com Fri Jan 29 02:05:42 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Thu, 28 Jan 2016 16:05:42 -0700 Subject: [Freeswitch-users] [Freeswitch-dev] Seeking collaborators for FreeSWITCH/Lua scripting toolkit In-Reply-To: References: <00a201d1555a$233aaac0$69b00040$@botecomm.com> Message-ID: Hi Artur, I used Jester to write an almost exact replica of Asterisk's Comedian Mail (1.2/1.4), it can definitely do a lot more than just IVR/menu stuff. I would not recommend using Jester for things that the XML dialplan can do. I'm guessing you could, but it was designed to provide reusable modules for more advanced scripting tasks like database access, custom voicemail workflows, etc. Please feel free to contact me on IRC (hunmonk) if you have any more technical questions. On Thu, Jan 28, 2016 at 1:08 AM, Artur Mega wrote: > Good day, I have a question for Chad. Is Jester good only for writing > IVR-menu? I'm planning to write dialplan in lua this days, for incoming and > outgoing calls. So I want tot know pros and cons of Jester, where I can use > it, it is good for what? > > > 2016-01-28 3:02 GMT+05:00 Anthony Minessale : > >> Lets avoid going offtopic in threads: >> >> UserA: I would like to have a pool party, who wants to come? >> UserB: Why would you have a party in a pool. The beach is much better. >> UserA: I feel the pool is cleaner and has warmer water. >> UserB: Only fools swim in unnatural bodies of water. A real lake is much >> better. >> UserA: I've always enjoyed pools and had fun swimming in them. >> UserB: Let me demonstrate how to properly have a beach party. >> >> Lets keep things in context. If he said he wants to find collaborators >> to build IVR driven by hamster wheel, its not relevant if its a good idea >> or not. >> I'm sure there are valuable opinions here but we should save it for when >> they are asked for. >> >> >> >> >> >> On Wed, Jan 27, 2016 at 3:49 PM, Stanislav Sinyagin >> wrote: >> >>> well, maybe I just dislike Lua :) >>> >>> but the approach that I described is not only about performance, but >>> also about fault tolerance, and probably also a geographically >>> distributed scenario. If properly designed, it could give much better >>> flexibility and scalability. >>> >>> >>> >>> On Wed, Jan 27, 2016 at 7:13 PM, Chad Phillips >>> wrote: >>> > Stanislav, >>> > >>> > I'm guessing I could count on one hand the number of times any of my >>> > production systems have had to process 30 calls in one second, and >>> I've been >>> > using FreeSWITCH since the earliest releases in a mission critical >>> > application for my primary telecom business. >>> > >>> > I can certainly appreciate that some FreeSWITCH users need to think at >>> giant >>> > scale and about how they can squeeze every last ounce of performance >>> out of >>> > their instances, I've just never had to do it. Perhaps this experience >>> > reflects in my library. :) >>> > >>> > Still, I'm not convinced that doing it the way I have costs a lot in >>> > performance. I think it would be interesting to whip up a few simple >>> load >>> > testing scenarios, and run one set via dialplan only or dialplan with >>> > focused Lua scripts, and another set through Jester. Do you have any >>> > thoughts on what that set of scenarios might look like to effectively >>> gauge >>> > the performance difference? >>> > >>> > Chad >>> > >>> > On Mon, Jan 25, 2016 at 4:13 PM, Stanislav Sinyagin < >>> ssinyagin at gmail.com> >>> > wrote: >>> >> >>> >> Chad, >>> >> >>> >> if it's a daemon that stays in memory, it doesn't need to be written >>> >> in C. It just needs to handle concurrent requests efficiently. It >>> >> could be anything like python, perl, java... or golang which beats >>> >> them in performance because it's compiled into native code. But the >>> >> bottleneck would anyway be in I/O or database lookups, so it should >>> >> simply be the language which you master the best. >>> >> >>> >> The nice thing about ESL is that it allows you to build a clusterized >>> >> environment, with separated functional nodes and easily scalable. Then >>> >> you may, for example, keep FreeSWITCH on a physical CPU churning its >>> >> real-time tasks, and the application logic on a set of virtual >>> >> machines with less-demanding SLA. >>> >> >>> >> I know some guys who implement this with Node.js. I'm not sure it's >>> >> the right choice, but still it shows adequate performance. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> On Mon, Jan 25, 2016 at 11:20 PM, Chad Phillips < >>> chad at apartmentlines.com> >>> >> wrote: >>> >> > Stanislav, >>> >> > >>> >> > Back when I originally wrote Jester, we did some basic load testing >>> of >>> >> > the >>> >> > Comdian Mail replica profile against Asterisk's actual Comedian Mail >>> >> > (which >>> >> > is written in C), and the Jester implementation outperformed it. >>> >> > >>> >> > I think you may be overestimating strain of loading Jester once per >>> >> > call. >>> >> > Not counting comments, the core module is less than 800 lines of >>> code >>> >> > (hardly 'huge'), the other modules are all smaller than that, and >>> they >>> >> > can >>> >> > be loaded conditionally based upon what you want to accomplish. And >>> for >>> >> > those looking to squeeze more performance out, there's a supplied >>> script >>> >> > to >>> >> > pre-compile core and all modules, which means they wouldn't have to >>> be >>> >> > re-compiled every time they're loaded. >>> >> > >>> >> > I'm clear that there would be more efficient approaches than >>> writing a >>> >> > Lua >>> >> > toolkit, and, I doubt that most of them would be as easily >>> accessible as >>> >> > something written in Lua. Given that Lua is already blazing fast >>> for a >>> >> > scripting language, I think it's a fair compromise. >>> >> > >>> >> > I will add that I've considered rewriting the core functionality in >>> C >>> >> > for a >>> >> > number of reasons, performance being one of them, but at this time >>> have >>> >> > neither the skill nor the time to learn the skill of writing C code >>> at >>> >> > that >>> >> > level. Someday, maybe... :) >>> >> > >>> >> > Chad >>> >> > >>> >> > On Sun, Jan 24, 2016 at 10:54 PM, Stanislav Sinyagin >>> >> > >>> >> > wrote: >>> >> >> >>> >> >> Yes, for relatively small scripts that are concentrated on their >>> jobs. >>> >> >> But >>> >> >> this thing is huge. >>> >> >> >>> >> >> On 25 Jan 2016 3:36 am, "Michael Jerris" wrote: >>> >> >>> >>> >> >>> Lua is likely to be by far the most efficient of any scripting >>> >> >>> language >>> >> >>> used in FreeSWITCH, if there is still really a concern about >>> >> >>> performance, >>> >> >>> more pieces can be moved to helpers built out in c code. If you >>> are >>> >> >>> looking >>> >> >>> for dynamic but still optimal performance, lua is likely your >>> best bet >>> >> >>> >>> >> >>> On Sunday, January 24, 2016, Stanislav Sinyagin < >>> ssinyagin at gmail.com> >>> >> >>> wrote: >>> >> >>>> >>> >> >>>> why not re-implementing it in Golang and ESL? >>> >> >>>> >>> >> >>>> What's happening now with your system, is that FreeSWITCH loads >>> few >>> >> >>>> thousand lines of Lua code on every call establishment. So, even >>> with >>> >> >>>> default 30cps limit, you may overload the CPU with unnecessary >>> job. >>> >> >>>> >>> >> >>>> if you don't like Go, it could be some other language, but I >>> like the >>> >> >>>> built-in threads in it. >>> >> >>>> >>> >> >>>> >>> >> >>>> >>> >> >>>> On Sun, Jan 24, 2016 at 9:47 PM, Chad Phillips >>> >> >>>> >>> >> >>>> wrote: >>> >> >>>> > Hi Bote, >>> >> >>>> > >>> >> >>>> > The difference is (supposed to be) that using Jester takes a >>> lot of >>> >> >>>> > the >>> >> >>>> > dirty work out of doing things that you must turn to scripting >>> for. >>> >> >>>> > The >>> >> >>>> > original design was to remove almost all scripting complexity, >>> and >>> >> >>>> > instead >>> >> >>>> > have users use a more template-based approach to writing their >>> >> >>>> > advanced >>> >> >>>> > workflows. You can have a look at >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> http://thehunmonkgroup.github.io/jester/doc/topics/03-Sequences.md.html#Writing_sequences >>> >> >>>> > to see the basic template style. >>> >> >>>> > >>> >> >>>> > And here's an example template that does some fairly advanced >>> >> >>>> > stuff: >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> http://thehunmonkgroup.github.io/jester/doc/examples/phone_to_post_test.lua.html >>> >> >>>> > >>> >> >>>> > To my eyes, what the template accomplishes is quite easy to >>> deduce >>> >> >>>> > from >>> >> >>>> > simply reading it, and all of the dirty work for taking those >>> >> >>>> > actions >>> >> >>>> > is >>> >> >>>> > handled by Jester core and the supporting modules. >>> >> >>>> > >>> >> >>>> > The current limitation is that you must use the template >>> structure >>> >> >>>> > to >>> >> >>>> > gain >>> >> >>>> > access to Jester's modules. Looking back, this was a design >>> mistake >>> >> >>>> > that I >>> >> >>>> > intend to rectify -- it would be much more powerful and >>> flexible to >>> >> >>>> > use a >>> >> >>>> > template when it made sense, and still be able to mix pure Lua >>> >> >>>> > scripting >>> >> >>>> > with calls to Jester's support modules when that makes more >>> sense. >>> >> >>>> > And >>> >> >>>> > what >>> >> >>>> > I'm hoping to get help with is correcting that design flaw >>> while >>> >> >>>> > preserving >>> >> >>>> > 'the good stuff' in the toolkit. >>> >> >>>> > >>> >> >>>> > Chad >>> >> >>>> > >>> >> >>>> > On Fri, Jan 22, 2016 at 2:16 PM, Bote Man < >>> bote_radio at botecomm.com> >>> >> >>>> > wrote: >>> >> >>>> >> >>> >> >>>> >> Hey Chad, long time no chat J I saw your update to the Help >>> >> >>>> >> section >>> >> >>>> >> of >>> >> >>>> >> the Confluence page concerning this and glanced at some things >>> >> >>>> >> there. >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> I guess I don?t even know enough to understand the difference >>> >> >>>> >> between >>> >> >>>> >> using your toolkit and just plain writing a Lua script. Would >>> I, >>> >> >>>> >> for >>> >> >>>> >> example, write an abbreviated Lua script that calls tested and >>> >> >>>> >> proven >>> >> >>>> >> functions in your toolkit, sort of like a library? >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> Anyway it sounds useful, so thanks. >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> --- >>> >> >>>> >> >>> >> >>>> >> Bote >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> FreeSWITCH Docs Janitor >>> >> >>>> >> >>> >> >>>> >> http://freeswitch.org/confluence >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> From: Chad Phillips >>> >> >>>> >> Sent: Friday, 22 January, 2016 14:41 >>> >> >>>> >> Subject: [Freeswitch-users] Seeking collaborators for >>> >> >>>> >> FreeSWITCH/Lua >>> >> >>>> >> scripting toolkit >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> Looking for folks in the FreeSWITCH community who would be >>> >> >>>> >> interested >>> >> >>>> >> in >>> >> >>>> >> collaborating on an open source scripting toolkit I've >>> written for >>> >> >>>> >> FreeSWITCH/Lua. The basic idea is to have ready made >>> solutions to >>> >> >>>> >> common >>> >> >>>> >> scripting needs, so as not to reinvent the wheel. >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> The original project was written in 2010. A lot of it still >>> works >>> >> >>>> >> great, >>> >> >>>> >> and there are some design flaws that I'd like to work out in >>> the >>> >> >>>> >> next >>> >> >>>> >> release. >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> Project code is here: >>> https://github.com/thehunmonkgroup/jester >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> Some background and reasoning for the project here: >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> http://xylil.com/2016/01/20/jester-freeswitch-lua-and-my-quest-for-an-awesome-scripting-toolkit/ >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> If anyone is interested in helping, please let me know! >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> Chad >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> >>> _________________________________________________________________________ >>> >> >>>> >> Professional FreeSWITCH Consulting Services: >>> >> >>>> >> consulting at freeswitch.org >>> >> >>>> >> http://www.freeswitchsolutions.com >>> >> >>>> >> >>> >> >>>> >> Official FreeSWITCH Sites >>> >> >>>> >> http://www.freeswitch.org >>> >> >>>> >> http://confluence.freeswitch.org >>> >> >>>> >> http://www.cluecon.com >>> >> >>>> >> >>> >> >>>> >> FreeSWITCH-users mailing list >>> >> >>>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >>>> >> >>> >> >>>> >> >>> >> >>>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >>>> >> http://www.freeswitch.org >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> _________________________________________________________________________ >>> >> >>>> > Professional FreeSWITCH Consulting Services: >>> >> >>>> > consulting at freeswitch.org >>> >> >>>> > http://www.freeswitchsolutions.com >>> >> >>>> > >>> >> >>>> > Official FreeSWITCH Sites >>> >> >>>> > http://www.freeswitch.org >>> >> >>>> > http://confluence.freeswitch.org >>> >> >>>> > http://www.cluecon.com >>> >> >>>> > >>> >> >>>> > FreeSWITCH-users mailing list >>> >> >>>> > FreeSWITCH-users at lists.freeswitch.org >>> >> >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >>>> > http://www.freeswitch.org >>> >> >>>> >>> >> >>>> >>> >> >>>> >>> >> >>>> >>> _________________________________________________________________________ >>> >> >>>> Professional FreeSWITCH Consulting Services: >>> >> >>>> consulting at freeswitch.org >>> >> >>>> http://www.freeswitchsolutions.com >>> >> >>>> >>> >> >>>> Official FreeSWITCH Sites >>> >> >>>> http://www.freeswitch.org >>> >> >>>> http://confluence.freeswitch.org >>> >> >>>> http://www.cluecon.com >>> >> >>>> >>> >> >>>> FreeSWITCH-users mailing list >>> >> >>>> FreeSWITCH-users at lists.freeswitch.org >>> >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >>>> >>> >> >>>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >>>> http://www.freeswitch.org >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> _________________________________________________________________________ >>> >> >>> Professional FreeSWITCH Consulting Services: >>> >> >>> consulting at freeswitch.org >>> >> >>> http://www.freeswitchsolutions.com >>> >> >>> >>> >> >>> Official FreeSWITCH Sites >>> >> >>> http://www.freeswitch.org >>> >> >>> http://confluence.freeswitch.org >>> >> >>> http://www.cluecon.com >>> >> >>> >>> >> >>> FreeSWITCH-users mailing list >>> >> >>> FreeSWITCH-users at lists.freeswitch.org >>> >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >>> >>> >> >>> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >>> http://www.freeswitch.org >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> _________________________________________________________________________ >>> >> >> Professional FreeSWITCH Consulting Services: >>> >> >> consulting at freeswitch.org >>> >> >> http://www.freeswitchsolutions.com >>> >> >> >>> >> >> Official FreeSWITCH Sites >>> >> >> http://www.freeswitch.org >>> >> >> http://confluence.freeswitch.org >>> >> >> http://www.cluecon.com >>> >> >> >>> >> >> FreeSWITCH-users mailing list >>> >> >> FreeSWITCH-users at lists.freeswitch.org >>> >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> >> >>> >> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> >> http://www.freeswitch.org >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > Professional FreeSWITCH Consulting Services: >>> >> > consulting at freeswitch.org >>> >> > http://www.freeswitchsolutions.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > http://www.freeswitch.org >>> >> > http://confluence.freeswitch.org >>> >> > http://www.cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > http://www.freeswitch.org >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at freeswitch.org >>> >> http://www.freeswitchsolutions.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> http://www.freeswitch.org >>> >> http://confluence.freeswitch.org >>> >> http://www.cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> http://www.freeswitch.org >>> > >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at 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 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > Arthur > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160128/7b96568f/attachment-0001.html From chad at apartmentlines.com Fri Jan 29 02:12:41 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Thu, 28 Jan 2016 16:12:41 -0700 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <88218521-FB01-4698-9DBF-625D99E8BC79@gmail.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> <88218521-FB01-4698-9DBF-625D99E8BC79@gmail.com> Message-ID: That was with 15 - 18 connected participants. My setup is probably a bit different than most, though, as I only have 2 video feeds up at a time (the rest are video muted). Guessing it would require quite a few more cores if I had more active video feeds. I *think* ProfitBricks supports up to 62 cores on one instance. On Thu, Jan 28, 2016 at 4:01 PM, servtelar wrote: > Hi Chad > > How many legs you are handling with 20 cores on a conference? > > Regards > > Gustavo > > On Jan 28, 2016, at 7:55 PM, Chad Phillips > wrote: > > I've had very good luck running the newer video branch code on > ProfitBricks: https://www.profitbricks.com/ > > As far as I understand, the CPU cycles are guaranteed on their platform. > I've had to put as many as 20 cores on a server to handle some of our > busier video conference calls, but with that it runs quite smoothly. > > On Thu, Jan 28, 2016 at 2:15 PM, Dan Edwards > wrote: > >> I am reviewing the Confluence Virtualization page and had some questions, >> in particular about VMWare. My company distributes some of its software as >> a VMWare image file and we were looking to distribute a new product using >> FS in the same manner. The products operate at a customer premise, on their >> VMWare infrastructure, not in a cloud environment. Since our customers >> already have VMWare, switching to a different VM infrastructure is going to >> hurt, so I am looking for options/alternatives. >> >> First, does anybody know if the virtual timing issues with VMWare have >> improved since this page was last updated in 2014? Is VMWare still not good >> enough? Is it possible to throw CPU & memory at this and make VMWare good >> enough, or is the virtual timing just not workable? >> >> On the virtualization page, there was a comment from 2010 that you might >> be happy with a High CPU Medium instance on AWS EC2. Certainly workload is >> a factor here, but I am trying to get my head around how big a machine to >> perform how small a workload. Is there a place where people talk about >> their experiences? >> >> Are there other VM platforms that might be acceptable? >> >> Any help or comment is appreciated. >> >> Thank you, >> Dan >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160128/8ce492d6/attachment.html From s.safarov at gmail.com Fri Jan 29 02:18:30 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 29 Jan 2016 02:18:30 +0300 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <88218521-FB01-4698-9DBF-625D99E8BC79@gmail.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> <88218521-FB01-4698-9DBF-625D99E8BC79@gmail.com> Message-ID: We have to core ESXi vm with 140 session (70 calls) with have 70 CPU load. Sergey On Fri, Jan 29, 2016 at 2:01 AM, servtelar wrote: > Hi Chad > > How many legs you are handling with 20 cores on a conference? > > Regards > > Gustavo > > On Jan 28, 2016, at 7:55 PM, Chad Phillips > wrote: > > I've had very good luck running the newer video branch code on > ProfitBricks: https://www.profitbricks.com/ > > As far as I understand, the CPU cycles are guaranteed on their platform. > I've had to put as many as 20 cores on a server to handle some of our > busier video conference calls, but with that it runs quite smoothly. > > On Thu, Jan 28, 2016 at 2:15 PM, Dan Edwards > wrote: > >> I am reviewing the Confluence Virtualization page and had some questions, >> in particular about VMWare. My company distributes some of its software as >> a VMWare image file and we were looking to distribute a new product using >> FS in the same manner. The products operate at a customer premise, on their >> VMWare infrastructure, not in a cloud environment. Since our customers >> already have VMWare, switching to a different VM infrastructure is going to >> hurt, so I am looking for options/alternatives. >> >> First, does anybody know if the virtual timing issues with VMWare have >> improved since this page was last updated in 2014? Is VMWare still not good >> enough? Is it possible to throw CPU & memory at this and make VMWare good >> enough, or is the virtual timing just not workable? >> >> On the virtualization page, there was a comment from 2010 that you might >> be happy with a High CPU Medium instance on AWS EC2. Certainly workload is >> a factor here, but I am trying to get my head around how big a machine to >> perform how small a workload. Is there a place where people talk about >> their experiences? >> >> Are there other VM platforms that might be acceptable? >> >> Any help or comment is appreciated. >> >> Thank you, >> Dan >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160129/e70e6e6e/attachment.html From mandra at gmail.com Fri Jan 29 03:39:01 2016 From: mandra at gmail.com (Chris Mandra) Date: Thu, 28 Jan 2016 19:39:01 -0500 Subject: [Freeswitch-users] Routing and multicast question Message-ID: Hi guys - I have a question: I want an endpoint sending an audio RTP stream to freeswitch, which freeswitch is transcoding and then sending the transcoded RTP stream to another device on my network from which I then want to send back INTO freeswitch before sending to the 2nd endpoint. I?d like the stream from freeswitch to the other device on my network to be a multicast RTP stream. What?s the best way to do this? thanks! chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/0e76e429/attachment-0001.html From bote_radio at botecomm.com Fri Jan 29 06:49:10 2016 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 28 Jan 2016 22:49:10 -0500 Subject: [Freeswitch-users] How to build from source v1.6? In-Reply-To: References: <568d5a41afc64bfeb30fadda6c73bb8b@CM-EX-V01.cm.local> Message-ID: <007401d15a48$03233840$0969a8c0$@botecomm.com> It is now J --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Giovanni Maruzzelli Sent: Monday, 25 January, 2016 09:35 Subject: Re: [Freeswitch-users] How to build from source v1.6? 1.7 is the development branch, 1.6 the release branch. That is clearly explained in the confluence (wiki) page IIRC. -giovanni -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160128/189fe1f2/attachment.html From bote_radio at botecomm.com Fri Jan 29 07:45:54 2016 From: bote_radio at botecomm.com (Bote Man) Date: Thu, 28 Jan 2016 23:45:54 -0500 Subject: [Freeswitch-users] Checking which codecs a SIP-Trunk provides. In-Reply-To: <20160126202904.GB7193@blomma.liberationtech.net> References: <20160126202904.GB7193@blomma.liberationtech.net> Message-ID: <007a01d15a4f$f042c940$d0c85bc0$@botecomm.com> I believe you should enable siptrace and review the messages sent by the provider. (This is the same method that I used to determine the proper field/information element send by CallCentric containing my DID so that I could route the call properly in my dialplan.) In fs_cli type sofia global siptrace on -- or -- sofia profile sillytel siptrace on /* assuming the sip profile used to reach your provider is named "sillytel"; this eliminates extraneous SIP messages from your trace */ Now place test calls inbound or outbound or both as needed. When you have seen enough type sofia global siptrace off You then have much homework to do :-) --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: Oivvio Polite > Sent: Tuesday, 26 January, 2016 15:29 > Subject: [Freeswitch-users] Checking which codecs a SIP-Trunk provides. > > I've registered with SIP-trunk providers for experimentation. > > How can I figure out which codecs a SIP-trunk (gateway in FS parlance?) > provides? > > regards, Oivvio Polite > > __________________________________________________________ > _______________ From bote_radio at botecomm.com Fri Jan 29 08:47:30 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 29 Jan 2016 00:47:30 -0500 Subject: [Freeswitch-users] UML to document a call flow In-Reply-To: References: Message-ID: <007e01d15a58$8b5b3f90$a211beb0$@botecomm.com> You must be reading my mind J I was just thinking about creating an introduction to FreeSWITCH call flow diagram on Confluence and UML would be a good way to do it from the looks of things. I just checked and we do have the Atlassian UML plug-in so now it is a matter of learning how to do it. Thanks! --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Luis Daniel Lucio Quiroz Sent: Wednesday, 27 January, 2016 01:09 Subject: [Freeswitch-users] UML to document a call flow Maybe OT, maybe no. But I have been using UML as a way to let my non-tech users to specify their complex call flow as clear as possible. so far, it has been a sucess I want to share you this little article so you can use it as well. http://inside-out.xyz/technology/how-to-document-a-call-flow-with-uml.html -- Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/6ff9b64f/attachment.html From gb at cm.nl Fri Jan 29 11:04:04 2016 From: gb at cm.nl (Grant Bagdasarian) Date: Fri, 29 Jan 2016 08:04:04 +0000 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: <0ef655a8017e46edb2cc7a920ea879ab@CM-EX-V01.cm.local> We're currently running around 20 FS VM's on multiple physical ESXi hosts and some on vCenter clusters with no issues at all. The current versions are still 1.4 (updating soon) but haven't had any issues with timing or RTP streams. We do limit the number of VM's per physical host to not overcommit resources, but in some cases overcommitting resources worked out fine too. We've been running FS virtualized on VMWare for almost 2-3 years now and haven't had any issues with timing or rtp. A single VM host (6 Cores, 12 Threads) with 3 FS VM's (bridging calls between the FS instances) should be able to handle close to 500 calls active without any issues. In this setup and our load test of this setup we had in total 5 call legs, bridged from the first to the last FS VM in the chain. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Dan Edwards Sent: Thursday, January 28, 2016 10:15 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] FreeSWITCH in virtual environments I am reviewing the Confluence Virtualization page and had some questions, in particular about VMWare. My company distributes some of its software as a VMWare image file and we were looking to distribute a new product using FS in the same manner. The products operate at a customer premise, on their VMWare infrastructure, not in a cloud environment. Since our customers already have VMWare, switching to a different VM infrastructure is going to hurt, so I am looking for options/alternatives. First, does anybody know if the virtual timing issues with VMWare have improved since this page was last updated in 2014? Is VMWare still not good enough? Is it possible to throw CPU & memory at this and make VMWare good enough, or is the virtual timing just not workable? On the virtualization page, there was a comment from 2010 that you might be happy with a High CPU Medium instance on AWS EC2. Certainly workload is a factor here, but I am trying to get my head around how big a machine to perform how small a workload. Is there a place where people talk about their experiences? Are there other VM platforms that might be acceptable? Any help or comment is appreciated. Thank you, Dan _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 ankit_doshi2011 at yahoo.com Fri Jan 29 11:18:50 2016 From: ankit_doshi2011 at yahoo.com (ankitdoshi) Date: Fri, 29 Jan 2016 01:18:50 -0700 (MST) Subject: [Freeswitch-users] RingBack for PSTN call Message-ID: <1454055530363-7596199.post@n2.nabble.com> Hello, I want to set .wav as ringback tone for PSTN call, like caller tune. I have implemented it partially for local calls by getting idea from here, https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones i have set the param like this, $xml .=""; before bridge line in dialplan. This works with local calls , but when i dial PSTN call then i hear only ring tone and not my set .wav audio. Any suggestions are welcome. Thanks. ----- Thanks Ankit Doshi -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/RingBack-for-PSTN-call-tp7596199.html Sent from the freeswitch-users mailing list archive at Nabble.com. From lists at kavun.ch Fri Jan 29 11:24:56 2016 From: lists at kavun.ch (Emrah) Date: Fri, 29 Jan 2016 09:24:56 +0100 Subject: [Freeswitch-users] all-reg-options-ping and tls issue In-Reply-To: <2E67ADAE1D3582409C90EBAE8C64C5070149F6B3@QSCDEMXP01a.ONE4ALL.LAN> References: <2E67ADAE1D3582409C90EBAE8C64C5070149F6B3@QSCDEMXP01a.ONE4ALL.LAN> Message-ID: <6D3DEA47-DECB-4509-A327-B8DFEC1C1A83@kavun.ch> Hi! This is interesting. I experienced something rather similar where calls would drop because FS would timeout on certain packets sent over UDP instead of TLS. I assume you mean FS exits with port 5060 instead of port 5061? Because the port on the remote end should be dynamically set. I found out that in my case, what works best even with TLS, is to use: This goes as far as it can to lay out the path to contacting the client with all consideration in regards to NAT and dynamic ports. Not sure if it will help you. I?ve personally disabled options-ping an let my clients deal with keep-alive instead. You could also look into: --> --> I?ll leave it up to you to investigate those options more in details on the FS documentation. Please keep us posted! E > On Jan 28, 2016, at 11:48 AM, Seeliger, Adam wrote: > > Hi all, > > I have a problem, when I enable TLS and register a phone using TLS on Port 5061. > FreeSWITCH still tries to ?ping? the phone using Port 5060 using UDP, which is ignored by the phone. > Moments later FreeSWITCH deletes the registration, because ?unregister-on-options-fail? is set to ?true?. > > I already figured out, that you can set ?all-reg-options-ping? to ?udp-only?, but this would completely disable this feature for TLS. > Is there any way to ping TLS registered using TLS? > > Thanks in advance > > - 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/20160129/92196758/attachment.html From marcel.haldemann at convercom.ch Fri Jan 29 11:28:10 2016 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Fri, 29 Jan 2016 08:28:10 +0000 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: I just can say: We are running a LIVE System over 1 Year now using FreeSwitch 1.4/1.6 virtualized using VMWare ESXi 5.x without any issues. -----Urspr?ngliche Nachricht----- Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Dan Edwards Gesendet: Donnerstag, 28. Januar 2016 22:15 An: freeswitch-users at lists.freeswitch.org Betreff: [Freeswitch-users] FreeSWITCH in virtual environments I am reviewing the Confluence Virtualization page and had some questions, in particular about VMWare. My company distributes some of its software as a VMWare image file and we were looking to distribute a new product using FS in the same manner. The products operate at a customer premise, on their VMWare infrastructure, not in a cloud environment. Since our customers already have VMWare, switching to a different VM infrastructure is going to hurt, so I am looking for options/alternatives. First, does anybody know if the virtual timing issues with VMWare have improved since this page was last updated in 2014? Is VMWare still not good enough? Is it possible to throw CPU & memory at this and make VMWare good enough, or is the virtual timing just not workable? On the virtualization page, there was a comment from 2010 that you might be happy with a High CPU Medium instance on AWS EC2. Certainly workload is a factor here, but I am trying to get my head around how big a machine to perform how small a workload. Is there a place where people talk about their experiences? Are there other VM platforms that might be acceptable? Any help or comment is appreciated. Thank you, Dan _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 deepikay at iiitd.ac.in Fri Jan 29 12:35:46 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Fri, 29 Jan 2016 15:05:46 +0530 Subject: [Freeswitch-users] Recording conference channel based Message-ID: Hi, I am developing an application based on Freeswitch conference. I need some functonalities like: 1. record session speaker based, currently I record the complete session by setting "auto-record" parameter in conference.conf.xml, I am using a protocol where at a time only two speakers speak at a time and I want to record audio into files having speech from each speakers separately. 2. If I have some timestamps of the conference, can I split recordings based on those timestamps. Currently, I am trying API "uuid_record" to record session in my java application which originates calls and put them into conference and apply "sox" utility to split it into mono audio files but it requires first the recording to made in stereo mode. any pointers in this direction would be appreciable. Regards, Deepika -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/3eb2dbbd/attachment.html From royj at yandex.ru Fri Jan 29 14:37:54 2016 From: royj at yandex.ru (royj at yandex.ru) Date: Fri, 29 Jan 2016 14:37:54 +0300 Subject: [Freeswitch-users] 180 then 183 Message-ID: <3169001454067474@web6o.yandex.ru> Hi, all In the call flow: SIP UA 1 --> FS --> SIP UA 2 SIP UA 2 answers 180, then 183 with SDP, then sends media. FS forwards 180, 183 to SIP UA 1, but does not send on media at all. But when SIP UA 2 answers 183 with SDP, then sends media, FS forwards 183 and sends on media. Is there some variable to change behavior so FS will send that media or should I file jira? FreeSWITCH Version 1.7.0+git~20160108T231819Z~32d4e56e1e~64bit (git 32d4e56 2016-01-08 23:18:19Z 64bit) ignore_early_media=false bridge_early_media=true Thanks From mike at jerris.com Fri Jan 29 16:46:06 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 29 Jan 2016 08:46:06 -0500 Subject: [Freeswitch-users] Recording conference channel based In-Reply-To: References: Message-ID: On Friday, January 29, 2016, Deepika Yadav wrote: > Hi, > > I am developing an application based on Freeswitch conference. I need some > functonalities like: > > 1. record session speaker based, currently I record the complete session > by setting "auto-record" parameter in conference.conf.xml, I am using a > protocol where at a time only two speakers speak at a time and I want to > record audio into files having speech from each speakers separately. > You can record session on each individual session before you go into conference. You'll have to address syncing streams somehow. > > 2. If I have some timestamps of the conference, can I split recordings > based on those timestamps. > > Currently, I am trying API "uuid_record" to record session in my java > application which originates calls and put them into conference and apply > "sox" utility to split it into mono audio files but it requires first the > recording to made in stereo mode. > > any pointers in this direction would be appreciable. > > Regards, > Deepika > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/9f2750c8/attachment-0001.html From brian at freeswitch.org Fri Jan 29 16:50:31 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 29 Jan 2016 07:50:31 -0600 Subject: [Freeswitch-users] 180 then 183 In-Reply-To: <3169001454067474@web6o.yandex.ru> References: <3169001454067474@web6o.yandex.ru> Message-ID: Don't set bridge early media at all, if only one target is being call it will do that by default. On Friday, January 29, 2016, wrote: > Hi, all > > In the call flow: > > SIP UA 1 --> FS --> SIP UA 2 > > SIP UA 2 answers 180, then 183 with SDP, then sends media. FS forwards > 180, 183 to SIP UA 1, but does not send on media at all. > But when SIP UA 2 answers 183 with SDP, then sends media, FS forwards 183 > and sends on media. > > Is there some variable to change behavior so FS will send that media or > should I file jira? > > FreeSWITCH Version 1.7.0+git~20160108T231819Z~32d4e56e1e~64bit (git > 32d4e56 2016-01-08 23:18:19Z 64bit) > ignore_early_media=false > bridge_early_media=true > > 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 Got Bugs? Report them here ! | 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/20160129/574b8eb6/attachment.html From bote_radio at botecomm.com Fri Jan 29 17:22:00 2016 From: bote_radio at botecomm.com (Bote Man) Date: Fri, 29 Jan 2016 09:22:00 -0500 Subject: [Freeswitch-users] RingBack for PSTN call In-Reply-To: <1454055530363-7596199.post@n2.nabble.com> References: <1454055530363-7596199.post@n2.nabble.com> Message-ID: <00c001d15aa0$6b46e310$41d4a930$@botecomm.com> That is because you set that custom ringback tone in the part of the dialplan that executes for local extension calls. Determine which matches calls to the PSTN and set the ringback tone inside that block. Different parts of the dialplan will be matched and executed for different calls. But in some cases the PSTN provider might not send the necessary signaling back to FreeSWITCH to play that tone, so you might be disappointed. Nothing FS can do about that, I'm afraid. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence > -----Original Message----- > From: ankitdoshi > Sent: Friday, 29 January, 2016 03:19 > Subject: [Freeswitch-users] RingBack for PSTN call > > Hello, > > I want to set .wav as ringback tone for PSTN call, like caller tune. I have > implemented it partially for local calls by getting idea from here, > https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones > > i have set the param like this, $xml .=" "; > before bridge line in dialplan. > > This works with local calls , but when i dial PSTN call then i hear only > ring tone and not my set .wav audio. > Any suggestions are welcome. > > Thanks. > > > > ----- > Thanks > Ankit Doshi > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/RingBack-for-PSTN-call-tp75961 99.html > Sent from the freeswitch-users mailing list archive at Nabble.com. > > __________________________________________________________ > _______________ From royj at yandex.ru Fri Jan 29 17:24:24 2016 From: royj at yandex.ru (royj at yandex.ru) Date: Fri, 29 Jan 2016 17:24:24 +0300 Subject: [Freeswitch-users] 180 then 183 In-Reply-To: References: <3169001454067474@web6o.yandex.ru> Message-ID: <4665131454077464@web22h.yandex.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/7b36f93e/attachment.html From randhawaay at gmail.com Fri Jan 29 17:26:05 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Fri, 29 Jan 2016 19:26:05 +0500 Subject: [Freeswitch-users] Async Call Message-ID: Respected all, I need some help . I m using this script to make an outbound call and return the status ,How can i make this asynchronous like using bgapi or using execute on answer and run new script but i will still be needing want info about the session in that new script. this_sess = freeswitch.Session("{ignore_early_media=true,setAutoHangup=false,originate_timeout=20,origination_caller_id_number="..callerid.."}sofia/gateway/proxy-301/"..phno) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/6186d1a3/attachment.html From brian at freeswitch.org Fri Jan 29 17:28:03 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 29 Jan 2016 08:28:03 -0600 Subject: [Freeswitch-users] Async Call In-Reply-To: References: Message-ID: What is you goal? On Friday, January 29, 2016, Shan Randhawa wrote: > Respected all, > > > I need some help . > > I m using this script to make an outbound call and return the status ,How > can i make this asynchronous like using bgapi or using execute on answer > and run new script > > but i will still be needing want info about the session in that new > script. > > this_sess = > freeswitch.Session("{ignore_early_media=true,setAutoHangup=false,originate_timeout=20,origination_caller_id_number="..callerid.."}sofia/gateway/proxy-301/"..phno) > > > > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160129/50f860ef/attachment-0001.html From randhawaay at gmail.com Fri Jan 29 17:37:56 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Fri, 29 Jan 2016 19:37:56 +0500 Subject: [Freeswitch-users] Async Call In-Reply-To: References: Message-ID: My goal is to make an asynchronous call and then return the hangup cause or the uuid of the session to php script on xampp server. On Fri, Jan 29, 2016 at 7:28 PM, Brian West wrote: > What is you goal? > > > On Friday, January 29, 2016, Shan Randhawa wrote: > >> Respected all, >> >> >> I need some help . >> >> I m using this script to make an outbound call and return the status ,How >> can i make this asynchronous like using bgapi or using execute on answer >> and run new script >> >> but i will still be needing want info about the session in that new >> script. >> >> this_sess = >> freeswitch.Session("{ignore_early_media=true,setAutoHangup=false,originate_timeout=20,origination_caller_id_number="..callerid.."}sofia/gateway/proxy-301/"..phno) >> >> >> >> >> > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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/20160129/3b6852ab/attachment.html From krice at freeswitch.org Fri Jan 29 17:53:21 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 29 Jan 2016 08:53:21 -0600 Subject: [Freeswitch-users] Async Call In-Reply-To: References: Message-ID: <453c01d15aa4$ccb1b630$66152290$@freeswitch.org> Originate the call with api or bgapi originate, then use the xml or json CDR modules to post the results to the webservice From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Shan Randhawa Sent: Friday, January 29, 2016 8:38 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Async Call My goal is to make an asynchronous call and then return the hangup cause or the uuid of the session to php script on xampp server. On Fri, Jan 29, 2016 at 7:28 PM, Brian West > wrote: What is you goal? On Friday, January 29, 2016, Shan Randhawa > wrote: Respected all, I need some help . I m using this script to make an outbound call and return the status ,How can i make this asynchronous like using bgapi or using execute on answer and run new script but i will still be needing want info about the session in that new script. this_sess = freeswitch.Session("{ignore_early_media=true,setAutoHangup=false,originate_timeout=20,origination_caller_id_number="..callerid.."}sofia/gateway/proxy-301/"..phno) -- Brian West brian at freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160129/0b3e4157/attachment.html From randhawaay at gmail.com Fri Jan 29 18:12:41 2016 From: randhawaay at gmail.com (Shan Randhawa) Date: Fri, 29 Jan 2016 20:12:41 +0500 Subject: [Freeswitch-users] Async Call In-Reply-To: <453c01d15aa4$ccb1b630$66152290$@freeswitch.org> References: <453c01d15aa4$ccb1b630$66152290$@freeswitch.org> Message-ID: Thanks for the genrous reply. I will try both bgapi and execute_on_answer and see if it works or not.I will post whatever method or approach works. Regards, Shan Randhawa On Fri, Jan 29, 2016 at 7:53 PM, Ken Rice wrote: > Originate the call with api or bgapi originate, then use the xml or json > CDR modules to post the results to the webservice > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Shan > Randhawa > *Sent:* Friday, January 29, 2016 8:38 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Async Call > > > > My goal is to make an asynchronous call and then return the hangup cause > or the uuid of the session to php script on xampp server. > > > > > > > > > > On Fri, Jan 29, 2016 at 7:28 PM, Brian West wrote: > > What is you goal? > > > > On Friday, January 29, 2016, Shan Randhawa wrote: > > Respected all, > > > > > I need some help . > > > > I m using this script to make an outbound call and return the status ,How > can i make this asynchronous like using bgapi or using execute on answer > and run new script > > > > but i will still be needing want info about the session in that new > script. > > > > this_sess = > freeswitch.Session("{ignore_early_media=true,setAutoHangup=false,originate_timeout=20,origination_caller_id_number="..callerid.."}sofia/gateway/proxy-301/"..phno) > > > > > > > > > > -- > > *Brian West* > brian at freeswitch.org > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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/20160129/9b45deb2/attachment-0001.html From lexxua at gmail.com Fri Jan 29 21:09:28 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Fri, 29 Jan 2016 19:09:28 +0100 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> Message-ID: Hi all. From behind, we used OpenVz container and freeswitch 1.4 without any performance impact. Stats 300-500 calls, cps around 10-15 without transcoding, but sometimes record-session was involved. Actually, it depends on transcoding, dtmf-conversion, conferencing. On Jan 29, 2016 9:29 AM, "Marcel Haldemann" wrote: > I just can say: > We are running a LIVE System over 1 Year now using FreeSwitch 1.4/1.6 > virtualized using VMWare ESXi 5.x without any issues. > > -----Urspr?ngliche Nachricht----- > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Dan Edwards > Gesendet: Donnerstag, 28. Januar 2016 22:15 > An: freeswitch-users at lists.freeswitch.org > Betreff: [Freeswitch-users] FreeSWITCH in virtual environments > > I am reviewing the Confluence Virtualization page and had some questions, > in particular about VMWare. My company distributes some of its software as > a VMWare image file and we were looking to distribute a new product using > FS in the same manner. The products operate at a customer premise, on their > VMWare infrastructure, not in a cloud environment. Since our customers > already have VMWare, switching to a different VM infrastructure is going to > hurt, so I am looking for options/alternatives. > > First, does anybody know if the virtual timing issues with VMWare have > improved since this page was last updated in 2014? Is VMWare still not good > enough? Is it possible to throw CPU & memory at this and make VMWare good > enough, or is the virtual timing just not workable? > > On the virtualization page, there was a comment from 2010 that you might > be happy with a High CPU Medium instance on AWS EC2. Certainly workload is > a factor here, but I am trying to get my head around how big a machine to > perform how small a workload. Is there a place where people talk about > their experiences? > > Are there other VM platforms that might be acceptable? > > Any help or comment is appreciated. > > Thank you, > Dan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160129/156dc501/attachment.html From mylists at polite.se Fri Jan 29 21:36:05 2016 From: mylists at polite.se (Oivvio Polite) Date: Fri, 29 Jan 2016 19:36:05 +0100 Subject: [Freeswitch-users] Checking which codecs a SIP-Trunk provides. In-Reply-To: <007a01d15a4f$f042c940$d0c85bc0$@botecomm.com> References: <20160126202904.GB7193@blomma.liberationtech.net> <007a01d15a4f$f042c940$d0c85bc0$@botecomm.com> Message-ID: <20160129183605.GA20393@blomma.liberationtech.net> On Thu, Jan 28, 2016 at 11:45:54PM -0500, Bote Man wrote: > I believe you should enable siptrace and review the messages sent by the > provider. (This is the same method that I used to determine the proper > field/information element send by CallCentric containing my DID so that I > could route the call properly in my dialplan.) > > In fs_cli type > > sofia global siptrace on > -- or -- > sofia profile sillytel siptrace on /* assuming the sip profile used to reach > your provider is named "sillytel"; this eliminates extraneous SIP messages > from your trace */ > > Now place test calls inbound or outbound or both as needed. > > When you have seen enough type > sofia global siptrace off Thanks! I'll start experimenting with this. > > You then have much homework to do :-) I'm ready do dig in. Oivvio Polite From mario_fs at mgtech.com Fri Jan 29 22:00:00 2016 From: mario_fs at mgtech.com (Mario G) Date: Fri, 29 Jan 2016 11:00:00 -0800 Subject: [Freeswitch-users] RingBack for PSTN call In-Reply-To: <00c001d15aa0$6b46e310$41d4a930$@botecomm.com> References: <1454055530363-7596199.post@n2.nabble.com> <00c001d15aa0$6b46e310$41d4a930$@botecomm.com> Message-ID: Boteman is right, the first thing to check with your ITSP is whether early media can be changed by you. I use custom ringback for everything, it even announces the persons name, plays music and provides info. This works for all callers, from cell, PSTN, etc. I had two ITSP that supported early media change, then one ?upgraded? their system and it stopped working. When I called and their senior techs didn?t know what early media was I dropped them. I use Callcentric and they support it. FYI? see the timeout stuff I added to the wiki a couple of years back for an example (the whole thing is early media up until voicemail (you have to answer for that): https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_local_stream-ExecutionParameters > On Jan 29, 2016, at 6:22 AM, Bote Man wrote: > > That is because you set that custom ringback tone in the part of the > dialplan that executes for local extension calls. > > Determine which matches calls to the PSTN and set the ringback > tone inside that block. Different parts of the dialplan will be > matched and executed for different calls. > > But in some cases the PSTN provider might not send the necessary signaling > back to FreeSWITCH to play that tone, so you might be disappointed. Nothing > FS can do about that, I'm afraid. > > > --- > Bote > > FreeSWITCH Docs Janitor > http://freeswitch.org/confluence > > > > > >> -----Original Message----- >> From: ankitdoshi >> Sent: Friday, 29 January, 2016 03:19 >> Subject: [Freeswitch-users] RingBack for PSTN call >> >> Hello, >> >> I want to set .wav as ringback tone for PSTN call, like caller tune. I > have >> implemented it partially for local calls by getting idea from here, >> https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones >> >> i have set the param like this, $xml .=" data=\"ringback=/usr/local/freeswitch/sounds/en/us/callie/astpp-menu.wav\"/> > "; >> before bridge line in dialplan. >> >> This works with local calls , but when i dial PSTN call then i hear only >> ring tone and not my set .wav audio. >> Any suggestions are welcome. >> >> Thanks. >> >> >> >> ----- >> Thanks >> Ankit Doshi >> -- >> View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/RingBack-for-PSTN-call-tp75961 > 99.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 kheimerl at cs.berkeley.edu Fri Jan 29 22:08:58 2016 From: kheimerl at cs.berkeley.edu (Kurtis Heimerl) Date: Fri, 29 Jan 2016 11:08:58 -0800 Subject: [Freeswitch-users] Resetting FS call counters Message-ID: Hello All, I'd like to gather statistics about call failures. FS already does this for gateways: freeswitch at internal> sofia status external Profile::Gateway-Name Data State Ping Time IB Calls(F/T) OB Calls(F/T) ================================================================================================= NAME::NAME sip:FreeSWITCH at IP_ADDRESS NOREG 0.00 0/0 290/453 ================================================================================================= 1 gateway: *Inbound(Failed/Total): 0/0,Outbound(Failed/Total):290/453* However, this statistic is already aggregated and I'd like it in time series. Is there a way to reset it to zero after a lookup in order to figure out how many calls have happened since the last query? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/2322afa7/attachment.html From brian at freeswitch.org Fri Jan 29 22:35:07 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 29 Jan 2016 13:35:07 -0600 Subject: [Freeswitch-users] Resetting FS call counters In-Reply-To: References: Message-ID: Restart the profile is the only thing you can do currently. On Fri, Jan 29, 2016 at 1:08 PM, Kurtis Heimerl wrote: > Hello All, > > I'd like to gather statistics about call failures. FS already does this > for gateways: > > freeswitch at internal> sofia status external > Profile::Gateway-Name Data > State Ping Time IB Calls(F/T) OB Calls(F/T) > > ================================================================================================= > NAME::NAME sip:FreeSWITCH at IP_ADDRESS NOREG > 0.00 0/0 290/453 > > ================================================================================================= > 1 gateway: *Inbound(Failed/Total): 0/0,Outbound(Failed/Total):290/453* > > However, this statistic is already aggregated and I'd like it in time > series. > > Is there a way to reset it to zero after a lookup in order to figure out > how many calls have happened since the last 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 > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160129/0c34c525/attachment-0001.html From peter at hartmanncomputer.com Fri Jan 29 22:41:29 2016 From: peter at hartmanncomputer.com (Peter Hartmann) Date: Fri, 29 Jan 2016 14:41:29 -0500 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: <008001d1598c$ef0aa200$cd1fe600$@botecomm.com> References: <008001d1598c$ef0aa200$cd1fe600$@botecomm.com> Message-ID: I just did a packet capture of a mod_esf call. What I'm seeing is not a lot compared to a polycom page capture. In the mod_esf cap, I just a handful of packets of protocol IGMPv3. Regardless of my config: They are being sent to the wrong destination address 224.0.0.22. And curiously, I see my destination address being used as the group. (see attachment) I don't see this 224.0.0.22 address in the source for mod_esf at all....I wonder where that's coming from? In the polycom capture, there are no such IGMP packets, just UDP. Although I do realize that it's supposed to do a few different broadcast types from different manufacturers all at once. Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. On Thu, Jan 28, 2016 at 12:30 AM, Bote Man wrote: > Perhaps you are being led astray by the term ?multicast group? in the > usage prototype. That is simply the multicast address, such as 239.1.1.1 > > > > FIXED! > > > > IGMP = Internet Group Management Protocol which is where that came from. > > > > I have used mod_esf to send multicast streams to devices manufactured by > one of my clients and it worked swimmingly with only the multicast address > and port being the fields that mattered. Thanks to a change by anthm you > can even add it to the conference bridge if you want both regular SIP calls > and pages to be combined into one group announcement. > > > > With a phone there?s no telling what else they might require to light it > up for a multicast announcement. Somebody was just asking a very similar > question here last week for a different phone. If the phone requires some > control signal or command to open up the speaker for a multicast > announcement to follow, then I don?t think FS does that right now. It might > be worth scouring Polycom documentation to see if they reveal any secrets. > > > > * * * > > I really wish the order of the arguments were > > Address, port, TTL, [other stuff] > > So that ?other stuff? could?ve been made optional. I have never gotten a > clear definition of what that Linksys control port does, but my research > revealed that it was likely carried over from an Asterisk compatibility > feature. > > > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Peter > Hartmann > *Sent:* Wednesday, 27 January, 2016 22:27 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] mod_esf with polycom > > > > Thanks Brian. Yes, I've tried it. It looks promising though, since I can > see some of the default polycom settings defined in variables. Nothing > about group is mentioned...so maybe it's going to the default group? I > have a feeling I'll be doing a packet capture on a group-25 (emergency) > broadcast to see what it does. > > > > > > Peter Hartmann > Hartmann Computer Consulting > http://blog.hartmanncomputer.com > (212)203-8870 > > If I can't explain it to you in plain language, that means I don't > understand it. > > > > On Wed, Jan 27, 2016 at 10:03 PM, Brian West wrote: > > I'll review the source in the morning and verify if it's documented > correctly. > > > > On Wednesday, January 27, 2016, Brian West wrote: > > Have you tried it? It should just work if I recall correctly. > > On Wednesday, January 27, 2016, Peter Hartmann > wrote: > > Hey, how do you use mod_esf with Polycom? The source suggests that > it's supported, but the arguments in the documentation seem specific > to Linksys. From using the feature directly from a handset, I imagine > we have to pass multicast-address, multicast-port and group-number. > I've tried every combination and permutation with no luck. > > The reason I'm doing this is because if the emergency group number is > used, the announcements will be at full volume regardless of the > hands-free volume setting. > > And also I'm looking to do this in FS because I'm bridging in another > PA system also. > > > Thanks, > > > Peter Hartmann > Hartmann Computer Consulting > http://blog.hartmanncomputer.com > (212)203-8870 > > If I can't explain it to you in plain language, that means I don't > understand it. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > > > -- > > *Brian West* > brian at freeswitch.org > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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/20160129/d2bcd0ca/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-01-29 at 2.25.48 PM.png Type: image/png Size: 16820 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/d2bcd0ca/attachment-0001.png From llribeiro90 at gmail.com Fri Jan 29 22:53:41 2016 From: llribeiro90 at gmail.com (Leonardo Ribeiro) Date: Fri, 29 Jan 2016 17:53:41 -0200 Subject: [Freeswitch-users] Simple LuaScript to Record Session Failing In-Reply-To: References: Message-ID: Hello Guys, Any idea? I could not evolve this yet... Thank you, 2016-01-28 18:52 GMT-02:00 Leonardo Lima Ribeiro : > Hello all, > > I?m trying to record an IVR using my gateway to do the outbound call in my > luascript: > > local new_session = > freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/ > 3157244022", session); > > new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav") > new_session:sleep("10000") > new_session:hangup() > > So in the above script I just call to the Bank Of America as an example > and try to record the first 10 seconds of the call in the recordings path. > > The problem is that I have an empty recording file.. Why? > > The funny thing is: if I add this command after the record_session > command: > new_session:streamFile("voicemail/vm-goodbye.wav?); > > And then this is the entire new script: > local new_session = > freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/ > 3157244022", session); > > new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav?) > new_session:streamFile("voicemail/vm-goodbye.wav?); > new_session:sleep("10000") > new_session:hangup() > > I can hear the Good Bye sound from my script and then hear the Bank of > America IVR. > > I just don?t understand why the record works if I play a sound in our side > and the record does not work if I don?t play any sound. > > Do you know what?s happening? How can I solve this? > > Thank you! > > -- Leonardo Lima Ribeiro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/5173c571/attachment.html From omortimer at gmail.com Fri Jan 29 23:31:46 2016 From: omortimer at gmail.com (Oz Mortimer) Date: Fri, 29 Jan 2016 20:31:46 +0000 Subject: [Freeswitch-users] Simple LuaScript to Record Session Failing In-Reply-To: References: Message-ID: since this is a single left call try setting record_stereo to false - https://wiki.freeswitch.org/wiki/Variable_RECORD_STEREO I'm probably wrong, but worth a shot! > On 29 Jan 2016, at 19:53, Leonardo Ribeiro wrote: > > Hello Guys, > > Any idea? > I could not evolve this yet... > > Thank you, > > 2016-01-28 18:52 GMT-02:00 Leonardo Lima Ribeiro : >> Hello all, >> >> I?m trying to record an IVR using my gateway to do the outbound call in my luascript: >> >> local new_session = freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/3157244022", session); >> new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav") >> new_session:sleep("10000") >> new_session:hangup() >> >> So in the above script I just call to the Bank Of America as an example and try to record the first 10 seconds of the call in the recordings path. >> >> The problem is that I have an empty recording file.. Why? >> >> The funny thing is: if I add this command after the record_session command: >> new_session:streamFile("voicemail/vm-goodbye.wav?); >> >> And then this is the entire new script: >> local new_session = freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/3157244022", session); >> new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav?) >> new_session:streamFile("voicemail/vm-goodbye.wav?); >> new_session:sleep("10000") >> new_session:hangup() >> >> I can hear the Good Bye sound from my script and then hear the Bank of America IVR. >> >> I just don?t understand why the record works if I play a sound in our side and the record does not work if I don?t play any sound. >> >> Do you know what?s happening? How can I solve this? >> >> Thank you! > > > > -- > Leonardo Lima Ribeiro > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160129/7381367b/attachment.html From omortimer at gmail.com Sat Jan 30 00:15:51 2016 From: omortimer at gmail.com (Oz Mortimer) Date: Fri, 29 Jan 2016 21:15:51 +0000 Subject: [Freeswitch-users] Resetting FS call counters In-Reply-To: References: Message-ID: <55A73338-A41A-49D0-930C-39B4D8BF5B20@gmail.com> Isn't processing cdrs the correct approach? > On 29 Jan 2016, at 19:35, Brian West wrote: > > Restart the profile is the only thing you can do currently. > >> On Fri, Jan 29, 2016 at 1:08 PM, Kurtis Heimerl wrote: >> Hello All, >> >> I'd like to gather statistics about call failures. FS already does this for gateways: >> >> freeswitch at internal> sofia status external >> Profile::Gateway-Name Data State Ping Time IB Calls(F/T) OB Calls(F/T) >> ================================================================================================= >> NAME::NAME sip:FreeSWITCH at IP_ADDRESS NOREG 0.00 0/0 290/453 >> ================================================================================================= >> 1 gateway: Inbound(Failed/Total): 0/0,Outbound(Failed/Total):290/453 >> >> However, this statistic is already aggregated and I'd like it in time series. >> >> Is there a way to reset it to zero after a lookup in order to figure out how many calls have happened since the last 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 > > > > -- > Brian West > brian at freeswitch.org > > > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here! | 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/20160129/75a31d09/attachment-0001.html From blasterjr at gmail.com Sat Jan 30 00:40:51 2016 From: blasterjr at gmail.com (Chris Tunbridge) Date: Fri, 29 Jan 2016 14:40:51 -0700 Subject: [Freeswitch-users] Resetting FS call counters In-Reply-To: <55A73338-A41A-49D0-930C-39B4D8BF5B20@gmail.com> References: <55A73338-A41A-49D0-930C-39B4D8BF5B20@gmail.com> Message-ID: Another option is to track the last value of the failed calls, and then take the new number - old number of failed and you get "failed since last check", then if new is ever less than old, treat the new number as the failed since last check. On Fri, Jan 29, 2016 at 2:15 PM, Oz Mortimer wrote: > Isn't processing cdrs the correct approach? > > On 29 Jan 2016, at 19:35, Brian West wrote: > > Restart the profile is the only thing you can do currently. > > On Fri, Jan 29, 2016 at 1:08 PM, Kurtis Heimerl > wrote: > >> Hello All, >> >> I'd like to gather statistics about call failures. FS already does this >> for gateways: >> >> freeswitch at internal> sofia status external >> Profile::Gateway-Name Data >> State Ping Time IB Calls(F/T) OB Calls(F/T) >> >> ================================================================================================= >> NAME::NAME sip:FreeSWITCH at IP_ADDRESS NOREG >> 0.00 0/0 290/453 >> >> ================================================================================================= >> 1 gateway: *Inbound(Failed/Total): 0/0,Outbound(Failed/Total):290/453* >> >> However, this statistic is already aggregated and I'd like it in time >> series. >> >> Is there a way to reset it to zero after a lookup in order to figure out >> how many calls have happened since the last 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 >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > > Got Bugs? Report them here ! | 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/20160129/41d0e8f7/attachment.html From mandra at gmail.com Sat Jan 30 01:11:54 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 29 Jan 2016 17:11:54 -0500 Subject: [Freeswitch-users] Routing and multicast question In-Reply-To: References: Message-ID: Hey gang, any ideas on this? On Thursday, January 28, 2016, Chris Mandra wrote: > Hi guys - I have a question: I want an endpoint sending an audio RTP > stream to freeswitch, which freeswitch is transcoding and then sending the > transcoded RTP stream to another device on my network from which I then > want to send back INTO freeswitch before sending to the 2nd endpoint. I?d > like the stream from freeswitch to the other device on my network to be a > multicast RTP stream. What?s the best way to do this? > thanks! > chris > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/b2700e9d/attachment.html From olegstolyar at gmail.com Sat Jan 30 01:32:19 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 29 Jan 2016 14:32:19 -0800 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection Message-ID: Hi guys, does anyone have experience using different codecs to reduce choppiness and metallic/robotic sound when connecting to FreeSWITCH from a mobile device? I know both OPUS and G.722 have packet loss concealment but I wonder if someone actually has practical experience with different codecs over iffy mobile connections. OPUS vs. G.722 vs G.711 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/b8c316fa/attachment.html From chad at apartmentlines.com Sat Jan 30 05:36:23 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 29 Jan 2016 19:36:23 -0700 Subject: [Freeswitch-users] Simple LuaScript to Record Session Failing In-Reply-To: References: Message-ID: have you tried the session method specifically for recording files? https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-session:recordFile or if that doesn't work, maybe this: local new_session = freeswitch.Session("someoriginatestring", session); uuid = new_session:get_uuid() api = freeswitch.API() reply = api:executeString("uuid_record " .. uuid .. " start " .. filepath) On Fri, Jan 29, 2016 at 1:31 PM, Oz Mortimer wrote: > since this is a single left call try setting record_stereo to false - > https://wiki.freeswitch.org/wiki/Variable_RECORD_STEREO > I'm probably wrong, but worth a shot! > > On 29 Jan 2016, at 19:53, Leonardo Ribeiro wrote: > > Hello Guys, > > Any idea? > I could not evolve this yet... > > Thank you, > > 2016-01-28 18:52 GMT-02:00 Leonardo Lima Ribeiro : > >> Hello all, >> >> I?m trying to record an IVR using my gateway to do the outbound call in >> my luascript: >> >> local new_session = >> freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/ >> 3157244022", session); >> >> new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav") >> new_session:sleep("10000") >> new_session:hangup() >> >> So in the above script I just call to the Bank Of America as an example >> and try to record the first 10 seconds of the call in the recordings path. >> >> The problem is that I have an empty recording file.. Why? >> >> The funny thing is: if I add this command after the record_session >> command: >> new_session:streamFile("voicemail/vm-goodbye.wav?); >> >> And then this is the entire new script: >> local new_session = >> freeswitch.Session("[origination_caller_id_name=?987654321',origination_caller_id_number=?987654321']sofia/gateway/MY_GATEWAY/ >> 3157244022", session); >> >> new_session:execute("record_session","/usr/local/freeswitch/recordings/myrecording.wav?) >> new_session:streamFile("voicemail/vm-goodbye.wav?); >> new_session:sleep("10000") >> new_session:hangup() >> >> I can hear the Good Bye sound from my script and then hear the Bank of >> America IVR. >> >> I just don?t understand why the record works if I play a sound in our >> side and the record does not work if I don?t play any sound. >> >> Do you know what?s happening? How can I solve this? >> >> Thank you! >> >> > > > -- > Leonardo Lima Ribeiro > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160129/685ca44f/attachment-0001.html From servtelar at gmail.com Sat Jan 30 06:00:41 2016 From: servtelar at gmail.com (servtelar) Date: Fri, 29 Jan 2016 22:00:41 -0500 Subject: [Freeswitch-users] FreeSWITCH in virtual environments In-Reply-To: References: <1ECCD30B07AF6E4EB58BC5F1E9FFF981C9979B74@PHXEX2.vertical.com> <88218521-FB01-4698-9DBF-625D99E8BC79@gmail.com> Message-ID: <58E2C5C4-87FF-4E01-8048-6C39B9362B02@gmail.com> Thanks a lot guys for sharing this info. It?s really helpful. > On Jan 28, 2016, at 6:18 PM, Sergey Safarov wrote: > > We have to core ESXi vm with 140 session (70 calls) with have 70 CPU load. > > Sergey > > On Fri, Jan 29, 2016 at 2:01 AM, servtelar > wrote: > Hi Chad > > How many legs you are handling with 20 cores on a conference? > > Regards > > Gustavo > >> On Jan 28, 2016, at 7:55 PM, Chad Phillips > wrote: >> >> I've had very good luck running the newer video branch code on ProfitBricks: https://www.profitbricks.com/ >> >> As far as I understand, the CPU cycles are guaranteed on their platform. I've had to put as many as 20 cores on a server to handle some of our busier video conference calls, but with that it runs quite smoothly. >> >> On Thu, Jan 28, 2016 at 2:15 PM, Dan Edwards > wrote: >> I am reviewing the Confluence Virtualization page and had some questions, in particular about VMWare. My company distributes some of its software as a VMWare image file and we were looking to distribute a new product using FS in the same manner. The products operate at a customer premise, on their VMWare infrastructure, not in a cloud environment. Since our customers already have VMWare, switching to a different VM infrastructure is going to hurt, so I am looking for options/alternatives. >> >> First, does anybody know if the virtual timing issues with VMWare have improved since this page was last updated in 2014? Is VMWare still not good enough? Is it possible to throw CPU & memory at this and make VMWare good enough, or is the virtual timing just not workable? >> >> On the virtualization page, there was a comment from 2010 that you might be happy with a High CPU Medium instance on AWS EC2. Certainly workload is a factor here, but I am trying to get my head around how big a machine to perform how small a workload. Is there a place where people talk about their experiences? >> >> Are there other VM platforms that might be acceptable? >> >> Any help or comment is appreciated. >> >> Thank you, >> Dan >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160129/51a13991/attachment.html From ssinyagin at gmail.com Sat Jan 30 07:26:40 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 30 Jan 2016 05:26:40 +0100 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection In-Reply-To: References: Message-ID: add SILK to the list (it's actually what Skype uses), and jitter buffer. but I don't have much practical experience. The quality of the sound depends also on the particular SIP client implementation. On Fri, Jan 29, 2016 at 11:32 PM, Oleg Stolyar wrote: > Hi guys, > > does anyone have experience using different codecs to reduce choppiness and > metallic/robotic sound when connecting to FreeSWITCH from a mobile device? > > I know both OPUS and G.722 have packet loss concealment but I wonder if > someone actually has practical experience with different codecs over iffy > mobile connections. > > OPUS vs. G.722 vs G.711 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sat Jan 30 07:29:01 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 30 Jan 2016 05:29:01 +0100 Subject: [Freeswitch-users] Routing and multicast question In-Reply-To: References: Message-ID: first of all, do you really need multicast? FreeSWITCH is able to send multicast RTP, but only in PCMU codec as far as I remember. The rest is solved by standard dialplan rules, so what is exactly your question? On Fri, Jan 29, 2016 at 11:11 PM, Chris Mandra wrote: > Hey gang, any ideas on this? > > > On Thursday, January 28, 2016, Chris Mandra wrote: >> >> Hi guys - I have a question: I want an endpoint sending an audio RTP >> stream to freeswitch, which freeswitch is transcoding and then sending the >> transcoded RTP stream to another device on my network from which I then want >> to send back INTO freeswitch before sending to the 2nd endpoint. I?d like >> the stream from freeswitch to the other device on my network to be a >> multicast RTP stream. What?s the best way to do this? >> >> thanks! >> chris > > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Sat Jan 30 08:40:31 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 29 Jan 2016 21:40:31 -0800 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection In-Reply-To: References: Message-ID: Thanks Stanislav! I understand that jitter buffer is not necessarily codec dependent and that SILK is actually the foundation of Opus, so I assume their quality is comparable. On Fri, Jan 29, 2016 at 8:26 PM, Stanislav Sinyagin wrote: > add SILK to the list (it's actually what Skype uses), and jitter buffer. > > but I don't have much practical experience. > > The quality of the sound depends also on the particular SIP client > implementation. > > > > On Fri, Jan 29, 2016 at 11:32 PM, Oleg Stolyar > wrote: > > Hi guys, > > > > does anyone have experience using different codecs to reduce choppiness > and > > metallic/robotic sound when connecting to FreeSWITCH from a mobile > device? > > > > I know both OPUS and G.722 have packet loss concealment but I wonder if > > someone actually has practical experience with different codecs over iffy > > mobile connections. > > > > OPUS vs. G.722 vs G.711 > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://confluence.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160129/c2ebf494/attachment-0001.html From s.safarov at gmail.com Sat Jan 30 11:22:56 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 30 Jan 2016 11:22:56 +0300 Subject: [Freeswitch-users] sips uri originate Message-ID: Please tell me how to make a call with sips uri I has tried execute originate like "originate sofia/internal/ sips:2345 at example.com;transport=tls &park()" but INVITE has "sip" uri whatever. I has looked sofia_glue_do_invite function on src/mod/endpoints/mod_sofia/sofia_glue.c and try several cases but no luck. Please suggest me correct way to use sips in INVITE, From, To, Contact headers. P.S. I want avoid use manually create sip_invite_to_uri, sip_invite_from_uri and similar variables. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/6d829b17/attachment.html From mic.niel84 at gmail.com Sat Jan 30 11:23:08 2016 From: mic.niel84 at gmail.com (Michael Nielsen) Date: Sat, 30 Jan 2016 09:23:08 +0100 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: <009c01d15333$b95e5660$2c1b0320$@botecomm.com> References: <009c01d15333$b95e5660$2c1b0320$@botecomm.com> Message-ID: The reason for using loopback is that I'm not sure if the dialed number is and external or internal number. The auto dialed number is dynamic and can be everyone from 1 number to many numbers. Both internal and external numbers all matches real phone numbers ex. +44223849591. So I have another dial plan which examinate numbers and route them accordingly - and appends country code if necessary etc. On Wednesday, January 20, 2016, Bote Man wrote: > I?m not sure that you need to use the loopback special channel to > accomplish this. What happens if you simply set > > > > > > > > > > ?and let FreeSWITCH do its normal routing? I think the loopback might be > complicating matters. The above lines work for me, anyway. > > > > I think under the hood the auto_outcall simply stacks up originate > commands so if the plain outside telephone number doesn?t work as-is, try > sofia/gateway-name-here/3438773 or variations on that syntax to see if > that works. > > > > There?s a possibility that you?re overthinking this with the loopback > channel* J > > > > Hope this helps. > > > > * We must always keep in mind that loopback is evil. Amen. > > > > --- > > Bote > > > > FreeSWITCH Docs Janitor > > http://freeswitch.org/confluence > > > > > > > > > > *From:* Michael Nielsen > *Sent:* Tuesday, 19 January, 2016 10:51 > *Subject:* Re: [Freeswitch-users] loopback/XYZ doesn't contain variables > from channel > > > > My reason for this question is that I'm using the conference module, and > are trying to data="loopback/1001,loopback/1002,loopback/3438773"/> > > > > 2 of the called numbers should be handled internally and 1 should be going > through my sip provider. > > So I need all 3 of them to be handled from the top of my dial plan - with > the correct variables set. > > > > > > > > On Fri, Jan 15, 2016 at 2:16 PM, Michael Nielsen > wrote: > > I've tried that as well. > > CLI shows: > > Dialplan: sofia/internal/+44234987447 at my-domain Action > set(loopback_export=country_code) > > After the loopback the dialplan is as follows: > > Dialplan: loopback/32487477-b Action > set(dialed_number=${country_code} 32487477) INLINE > > EXECUTE loopback/32487477-b set(dialed_number=32487477) > > So +44 is not added, even though the country_code variable is +44 before > the loopback. > > > > > > On Fri, Jan 15, 2016 at 2:10 PM, Michael Jerris > wrote: > > > > > > On Friday, January 15, 2016, Michael Nielsen > wrote: > > I've tried to add: > > data="loopback_export=[country_code=${country_code}]"/> > > > > And my log shows the following: > > set(loopback_export=[country_code=+44]) > > But it still isn't available on the next runthrough of dial plan. > > > > On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > > set > > loopback_export to the names of all of the variables you want to copy > across sep buy a , (comma) > > > > > > On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen > wrote: > > I've got directory with subscribers containing a variable called > "country_code". > > This variable can be used in regular dial plans and works perfectly. > > > > However, I've got a conference call dial plan where I > use conference_set_auto_outcall. > > I'mm calling loopback/XYZ to get my other dial plans into play. > > > > Everything works, except my subscriber variable "country_code" doesn't get > recognised after the loopback/. > > > > How can I fix this kind of issue? > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/cb512823/attachment.html From ssinyagin at gmail.com Sat Jan 30 11:40:27 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Sat, 30 Jan 2016 09:40:27 +0100 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection In-Reply-To: References: Message-ID: Of course jitter buffer is independent from codec, but its functionality affects the quality. Yes SILK is inherited by Opus, but in general SILK is much cheaper in terms of CPU cycles for encoding and decoding. You can see the difference here: https://txlab.wordpress.com/2015/04/10/testing-freeswitch-performance-on-scaleway-c1/ On 30 Jan 2016 06:41, "Oleg Stolyar" wrote: > Thanks Stanislav! > > I understand that jitter buffer is not necessarily codec dependent and > that SILK is actually the foundation of Opus, so I assume their quality is > comparable. > > On Fri, Jan 29, 2016 at 8:26 PM, Stanislav Sinyagin > wrote: > >> add SILK to the list (it's actually what Skype uses), and jitter buffer. >> >> but I don't have much practical experience. >> >> The quality of the sound depends also on the particular SIP client >> implementation. >> >> >> >> On Fri, Jan 29, 2016 at 11:32 PM, Oleg Stolyar >> wrote: >> > Hi guys, >> > >> > does anyone have experience using different codecs to reduce choppiness >> and >> > metallic/robotic sound when connecting to FreeSWITCH from a mobile >> device? >> > >> > I know both OPUS and G.722 have packet loss concealment but I wonder if >> > someone actually has practical experience with different codecs over >> iffy >> > mobile connections. >> > >> > OPUS vs. G.722 vs G.711 >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://confluence.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160130/4b781a22/attachment-0001.html From petedao at gmail.com Sat Jan 30 14:56:49 2016 From: petedao at gmail.com (Pete Kay) Date: Sat, 30 Jan 2016 19:56:49 +0800 Subject: [Freeswitch-users] mod_potaudio eror on opening device In-Reply-To: References: Message-ID: Hi Michael Thanks alot for your reply. portaudio was installed as part of freeswitch. I search and could not find the test program. May I know where I can find this test program to test? P On Mon, Jan 25, 2016 at 4:05 AM, Michael Jerris wrote: > if you build port audio manually do the sample programs work? > > > On Sunday, January 24, 2016, Pete Kay wrote: > >> Hi >> >> >> I am not able to get pa play to work. could someone please >> kindly help me out? I am getting the following ERROR messages: >> >> >> freeswitch at vps57327.vps.ovh.ca> pa play /tmp/running.wav >> >> Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 >> >> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, >> inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869 >> >> Expression 'PaAlsaStream_Configure( stream, inputParameters, >> outputParameters, sampleRate, framesPerBuffer, &inputLatency, >> &outputLatency, &hostBufferSizeMode )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 >> >> 2016-01-24 07:02:32.591002 [ERR] mod_portaudio.c:2428 Error opening >> audio device retrying >> >> Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 >> >> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, >> inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1869 >> >> Expression 'PaAlsaStream_Configure( stream, inputParameters, >> outputParameters, sampleRate, framesPerBuffer, &inputLatency, >> &outputLatency, &hostBufferSizeMode )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 >> >> >> Failed to engage audio device >> >> >> 2016-01-24 07:02:34.090957 [ERR] mod_portaudio.c:2435 Can't open audio >> device >> >> freeswitch at vps57327.vps.ovh.ca> pa outdev #4 >> >> >> outdev set to 4 >> >> >> freeswitch at vps57327.vps.ovh.ca> pa indev #5 >> >> >> indev set to 5 >> >> >> freeswitch at vps57327.vps.ovh.ca> pa play /tmp/running.wav >> >> Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 >> >> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, >> outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872 >> >> Expression 'PaAlsaStream_Configure( stream, inputParameters, >> outputParameters, sampleRate, framesPerBuffer, &inputLatency, >> &outputLatency, &hostBufferSizeMode )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 >> >> 2016-01-24 07:02:51.991013 [ERR] mod_portaudio.c:2428 Error opening >> audio device retrying >> >> Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293 >> >> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, >> outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1872 >> >> Expression 'PaAlsaStream_Configure( stream, inputParameters, >> outputParameters, sampleRate, framesPerBuffer, &inputLatency, >> &outputLatency, &hostBufferSizeMode )' failed in >> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1993 >> >> >> Failed to engage audio device >> >> >> 2016-01-24 07:02:53.491018 [ERR] mod_portaudio.c:2435 Can't open audio >> device >> >> freeswitch at vps57327.vps.ovh.ca> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160130/09bc82a3/attachment.html From bilaln018 at gmail.com Sat Jan 30 20:08:03 2016 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Sat, 30 Jan 2016 22:08:03 +0500 Subject: [Freeswitch-users] [Video Calling Issue][Freeswitch 1.7] Message-ID: Hi Users, I am writing this question after reading old questions and forums, so my problem is i am unable to dial video call using freeswitch 1.7. I have enabled video codecs in var.xml (VP8,H263,H264) and i am using bria sipfone for UA1 and UA2. I am able to dial the normal call but unable to dial video. do i need any further variables to activate video calling? One of my friend told me to shift to FS 1.6 as that provides transcoding. so can anybody help me out. FS Version: 1.7.0 OS: jessie 8 Softphone: Bria Regards Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/fde8e0ad/attachment.html From olegstolyar at gmail.com Sat Jan 30 20:26:28 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Sat, 30 Jan 2016 09:26:28 -0800 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection In-Reply-To: References: Message-ID: Thanks! It's interesting that Silk is less CPU intensive than Opus. However, at this point I would be willing to spend extra CPU cycles if it gets me more consistent call quality on an iffy connection. Anyone has experience with this? On Sat, Jan 30, 2016 at 12:40 AM, Stanislav Sinyagin wrote: > Of course jitter buffer is independent from codec, but its functionality > affects the quality. > > Yes SILK is inherited by Opus, but in general SILK is much cheaper in > terms of CPU cycles for encoding and decoding. > > You can see the difference here: > https://txlab.wordpress.com/2015/04/10/testing-freeswitch-performance-on-scaleway-c1/ > On 30 Jan 2016 06:41, "Oleg Stolyar" wrote: > >> Thanks Stanislav! >> >> I understand that jitter buffer is not necessarily codec dependent and >> that SILK is actually the foundation of Opus, so I assume their quality is >> comparable. >> >> On Fri, Jan 29, 2016 at 8:26 PM, Stanislav Sinyagin >> wrote: >> >>> add SILK to the list (it's actually what Skype uses), and jitter buffer. >>> >>> but I don't have much practical experience. >>> >>> The quality of the sound depends also on the particular SIP client >>> implementation. >>> >>> >>> >>> On Fri, Jan 29, 2016 at 11:32 PM, Oleg Stolyar >>> wrote: >>> > Hi guys, >>> > >>> > does anyone have experience using different codecs to reduce >>> choppiness and >>> > metallic/robotic sound when connecting to FreeSWITCH from a mobile >>> device? >>> > >>> > I know both OPUS and G.722 have packet loss concealment but I wonder if >>> > someone actually has practical experience with different codecs over >>> iffy >>> > mobile connections. >>> > >>> > OPUS vs. G.722 vs G.711 >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160130/66daf248/attachment-0001.html From lexxua at gmail.com Sat Jan 30 20:27:13 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Sat, 30 Jan 2016 18:27:13 +0100 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection In-Reply-To: References: Message-ID: Question is what kind of mobile connection do you use? If it is UMTS/CDMA, so even not compressed codecs like g711u/a or g722 are working fine. Regarding bandwidth usage you have to choose between SILK,Opus or even old one iLBC or GSM. On Sat, Jan 30, 2016 at 9:40 AM, Stanislav Sinyagin wrote: > Of course jitter buffer is independent from codec, but its functionality > affects the quality. > > Yes SILK is inherited by Opus, but in general SILK is much cheaper in > terms of CPU cycles for encoding and decoding. > > You can see the difference here: > https://txlab.wordpress.com/2015/04/10/testing-freeswitch-performance-on-scaleway-c1/ > On 30 Jan 2016 06:41, "Oleg Stolyar" wrote: > >> Thanks Stanislav! >> >> I understand that jitter buffer is not necessarily codec dependent and >> that SILK is actually the foundation of Opus, so I assume their quality is >> comparable. >> >> On Fri, Jan 29, 2016 at 8:26 PM, Stanislav Sinyagin >> wrote: >> >>> add SILK to the list (it's actually what Skype uses), and jitter buffer. >>> >>> but I don't have much practical experience. >>> >>> The quality of the sound depends also on the particular SIP client >>> implementation. >>> >>> >>> >>> On Fri, Jan 29, 2016 at 11:32 PM, Oleg Stolyar >>> wrote: >>> > Hi guys, >>> > >>> > does anyone have experience using different codecs to reduce >>> choppiness and >>> > metallic/robotic sound when connecting to FreeSWITCH from a mobile >>> device? >>> > >>> > I know both OPUS and G.722 have packet loss concealment but I wonder if >>> > someone actually has practical experience with different codecs over >>> iffy >>> > mobile connections. >>> > >>> > OPUS vs. G.722 vs G.711 >>> > >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > http://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/8079191e/attachment.html From anton.vojlenko at gmail.com Sat Jan 30 22:20:07 2016 From: anton.vojlenko at gmail.com (Anton) Date: Sat, 30 Jan 2016 21:20:07 +0200 Subject: [Freeswitch-users] WebSocket behind NGINX Message-ID: <56AD0CE7.6000607@gmail.com> Hello All, I have to proxy all websocket requests though a nginx server. Right now I am using next configuration: map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 443; server_name wss.somedomain.com.ua; ssl on; ssl_certificate /etc/nginx/cert.pem; ssl_certificate_key /etc/nginx/private.key; location / { proxy_pass http://127.0.0.1:5066; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_read_timeout 86400s; } access_log /var/log/nginx/wss_access; error_log /var/log/nginx/wss_error debug; } I dumped traffic from nginx and found out that "switching protocol" phrase was successful but INVITE message from my browser in pending state. Maybe FreeSWITCH wants real IP not loopback? Who have faced with similar problem? BR, Anton From bote_radio at botecomm.com Sat Jan 30 22:32:59 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sat, 30 Jan 2016 14:32:59 -0500 Subject: [Freeswitch-users] Routing and multicast question In-Reply-To: References: Message-ID: <003a01d15b95$074e4600$15ead200$@botecomm.com> A diagram would help me understand this. Your description confuses me. The only multicast stream that FreeSWITCH can generate is a G.711 mu law codec, so if you are transcoding to that it is possible using the esf_page_group app. You would establish an inbound call to FS using the customary methods and create a dialplan extension that matches that call and executes the esf_page_group app to your destination multicast group and port. Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chris Mandra Sent: Friday, 29 January, 2016 17:12 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Routing and multicast question Hey gang, any ideas on this? On Thursday, January 28, 2016, Chris Mandra wrote: Hi guys - I have a question: I want an endpoint sending an audio RTP stream to freeswitch, which freeswitch is transcoding and then sending the transcoded RTP stream to another device on my network from which I then want to send back INTO freeswitch before sending to the 2nd endpoint. I?d like the stream from freeswitch to the other device on my network to be a multicast RTP stream. What?s the best way to do this? thanks! chris -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/f5b4cdc1/attachment-0001.html From bote_radio at botecomm.com Sat Jan 30 22:32:59 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sat, 30 Jan 2016 14:32:59 -0500 Subject: [Freeswitch-users] mod_esf with polycom In-Reply-To: References: <008001d1598c$ef0aa200$cd1fe600$@botecomm.com> Message-ID: <003f01d15b95$07d0e380$1772aa80$@botecomm.com> At this point I would try specifying all fields whether they are needed or not. Try Where 4 is the TTL; I?m just guessing that maybe these packets must hop through a router or two. The 6061 does not apply, but must be the third argument to get to the fourth argument. What do you mean by ?group?? The arguments specified on the Confluence page are the only ones that control the multicast page application. If Polycom needs additional processing then this app won?t work for you. I have never used Polycom so I can?t say, maybe others on here who have used Polycom could chime in. FYI, the multicast stream is sent out via UDP. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Peter Hartmann Sent: Friday, 29 January, 2016 14:41 Subject: Re: [Freeswitch-users] mod_esf with polycom I just did a packet capture of a mod_esf call. What I'm seeing is not a lot compared to a polycom page capture. In the mod_esf cap, I just a handful of packets of protocol IGMPv3. Regardless of my config: They are being sent to the wrong destination address 224.0.0.22. And curiously, I see my destination address being used as the group. (see attachment) I don't see this 224.0.0.22 address in the source for mod_esf at all....I wonder where that's coming from? In the polycom capture, there are no such IGMP packets, just UDP. Although I do realize that it's supposed to do a few different broadcast types from different manufacturers all at once. Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. On Thu, Jan 28, 2016 at 12:30 AM, Bote Man wrote: Perhaps you are being led astray by the term ?multicast group? in the usage prototype. That is simply the multicast address, such as 239.1.1.1 FIXED! IGMP = Internet Group Management Protocol which is where that came from. I have used mod_esf to send multicast streams to devices manufactured by one of my clients and it worked swimmingly with only the multicast address and port being the fields that mattered. Thanks to a change by anthm you can even add it to the conference bridge if you want both regular SIP calls and pages to be combined into one group announcement. With a phone there?s no telling what else they might require to light it up for a multicast announcement. Somebody was just asking a very similar question here last week for a different phone. If the phone requires some control signal or command to open up the speaker for a multicast announcement to follow, then I don?t think FS does that right now. It might be worth scouring Polycom documentation to see if they reveal any secrets. * * * I really wish the order of the arguments were Address, port, TTL, [other stuff] So that ?other stuff? could?ve been made optional. I have never gotten a clear definition of what that Linksys control port does, but my research revealed that it was likely carried over from an Asterisk compatibility feature. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Peter Hartmann Sent: Wednesday, 27 January, 2016 22:27 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_esf with polycom Thanks Brian. Yes, I've tried it. It looks promising though, since I can see some of the default polycom settings defined in variables. Nothing about group is mentioned...so maybe it's going to the default group? I have a feeling I'll be doing a packet capture on a group-25 (emergency) broadcast to see what it does. Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. On Wed, Jan 27, 2016 at 10:03 PM, Brian West wrote: I'll review the source in the morning and verify if it's documented correctly. On Wednesday, January 27, 2016, Brian West wrote: Have you tried it? It should just work if I recall correctly. On Wednesday, January 27, 2016, Peter Hartmann wrote: Hey, how do you use mod_esf with Polycom? The source suggests that it's supported, but the arguments in the documentation seem specific to Linksys. From using the feature directly from a handset, I imagine we have to pass multicast-address, multicast-port and group-number. I've tried every combination and permutation with no luck. The reason I'm doing this is because if the emergency group number is used, the announcements will be at full volume regardless of the hands-free volume setting. And also I'm looking to do this in FS because I'm bridging in another PA system also. Thanks, Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com (212)203-8870 If I can't explain it to you in plain language, that means I don't understand it. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at 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 Got Bugs? Report them here ! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest -- Brian West brian at freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here ! | 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/20160130/4ad4e247/attachment-0001.html From bote_radio at botecomm.com Sat Jan 30 22:43:08 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sat, 30 Jan 2016 14:43:08 -0500 Subject: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel In-Reply-To: References: <009c01d15333$b95e5660$2c1b0320$@botecomm.com> Message-ID: <004401d15b96$7274e320$575ea960$@botecomm.com> Perhaps your routing is getting complex enough to justify writing a script to do the parsing and routing? I don?t know, just suggesting that as the XML dialplan does have its limitations. It?s entirely possible that the XML dialplan can do it and I simply don?t know what it is; I am by no means a wizard at this. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Michael Nielsen Sent: Saturday, 30 January, 2016 03:23 Subject: Re: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel The reason for using loopback is that I'm not sure if the dialed number is and external or internal number. The auto dialed number is dynamic and can be everyone from 1 number to many numbers. Both internal and external numbers all matches real phone numbers ex. +44223849591. So I have another dial plan which examinate numbers and route them accordingly - and appends country code if necessary etc. On Wednesday, January 20, 2016, Bote Man wrote: I?m not sure that you need to use the loopback special channel to accomplish this. What happens if you simply set ?and let FreeSWITCH do its normal routing? I think the loopback might be complicating matters. The above lines work for me, anyway. I think under the hood the auto_outcall simply stacks up originate commands so if the plain outside telephone number doesn?t work as-is, try sofia/gateway-name-here/3438773 or variations on that syntax to see if that works. There?s a possibility that you?re overthinking this with the loopback channel* J Hope this helps. * We must always keep in mind that loopback is evil. Amen. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence From: Michael Nielsen Sent: Tuesday, 19 January, 2016 10:51 Subject: Re: [Freeswitch-users] loopback/XYZ doesn't contain variables from channel My reason for this question is that I'm using the conference module, and are trying to 2 of the called numbers should be handled internally and 1 should be going through my sip provider. So I need all 3 of them to be handled from the top of my dial plan - with the correct variables set. On Fri, Jan 15, 2016 at 2:16 PM, Michael Nielsen > wrote: I've tried that as well. CLI shows: Dialplan: sofia/internal/+44234987447 at my-domain Action set(loopback_export=country_code) After the loopback the dialplan is as follows: Dialplan: loopback/32487477-b Action set(dialed_number=${country_code} 32487477) INLINE EXECUTE loopback/32487477-b set(dialed_number=32487477) So +44 is not added, even though the country_code variable is +44 before the loopback. On Fri, Jan 15, 2016 at 2:10 PM, Michael Jerris > wrote: On Friday, January 15, 2016, Michael Nielsen > wrote: I've tried to add: And my log shows the following: set(loopback_export=[country_code=+44]) But it still isn't available on the next runthrough of dial plan. On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale > wrote: set loopback_export to the names of all of the variables you want to copy across sep buy a , (comma) On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen > wrote: I've got directory with subscribers containing a variable called "country_code". This variable can be used in regular dial plans and works perfectly. However, I've got a conference call dial plan where I use conference_set_auto_outcall. I'mm calling loopback/XYZ to get my other dial plans into play. Everything works, except my subscriber variable "country_code" doesn't get recognised after the loopback/. How can I fix this kind of issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/d748796a/attachment.html From bote_radio at botecomm.com Sat Jan 30 22:48:09 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sat, 30 Jan 2016 14:48:09 -0500 Subject: [Freeswitch-users] Audio Codecs over Mobile Connection In-Reply-To: References: Message-ID: <004901d15b97$25c9da70$715d8f50$@botecomm.com> If you are using mobile data to set up your own SIP calls, then you are now struggling through the same battles that the cellular carriers conquered for the past 2 decades. L LTE should help greatly with this, as the carriers in the U.S. are moving to send everything over LTE. If it is a mobile voice call, then you are at the mercy of the codec audio that the cellular carrier chose. Bote From: Volodymyr Fedorov Sent: Saturday, 30 January, 2016 12:27 Subject: Re: [Freeswitch-users] Audio Codecs over Mobile Connection Question is what kind of mobile connection do you use? If it is UMTS/CDMA, so even not compressed codecs like g711u/a or g722 are working fine. Regarding bandwidth usage you have to choose between SILK,Opus or even old one iLBC or GSM. On Sat, Jan 30, 2016 at 9:40 AM, Stanislav Sinyagin wrote: Of course jitter buffer is independent from codec, but its functionality affects the quality. Yes SILK is inherited by Opus, but in general SILK is much cheaper in terms of CPU cycles for encoding and decoding. You can see the difference here: https://txlab.wordpress.com/2015/04/10/testing-freeswitch-performance-on-scaleway-c1/ On 30 Jan 2016 06:41, "Oleg Stolyar" wrote: Thanks Stanislav! I understand that jitter buffer is not necessarily codec dependent and that SILK is actually the foundation of Opus, so I assume their quality is comparable. On Fri, Jan 29, 2016 at 8:26 PM, Stanislav Sinyagin wrote: add SILK to the list (it's actually what Skype uses), and jitter buffer. but I don't have much practical experience. The quality of the sound depends also on the particular SIP client implementation. On Fri, Jan 29, 2016 at 11:32 PM, Oleg Stolyar wrote: > Hi guys, > > does anyone have experience using different codecs to reduce choppiness and > metallic/robotic sound when connecting to FreeSWITCH from a mobile device? > > I know both OPUS and G.722 have packet loss concealment but I wonder if > someone actually has practical experience with different codecs over iffy > mobile connections. > > OPUS vs. G.722 vs G.711 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/393ad37e/attachment-0001.html From bordmi at rarus.ru Sat Jan 30 23:19:00 2016 From: bordmi at rarus.ru (=?UTF-8?B?0JHQvtGA0LjRgdC+0LIsINCU0LzQuNGC0YDQuNC5IC8gRG1pdHJpeSBCb3Jpc292?=) Date: Sat, 30 Jan 2016 23:19:00 +0300 Subject: [Freeswitch-users] DTMF capture and early media Message-ID: Hi, All! https://tools.ietf.org/html/rfc3960 has next part: Early media refers to media (e.g., audio and video) that is exchanged before a particular session is accepted by the called user. Within a dialog, early media occurs from the moment the initial INVITE is sent until the User Agent Server (UAS) generates a final response. It may be unidirectional or bidirectional, and can be generated by the caller, the callee, or both. Typical examples of early media generated by the callee are ringing tone and announcements (e.g., queuing status). Early media generated by the caller typically consists of voice commands or dual tone multi-frequency (DTMF) tones to drive interactive voice response (IVR) systems. But I know that in FreeSWITCH in preanswer state I can`t capture DTMF. Why? This part of RFC is conflicting with some other standard? It can be very intresting feature. -- ? ?????????, ??????? ??????? ????? ???????? ?????????? 1?-????? ???. +7 (495) 231-20-02 ???.: 15-94 -- with best regards, Dmitriy Borisov 1C-Rarus Cloud Services tel.: +7 (495) 231-20-02 add.: 15-94 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/07a8b3b0/attachment.html From bote_radio at botecomm.com Sun Jan 31 00:06:19 2016 From: bote_radio at botecomm.com (Bote Man) Date: Sat, 30 Jan 2016 16:06:19 -0500 Subject: [Freeswitch-users] DTMF capture and early media In-Reply-To: References: Message-ID: <005d01d15ba2$1153cff0$33fb6fd0$@botecomm.com> Some (many) carriers only allow one-way audio from the switch to the caller so that you don?t get free phone calls. Early media is the part of the call that is not billed. If they allow the caller to send audio to the switch during this free period it would open them up to fraud. Bote From: Dmitriy Borisov Sent: Saturday, 30 January, 2016 15:19 Subject: [Freeswitch-users] DTMF capture and early media Hi, All! https://tools.ietf.org/html/rfc3960 has next part: Early media refers to media (e.g., audio and video) that is exchanged before a particular session is accepted by the called user. Within a dialog, early media occurs from the moment the initial INVITE is sent until the User Agent Server (UAS) generates a final response. It may be unidirectional or bidirectional, and can be generated by the caller, the callee, or both. Typical examples of early media generated by the callee are ringing tone and announcements (e.g., queuing status). Early media generated by the caller typically consists of voice commands or dual tone multi-frequency (DTMF) tones to drive interactive voice response (IVR) systems. But I know that in FreeSWITCH in preanswer state I can`t capture DTMF. Why? This part of RFC is conflicting with some other standard? It can be very intresting feature. -- ? ?????????, ??????? ??????? ????? ???????? ?????????? 1?-????? ???. +7 (495) 231-20-02 ???.: 15-94 -- with best regards, Dmitriy Borisov 1C-Rarus Cloud Services tel.: +7 (495) 231-20-02 add.: 15-94 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160130/d2ab11f9/attachment.html From s.safarov at gmail.com Sun Jan 31 00:23:23 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 31 Jan 2016 00:23:23 +0300 Subject: [Freeswitch-users] DTMF capture and early media In-Reply-To: <005d01d15ba2$1153cff0$33fb6fd0$@botecomm.com> References: <005d01d15ba2$1153cff0$33fb6fd0$@botecomm.com> Message-ID: Part of dialplan FS output 2016-01-31 00:20:24.399711 [DEBUG] switch_rtp.c:6865 RTP RECV DTMF 1:1600 2016-01-31 00:20:24.399711 [INFO] switch_channel.c:502 RECV DTMF 1:1600 2016-01-31 00:20:24.819718 [DEBUG] switch_rtp.c:6865 RTP RECV DTMF 2:1600 2016-01-31 00:20:24.819718 [INFO] switch_channel.c:502 RECV DTMF 2:1600 2016-01-31 00:20:25.159703 [DEBUG] switch_rtp.c:6865 RTP RECV DTMF 3:1600 2016-01-31 00:20:25.159703 [INFO] switch_channel.c:502 RECV DTMF 3:1600 2016-01-31 00:20:25.539688 [DEBUG] switch_rtp.c:6865 RTP RECV DTMF 4:1600 2016-01-31 00:20:25.539688 [INFO] switch_channel.c:502 RECV DTMF 4:1600 2016-01-31 00:20:25.819704 [DEBUG] switch_rtp.c:6865 RTP RECV DTMF 5:1600 2016-01-31 00:20:25.819704 [INFO] switch_channel.c:502 RECV DTMF 5:1600 EXECUTE sofia/internal/1001 at 91.103.196.13 log(INFO captured digits 12345) 2016-01-31 00:20:25.819704 [INFO] mod_dptools.c:1692 captured digits 12345 On Sun, Jan 31, 2016 at 12:06 AM, Bote Man wrote: > Some (many) carriers only allow one-way audio from the switch to the > caller so that you don?t get free phone calls. Early media is the part of > the call that is not billed. If they allow the caller to send audio to the > switch during this free period it would open them up to fraud. > > > > Bote > > > > > > *From:* Dmitriy Borisov > *Sent:* Saturday, 30 January, 2016 15:19 > *Subject:* [Freeswitch-users] DTMF capture and early media > > > > Hi, All! > > https://tools.ietf.org/html/rfc3960 has next part: > Early media refers to media (e.g., audio and video) that is exchanged > > before a particular session is accepted by the called user. Within a > > dialog, early media occurs from the moment the initial INVITE is sent > > until the User Agent Server (UAS) generates a final response. It may > > be unidirectional or bidirectional, and can be generated by the > > caller, the callee, or both. Typical examples of early media generated by > the callee are ringing tone and announcements (e.g., > > queuing status). Early media generated by the caller typically > > consists of voice commands or dual tone multi-frequency (DTMF) tones > > to drive interactive voice response (IVR) systems. > > But I know that in FreeSWITCH in preanswer state I can`t capture DTMF. Why? > This part of RFC is conflicting with some other standard? It can be very intresting feature. > > > -- > > ? ?????????, > > ??????? ??????? > > ????? ???????? ?????????? 1?-????? > > ???. +7 (495) 231-20-02 ???.: 15-94 > > -- > > with best regards, > > Dmitriy Borisov > > 1C-Rarus Cloud Services > > tel.: +7 (495) 231-20-02 add.: 15-94 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160131/5f0f5785/attachment-0001.html From pskoul at gmail.com Sun Jan 31 20:22:41 2016 From: pskoul at gmail.com (Panagiotis Skoulikaritis) Date: Sun, 31 Jan 2016 19:22:41 +0200 Subject: [Freeswitch-users] extra header account code is not written to cdr if cancel is received a few ms after invite Message-ID: <56AE42E1.3080703@gmail.com> Dear all I have an implementation FreeSWITCH as a sort of SBC, it is used to send the calls to the terminating carriers and do topology hiding, nothing fancy. Also I gather cdrs from the FreeSWITCH. In order to distinguish each customer on the FS cdrs I send an extra header containing the accountcode. I have noticed that if the call is canceled immediately on the same sec, the account code is not written on the cdr. To be more precise the cancel is send a few milliseconds after it has received the invite, and before the FreeSWITCH has sent the call to the terminating carrier (I'm using Homer Sipcapture to capture all the traces and I don't see an attempt being made at the terminating carrier) also I don't see a b-leg cdr. FreeSWITCH is writing both a-leg and b-leg cdrs in csv format. The dialplan that I use is simple any idea how I can make sure that the account code will always be written ? Best Regards Panagiotis From servtelar at gmail.com Sun Jan 31 21:45:39 2016 From: servtelar at gmail.com (servtelar at gmail.com) Date: Sun, 31 Jan 2016 13:45:39 -0500 Subject: [Freeswitch-users] extra header account code is not written to cdr if cancel is received a few ms after invite In-Reply-To: <56AE42E1.3080703@gmail.com> References: <56AE42E1.3080703@gmail.com> Message-ID: <3CBD15A5-819B-487B-9DE0-C8120DDCAC94@gmail.com> Shouldn't that be done as inline? Sent from my iPhone > On Jan 31, 2016, at 12:22 PM, Panagiotis Skoulikaritis wrote: > > Dear all > > I have an implementation FreeSWITCH as a sort of SBC, it is used to send > the calls to the terminating carriers and do topology hiding, nothing > fancy. Also I gather cdrs from the FreeSWITCH. > > In order to distinguish each customer on the FS cdrs I send an extra > header containing the accountcode. > > I have noticed that if the call is canceled immediately on the same sec, > the account code is not written on the cdr. > To be more precise the cancel is send a few milliseconds after it has > received the invite, and before the FreeSWITCH has sent the call to the > terminating carrier (I'm using Homer Sipcapture to capture all the > traces and I don't see an attempt being made at the terminating carrier) > also I don't see a b-leg cdr. > > FreeSWITCH is writing both a-leg and b-leg cdrs in csv format. > > The dialplan that I use is simple > > > expression="^(^xx\.xx\.xx\.xx|^yy\.yy\.yy\.yy)$"/> > > > > > > > > > > > > > > > any idea how I can make sure that the account code will always be written ? > > > Best Regards > > Panagiotis > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 Jan 31 22:47:52 2016 From: govoiper at gmail.com (SamyGo) Date: Sun, 31 Jan 2016 14:47:52 -0500 Subject: [Freeswitch-users] [Video Calling Issue][Freeswitch 1.7] In-Reply-To: References: Message-ID: Hi Bilal, I have FS 1.7 and I get video calls going on it without trouble. Could you post the CLI logs as well as the SIP trace appearing for the all..only the First INVITE from caller and 200OK should suffice. Can you tell if you either mod_h26x or mod_av loaded in FS. Also load mod_vpx and then try making calls. FS 1.6 is now part of newer versions so dont need to explicitly install 1m6 for video only. Regards, Sammy On Jan 30, 2016 12:09, "Bilal Abbasi" wrote: > Hi Users, > > I am writing this question after reading old questions and forums, so my > problem is i am unable to dial video call using freeswitch 1.7. > I have enabled video codecs in var.xml (VP8,H263,H264) and i am using bria > sipfone for UA1 and UA2. > I am able to dial the normal call but unable to dial video. > do i need any further variables to activate video calling? > One of my friend told me to shift to FS 1.6 as that provides transcoding. > so can anybody help me out. > > FS Version: 1.7.0 > OS: jessie 8 > Softphone: Bria > > Regards > Abbasi > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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/20160131/afef3001/attachment.html