From b2m at a-cti.com Mon Oct 1 09:40:29 2012 From: b2m at a-cti.com (Balamurugan Mahendran) Date: Mon, 1 Oct 2012 11:10:29 +0530 Subject: [Freeswitch-users] CDR for fail2ban In-Reply-To: References: Message-ID: Thanks again for the link, I will try this. Thanks, Bala On Sun, Sep 30, 2012 at 12:54 PM, Avi Marcus wrote: > Ah. Well, with xml_cdr or json_cdr posting to a script, you can store the > relevant information in a way for fail2ban to use. However, I think that > would be a pretty hard pattern to come up to know there's fraud occurring > on an account. > > There's a service/product from http://www.humbuglabs.org/ that analyzes > CDRs and uses some metric to determine if something is fraudulent, that > might be helpful for you. I haven't used it. > > -Avi > > > > On Sun, Sep 30, 2012 at 3:46 AM, Balamurugan Mahendran wrote: > >> Thanks for the link, Also I wanted to look for outbound numbers and >> duration to perform some action. >> >> Like blocking trail users if they try to use international minutes like >> more 30 mins or so. >> >> Thanks, >> Bala >> >> >> On Sat, Sep 29, 2012 at 10:05 PM, Avi Marcus wrote: >> >>> Yes, there is an unmerged mod_fail2ban you can use, which I just doc'ed >>> for you. >>> Please update the wiki with more information as you test it. >>> >>> Once this has been tested in production, it would be great to merge it >>> into stable... >>> >>> http://wiki.freeswitch.org/wiki/Mod_fail2ban >>> >>> -Avi Marcus >>> BestFone >>> >>> On Sat, Sep 29, 2012 at 1:28 PM, Balamurugan Mahendran wrote: >>> >>>> Is it possible to create separate cdr log file to setup fail2ban. >>>> >>>> Thanks, >>>> Bala >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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://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://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/20121001/0ddaefc5/attachment.html From ssoni at lifesize.com Mon Oct 1 11:08:12 2012 From: ssoni at lifesize.com (sanjay) Date: Mon, 1 Oct 2012 00:08:12 -0700 (PDT) Subject: [Freeswitch-users] Help on freeswitch : gtalk-sip conversion In-Reply-To: References: <1348843861289-7583280.post@n2.nabble.com> Message-ID: <1349075292013-7583300.post@n2.nabble.com> There is no selinux But apparmor is there and it is disabled. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-on-freeswitch-gtalk-sip-conversion-tp7582744p7583300.html Sent from the freeswitch-users mailing list archive at Nabble.com. From william at xofap.com Mon Oct 1 11:30:21 2012 From: william at xofap.com (William Alianto) Date: Mon, 01 Oct 2012 14:30:21 +0700 Subject: [Freeswitch-users] FreeTDM outgoing dialplan Message-ID: <5069468D.4090309@xofap.com> I recently installed 2 spans of analog cards to my box. After all the configuration, I can already accept incoming from the FXO ports. But when I tried to do outbound call, it always fail. This is the dialplan I used for outgoing call And here is the log of the call http://pastebin.com/PAY42vTh It seems that the dtmf was not delivered properly. Can anyone help me with this? From support at sping.nl Mon Oct 1 15:53:37 2012 From: support at sping.nl (Systeembeheer) Date: Mon, 01 Oct 2012 13:53:37 +0200 Subject: [Freeswitch-users] Pause in bridge In-Reply-To: References: <5040642E.90607@sping.nl> Message-ID: <50698441.4060801@sping.nl> Thank you, just what I was looking for! Thought that it would be possible somehow, just didn't have a clue where to find it. Thanks, steveN On 08/31/2012 11:07 AM, Avi Marcus wrote: > See http://wiki.freeswitch.org/wiki/Variable_leg_delay_start > -Avi > > > On Fri, Aug 31, 2012 at 10:13 AM, Systeembeheer > wrote: > > Hi, > > I'm trying to configure the following: When a call comes in, it is > first > bridged to one extension and after 10 seconds to a second extension. > > It is possible to issue the bridge command with a timeout and continue > settings to one extension and a second bridge command to both > extensions. There's some problems with that: > - The first extension can answer and 'just miss' the first bridge > attempt. > - If the first call is cancelled by the user, it rings again 10 > sec. later. > > Is there a way to bridge to an extension and bridge to a second > extension 10 sec. later without breaking the first bridge? Or > bridge to > extensions with a pause of 10 sec. for one of them? > > > Thanks! > > steveN > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121001/19fb3f86/attachment.html From b2m at a-cti.com Mon Oct 1 18:12:40 2012 From: b2m at a-cti.com (Balamurugan Mahendran) Date: Mon, 1 Oct 2012 19:42:40 +0530 Subject: [Freeswitch-users] RTMP + G.729 Codec Message-ID: I am working on rtmp call quality, Is it possible to use g.729 for rtmp? and will it increase the quality? Now I am experiencing Echo + large delay and background noise. Thanks, Bala -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/685b5b42/attachment.html From b2m at a-cti.com Mon Oct 1 18:47:58 2012 From: b2m at a-cti.com (Balamurugan Mahendran) Date: Mon, 1 Oct 2012 20:17:58 +0530 Subject: [Freeswitch-users] Codec Negotiation Message-ID: Codec help!! inbound call pass through lua file for bridge to another number, Looks one channel picks PCMU and the other took G729. Is this because of misconfiguration (or) is this normal? And my call quality is not okay. This happens to rtmp calls too. Please advice me to setup properly. DID call : "Unavailable","+16613804913","+19840483100","public","2012-10-01 14:39:21","2012-10-01 14:39:29","2012-10-01 14:41:39","138","130","NORMAL_CLEARING","c9841afa-0bd5-11e2-8266-292d0bf811c2","",""," *G729","G729"* "Unavailable","+16613804913","+19665108963","public","2012-10-01 14:39:21","2012-10-01 14:39:29","2012-10-01 14:41:39","138","130","NORMAL_CLEARING","c9818a10-0bd5-11e2-8262-292d0bf811c2","c9841afa-0bd5-11e2-8266-292d0bf811c2","", *"PCMU","PCMU"* RTMP call : "","0000000000","+19884730340","rtmp","2012-10-01 14:06:56","2012-10-01 14:07:11","2012-10-01 14:07:39","43","28","NORMAL_CLEARING","42246f00-0bd1-11e2-8245-292d0bf811c2","","" *,"G729","G729"* "","0000000000","+OG90000956","rtmp","2012-10-01 14:06:56","2012-10-01 14:07:11","2012-10-01 14:07:39","43","28","NORMAL_CLEARING","422253be-0bd1-11e2-8241-292d0bf811c2","42246f00-0bd1-11e2-8245-292d0bf811c2","", *"SPEEX","SPEEX"* Thanks, Bala -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/25b3af8a/attachment.html From ssoni at lifesize.com Mon Oct 1 19:03:47 2012 From: ssoni at lifesize.com (sanjay) Date: Mon, 1 Oct 2012 08:03:47 -0700 (PDT) Subject: [Freeswitch-users] Help on freeswitch : gtalk-sip conversion In-Reply-To: <1349075292013-7583300.post@n2.nabble.com> References: <1348843861289-7583280.post@n2.nabble.com> <1349075292013-7583300.post@n2.nabble.com> Message-ID: <1349103827418-7583305.post@n2.nabble.com> So, I could get audio working. I had to put in the client.xml. Actually, this forces crypto negotiation and audio flows both side. And I am able to have inbound (to FS) audio call from both gmail and gtalk. The additional modification needed for gtalk was - Change of code in FS to support RFC3489 (As I said in my above comment). Here I have all three nodes in my set-up (gmail, FS and SIP phone) in same LAN. This is the client.xml I used Now I want to try GV -> FS -> SIP . Can somebody help me what to change ? I have already configured GV to redirect calls to gmail chat and when I am logged-in in gmail chat, it gives a ring. However, GV is not redirecting calls to FS !! -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-on-freeswitch-gtalk-sip-conversion-tp7582744p7583305.html Sent from the freeswitch-users mailing list archive at Nabble.com. From msc at freeswitch.org Mon Oct 1 19:26:24 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Oct 2012 08:26:24 -0700 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 75, Issue 223 In-Reply-To: <50668350.2020901@xofap.com> References: <50668350.2020901@xofap.com> Message-ID: Can you re-post your question in a new thread? Also, get a console log of what happens when you load mod_freetdm as well as what happens when you attempt to make an outbound or inbound call over one of these ports. Use pastebin.freeswitch.org to store all of that... -MC On Fri, Sep 28, 2012 at 10:12 PM, William Alianto wrote: > Hi, > > I just installed 2 spans of OpenVox's A800E analog card to my server. > > Here is my freetdm.conf : > > [general] > global_parameter => value > > [span zt FXO] > fxo-channel => 1:1 > fxo-channel => 1:2 > fxo-channel => 1:3 > fxo-channel => 1:4 > fxo-channel => 1:5 > fxo-channel => 1:6 > fxo-channel => 1:7 > fxo-channel => 1:8 > fxo-channel => 2:1 > fxo-channel => 2:2 > fxo-channel => 2:3 > fxo-channel => 2:4 > > [span zt FXS] > fxs-channel => 2:5 > fxs-channel => 2:6 > fxs-channel => 2:7 > fxs-channel => 2:8 > > and my freetdm.conf.xml > > > > > > > > > > > > > > > > > > > > > > > > > Also here is my dialplan configuration : > > > > > > > > > > > > data="sip_h_X-accountcode=${accountcode}" /> > > > > data="effective_caller_id_name=${outbound_caller_id_name}" /> > data="effective_caller_id_number=${outbound_caller_id_number}" /> > > > > > > > But i still cannot make outbound and inbound call using the card. Can > anyone help me? > > Regards > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/3fa0b9e0/attachment-0001.html From mcolombo at enter.it Mon Oct 1 19:33:27 2012 From: mcolombo at enter.it (Marco Colombo) Date: Mon, 1 Oct 2012 17:33:27 +0200 Subject: [Freeswitch-users] Migration to freeswitch Message-ID: Hi All, I'm using an Asterisk system, but I'm going to migrate it on freeswitch. I have a couple of questions Can freeswitch send update/re-invite package when i resume call from hold? Freeswitch support History-info(RFC4244)? Thanks Best Regards Marco [cid:ca90184ce3384c9ab9fb9ee6c127699d] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/be4b3288/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: cloudup.png Type: image/png Size: 10734 bytes Desc: cloudup.png Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/be4b3288/attachment.png From msc at freeswitch.org Mon Oct 1 19:37:45 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Oct 2012 08:37:45 -0700 Subject: [Freeswitch-users] Empty wiki and my head In-Reply-To: References: <60FA3CD2B49B498A89E981AA84C863CD@gmail.com> Message-ID: On Sat, Sep 29, 2012 at 3:33 AM, Jo?o Mesquita wrote: > Just so you know,i am documenting all modules on their configuration files > but that's far from done since I've been flying around the world for the > past 3 weeks. I will get there eventually. > Glad to hear it. Please keep me posted on your progress and also if you need any help. No one person should have to do it all by himself, although it's great to have one person take the lead. -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/e0d0b5ab/attachment.html From msc at freeswitch.org Mon Oct 1 20:38:32 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Oct 2012 09:38:32 -0700 Subject: [Freeswitch-users] FreeTDM outgoing dialplan In-Reply-To: <5069468D.4090309@xofap.com> References: <5069468D.4090309@xofap.com> Message-ID: Look at line 107 of your paste: 2012-10-01 11:08:24.301591 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] For whatever reason mod_freetdm thinks that port is in use. Try "ftdm dump " to see if there's any clues as to the state of the channel. Also, what country is this? Do you have your tones properly specified? -MC On Mon, Oct 1, 2012 at 12:30 AM, William Alianto wrote: > I recently installed 2 spans of analog cards to my box. After all the > configuration, I can already accept incoming from the FXO ports. But > when I tried to do outbound call, it always fail. This is the dialplan I > used for outgoing call > > > > > > > > > > And here is the log of the call > > http://pastebin.com/PAY42vTh > > It seems that the dtmf was not delivered properly. Can anyone help me > with this? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/6db3384f/attachment-0001.html From vitaliy.davudov at vts24.ru Mon Oct 1 20:46:21 2012 From: vitaliy.davudov at vts24.ru (=?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0JTQsNCy0YPQtNC+0LI=?=) Date: Mon, 01 Oct 2012 20:46:21 +0400 Subject: [Freeswitch-users] Need help in NAT traversal Message-ID: <5069C8DD.5090902@vts24.ru> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/2fe6dabf/attachment.html From mgg at giagnocavo.net Mon Oct 1 22:29:31 2012 From: mgg at giagnocavo.net (Michael Giagnocavo) Date: Mon, 1 Oct 2012 18:29:31 +0000 Subject: [Freeswitch-users] Possible CPU issue on Ubuntu Message-ID: <63B00DD1DA6A364E9F64A3A0BD2FE7B61EBDDE36@BLUPRD0711MB413.namprd07.prod.outlook.com> This may be related to the CentOS CPU issue; perhaps it's a problem in CFS itself, or Ubuntu has different policies so it's not always triggered? -Michael ** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1058854 Title: High CPU usage of CFS Status in "linux" package in Ubuntu: Confirmed Bug description: It appears that there is an issue with the Completely Fair Scheduler (CFS) not intereacting well with sleep commands. I have written up a test program to help demonstrate the issue and it can be found at: www.github.com/daveisfera/test_sleep/ The test outputs wall time (CPU clock), user time, and system time, but usually only the wall time and user time outputs are meaningful because the system time is so small and usually within the standard deviation for all tests. I have also attached the results from running this test on an HP Pavilion dm4 and I believe that the gap at the low number of threads is caused by either the processor going into a power saving state because of the sleeping and/or a poor interaction with HyperThreading (scheduling the 2 threads on logical cores rather than separate physical cores). Because of this, I then ran 4 instances of: schedtool -a -e nice -19 yes > /dev/null so that all of the cores would be kept busy during the sleeping and this had an unexpected effect of causing the wall time to increase significantly. I am not sure what the cause of the wall time increase is, but it does help the user time plot display the gap between the sleep methods and the none sleep methods that I believe is a symptom/display of the unexpectedly high CPU usage when the process should be sleeping. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-3.2.0-31-generic 3.2.0-31.50 ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28 Uname: Linux 3.2.0-31-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 2.0.1-0ubuntu13 Architecture: amd64 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: dlj 1778 F.... pulseaudio Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xc0800000 irq 50' Mixer name : 'Intel CougarPoint HDMI' Components : 'HDA:111d76e0,103c1793,00100102 HDA:80862805,103c1793,00100000' Controls : 22 Simple ctrls : 10 Date: Fri Sep 28 20:57:35 2012 InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1) MachineType: Hewlett-Packard HP Pavilion dm4 Notebook PC ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-31-generic root=UUID=162256F02256D479 loop=/hostname/disks/root.disk ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.2.0-31-generic N/A linux-backports-modules-3.2.0-31-generic N/A linux-firmware 1.79.1 SourcePackage: linux StagingDrivers: rts_pstor mei UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 01/17/2012 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: F.08 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 1793 dmi.board.vendor: Hewlett-Packard dmi.board.version: 41.1C dmi.chassis.asset.tag: Chassis Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnHewlett-Packard:bvrF.08:bd01/17/2012:svnHewlett-Packard:pnHPPaviliondm4NotebookPC:pvr068E100002204710000622100:rvnHewlett-Packard:rn1793:rvr41.1C:cvnHewlett-Packard:ct10:cvrChassisVersion: dmi.product.name: HP Pavilion dm4 Notebook PC dmi.product.version: 068E100002204710000622100 dmi.sys.vendor: Hewlett-Packard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1058854/+subscriptions -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/166a8118/attachment-0001.html From anton.jugatsu at gmail.com Mon Oct 1 23:17:51 2012 From: anton.jugatsu at gmail.com (Anton Kvashenkin) Date: Mon, 1 Oct 2012 23:17:51 +0400 Subject: [Freeswitch-users] Need help in NAT traversal In-Reply-To: <5069C8DD.5090902@vts24.ru> References: <5069C8DD.5090902@vts24.ru> Message-ID: Which gateway do you use? You can try stun.sipnet.ru. Could you please paste sip-messages (use ngrep) from 3-way handshake, also sofia_contact */external_gateway 2012/10/1 ??????? ??????? > Hi! > I tried to establish connection between Freeswitch and external gateway > which is located behind NAT. > > NAT-gateway is configured to do ip/port forwarding. > > RTP session can't be established. With tcpdump & wireshark that's what I > saw: > > |Time | 91.211.XXX.XXX | > 192.168.0.100 | > | | | 77.246.XXX.XXX | > |8,088 | INVITE SDP (g711A g711U CN) > | |SIP From: "9260123069" sip:4959899711 at 77.246.XXX.XXX:5065 > | |(5065) ------------------> (5065) | | > |8,088 | INVITE SDP (g711A g711U CN) > | |SIP From: "9260123069" sip:4959899711 at 77.246.XXX.XXX:5065 > | |(5065) ------------------> (5065) | | > |8,099 | 100 Trying| | |SIP > Status > | |(5065) <------------------ (5065) | | > |8,116 | 200 Ok SDP (g711A) | |SIP > Status > | |(5065) <------------------ (5065) | | > |8,117 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |8,117 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |8,199 | RTP (g711A) | |RTP > Num packets:28 Duration:0.259s SSRC:0x76B458 > | |(16694) --------------------------------------> (49152) | > |8,287 | RTP (g711A) | |RTP > Num packets:860 Duration:17.181s SSRC:0xEAC34F46 > | |(16694) <------------------ (49152) | | > |8,479 | RTP (g711A) | |RTP > Num packets:1488 Duration:14.900s SSRC:0x76B458 > | |(16694) ------------------> (49152) | | > |10,116 | 200 Ok SDP (g711A) | |SIP > Status > | |(5065) <------------------ (5065) | | > |10,116 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |10,116 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |14,116 | 200 Ok SDP (g711A) | |SIP > Status > | |(5065) <------------------ (5065) | | > |14,116 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |14,116 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |22,116 | 200 Ok SDP (g711A) | |SIP > Status > | |(5065) <------------------ (5065) | | > |22,116 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |22,116 | ACK | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |23,420 | BYE | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |23,420 | BYE | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |24,421 | BYE | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > |24,421 | BYE | | |SIP > Request > | |(5065) --------------------------------------> (5065) | > > Freeswitch answered to local ip-address of a gateway which used in sip > "contact" header. Is it possible to say Freeswitch to use public ip-address > which is in the field "from" instead? > > -- > Best regards, > Vitaly. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121001/d988046f/attachment.html From Nabble_01394 at slickdeals.endjunk.com Mon Oct 1 23:20:55 2012 From: Nabble_01394 at slickdeals.endjunk.com (mazilo) Date: Mon, 1 Oct 2012 12:20:55 -0700 (PDT) Subject: [Freeswitch-users] Help on freeswitch : gtalk-sip conversion In-Reply-To: <1349103827418-7583305.post@n2.nabble.com> References: <1348843861289-7583280.post@n2.nabble.com> <1349075292013-7583300.post@n2.nabble.com> <1349103827418-7583305.post@n2.nabble.com> Message-ID: <1349119255083-7583313.post@n2.nabble.com> What did you put? sanjay wrote > So, I could get audio working. I had to put in the client.xml. What???? > Here I have all three nodes in my set-up (gmail, FS and SIP phone) in same > LAN. This is the client.xml I used > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Now I want to try GV -> FS -> SIP . Can somebody help me what to change ? > I > have already configured GV to redirect calls to gmail chat and when I am > logged-in in gmail chat, it gives a ring. However, GV is not redirecting > calls to FS !! ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-on-freeswitch-gtalk-sip-conversion-tp7582744p7583313.html Sent from the freeswitch-users mailing list archive at Nabble.com. From msc at freeswitch.org Tue Oct 2 00:41:02 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 1 Oct 2012 13:41:02 -0700 Subject: [Freeswitch-users] FreeSWITCH Weekly News and Notes Message-ID: Welcome to October! I hope the weather is nice where you are. Here it's still above 100F. :) Last week was a little bit quieter than the previous few weeks. I had a chance to work on the FreeSWITCH change log and I made a listof some of the APIs, dialplan tools, and channel variables. These have all been added since 1.2.0 was initially released in early August. All of them have wiki entries - thanks to those who took the initiative to do add them. Feel free to add your knowledge and experience to the mix. Last week's conference callwas an object lesson in the challenges of getting a SIP proxy working with TLS and FreeSWITCH. This weekwe are going to change direction and look at something that has been slowly (and painfully) advancing the past few years: mobile VoIP. We will be having Daniel Pocock share with us some information about Lumicall, an open source mobile VoIP client for Android devices. There is also a service component to Lumicall and we'll be learning about that as well. Come join us to see the state of mobile VoIP. We are working on some fresh presentations for later this month. We hope to have an update on e164.org and how we can all get involved. We are also preparing a presentation on how to perform some of the data-gathering techniques that are needed for basic and advanced troubleshooting. If you have some input on these or other presentations please let me or Ken Rice know. Thanks! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/c7112a58/attachment.html From william at xofap.com Tue Oct 2 07:22:42 2012 From: william at xofap.com (William Alianto) Date: Tue, 02 Oct 2012 10:22:42 +0700 Subject: [Freeswitch-users] FreeTDM outgoing dialplan In-Reply-To: References: <5069468D.4090309@xofap.com> Message-ID: <506A5E02.4080808@xofap.com> here is the dump message for the port : freeswitch at internal> ftdm dump 1 4 span_id: 1 chan_id: 4 physical_span_id: 1 physical_chan_id: 4 physical_status: ok physical_status_red: 0 physical_status_yellow: 0 physical_status_rai: 0 physical_status_blue: 0 physical_status_ais: 0 physical_status_general: 0 signaling_status: UP type: FXO state: DOWN last_state: BUSY txgain: 0.00 rxgain: 0.00 cid_date: cid_name: cid_num: ani: aniII: dnis: rdnis: cause: NONE session: (none) -- States -- -- Function -- -- Location -- -- Time Offset -- PROGRESS => PROGRESS_MEDIA [channel_receive_message_fxo] [mod_freetdm.c:1040] 0ms PROGRESS_MEDIA => UP [channel_receive_message_fxo] [mod_freetdm.c:1040] 0ms UP => HANGUP [channel_on_hangup] [mod_freetdm.c:586] 11641ms HANGUP => DOWN [ftdm_analog_channel_run] [ftmod_analog.c:564] 519ms DOWN => DIALING [analog_fxo_outgoing_call] [ftmod_analog.c:62] 182116ms DIALING => BUSY [ftdm_analog_channel_run] [ftmod_analog.c:505] 5020ms BUSY => DOWN [ftdm_analog_channel_run] [ftmod_analog.c:802] 20ms DOWN => DIALING [analog_fxo_outgoing_call] [ftmod_analog.c:62] 29140ms DIALING => BUSY [ftdm_analog_channel_run] [ftmod_analog.c:505] 5020ms BUSY => DOWN [ftdm_analog_channel_run] [ftmod_analog.c:802] 20ms Time since last state change: 64974617ms This is for Indonesia line, but it usually works fine using us tone. On 10/01/2012 11:38 PM, Michael Collins wrote: > Look at line 107 of your paste: > 2012-10-01 11:08:24.301591 [DEBUG] switch_ivr_originate.c:3508 > Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] > > For whatever reason mod_freetdm thinks that port is in use. Try "ftdm > dump " to see if there's any clues as to the state of the > channel. Also, what country is this? Do you have your tones properly > specified? > -MC > > On Mon, Oct 1, 2012 at 12:30 AM, William Alianto > wrote: > > I recently installed 2 spans of analog cards to my box. After all the > configuration, I can already accept incoming from the FXO ports. But > when I tried to do outbound call, it always fail. This is the > dialplan I > used for outgoing call > > > > > > > > > > And here is the log of the call > > http://pastebin.com/PAY42vTh > > It seems that the dtmf was not delivered properly. Can anyone help me > with this? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/b38ca8e0/attachment-0001.html From miha at softnet.si Tue Oct 2 10:33:33 2012 From: miha at softnet.si (Miha) Date: Tue, 02 Oct 2012 08:33:33 +0200 Subject: [Freeswitch-users] xml_cdr ssl Message-ID: <506A8ABD.40301@softnet.si> Hi, I need a help about ssl configuratin for ssl. On my server where https post should be send I set up openssl (which work ok). I also tried it with windows and works ok. In xml_cdr.conf I add : also tried with just: but still no luch. I noticed with wireshark that FS do not send https post (I trace it on FS server). What I am doing wrong? Thanks! MIha From alex at thewinelake.com Tue Oct 2 13:05:39 2012 From: alex at thewinelake.com (Alex) Date: Tue, 02 Oct 2012 10:05:39 +0100 Subject: [Freeswitch-users] Setting variables with logic In-Reply-To: References: Message-ID: <506AAE63.1090703@thewinelake.com> Apologies for the trivial nature of this question, but can I "SET" a channel variable to the result of some boolean logic? Eg. something like From pmancheno at gmail.com Tue Oct 2 11:56:18 2012 From: pmancheno at gmail.com (Paul Mancheno H.) Date: Tue, 2 Oct 2012 02:56:18 -0500 Subject: [Freeswitch-users] Using FS like SBC with several Operators Message-ID: <201210020256.32768.pmancheno@gmail.com> Please help me, I am currently trying to use freeswtich as SBC, the idea is that the internal area has multiple interconnections with several operators, I want to do is for each interconnection: * Having a trunk from the internal to the IP of a virtual interface eth0:1 in FreeSWITCH server, then from FreeSWITCH using interface eth1:1 to the operator XX. * Having a trunk from the internal to the IP of a virtual interface eth0:2 in FreeSWITCH server, then from FreeSWITCH using interface eth1:2 to the operator YY. * And so on. Please can you give me a guide to how I configure SIP profiles to achieve the above?. A lot of thanks, Pepo. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/b0b0181d/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/b0b0181d/attachment.bin From =?utf-8?Q?=D0=95=D1=80=D0=B6=D0=B0=D0=BD_=D0=A2=D1=83=D0=BB=D0=B5?= Tue Oct 2 13:00:49 2012 From: =?utf-8?Q?=D0=95=D1=80=D0=B6=D0=B0=D0=BD_=D0=A2=D1=83=D0=BB=D0=B5?= (=?utf-8?Q?=D0=95=D1=80=D0=B6=D0=B0=D0=BD_=D0=A2=D1=83=D0=BB=D0=B5?=) Date: Tue, 02 Oct 2012 15:00:49 +0600 Subject: [Freeswitch-users] How to passthrough 180 after 183 Message-ID: <20121002150049.304dcb66@mail.btcom.kz> Hi, FS receives Invite, then replies with 100. Then I do Phrase, which, in turn, changes leg A's status to early media and send 183 to A. Then I try to bridge A to B. From B I get 180 (ringing), but FS doesn't forward this to A. How can I force FS to pass it through? Regards, Y. From ssoni at lifesize.com Tue Oct 2 13:39:43 2012 From: ssoni at lifesize.com (sanjay) Date: Tue, 2 Oct 2012 02:39:43 -0700 (PDT) Subject: [Freeswitch-users] Help on freeswitch : gtalk-sip conversion In-Reply-To: <1349119255083-7583313.post@n2.nabble.com> References: <1348843861289-7583280.post@n2.nabble.com> <1349075292013-7583300.post@n2.nabble.com> <1349103827418-7583305.post@n2.nabble.com> <1349119255083-7583313.post@n2.nabble.com> Message-ID: <1349170783398-7583319.post@n2.nabble.com> Somehow, Everything which was under '<' and '>' is blank in my last post ! I put use_jingle=true in client.xml. I still need to try with when google client is not in same LAN. I think I need to play around with ACL for that, currently I have given rfc1918.auto. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-on-freeswitch-gtalk-sip-conversion-tp7582744p7583319.html Sent from the freeswitch-users mailing list archive at Nabble.com. From paul at cupis.co.uk Tue Oct 2 13:51:00 2012 From: paul at cupis.co.uk (Paul Cupis) Date: Tue, 2 Oct 2012 10:51:00 +0100 Subject: [Freeswitch-users] How to passthrough 180 after 183 In-Reply-To: <20121002150049.304dcb66@mail.btcom.kz> References: <20121002150049.304dcb66@mail.btcom.kz> Message-ID: <20121002095100.GB14759@eagle.cupis.co.uk> On Tue, Oct 02, 2012 at 03:00:49PM +0600, ?????????? ?????????????? wrote: > FS receives Invite, then replies with 100. Then I do Phrase, which, in turn, changes leg A's status to early media and send 183 to A. Then I try to bridge A to B. From B I get 180 (ringing), but FS doesn't forward this to A. How can I force FS to pass it through? Not sure if you can. I'd suggest trying something like: before the bridge, and see if this behaves as you need it to? Regards, From peter.olsson at visionutveckling.se Tue Oct 2 13:57:29 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 2 Oct 2012 09:57:29 +0000 Subject: [Freeswitch-users] How to passthrough 180 after 183 In-Reply-To: <20121002150049.304dcb66@mail.btcom.kz> References: <20121002150049.304dcb66@mail.btcom.kz> Message-ID: <1FFF97C269757C458224B7C895F35F15168AAA@cantor.std.visionutv.se> I don't think you can. Read more here: http://jira.freeswitch.org/browse/FS-3859 If you have early media up, any 180's after that will not be forwarded, so you need to continue using early media instead. /Peter ________________________________________ Fr?n: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för ????? ??????? [e.tylepov at btcom.kz] Skickat: den 2 oktober 2012 11:00 Till: freeswitch-users at lists.freeswitch.org ?mne: [Freeswitch-users] How to passthrough 180 after 183 Hi, FS receives Invite, then replies with 100. Then I do Phrase, which, in turn, changes leg A's status to early media and send 183 to A. Then I try to bridge A to B. From B I get 180 (ringing), but FS doesn't forward this to A. How can I force FS to pass it through? Regards, Y. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:506ab39832761291016683! From avi at avimarcus.net Tue Oct 2 14:11:38 2012 From: avi at avimarcus.net (Avi Marcus) Date: Tue, 2 Oct 2012 12:11:38 +0200 Subject: [Freeswitch-users] Setting variables with logic In-Reply-To: <506AAE63.1090703@thewinelake.com> References: <506AAE63.1090703@thewinelake.com> Message-ID: http://wiki.freeswitch.org/wiki/Mod_commands#cond / http://wiki.freeswitch.org/wiki/Function_cond I don't see any examples, so if you could edit the wiki... Something like: Do note that this is completely untested though... A few lines lua script might be more maintainable. -Avi Marcus BestFone On Tue, Oct 2, 2012 at 11:05 AM, Alex wrote: > Apologies for the trivial nature of this question, but can I "SET" a > channel variable to the result of some boolean logic? > > Eg. something like > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121002/46379d82/attachment-0001.html From =?utf-8?Q?=D0=95=D1=80=D0=B6=D0=B0=D0=BD_=D0=A2=D1=83=D0=BB=D0=B5?= Tue Oct 2 14:45:24 2012 From: =?utf-8?Q?=D0=95=D1=80=D0=B6=D0=B0=D0=BD_=D0=A2=D1=83=D0=BB=D0=B5?= (=?utf-8?Q?=D0=95=D1=80=D0=B6=D0=B0=D0=BD_=D0=A2=D1=83=D0=BB=D0=B5?=) Date: Tue, 02 Oct 2012 16:45:24 +0600 Subject: [Freeswitch-users] How to passthrough 180 after 183 Message-ID: <20121002164524.dcaf3611@mail.btcom.kz> Acctually, now I'm using what you've preposed. But that not what I need. ----- Original Message ----- From: Paul Cupis [mailto:paul at cupis.co.uk] To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org] Sent: Tue, 02 Oct 2012 15:51:00 +0600 Subject: Re: [Freeswitch-users] How to passthrough 180 after 183 > On Tue, Oct 02, 2012 at 03:00:49PM +0600, ?????????? ?????????????? wrote: > > FS receives Invite, then replies with 100. Then I do Phrase, which, in > turn, changes leg A's status to early media and send 183 to A. Then I try to > bridge A to B. From B I get 180 (ringing), but FS doesn't forward this to A. > How can I force FS to pass it through? > > Not sure if you can. > > I'd suggest trying something like: > > > > before the bridge, and see if this behaves as you need it to? > > Regards, > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From mahesh.katta at flexydial.com Tue Oct 2 17:19:16 2012 From: mahesh.katta at flexydial.com (mahesh katta) Date: Tue, 2 Oct 2012 18:49:16 +0530 Subject: [Freeswitch-users] Inbound calls after some time its disconnecting Message-ID: Hi List I am getting problem with ftmod_libpri is that when I try to call on PRI number its shows unable to get channel like bellow cli. 2012-10-01 19:54:03.688760 [ERR] ftmod_libpri.c:1711 -- Unable to get channel 1:29 2012-10-01 19:54:10.708758 [ERR] ftmod_libpri.c:1711 -- Unable to get channel 1:30 2012-10-01 19:54:18.888759 [ERR] ftmod_libpri.c:1711 -- Unable to get channel 1:31 after 31 channel I am getting call into PRI. Kindly help on this . My basic configuration is ###conf/freetdm.conf [span zt PRI_1] trunk_type => E1 b-channel => 1-15 d-channel => 16 b-channel => 17-31 ###conf/autoload_configs/freetdm.conf.xml configuration name="freetdm.conf" description="FreeTDM Configuration"> Thanking you. Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 222, Arunvihar,Sector-28, Noida 201301 GSM +91.99993 45699 | Phone +91.12.0431.0581 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/2fa0e4b0/attachment.html From Chad.Engler at patlive.com Tue Oct 2 17:57:51 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 2 Oct 2012 09:57:51 -0400 Subject: [Freeswitch-users] New Node.js ESL Library Message-ID: Hello, I couldn't find a Node.js library for FreeSWITCH Event Sockets that really followed the reference: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. Feedback is appreciated: https://github.com/englercj/node-esl Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/79095e31/attachment.html From msc at freeswitch.org Tue Oct 2 19:08:54 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Oct 2012 08:08:54 -0700 Subject: [Freeswitch-users] FreeTDM outgoing dialplan In-Reply-To: <506A5E02.4080808@xofap.com> References: <5069468D.4090309@xofap.com> <506A5E02.4080808@xofap.com> Message-ID: Well, this is a problem: state: DOWN That means it isn't operational. I would get a capture of the log for when you load mod_freetdm. Drop it in pastebin.freeswitch.org and select "FreeSWITCH Log" as the syntax highlighting. -MC On Mon, Oct 1, 2012 at 8:22 PM, William Alianto wrote: > here is the dump message for the port : > > freeswitch at internal> ftdm dump 1 4 > span_id: 1 > chan_id: 4 > physical_span_id: 1 > physical_chan_id: 4 > physical_status: ok > physical_status_red: 0 > physical_status_yellow: 0 > physical_status_rai: 0 > physical_status_blue: 0 > physical_status_ais: 0 > physical_status_general: 0 > signaling_status: UP > type: FXO > state: DOWN > last_state: BUSY > txgain: 0.00 > rxgain: 0.00 > cid_date: > cid_name: > cid_num: > ani: > aniII: > dnis: > rdnis: > cause: NONE > session: (none) > > -- States -- -- Function -- -- Location > -- -- Time Offset -- > PROGRESS => PROGRESS_MEDIA [channel_receive_message_fxo] > [mod_freetdm.c:1040] 0ms > PROGRESS_MEDIA => UP [channel_receive_message_fxo] > [mod_freetdm.c:1040] 0ms > UP => HANGUP [channel_on_hangup] > [mod_freetdm.c:586] 11641ms > HANGUP => DOWN [ftdm_analog_channel_run] > [ftmod_analog.c:564] 519ms > DOWN => DIALING [analog_fxo_outgoing_call] > [ftmod_analog.c:62] 182116ms > DIALING => BUSY [ftdm_analog_channel_run] > [ftmod_analog.c:505] 5020ms > BUSY => DOWN [ftdm_analog_channel_run] > [ftmod_analog.c:802] 20ms > DOWN => DIALING [analog_fxo_outgoing_call] > [ftmod_analog.c:62] 29140ms > DIALING => BUSY [ftdm_analog_channel_run] > [ftmod_analog.c:505] 5020ms > BUSY => DOWN [ftdm_analog_channel_run] > [ftmod_analog.c:802] 20ms > > Time since last state change: 64974617ms > > This is for Indonesia line, but it usually works fine using us tone. > > > > On 10/01/2012 11:38 PM, Michael Collins wrote: > > Look at line 107 of your paste: > 2012-10-01 11:08:24.301591 [DEBUG] switch_ivr_originate.c:3508 Originate > Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] > > For whatever reason mod_freetdm thinks that port is in use. Try "ftdm dump > " to see if there's any clues as to the state of the channel. > Also, what country is this? Do you have your tones properly specified? > -MC > > On Mon, Oct 1, 2012 at 12:30 AM, William Alianto wrote: > >> I recently installed 2 spans of analog cards to my box. After all the >> configuration, I can already accept incoming from the FXO ports. But >> when I tried to do outbound call, it always fail. This is the dialplan I >> used for outgoing call >> >> >> >> >> >> >> >> >> >> And here is the log of the call >> >> http://pastebin.com/PAY42vTh >> >> It seems that the dtmf was not delivered properly. Can anyone help me >> with this? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/729c7c51/attachment-0001.html From msc at freeswitch.org Tue Oct 2 20:01:52 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Oct 2012 09:01:52 -0700 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: Chad, Wow, you wrote software AND you documented it! Very cool. For those of us who know basically nothing about node.js, how might this be used in a real world application? Do you have any sample apps that we could try out? Thanks again for your willingness to add your work to the FreeSWITCH ecosystem! -Michael On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler wrote: > Hello,**** > > ** ** > > I couldn?t find a Node.js library for FreeSWITCH Event Sockets that really > followed the reference: > http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I > created on to implement it as closely as possible.**** > > ** ** > > Feedback is appreciated:**** > > ** ** > > https://github.com/englercj/node-esl**** > > ** ** > > Thanks,**** > > ** ** > > *Chad Engler***** > > Web Programmer**** > > PATLive**** > > 1.800.775.7790 x746**** > > Chad.Engler at patlive.com**** > > ** ** > > Hosted Communications | Friendly Service www.patlive.com**** > > ** ** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/fa675f80/attachment.html From hi-tecc at hotmail.com Tue Oct 2 20:59:00 2012 From: hi-tecc at hotmail.com (DP .) Date: Tue, 2 Oct 2012 12:59:00 -0400 Subject: [Freeswitch-users] Lenny's killing it. In-Reply-To: References: Message-ID: Insane! > From: gabe at gundy.org > Date: Fri, 28 Sep 2012 03:43:10 -0600 > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Lenny's killing it. > > No way! Lenny is on a roll! It's too perfect (listen in order)! > > 1) http://itslenny.com/recording.php?file=4d8cde0cc5a4d86ccf221aa5b2903e95 > 2) http://itslenny.com/recording.php?file=4fdd3f445fff8e1b73456af602367b6e > > Classic! > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121002/0cf446b3/attachment.html From cmason at frontiernetworks.ca Tue Oct 2 22:28:56 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Tue, 2 Oct 2012 14:28:56 -0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru Message-ID: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> I am using Cisco SPA2102's for T38 faxing into a corporation with 20 fax machines. I have a freeswitch box that acts as a router to route SIP from our carrier network into our customers private network. This is the only function this box performs. The profiles on this box have: Faxes complete 99% of the time. If I enable right before the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone know why this is? Thanks, Colin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/47b735e2/attachment.html From cmason at frontiernetworks.ca Tue Oct 2 22:40:57 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Tue, 2 Oct 2012 14:40:57 -0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> References: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> Message-ID: <0D1C698866F66045A6201FD0F59CAC90014699702B@EX.frontier.local> Sorry, FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin Mason Sent: Tuesday, October 02, 2012 2:29 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] proxy_media breaks T38 passthru I am using Cisco SPA2102's for T38 faxing into a corporation with 20 fax machines. I have a freeswitch box that acts as a router to route SIP from our carrier network into our customers private network. This is the only function this box performs. The profiles on this box have: Faxes complete 99% of the time. If I enable right before the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone know why this is? Thanks, Colin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/4da536c5/attachment.html From anthony.minessale at gmail.com Tue Oct 2 23:16:10 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Oct 2012 14:16:10 -0500 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: <0D1C698866F66045A6201FD0F59CAC90014699702B@EX.frontier.local> References: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699702B@EX.frontier.local> Message-ID: try latest On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason wrote: > Sorry,**** > > ** ** > > FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at > commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z)**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Colin Mason > *Sent:* Tuesday, October 02, 2012 2:29 PM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] proxy_media breaks T38 passthru**** > > ** ** > > I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax > machines.**** > > ** ** > > I have a freeswitch box that acts as a router to route SIP from our > carrier network into our customers private network. This is the only > function this box performs.**** > > ** ** > > The profiles on this box have:**** > > ** ** > > **** > > **** > > ** ** > > Faxes complete 99% of the time.**** > > ** ** > > If I enable right > before the bridge it completely breaks T38 faxing. Success rate of 0%. Does > anyone know why this is?**** > > ** ** > > Thanks,**** > > Colin**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/72935502/attachment-0001.html From Chad.Engler at patlive.com Tue Oct 2 23:29:16 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 2 Oct 2012 15:29:16 -0400 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: Michael - Thanks for the feedback! I am working on some example apps right now, but basically anything that can be done with an ESL application in any of the other supported languages, should be valid here as well. Hopefully I can throw something together by the end of next week. Whitney - I wrote the library at work, and got permission to put it publicly on GitHub; however I haven't gotten confirmation of what License my bosses are comfortable with. I recommended MIT, and I'm sure it will either be that or GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, October 02, 2012 12:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Chad, Wow, you wrote software AND you documented it! Very cool. For those of us who know basically nothing about node.js, how might this be used in a real world application? Do you have any sample apps that we could try out? Thanks again for your willingness to add your work to the FreeSWITCH ecosystem! -Michael On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler wrote: Hello, I couldn't find a Node.js library for FreeSWITCH Event Sockets that really followed the reference: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. Feedback is appreciated: https://github.com/englercj/node-esl Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/2045d8f2/attachment.html From cmason at frontiernetworks.ca Tue Oct 2 23:56:55 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Tue, 2 Oct 2012 15:56:55 -0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: References: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699702B@EX.frontier.local> Message-ID: <0D1C698866F66045A6201FD0F59CAC900146997049@EX.frontier.local> I will update the box tonight with the latest v1.2stable GIT and report back, just wondering if there was an issue? Thanks Anthony, Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 3:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru try latest On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote: Sorry, FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin Mason Sent: Tuesday, October 02, 2012 2:29 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] proxy_media breaks T38 passthru I am using Cisco SPA2102's for T38 faxing into a corporation with 20 fax machines. I have a freeswitch box that acts as a router to route SIP from our carrier network into our customers private network. This is the only function this box performs. The profiles on this box have: Faxes complete 99% of the time. If I enable right before the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone know why this is? Thanks, Colin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/f3bce437/attachment-0001.html From Hector.Geraldino at ipsoft.com Wed Oct 3 00:15:56 2012 From: Hector.Geraldino at ipsoft.com (Hector Geraldino) Date: Tue, 2 Oct 2012 16:15:56 -0400 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: <6A6B4C284AD15042B429EB9D904544AD07405FC8CE@NY1-EXMB-01.ip-soft.net> Hi, What about adding it to the freeswitch-contrib repo on git? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chad Engler Sent: Tuesday, October 02, 2012 3:29 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Michael - Thanks for the feedback! I am working on some example apps right now, but basically anything that can be done with an ESL application in any of the other supported languages, should be valid here as well. Hopefully I can throw something together by the end of next week. Whitney - I wrote the library at work, and got permission to put it publicly on GitHub; however I haven't gotten confirmation of what License my bosses are comfortable with. I recommended MIT, and I'm sure it will either be that or GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, October 02, 2012 12:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Chad, Wow, you wrote software AND you documented it! Very cool. For those of us who know basically nothing about node.js, how might this be used in a real world application? Do you have any sample apps that we could try out? Thanks again for your willingness to add your work to the FreeSWITCH ecosystem! -Michael On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler > wrote: Hello, I couldn't find a Node.js library for FreeSWITCH Event Sockets that really followed the reference: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. Feedback is appreciated: https://github.com/englercj/node-esl Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/522bbcbe/attachment.html From krice at freeswitch.org Wed Oct 3 00:26:41 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 02 Oct 2012 15:26:41 -0500 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: <0D1C698866F66045A6201FD0F59CAC900146997049@EX.frontier.local> Message-ID: You will have to update to git master to test Tony?s patches... They don?t go into stable until after they have been validated as good on dev branch... On 10/2/12 2:56 PM, "Colin Mason" wrote: > I will update the box tonight with the latest v1.2stable GIT and report back, > just wondering if there was an issue? > > Thanks Anthony, > > Colin > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony > Minessale > Sent: Tuesday, October 02, 2012 3:16 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru > > try latest > > On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote: > > Sorry, > > FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit > 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin > Mason > Sent: Tuesday, October 02, 2012 2:29 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] proxy_media breaks T38 passthru > > > I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax > machines. > > I have a freeswitch box that acts as a router to route SIP from our carrier > network into our customers private network. This is the only function this box > performs. > > The profiles on this box have: > > > > > Faxes complete 99% of the time. > > If I enable right before > the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone > know why this is? > > Thanks, > Colin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/93084cb6/attachment.html From anthony.minessale at gmail.com Wed Oct 3 00:27:52 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 2 Oct 2012 15:27:52 -0500 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: <0D1C698866F66045A6201FD0F59CAC900146997049@EX.frontier.local> References: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699702B@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC900146997049@EX.frontier.local> Message-ID: latest HEAD, not stable. On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason wrote: > I will update the box tonight with the latest v1.2stable GIT and report > back, just wondering if there was an issue?**** > > ** ** > > Thanks Anthony,**** > > ** ** > > Colin**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* Tuesday, October 02, 2012 3:16 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru**** > > ** ** > > try latest **** > > On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote:**** > > Sorry,**** > > **** > > FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at > commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z)**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Colin Mason > *Sent:* Tuesday, October 02, 2012 2:29 PM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] proxy_media breaks T38 passthru**** > > **** > > I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax > machines.**** > > **** > > I have a freeswitch box that acts as a router to route SIP from our > carrier network into our customers private network. This is the only > function this box performs.**** > > **** > > The profiles on this box have:**** > > **** > > **** > > **** > > **** > > Faxes complete 99% of the time.**** > > **** > > If I enable right > before the bridge it completely breaks T38 faxing. Success rate of 0%. Does > anyone know why this is?**** > > **** > > Thanks,**** > > Colin**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > **** > > ** ** > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/1ce04614/attachment-0001.html From dgarcia at anew.com.ve Wed Oct 3 00:52:51 2012 From: dgarcia at anew.com.ve (Saugort Dario Garcia Tovar) Date: Tue, 02 Oct 2012 16:22:51 -0430 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: <506B5423.1050907@anew.com.ve> First great work How long you take to get this piece of work ready? More examples using it will be nice Why not choose LGPL a license compatible with freeswitch? If I recall well LGPL, freeswtich guys could make their suggestions On 10/2/2012 2:59 PM, Chad Engler wrote: > > Michael -- > > Thanks for the feedback! I am working on some example apps right now, > but basically anything that can be done with an ESL application in any > of the other supported languages, should be valid here as well. > Hopefully I can throw something together by the end of next week. > > Whitney -- > > I wrote the library at work, and got permission to put it publicly on > GitHub; however I haven't gotten confirmation of what License my > bosses are comfortable with. I recommended MIT, and I'm sure it will > either be that or GNU GPL v3. I should know by tomorrow and have a > LICENSE file posted. > > -Chad > > *From:*freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of > *Michael Collins > *Sent:* Tuesday, October 02, 2012 12:02 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] New Node.js ESL Library > > Chad, > > Wow, you wrote software AND you documented it! Very cool. For those of > us who know basically nothing about node.js, how might this be used in > a real world application? Do you have any sample apps that we could > try out? > > Thanks again for your willingness to add your work to the FreeSWITCH > ecosystem! > > -Michael > > On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler > wrote: > > Hello, > > I couldn't find a Node.js library for FreeSWITCH Event Sockets that > really followed the reference: > http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I > created on to implement it as closely as possible. > > Feedback is appreciated: > > https://github.com/englercj/node-esl > > Thanks, > > *Chad Engler* > > Web Programmer > > PATLive > > 1.800.775.7790 x746 > > Chad.Engler at patlive.com > > Hosted Communications | Friendly Service www.patlive.com > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.2221 / Virus Database: 2441/5304 - Release Date: 10/02/12 > -- Atentamente, *Dario Garc?a* Consultor. CCCT, Nivel C2, Sector Yarey, Mz, Ofc. MZ03a. Caracas-Venezuela. Tel?fono: +58 212 9081842 Cel: +58 412 2221515 dgarcia at anew.com.ve http://www.anew.com.ve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/6889e97f/attachment.html From Chad.Engler at patlive.com Wed Oct 3 01:07:54 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 2 Oct 2012 17:07:54 -0400 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: <6A6B4C284AD15042B429EB9D904544AD07405FC8CE@NY1-EXMB-01.ip-soft.net> References: <6A6B4C284AD15042B429EB9D904544AD07405FC8CE@NY1-EXMB-01.ip-soft.net> Message-ID: Hello Hector, Of course, how did you want me to proceed? -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Hector Geraldino Sent: Tuesday, October 02, 2012 4:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Hi, What about adding it to the freeswitch-contrib repo on git? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Chad Engler Sent: Tuesday, October 02, 2012 3:29 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Michael - Thanks for the feedback! I am working on some example apps right now, but basically anything that can be done with an ESL application in any of the other supported languages, should be valid here as well. Hopefully I can throw something together by the end of next week. Whitney - I wrote the library at work, and got permission to put it publicly on GitHub; however I haven't gotten confirmation of what License my bosses are comfortable with. I recommended MIT, and I'm sure it will either be that or GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, October 02, 2012 12:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Chad, Wow, you wrote software AND you documented it! Very cool. For those of us who know basically nothing about node.js, how might this be used in a real world application? Do you have any sample apps that we could try out? Thanks again for your willingness to add your work to the FreeSWITCH ecosystem! -Michael On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler wrote: Hello, I couldn't find a Node.js library for FreeSWITCH Event Sockets that really followed the reference: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. Feedback is appreciated: https://github.com/englercj/node-esl Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/4e09bb45/attachment-0001.html From Chad.Engler at patlive.com Wed Oct 3 01:15:00 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 2 Oct 2012 17:15:00 -0400 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: <506B5423.1050907@anew.com.ve> References: <506B5423.1050907@anew.com.ve> Message-ID: Thanks, Obviously I am still working on it, but my initial commit was a week ago. I've probably worked only a solid 3-4 days or so on it; it's a baby. I'm working on getting some example apps up. I've got an SMS <-> Webchat app working, and I want to see if I can get something more phoney, and probably something faxy as well. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Saugort Dario Garcia Tovar Sent: Tuesday, October 02, 2012 4:53 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] New Node.js ESL Library First great work How long you take to get this piece of work ready? More examples using it will be nice Why not choose LGPL a license compatible with freeswitch? If I recall well LGPL, freeswtich guys could make their suggestions On 10/2/2012 2:59 PM, Chad Engler wrote: Michael - Thanks for the feedback! I am working on some example apps right now, but basically anything that can be done with an ESL application in any of the other supported languages, should be valid here as well. Hopefully I can throw something together by the end of next week. Whitney - I wrote the library at work, and got permission to put it publicly on GitHub; however I haven't gotten confirmation of what License my bosses are comfortable with. I recommended MIT, and I'm sure it will either be that or GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, October 02, 2012 12:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Chad, Wow, you wrote software AND you documented it! Very cool. For those of us who know basically nothing about node.js, how might this be used in a real world application? Do you have any sample apps that we could try out? Thanks again for your willingness to add your work to the FreeSWITCH ecosystem! -Michael On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler wrote: Hello, I couldn't find a Node.js library for FreeSWITCH Event Sockets that really followed the reference: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. Feedback is appreciated: https://github.com/englercj/node-esl Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2441/5304 - Release Date: 10/02/12 -- Atentamente, Dario Garc?a Consultor. CCCT, Nivel C2, Sector Yarey, Mz, Ofc. MZ03a. Caracas-Venezuela. Tel?fono: +58 212 9081842 Cel: +58 412 2221515 dgarcia at anew.com.ve http://www.anew.com.ve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/cb52c102/attachment.html From krice at freeswitch.org Wed Oct 3 01:18:13 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 02 Oct 2012 16:18:13 -0500 Subject: [Freeswitch-users] How Patches to the code base work Message-ID: Hey Guys, Tony & Crew have been hot and heavy fixing bugs and coming up with new ways to make FreeSWITCH better. Now during the cycle, we get bugs reported on the stable branch, which in almost all cases are also bugs on the Development branch (or also possible not a bug on the dev branch as it was fixed there since the release was cut). So lets say you have just reported a bug, and one of the developers fixes it, 99.999% of the time, that bug would have been resolved in the git master branch aka HEAD. When this happens the patch does not immediately go into the stable branch. We wont put untested code there unless there is a VERY VERY compelling reason to do so like security issue... Those patches will work their way in as the release cycle progresses... If Tony & Crew patch an issue and ask you to test it, they arent asking you to test it on stable they are asking you to test it in head... From there, we can evaluate if the patch goes into stable sooner then later... As with any software, patching to fix one issue can introduce another issue. This happens to all programmers, some more then others. Sometimes its not so bad, other times, its horrific. (I?ve even seen core FS Devs commit code that leaves the build broken.) No one does this sort of stuff on purpose but it does happen, that?s why we ask for everyone to test master (HEAD) for new patches. We would hate to break the stable because we dropped untested code directly in there. K -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/7343e2c6/attachment.html From nbhatti at gmail.com Wed Oct 3 01:28:19 2012 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Wed, 3 Oct 2012 00:28:19 +0300 Subject: [Freeswitch-users] Unable to import vars from failed B leg Message-ID: Hi, I am trying to import variables from leg B to the actual channel for reporting purpose. If the call fails with endpoint_disposition RECEIVED_NOMEDIA and originate_disposition UNALLOCATED_NUMBER, leg B's variables are destroyed. Is this is the expected behavior or am I missing something? Thanks, -- Muhammad Naseer Bhatti -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/17b60991/attachment-0001.html From realjijo at gmail.com Tue Oct 2 22:07:43 2012 From: realjijo at gmail.com (Jijo) Date: Tue, 2 Oct 2012 14:07:43 -0400 Subject: [Freeswitch-users] freeswitch vm 1.0.0.2 default login and password?? Message-ID: I'm using freeswitch vm 1.0.0.2. The system boots up but i don't the default login and password I appreciate if anyone can update me the info. Thanks Jijo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/a1da5e3a/attachment.html From dev at whit.ca Tue Oct 2 22:55:59 2012 From: dev at whit.ca (Whitney Thiele) Date: Tue, 2 Oct 2012 14:55:59 -0400 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: <4F53D363-5296-4E38-B08B-7DF02EE0451E@whit.ca> Chad, Looks great! How are you licensing this library? MIT? Thanks, Whit On 2012-10-02, at 9:57 AM, Chad Engler wrote: > Hello, > > I couldn?t find a Node.js library for FreeSWITCH Event Sockets that really followed the reference:http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. > > Feedback is appreciated: > > https://github.com/englercj/node-esl > > Thanks, > > Chad Engler > Web Programmer > PATLive > 1.800.775.7790 x746 > Chad.Engler at patlive.com > > Hosted Communications | Friendly Service www.patlive.com > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121002/03136ffc/attachment.html From cmason at frontiernetworks.ca Wed Oct 3 02:12:25 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Tue, 2 Oct 2012 18:12:25 -0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: References: <0D1C698866F66045A6201FD0F59CAC900146997020@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699702B@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC900146997049@EX.frontier.local> Message-ID: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> Thanks guys. Error in latest HEAD: [root at testpbx1 freeswitch]# git show --name-status commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 Author: Anthony Minessale Date: Tue Oct 2 12:22:03 2012 -0500 FS-4677 --resolve M src/mod/applications/mod_conference/mod_conference.c M src/mod/endpoints/mod_sofia/sofia.c While running a make: /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ???conference_outcall???: /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:6570: error: ???call_id??? may be used uninitialized in this function make[5]: *** [mod_conference.lo] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_conference-all] Error 1 From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 4:28 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru latest HEAD, not stable. On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason > wrote: I will update the box tonight with the latest v1.2stable GIT and report back, just wondering if there was an issue? Thanks Anthony, Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 3:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru try latest On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote: Sorry, FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin Mason Sent: Tuesday, October 02, 2012 2:29 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] proxy_media breaks T38 passthru I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax machines. I have a freeswitch box that acts as a router to route SIP from our carrier network into our customers private network. This is the only function this box performs. The profiles on this box have: Faxes complete 99% of the time. If I enable right before the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone know why this is? Thanks, Colin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/e22c451b/attachment-0001.html From krice at freeswitch.org Wed Oct 3 02:20:26 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 02 Oct 2012 17:20:26 -0500 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> Message-ID: That?s been fixed too... On 10/2/12 5:12 PM, "Colin Mason" wrote: > Thanks guys. Error in latest HEAD: > > [root at testpbx1 freeswitch]# git show --name-status > commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 > Author: Anthony Minessale > Date:?? Tue Oct 2 12:22:03 2012 -0500 > > ??? FS-4677 --resolve > > M?????? src/mod/applications/mod_conference/mod_conference.c > M?????? src/mod/endpoints/mod_sofia/sofia.c > > > > > > While running a make: > > /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c > : In function ???conference_outcall???: > /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c > :6570: error: ???call_id??? may be used uninitialized in this function > > make[5]: *** [mod_conference.lo] Error 1 > make[4]: *** [all] Error 1 > make[3]: *** [mod_conference-all] Error 1 > > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony > Minessale > Sent: Tuesday, October 02, 2012 4:28 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru > > latest HEAD, not stable. > > On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason > wrote: > > I will update the box tonight with the latest v1.2stable GIT and report back, > just wondering if there was an issue? > > Thanks Anthony, > > Colin > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony > Minessale > Sent: Tuesday, October 02, 2012 3:16 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru > > > try latest > > On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote: > > Sorry, > > FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit > 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin > Mason > Sent: Tuesday, October 02, 2012 2:29 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] proxy_media breaks T38 passthru > > > I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax > machines. > > I have a freeswitch box that acts as a router to route SIP from our carrier > network into our customers private network. This is the only function this box > performs. > > The profiles on this box have: > > > > > Faxes complete 99% of the time. > > If I enable right before > the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone > know why this is? > > Thanks, > Colin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/849a3332/attachment.html From msc at freeswitch.org Wed Oct 3 02:44:56 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 2 Oct 2012 15:44:56 -0700 Subject: [Freeswitch-users] freeswitch vm 1.0.0.2 default login and password?? In-Reply-To: References: Message-ID: What is FreeSWITCH vm 1.0.0.2? -MC On Tue, Oct 2, 2012 at 11:07 AM, Jijo wrote: > I'm using freeswitch vm 1.0.0.2. The system boots up but i don't the > default login and password > > I appreciate if anyone can update me the info. > > Thanks > Jijo > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/f595642a/attachment.html From curriegrad2004 at gmail.com Wed Oct 3 05:20:52 2012 From: curriegrad2004 at gmail.com (curriegrad2004) Date: Tue, 2 Oct 2012 18:20:52 -0700 Subject: [Freeswitch-users] freeswitch vm 1.0.0.2 default login and password?? In-Reply-To: References: Message-ID: If this is an appliance you've downloaded from places other than freeswitch.org, chances are you'll have to go to that site where you downloaded the VM from and see if you can find any reference about the root password. Unlreated tip, but might be a helpful one is try using the init=/bin/sh or something similar on the VM appliance you've downloaded as the boot argument. On Tue, Oct 2, 2012 at 3:44 PM, Michael Collins wrote: > What is FreeSWITCH vm 1.0.0.2? > -MC > > On Tue, Oct 2, 2012 at 11:07 AM, Jijo wrote: >> >> I'm using freeswitch vm 1.0.0.2. The system boots up but i don't the >> default login and password >> >> I appreciate if anyone can update me the info. >> >> Thanks >> Jijo >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From william at xofap.com Wed Oct 3 07:28:52 2012 From: william at xofap.com (William Alianto) Date: Wed, 03 Oct 2012 10:28:52 +0700 Subject: [Freeswitch-users] FreeTDM outgoing dialplan In-Reply-To: References: <5069468D.4090309@xofap.com> <506A5E02.4080808@xofap.com> Message-ID: <506BB0F4.1060908@xofap.com> Hi Michael, Here is the log you asked for : http://pastebin.freeswitch.org/19968 Regards On 10/02/2012 10:08 PM, Michael Collins wrote: > Well, this is a problem: > > state: DOWN > > That means it isn't operational. I would get a capture of the log for > when you load mod_freetdm. Drop it in pastebin.freeswitch.org > and select "FreeSWITCH Log" as the > syntax highlighting. > > -MC > > On Mon, Oct 1, 2012 at 8:22 PM, William Alianto > wrote: > > here is the dump message for the port : > > freeswitch at internal> ftdm dump 1 4 > span_id: 1 > chan_id: 4 > physical_span_id: 1 > physical_chan_id: 4 > physical_status: ok > physical_status_red: 0 > physical_status_yellow: 0 > physical_status_rai: 0 > physical_status_blue: 0 > physical_status_ais: 0 > physical_status_general: 0 > signaling_status: UP > type: FXO > state: DOWN > last_state: BUSY > txgain: 0.00 > rxgain: 0.00 > cid_date: > cid_name: > cid_num: > ani: > aniII: > dnis: > rdnis: > cause: NONE > session: (none) > > -- States -- -- Function -- -- > Location -- -- Time Offset -- > PROGRESS => PROGRESS_MEDIA [channel_receive_message_fxo] > [mod_freetdm.c:1040] 0ms > PROGRESS_MEDIA => UP [channel_receive_message_fxo] > [mod_freetdm.c:1040] 0ms > UP => HANGUP [channel_on_hangup] [mod_freetdm.c:586] > 11641ms > HANGUP => DOWN [ftdm_analog_channel_run] > [ftmod_analog.c:564] 519ms > DOWN => DIALING [analog_fxo_outgoing_call] > [ftmod_analog.c:62] 182116ms > DIALING => BUSY [ftdm_analog_channel_run] > [ftmod_analog.c:505] 5020ms > BUSY => DOWN [ftdm_analog_channel_run] > [ftmod_analog.c:802] 20ms > DOWN => DIALING [analog_fxo_outgoing_call] > [ftmod_analog.c:62] 29140ms > DIALING => BUSY [ftdm_analog_channel_run] > [ftmod_analog.c:505] 5020ms > BUSY => DOWN [ftdm_analog_channel_run] > [ftmod_analog.c:802] 20ms > > Time since last state change: 64974617ms > > This is for Indonesia line, but it usually works fine using us tone. > > > > On 10/01/2012 11:38 PM, Michael Collins wrote: >> Look at line 107 of your paste: >> 2012-10-01 11:08:24.301591 [DEBUG] switch_ivr_originate.c:3508 >> Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] >> >> For whatever reason mod_freetdm thinks that port is in use. Try >> "ftdm dump " to see if there's any clues as to the >> state of the channel. Also, what country is this? Do you have >> your tones properly specified? >> -MC >> >> On Mon, Oct 1, 2012 at 12:30 AM, William Alianto >> > wrote: >> >> I recently installed 2 spans of analog cards to my box. After >> all the >> configuration, I can already accept incoming from the FXO >> ports. But >> when I tried to do outbound call, it always fail. This is the >> dialplan I >> used for outgoing call >> >> >> >> > data="call_direction=outbound" /> >> > data="hangup_after_bridge=true" /> >> >> >> >> >> And here is the log of the call >> >> http://pastebin.com/PAY42vTh >> >> It seems that the dtmf was not delivered properly. Can anyone >> help me >> with this? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/1e446682/attachment-0001.html From gabe at gundy.org Wed Oct 3 07:34:41 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Tue, 2 Oct 2012 21:34:41 -0600 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: On Tue, Oct 2, 2012 at 1:29 PM, Chad Engler wrote: > I wrote the library at work, and got permission to put it publicly on > GitHub; however I haven?t gotten confirmation of what License my bosses are > comfortable with. I recommended MIT, and I?m sure it will either be that or > GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. You should strongly consider MPL. That's what FreeSWITCH is under. It's nice when complementary projects to keep licensing simple for those who would like to use your contribution along side FreeSWITCH.. Happy hacking! Gabe From krice at freeswitch.org Wed Oct 3 07:46:49 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 02 Oct 2012 22:46:49 -0500 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: Message-ID: Not to start the license wars again... But seriously consider MPL... The GPLv3 has some serious issues with the way it addresses the so called ?socket loophole? and reaches thru the socket to infect other software. On 10/2/12 2:29 PM, "Chad Engler" wrote: > Michael ? > > Thanks for the feedback! I am working on some example apps right now, but > basically anything that can be done with an ESL application in any of the > other supported languages, should be valid here as well. Hopefully I can throw > something together by the end of next week. > > Whitney ? > > I wrote the library at work, and got permission to put it publicly on GitHub; > however I haven?t gotten confirmation of what License my bosses are > comfortable with. I recommended MIT, and I?m sure it will either be that or > GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. > > -Chad > > > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael > Collins > Sent: Tuesday, October 02, 2012 12:02 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] New Node.js ESL Library > > Chad, > > Wow, you wrote software AND you documented it! Very cool. For those of us who > know basically nothing about node.js, how might this be used in a real world > application? Do you have any sample apps that we could try out? > > Thanks again for your willingness to add your work to the FreeSWITCH > ecosystem! > > -Michael > > On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler wrote: > > Hello, > > I couldn?t find a Node.js library for FreeSWITCH Event Sockets that really > followed the reference: > http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created > on to implement it as closely as possible. > > Feedback is appreciated: > > https://github.com/englercj/node-esl > > Thanks, > > Chad Engler > Web Programmer > PATLive > 1.800.775.7790 x746 > Chad.Engler at patlive.com > > Hosted Communications | Friendly Service www.patlive.com > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121002/47e83791/attachment.html From jaybinks at gmail.com Wed Oct 3 09:20:44 2012 From: jaybinks at gmail.com (jay binks) Date: Wed, 3 Oct 2012 15:20:44 +1000 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: How about MPL, if its good enough for Freeswitch then surely its good enough for your code also :) I just know there are some concerns with GPL3. On 3 October 2012 05:29, Chad Engler wrote: > Michael ?**** > > ** ** > > Thanks for the feedback! I am working on some example apps right now, but > basically anything that can be done with an ESL application in any of the > other supported languages, should be valid here as well. Hopefully I can > throw something together by the end of next week.**** > > ** ** > > Whitney ?**** > > ** ** > > I wrote the library at work, and got permission to put it publicly on > GitHub; however I haven?t gotten confirmation of what License my bosses are > comfortable with. I recommended MIT, and I?m sure it will either be that or > GNU GPL v3. I should know by tomorrow and have a LICENSE file posted.**** > > ** ** > > -Chad**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* Tuesday, October 02, 2012 12:02 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] New Node.js ESL Library**** > > ** ** > > Chad, > > Wow, you wrote software AND you documented it! Very cool. For those of us > who know basically nothing about node.js, how might this be used in a real > world application? Do you have any sample apps that we could try out? > > Thanks again for your willingness to add your work to the FreeSWITCH > ecosystem! > > -Michael**** > > On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler > wrote:**** > > Hello,**** > > **** > > I couldn?t find a Node.js library for FreeSWITCH Event Sockets that really > followed the reference: > http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I > created on to implement it as closely as possible.**** > > **** > > Feedback is appreciated:**** > > **** > > https://github.com/englercj/node-esl**** > > **** > > Thanks,**** > > **** > > *Chad Engler***** > > Web Programmer**** > > PATLive**** > > 1.800.775.7790 x746**** > > Chad.Engler at patlive.com**** > > **** > > Hosted Communications | Friendly Service www.patlive.com**** > > **** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > **** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/7c51ff6e/attachment-0001.html From cmason at frontiernetworks.ca Wed Oct 3 09:56:26 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Wed, 3 Oct 2012 01:56:26 -0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: References: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> Message-ID: <0D1C698866F66045A6201FD0F59CAC90014699708D@EX.frontier.local> Hi guys, Things appear to be fixed in the latest HEAD. Thanks. Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Tuesday, October 02, 2012 6:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru That?s been fixed too... On 10/2/12 5:12 PM, "Colin Mason" wrote: Thanks guys. Error in latest HEAD: [root at testpbx1 freeswitch]# git show --name-status commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 Author: Anthony Minessale Date: Tue Oct 2 12:22:03 2012 -0500 FS-4677 --resolve M src/mod/applications/mod_conference/mod_conference.c M src/mod/endpoints/mod_sofia/sofia.c While running a make: /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ???conference_outcall???: /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:6570: error: ???call_id??? may be used uninitialized in this function make[5]: *** [mod_conference.lo] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_conference-all] Error 1 From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 4:28 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru latest HEAD, not stable. On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason wrote: I will update the box tonight with the latest v1.2stable GIT and report back, just wondering if there was an issue? Thanks Anthony, Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 3:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru try latest On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason wrote: Sorry, FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin Mason Sent: Tuesday, October 02, 2012 2:29 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] proxy_media breaks T38 passthru I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax machines. I have a freeswitch box that acts as a router to route SIP from our carrier network into our customers private network. This is the only function this box performs. The profiles on this box have: Faxes complete 99% of the time. If I enable right before the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone know why this is? Thanks, Colin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/7f7ee93b/attachment.html From vitaliy.davudov at vts24.ru Wed Oct 3 11:44:23 2012 From: vitaliy.davudov at vts24.ru (=?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0JTQsNCy0YPQtNC+0LI=?=) Date: Wed, 03 Oct 2012 11:44:23 +0400 Subject: [Freeswitch-users] Need help in NAT traversal In-Reply-To: References: <5069C8DD.5090902@vts24.ru> Message-ID: <506BECD7.5040406@vts24.ru> Hi, Anton! Thanks for your answer! Problem was resolved on the far side. Freeswitch did not require more adjustment. 01.10.2012 23:17, Anton Kvashenkin ?????: > Which gateway do you use? You can try stun.sipnet.ru > . Could you please paste sip-messages (use > ngrep) from 3-way handshake, also sofia_contact */external_gateway > > 2012/10/1 ??????? ??????? > > > Hi! > I tried to establish connection between Freeswitch and external > gateway which is located behind NAT. > > NAT-gateway is configured to do ip/port forwarding. > > RTP session can't be established. With tcpdump & wireshark that's > what I saw: > > |Time | 91.211.XXX.XXX | > 192.168.0.100 | > | | | 77.246.XXX.XXX | > |8,088 | INVITE SDP (g711A g711U CN) > | |SIP From: "9260123069" > | |(5065) ------------------> (5065) | | > |8,088 | INVITE SDP (g711A g711U CN) > | |SIP From: "9260123069" > | |(5065) ------------------> (5065) | | > |8,099 | 100 Trying| | |SIP Status > | |(5065) <------------------ (5065) | | > |8,116 | 200 Ok SDP (g711A) | |SIP Status > | |(5065) <------------------ (5065) | | > |8,117 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |8,117 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |8,199 | RTP (g711A) | |RTP Num > packets:28 Duration:0.259s SSRC:0x76B458 > | |(16694) --------------------------------------> (49152) | > |8,287 | RTP (g711A) | |RTP Num > packets:860 Duration:17.181s SSRC:0xEAC34F46 > | |(16694) <------------------ (49152) | | > |8,479 | RTP (g711A) | |RTP Num > packets:1488 Duration:14.900s SSRC:0x76B458 > | |(16694) ------------------> (49152) | | > |10,116 | 200 Ok SDP (g711A) | |SIP Status > | |(5065) <------------------ (5065) | | > |10,116 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |10,116 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |14,116 | 200 Ok SDP (g711A) | |SIP Status > | |(5065) <------------------ (5065) | | > |14,116 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |14,116 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |22,116 | 200 Ok SDP (g711A) | |SIP Status > | |(5065) <------------------ (5065) | | > |22,116 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |22,116 | ACK | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |23,420 | BYE | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |23,420 | BYE | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |24,421 | BYE | | |SIP Request > | |(5065) --------------------------------------> (5065) | > |24,421 | BYE | | |SIP Request > | |(5065) --------------------------------------> (5065) | > > Freeswitch answered to local ip-address of a gateway which used in > sip "contact" header. Is it possible to say Freeswitch to use > public ip-address which is in the field "from" instead? > > -- > Best regards, > Vitaly. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 -- ? ?????????? ???????????, ??????? ??????? ????????? ??? "???-???????-??????" (?????? ???????? "ETERIA") http://www.vts24.ru ???: (495) 989-47-00 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/eb93926e/attachment-0001.html From ntomer at newgen.co.in Wed Oct 3 13:30:07 2012 From: ntomer at newgen.co.in (Nitin Tomer) Date: Wed, 3 Oct 2012 15:00:07 +0530 Subject: [Freeswitch-users] Help needed in a Contact Center solution In-Reply-To: <013301cd9d42$82ebdb70$88c39250$@co.in> References: <011601cd9cac$2919d840$7b4d88c0$@co.in> <013301cd9d42$82ebdb70$88c39250$@co.in> Message-ID: <034d01cda149$ad8520c0$088f6240$@co.in> Hi, Please help me in this. Regards Nitin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Nitin Tomer Sent: Friday, September 28, 2012 11:59 AM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Help needed in a Contact Center solution Hi Michael, Thanks for your response. I have been able to configure IVR and it works great. But I am not able to understand how to ask caller to enter some identification number, followed by hash. And then enter that value in database. Any pointers? Regards Nitin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, September 27, 2012 10:22 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Help needed in a Contact Center solution Don't forget about our two books: http://link.packtpub.com/nuIOlX https://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-tele phony-systems/book They discuss items 1 and 2 in pretty good detail, especially chapter 6 of the "bridge" book (it has a bridge on the cover) -MC On Thu, Sep 27, 2012 at 5:53 AM, Gabriel Gunderson wrote: On Thu, Sep 27, 2012 at 6:32 AM, Nitin Tomer wrote: > 1. An end-customer calls, the call is handled by mod_ivr. > 2. Customer is presented with a menu, she makes selection and also enters > some identification. Her call is parked on a pre-decided extension and an > entry is made in a database for this call. This entry will hold the > selections made by the caller and the extension where call is parked. > Please guide me on how can do points 1 & 2. 1) http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr#General_Concept 2) http://wiki.freeswitch.org/wiki/Mod_db#mod_db ? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/b98449e2/attachment.html From kbdfck at gmail.com Wed Oct 3 14:44:23 2012 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Wed, 3 Oct 2012 14:44:23 +0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: <0D1C698866F66045A6201FD0F59CAC90014699708D@EX.frontier.local> References: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699708D@EX.frontier.local> Message-ID: Seems commit fixing FS-4669 didn't help us, will try to provide new dumps. 2012/10/3 Colin Mason > Hi guys,**** > > ** ** > > Things appear to be fixed in the latest HEAD. Thanks.**** > > ** ** > > Colin**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice > *Sent:* Tuesday, October 02, 2012 6:20 PM > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru**** > > ** ** > > That?s been fixed too... > > > On 10/2/12 5:12 PM, "Colin Mason" wrote:**** > > Thanks guys. Error in latest HEAD: > > [root at testpbx1 freeswitch]# git show --name-status > commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 > Author: Anthony Minessale > Date: Tue Oct 2 12:22:03 2012 -0500 > > FS-4677 --resolve > > M src/mod/applications/mod_conference/mod_conference.c > M src/mod/endpoints/mod_sofia/sofia.c > > > > > > While running a make: > > /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: > In function ???conference_outcall???: > /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:6570: > error: ???call_id??? may be used uninitialized in this function > > make[5]: *** [mod_conference.lo] Error 1 > make[4]: *** [all] Error 1 > make[3]: *** [mod_conference-all] Error 1 > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *On Behalf Of *Anthony Minessale > *Sent:* Tuesday, October 02, 2012 4:28 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru > > latest HEAD, not stable. > > On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason > wrote: > > I will update the box tonight with the latest v1.2stable GIT and report > back, just wondering if there was an issue? > > Thanks Anthony, > > Colin > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *On Behalf Of *Anthony Minessale > *Sent:* Tuesday, October 02, 2012 3:16 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru > > > try latest > > On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote: > > Sorry, > > FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at > commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *On Behalf Of *Colin Mason > *Sent:* Tuesday, October 02, 2012 2:29 PM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] proxy_media breaks T38 passthru > > > I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax > machines. > > I have a freeswitch box that acts as a router to route SIP from our > carrier network into our customers private network. This is the only > function this box performs. > > The profiles on this box have: > > > > > Faxes complete 99% of the time. > > If I enable right > before the bridge it completely breaks T38 faxing. Success rate of 0%. Does > anyone know why this is? > > Thanks, > Colin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > **** > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Best regards, Dmitry Sytchev, IT Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/b64d5f7f/attachment-0001.html From gmaruzz at gmail.com Wed Oct 3 15:55:53 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 3 Oct 2012 13:55:53 +0200 Subject: [Freeswitch-users] GSMOPEN sms In-Reply-To: References: Message-ID: On Fri, Sep 28, 2012 at 1:32 PM, Sameer Khan wrote: > I can't see incoming sms in event plain message > > I'm using huawei e1550, Is there anything else needed apart from default > config? No, nothing else. You can test it this way: http://wiki.freeswitch.org/wiki/GSMopen#MESSAGE_.28SMSs.29 -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From gmaruzz at gmail.com Wed Oct 3 15:59:00 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 3 Oct 2012 13:59:00 +0200 Subject: [Freeswitch-users] GSMOPEN to send long SMS In-Reply-To: References: Message-ID: On Wed, Sep 12, 2012 at 3:18 PM, Yihui Li wrote: > I have used mod_gsmopen to send short text messages from my E1550. However, > where the length is longer than 160 chars, it always fail. Is there any > solution to send long sms like the mobile phone? Sorry for noy answering timely. Can you please open a Jira request for this one? you can do it at http://jira.freeswitch.org -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From gmaruzz at gmail.com Wed Oct 3 16:00:46 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 3 Oct 2012 14:00:46 +0200 Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: References: Message-ID: On Sat, Jul 7, 2012 at 12:07 AM, DP . wrote: > Hi, > > Does mod_skypopen generate inbound A-leg CDRs? > > Simple scenario, inbound call from Skype to anywhere in Freeswitch > (currently a Lua script, but also tried direct to extensions), does not > generate any CDRs for that A-Leg. > I tried transferring to another context, bridging, etc to no avail... only > the b-leg, if present, generates a CDR. > > To eliminate my xml_cdr, I purposely set the post url to an invalid link, > which throws a red crit error in console upon call hangup of regular > mod_sofia calls. The mod_skypopen throws no error whatsoever, possibly > indicating its not generating the CDR? > > Im running FreeSWITCH Version 1.0.head (git-5e4a514 2012-03-10 22-56-29 > -0500). > > (Tried updating to the latest 1.2 branch last week but got random restarts > and crashes of freeswitch, also kept getting "unclean" in the git version > header after several make currents', had to quickly revert as this is a > production box). Will clone the install again and try and test the latest > git at a later date). Hello, can you please test with latest git trunk, or latest stable git, and if the problem persists, open a jira issue? You can open a jira issue at http://jira.freeswitch.org -giovanni > > Thanks, > > -Damian > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > Join Us At ClueCon - Aug 7-9, 2012 > > FreeSWITCH-users mailing list > FreeSWITCH-users at 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 From anthony.minessale at gmail.com Wed Oct 3 18:25:05 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 3 Oct 2012 09:25:05 -0500 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: References: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699708D@EX.frontier.local> Message-ID: I'm sure it does, make sure you fresh checkout and build git HEAD. The problem was crystal clear and it was both reproduced and fixed. On Wed, Oct 3, 2012 at 5:44 AM, Dmitry Sytchev wrote: > Seems commit fixing FS-4669 didn't help us, will try to provide new dumps. > > > 2012/10/3 Colin Mason > >> Hi guys,**** >> >> ** ** >> >> Things appear to be fixed in the latest HEAD. Thanks.**** >> >> ** ** >> >> Colin**** >> >> ** ** >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice >> *Sent:* Tuesday, October 02, 2012 6:20 PM >> >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru**** >> >> ** ** >> >> That?s been fixed too... >> >> >> On 10/2/12 5:12 PM, "Colin Mason" wrote:**** >> >> Thanks guys. Error in latest HEAD: >> >> [root at testpbx1 freeswitch]# git show --name-status >> commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 >> Author: Anthony Minessale >> Date: Tue Oct 2 12:22:03 2012 -0500 >> >> FS-4677 --resolve >> >> M src/mod/applications/mod_conference/mod_conference.c >> M src/mod/endpoints/mod_sofia/sofia.c >> >> >> >> >> >> While running a make: >> >> /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: >> In function ???conference_outcall???: >> /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:6570: >> error: ???call_id??? may be used uninitialized in this function >> >> make[5]: *** [mod_conference.lo] Error 1 >> make[4]: *** [all] Error 1 >> make[3]: *** [mod_conference-all] Error 1 >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [ >> mailto:freeswitch-users-bounces at lists.freeswitch.org] >> *On Behalf Of *Anthony Minessale >> *Sent:* Tuesday, October 02, 2012 4:28 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru >> >> latest HEAD, not stable. >> >> On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason >> wrote: >> >> I will update the box tonight with the latest v1.2stable GIT and report >> back, just wondering if there was an issue? >> >> Thanks Anthony, >> >> Colin >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [ >> mailto:freeswitch-users-bounces at lists.freeswitch.org] >> *On Behalf Of *Anthony Minessale >> *Sent:* Tuesday, October 02, 2012 3:16 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru >> >> >> try latest >> >> On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason >> wrote: >> >> Sorry, >> >> FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at >> commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [ >> mailto:freeswitch-users-bounces at lists.freeswitch.org] >> *On Behalf Of *Colin Mason >> *Sent:* Tuesday, October 02, 2012 2:29 PM >> *To:* freeswitch-users at lists.freeswitch.org >> *Subject:* [Freeswitch-users] proxy_media breaks T38 passthru >> >> >> I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax >> machines. >> >> I have a freeswitch box that acts as a router to route SIP from our >> carrier network into our customers private network. This is the only >> function this box performs. >> >> The profiles on this box have: >> >> >> >> >> Faxes complete 99% of the time. >> >> If I enable right >> before the bridge it completely breaks T38 faxing. Success rate of 0%. Does >> anyone know why this is? >> >> Thanks, >> Colin >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> **** >> >> >> -- >> Ken >> *http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> *irc.freenode.net #freeswitch**** >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Best regards, > > Dmitry Sytchev, > IT Engineer > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/844d3ad9/attachment-0001.html From lloyd.aloysius at gmail.com Wed Oct 3 19:12:14 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Wed, 3 Oct 2012 11:12:14 -0400 Subject: [Freeswitch-users] Endpoint Registration - User name and Authorization user name Message-ID: Hi All: By default in freeswitch user id is use for *User name* and *Authorization user name *in the Endpoint Configuration. Can we setup different User Name and Authorization user name? Thanks Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/479d896b/attachment.html From msc at freeswitch.org Wed Oct 3 19:44:13 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Oct 2012 08:44:13 -0700 Subject: [Freeswitch-users] Help needed in a Contact Center solution In-Reply-To: <034d01cda149$ad8520c0$088f6240$@co.in> References: <011601cd9cac$2919d840$7b4d88c0$@co.in> <013301cd9d42$82ebdb70$88c39250$@co.in> <034d01cda149$ad8520c0$088f6240$@co.in> Message-ID: Have you tried the suggestions we made? -MC On Wed, Oct 3, 2012 at 2:30 AM, Nitin Tomer wrote: > Hi,**** > > ** ** > > Please help me in this.**** > > ** ** > > Regards**** > > ** ** > > Nitin**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Nitin Tomer > *Sent:* Friday, September 28, 2012 11:59 AM > *To:* 'FreeSWITCH Users Help' > *Subject:* Re: [Freeswitch-users] Help needed in a Contact Center solution > **** > > ** ** > > Hi Michael,**** > > ** ** > > Thanks for your response. I have been able to configure IVR and it works > great. But I am not able to understand how to ask caller to enter some > identification number, followed by hash. And then enter that value in > database.**** > > ** ** > > Any pointers?**** > > ** ** > > Regards**** > > ** ** > > Nitin**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* Thursday, September 27, 2012 10:22 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Help needed in a Contact Center solution > **** > > ** ** > > Don't forget about our two books: > http://link.packtpub.com/nuIOlX > > https://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-telephony-systems/book > > They discuss items 1 and 2 in pretty good detail, especially chapter 6 of > the "bridge" book (it has a bridge on the cover) > -MC**** > > On Thu, Sep 27, 2012 at 5:53 AM, Gabriel Gunderson wrote: > **** > > On Thu, Sep 27, 2012 at 6:32 AM, Nitin Tomer wrote: > > 1. An end-customer calls, the call is handled by mod_ivr. > > 2. Customer is presented with a menu, she makes selection and also enters > > some identification. Her call is parked on a pre-decided extension and an > > entry is made in a database for this call. This entry will hold the > > selections made by the caller and the extension where call is parked.*** > * > > **** > > > > Please guide me on how can do points 1 & 2.**** > > 1) > http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr#General_Concept > 2) http://wiki.freeswitch.org/wiki/Mod_db#mod_db ? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org**** > > ** ** > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software Technologies Ltd (NSTL) accepts no responsibilities for loss or > damage arising from the use of the information transmitted by this email > including damages from virus and further acknowledges that no binding > nature of the message shall be implied or assumed unless the sender does so > expressly with due authority of NSTL. **** > > ** ** > > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software Technologies Ltd (NSTL) accepts no responsibilities for loss or > damage arising from the use of the information transmitted by this email > including damages from virus and further acknowledges that no binding > nature of the message shall be implied or assumed unless the sender does so > expressly with due authority of NSTL. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/9ae6f6e2/attachment.html From steveayre at gmail.com Wed Oct 3 19:51:08 2012 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 3 Oct 2012 16:51:08 +0100 Subject: [Freeswitch-users] Codec Negotiation In-Reply-To: References: Message-ID: Codecs can differ on the aleg and bleg, FS will transcode between them if possible. So what you saw is perfectly normal. G729 is one where the transcoding will fail though unless you have a licensed version (mod_com_g729 or sangoma hardware). There are options you can adjust to alter how the codecs are selected, including to force the bleg to use the aleg codec and visa versa, see http://wiki.freeswitch.org/wiki/Codec_negotiation -Steve On 1 October 2012 15:47, Balamurugan Mahendran wrote: > > Codec help!! > > inbound call pass through lua file for bridge to another number, Looks one > channel picks PCMU and the other took G729. > > Is this because of misconfiguration (or) is this normal? And my call quality > is not okay. > > This happens to rtmp calls too. > > Please advice me to setup properly. > > > DID call : > > "Unavailable","+16613804913","+19840483100","public","2012-10-01 > 14:39:21","2012-10-01 14:39:29","2012-10-01 > 14:41:39","138","130","NORMAL_CLEARING","c9841afa-0bd5-11e2-8266-292d0bf811c2","","","G729","G729" > "Unavailable","+16613804913","+19665108963","public","2012-10-01 > 14:39:21","2012-10-01 14:39:29","2012-10-01 > 14:41:39","138","130","NORMAL_CLEARING","c9818a10-0bd5-11e2-8262-292d0bf811c2","c9841afa-0bd5-11e2-8266-292d0bf811c2","","PCMU","PCMU" > > RTMP call : > > "","0000000000","+19884730340","rtmp","2012-10-01 14:06:56","2012-10-01 > 14:07:11","2012-10-01 > 14:07:39","43","28","NORMAL_CLEARING","42246f00-0bd1-11e2-8245-292d0bf811c2","","","G729","G729" > "","0000000000","+OG90000956","rtmp","2012-10-01 14:06:56","2012-10-01 > 14:07:11","2012-10-01 > 14:07:39","43","28","NORMAL_CLEARING","422253be-0bd1-11e2-8241-292d0bf811c2","42246f00-0bd1-11e2-8245-292d0bf811c2","","SPEEX","SPEEX" > > > Thanks, > Bala > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From vipkilla at gmail.com Wed Oct 3 19:52:29 2012 From: vipkilla at gmail.com (Vik Killa) Date: Wed, 3 Oct 2012 11:52:29 -0400 Subject: [Freeswitch-users] Endpoint Registration - User name and Authorization user name In-Reply-To: References: Message-ID: Use the 'number-alias' parameter: http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Alphanumeric_to_numeric_user_mapping On Wed, Oct 3, 2012 at 11:12 AM, Lloyd Aloysius wrote: > Hi All: > > By default in freeswitch user id is use for User name and Authorization user > name in the Endpoint Configuration. > > Can we setup different User Name and Authorization user name? > > > Thanks > Lloyd > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From steveayre at gmail.com Wed Oct 3 19:53:52 2012 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 3 Oct 2012 16:53:52 +0100 Subject: [Freeswitch-users] RTMP + G.729 Codec In-Reply-To: References: Message-ID: G729 is not supported by the RTMP protocol. See page 14 of http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf Speex is the one used by default. -Steve On 1 October 2012 15:12, Balamurugan Mahendran wrote: > I am working on rtmp call quality, Is it possible to use g.729 for rtmp? and > will it increase the quality? > > Now I am experiencing Echo + large delay and background noise. > > Thanks, > Bala > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From b2m at a-cti.com Wed Oct 3 20:01:00 2012 From: b2m at a-cti.com (Balamurugan Mahendran) Date: Wed, 3 Oct 2012 21:31:00 +0530 Subject: [Freeswitch-users] RTMP + G.729 Codec In-Reply-To: References: Message-ID: Thanks!! --Bala On Wed, Oct 3, 2012 at 9:23 PM, Steven Ayre wrote: > G729 is not supported by the RTMP protocol. > > See page 14 of > http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf > > Speex is the one used by default. > > -Steve > > > > > On 1 October 2012 15:12, Balamurugan Mahendran wrote: > > I am working on rtmp call quality, Is it possible to use g.729 for rtmp? > and > > will it increase the quality? > > > > Now I am experiencing Echo + large delay and background noise. > > > > Thanks, > > Bala > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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/20121003/21a3bce3/attachment.html From b2m at a-cti.com Wed Oct 3 20:02:53 2012 From: b2m at a-cti.com (Balamurugan Mahendran) Date: Wed, 3 Oct 2012 21:32:53 +0530 Subject: [Freeswitch-users] Codec Negotiation In-Reply-To: References: Message-ID: Yea, I try to do the same, still its picking the default one Thanks, Bala On Wed, Oct 3, 2012 at 9:21 PM, Steven Ayre wrote: > Codecs can differ on the aleg and bleg, FS will transcode between them > if possible. So what you saw is perfectly normal. > > G729 is one where the transcoding will fail though unless you have a > licensed version (mod_com_g729 or sangoma hardware). > > There are options you can adjust to alter how the codecs are selected, > including to force the bleg to use the aleg codec and visa versa, see > http://wiki.freeswitch.org/wiki/Codec_negotiation > > -Steve > > > > On 1 October 2012 15:47, Balamurugan Mahendran wrote: > > > > Codec help!! > > > > inbound call pass through lua file for bridge to another number, Looks > one > > channel picks PCMU and the other took G729. > > > > Is this because of misconfiguration (or) is this normal? And my call > quality > > is not okay. > > > > This happens to rtmp calls too. > > > > Please advice me to setup properly. > > > > > > DID call : > > > > "Unavailable","+16613804913","+19840483100","public","2012-10-01 > > 14:39:21","2012-10-01 14:39:29","2012-10-01 > > > 14:41:39","138","130","NORMAL_CLEARING","c9841afa-0bd5-11e2-8266-292d0bf811c2","","","G729","G729" > > "Unavailable","+16613804913","+19665108963","public","2012-10-01 > > 14:39:21","2012-10-01 14:39:29","2012-10-01 > > > 14:41:39","138","130","NORMAL_CLEARING","c9818a10-0bd5-11e2-8262-292d0bf811c2","c9841afa-0bd5-11e2-8266-292d0bf811c2","","PCMU","PCMU" > > > > RTMP call : > > > > "","0000000000","+19884730340","rtmp","2012-10-01 14:06:56","2012-10-01 > > 14:07:11","2012-10-01 > > > 14:07:39","43","28","NORMAL_CLEARING","42246f00-0bd1-11e2-8245-292d0bf811c2","","","G729","G729" > > "","0000000000","+OG90000956","rtmp","2012-10-01 14:06:56","2012-10-01 > > 14:07:11","2012-10-01 > > > 14:07:39","43","28","NORMAL_CLEARING","422253be-0bd1-11e2-8241-292d0bf811c2","42246f00-0bd1-11e2-8245-292d0bf811c2","","SPEEX","SPEEX" > > > > > > Thanks, > > Bala > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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/20121003/87ea8f7c/attachment.html From steveayre at gmail.com Wed Oct 3 20:03:23 2012 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 3 Oct 2012 17:03:23 +0100 Subject: [Freeswitch-users] xml_cdr ssl In-Reply-To: <506A8ABD.40301@softnet.si> References: <506A8ABD.40301@softnet.si> Message-ID: First off you should *never* be using a CA private key. > That key should only ever be used for signing certs! It should never be distributed or used anywhere else. Otherwise anyone who gets access to the key can sign any cert as your CA. These are *client* certificates. The HTTPS protocol lets you authenticate the client just like it authenticates the server, like a PKI equivalent of a username+password. But it's optional. You almost certainly don't want this. This is one that you *may* want to set, but again it's optional. It's only needed to specify a CA that your system doesn't already know about. These are ones you will actually want to enable (otherwise a HTTPS session might be opened, but will be rather pointless as you're not checking who you're connecting to). To actually get mod_xml_cdr to talk to the server via HTTPS, there is only *one* parameter that you *have* to set... which is to make sure the URL starts with https:// > It appears you've done that, so did you reload the mod_xml_cdr module after saving the changes? The configuration is only read when the module is loaded, not on each request. -Steve On 2 October 2012 07:33, Miha wrote: > Hi, > > I need a help about ssl configuratin for ssl. On my server where https > post should be send I set up openssl (which work ok). I also tried it > with windows and works ok. > > In xml_cdr.conf I add : > > > > > also tried with just: > > > but still no luch. I noticed with wireshark that FS do not send https > post (I trace it on FS server). > > What I am doing wrong? > > Thanks! > MIha > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From msc at freeswitch.org Wed Oct 3 20:14:16 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Oct 2012 09:14:16 -0700 Subject: [Freeswitch-users] FreeSWITCH Conference Call Today Message-ID: Hey all! Don't forget about our conference call today: http://wiki.freeswitch.org/wiki/FS_weekly_2012_10_03 We are going to discuss mobile VoIP and Lumicall for Android devices. If you have an Android device you might want to get Lumicall from the Play Store (it's free) so you'll be ready to try it out on today's call. Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/d4dd68bf/attachment-0001.html From mahesh.katta at flexydial.com Wed Oct 3 20:53:47 2012 From: mahesh.katta at flexydial.com (mahesh katta) Date: Wed, 3 Oct 2012 22:23:47 +0530 Subject: [Freeswitch-users] Inbound DID call on Digium PRI Message-ID: Hi List, I am using Digium PRU card E1 express. In My PRI line has 100 DID's enabled. But when I call on DID number not getting incomming call but I am getting call on pilot/boarding number. can you suggest me is there any parameter to enable for this PRI Card ? Thanking you. Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 222, Arunvihar,Sector-28, Noida 201301 GSM +91.99993 45699 | Phone +91.12.0431.0581 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/abd7c307/attachment.html From lloyd.aloysius at gmail.com Wed Oct 3 20:54:03 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Wed, 3 Oct 2012 12:54:03 -0400 Subject: [Freeswitch-users] Endpoint Registration - User name and Authorization user name In-Reply-To: References: Message-ID: I am not looking that. Currently we use in freeswitch site. *End Point Site* User Name : johnsmith Authorization user name: johnsmith I want to use the following way .... Different username and Authorization user name. Then freeswitch use to user both to Authenticate the user User Name :* **johnsmith* Authorization user name: *john.smith* On Wed, Oct 3, 2012 at 11:52 AM, Vik Killa wrote: > Use the 'number-alias' parameter: > > http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Alphanumeric_to_numeric_user_mapping > > On Wed, Oct 3, 2012 at 11:12 AM, Lloyd Aloysius > wrote: > > Hi All: > > > > By default in freeswitch user id is use for User name and Authorization > user > > name in the Endpoint Configuration. > > > > Can we setup different User Name and Authorization user name? > > > > > > Thanks > > Lloyd > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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/20121003/f7e14e9b/attachment.html From msc at freeswitch.org Wed Oct 3 20:59:35 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 3 Oct 2012 09:59:35 -0700 Subject: [Freeswitch-users] Maintenance Note: FreeSWITCH.org Sites Message-ID: Hello all! Just a note: this coming Friday night at 9PM CST we will be performing some maintenance on a number of sites that inhabit the freeswitch.org domain. This includes wiki.freeswitch.org and www.freeswitch.org. The maintenance probably won't last more than an hour or two. Thanks! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/27027d86/attachment.html From krice at freeswitch.org Wed Oct 3 21:14:58 2012 From: krice at freeswitch.org (Ken Rice) Date: Wed, 03 Oct 2012 12:14:58 -0500 Subject: [Freeswitch-users] Weekly FreeSWITCH Conference Call Message-ID: Hey Guys, we?re getting started on the normal wed conf call... Join us at sip:888 at conference.freeswitch.org Please note there was a DNS change on this several days ago, if you are not getting in, flush your DNS cache, and try again K -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/e4d2ec58/attachment.html From lists at kavun.ch Wed Oct 3 23:39:20 2012 From: lists at kavun.ch (Emrah) Date: Wed, 3 Oct 2012 15:39:20 -0400 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> Message-ID: I am running out of ideas and would really appreciate some input on this. Can I optimize this in any way? Best, Emrah On Sep 30, 2012, at 12:05 AM, Emrah wrote: > When I try this, the delay disappears but FS detects multiple DTMFs where I only send one? > > > > start_dtmf_generate adds the delay and so I'm stuck? > > Any suggestion? > On Sep 29, 2012, at 2:29 PM, Emrah wrote: > >> Hi all, >> >> I am now trying to force inband DTMF on my PSTN peers alone. I tried the following with no luck: >> >> >> >> The delay is still there and I get the following output in my console for a single DTMF: >> >> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1040 >> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal sofia/external/1234567890 [BREAK] >> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 >> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 >> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 >> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 >> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 >> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay of 40ms >> >> Any idea would be greatly appreciated. >> >> All the best, >> Emrah >> On Sep 27, 2012, at 3:54 PM, Emrah wrote: >> >>> Hey Ken, >>> >>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed to have made it less accurate though, especially in fast speed sequences. >>> >>> Can I debug this further and how? >>> >>> Thanks! >>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: >>> >>>> There can be a delay of DTMF in and DTMF out if you are sending long DTMFs >>>> using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates >>>> it... >>>> >>>> If you don't need to interpret the DTMF you can set a variable to make it >>>> just pass the DTMF through untouched... But this has its own set of caveats >>>> (ie: if whatever is sending you DTMF is broken it just pass broken 2833 >>>> DTMF) >>>> >>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 >>>> >>>> >>>> >>>> On 9/27/12 1:49 PM, "Emrah" wrote: >>>> >>>>> MC, the issue does not happen with inband DTMF and there is no delay! >>>>> >>>>> Any idea on how to debug this further? I can't use inband continuously. >>>>> >>>>> Thanks! >>>>> Emrah >>>>> >>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: >>>>> >>>>>> Never tried with inband DTMFs. Will check. >>>>>> >>>>>> Thanks! >>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins wrote: >>>>>> >>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious. >>>>>>> -MC >>>>>>> >>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: >>>>>>> Yes I did. >>>>>>> BTW, the example in the Wiki contradicts the inline documentation in >>>>>>> switch.xml. >>>>>>> >>>>>>> The Wiki shows an example with the value at 100. >>>>>>> >>>>>>> I tried increasing and decreasing it to no avail, it does not seem to >>>>>>> interfere with anything I can measure with my ear. :P >>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez >>>>>>> wrote: >>>>>>> >>>>>>>> You tried this: >>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF >>>>>>>> >>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: >>>>>>>> Hi guys, >>>>>>>> >>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the >>>>>>>> same route, same codecs, same carrier, same phones and same servers? :P >>>>>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH. >>>>>>>> I am estimating the delay to be around 500 ms. >>>>>>>> >>>>>>>> What are the settings I can fine tune to avoid this? >>>>>>>> >>>>>>>> All the best, >>>>>>>> Emrah >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.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://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://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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Michael S Collins >>>>>>> Twitter: @mercutioviz >>>>>>> http://www.FreeSWITCH.org >>>>>>> http://www.ClueCon.com >>>>>>> http://www.OSTAG.org >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> -- >>>> Ken >>>> http://www.FreeSWITCH.org >>>> http://www.ClueCon.com >>>> http://www.OSTAG.org >>>> irc.freenode.net #freeswitch >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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 >>> >> > From cmason at frontiernetworks.ca Thu Oct 4 01:30:57 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Wed, 3 Oct 2012 17:30:57 -0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: References: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699708D@EX.frontier.local> Message-ID: <0D1C698866F66045A6201FD0F59CAC9001469970F3@EX.frontier.local> Some quality issues I was having have also been cleaned up by this fix. Thanks Anthony. Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Wednesday, October 03, 2012 10:25 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru I'm sure it does, make sure you fresh checkout and build git HEAD. The problem was crystal clear and it was both reproduced and fixed. On Wed, Oct 3, 2012 at 5:44 AM, Dmitry Sytchev > wrote: Seems commit fixing FS-4669 didn't help us, will try to provide new dumps. 2012/10/3 Colin Mason > Hi guys, Things appear to be fixed in the latest HEAD. Thanks. Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Tuesday, October 02, 2012 6:20 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru That?s been fixed too... On 10/2/12 5:12 PM, "Colin Mason" > wrote: Thanks guys. Error in latest HEAD: [root at testpbx1 freeswitch]# git show --name-status commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 Author: Anthony Minessale > Date: Tue Oct 2 12:22:03 2012 -0500 FS-4677 --resolve M src/mod/applications/mod_conference/mod_conference.c M src/mod/endpoints/mod_sofia/sofia.c While running a make: /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ???conference_outcall???: /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:6570: error: ???call_id??? may be used uninitialized in this function make[5]: *** [mod_conference.lo] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_conference-all] Error 1 From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 4:28 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru latest HEAD, not stable. On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason > wrote: I will update the box tonight with the latest v1.2stable GIT and report back, just wondering if there was an issue? Thanks Anthony, Colin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Tuesday, October 02, 2012 3:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] proxy_media breaks T38 passthru try latest On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason > wrote: Sorry, FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Colin Mason Sent: Tuesday, October 02, 2012 2:29 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] proxy_media breaks T38 passthru I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax machines. I have a freeswitch box that acts as a router to route SIP from our carrier network into our customers private network. This is the only function this box performs. The profiles on this box have: Faxes complete 99% of the time. If I enable right before the bridge it completely breaks T38 faxing. Success rate of 0%. Does anyone know why this is? Thanks, Colin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Best regards, Dmitry Sytchev, IT Engineer _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/a073a4b9/attachment-0001.html From anthony.minessale at gmail.com Thu Oct 4 01:44:12 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 3 Oct 2012 16:44:12 -0500 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> Message-ID: Set the following variable either per leg in dialplan or globally in vars.xml rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION This will pass the dtmf in 2833 on receipt of the first packet. If that doesn't work, don't bother going further because we do not put emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on scalability. The suggestions you have seen pretty much cover your options. On Wed, Oct 3, 2012 at 2:39 PM, Emrah wrote: > I am running out of ideas and would really appreciate some input on this. > > Can I optimize this in any way? > > Best, > Emrah > > On Sep 30, 2012, at 12:05 AM, Emrah wrote: > > > When I try this, the delay disappears but FS detects multiple DTMFs > where I only send one? > > > > > > > > start_dtmf_generate adds the delay and so I'm stuck? > > > > Any suggestion? > > On Sep 29, 2012, at 2:29 PM, Emrah wrote: > > > >> Hi all, > >> > >> I am now trying to force inband DTMF on my PSTN peers alone. I tried > the following with no luck: > >> > >> > >> > >> The delay is still there and I get the following output in my console > for a single DTMF: > >> > >> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF > 2:1040 > >> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal > sofia/external/1234567890 [BREAK] > >> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet > for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 > >> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet > for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 > >> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet > for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 > >> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet > for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 > >> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet > for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 > >> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet > for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet > for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet > for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet > for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay > of 40ms > >> > >> Any idea would be greatly appreciated. > >> > >> All the best, > >> Emrah > >> On Sep 27, 2012, at 3:54 PM, Emrah wrote: > >> > >>> Hey Ken, > >>> > >>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed > to have made it less accurate though, especially in fast speed sequences. > >>> > >>> Can I debug this further and how? > >>> > >>> Thanks! > >>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: > >>> > >>>> There can be a delay of DTMF in and DTMF out if you are sending long > DTMFs > >>>> using 2833, FreeSWITCH gets the entire DMTF and duration then > regenerates > >>>> it... > >>>> > >>>> If you don't need to interpret the DTMF you can set a variable to > make it > >>>> just pass the DTMF through untouched... But this has its own set of > caveats > >>>> (ie: if whatever is sending you DTMF is broken it just pass broken > 2833 > >>>> DTMF) > >>>> > >>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 > >>>> > >>>> > >>>> > >>>> On 9/27/12 1:49 PM, "Emrah" wrote: > >>>> > >>>>> MC, the issue does not happen with inband DTMF and there is no delay! > >>>>> > >>>>> Any idea on how to debug this further? I can't use inband > continuously. > >>>>> > >>>>> Thanks! > >>>>> Emrah > >>>>> > >>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: > >>>>> > >>>>>> Never tried with inband DTMFs. Will check. > >>>>>> > >>>>>> Thanks! > >>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins > wrote: > >>>>>> > >>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just > curious. > >>>>>>> -MC > >>>>>>> > >>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: > >>>>>>> Yes I did. > >>>>>>> BTW, the example in the Wiki contradicts the inline documentation > in > >>>>>>> switch.xml. > >>>>>>> > >>>>>>> The Wiki shows an example with the value at 100. > >>>>>>> > >>>>>>> I tried increasing and decreasing it to no avail, it does not seem > to > >>>>>>> interfere with anything I can measure with my ear. :P > >>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez < > cesar.bermudez at gmail.com> > >>>>>>> wrote: > >>>>>>> > >>>>>>>> You tried this: > >>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF > >>>>>>>> > >>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: > >>>>>>>> Hi guys, > >>>>>>>> > >>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, > using the > >>>>>>>> same route, same codecs, same carrier, same phones and same > servers? :P > >>>>>>>> I experience a delay when pressing DTMFs on the line that uses > FreeSWITCH. > >>>>>>>> I am estimating the delay to be around 500 ms. > >>>>>>>> > >>>>>>>> What are the settings I can fine tune to avoid this? > >>>>>>>> > >>>>>>>> All the best, > >>>>>>>> Emrah > >>>>>>>> > _________________________________________________________________________ > >>>>>>>> Professional FreeSWITCH Consulting Services: > >>>>>>>> consulting at freeswitch.org > >>>>>>>> http://www.freeswitchsolutions.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://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://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 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -- > >>>>>>> Michael S Collins > >>>>>>> Twitter: @mercutioviz > >>>>>>> http://www.FreeSWITCH.org > >>>>>>> http://www.ClueCon.com > >>>>>>> http://www.OSTAG.org > >>>>>>> > >>>>>>> > >>>>>>> > _________________________________________________________________________ > >>>>>>> Professional FreeSWITCH Consulting Services: > >>>>>>> consulting at freeswitch.org > >>>>>>> http://www.freeswitchsolutions.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://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 > >>>> > >>>> -- > >>>> Ken > >>>> http://www.FreeSWITCH.org > >>>> http://www.ClueCon.com > >>>> http://www.OSTAG.org > >>>> irc.freenode.net #freeswitch > >>>> > >>>> > >>>> > >>>> > _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/3634d2a4/attachment-0001.html From lists at kavun.ch Thu Oct 4 06:29:20 2012 From: lists at kavun.ch (Emrah) Date: Wed, 3 Oct 2012 22:29:20 -0400 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> Message-ID: <67D702ED-633F-4292-9B90-221BADD4FDA6@kavun.ch> Hi, Thanks for your suggestion Anthony. Should I set this variable in combination with anything else? If not I don't really think it improved much. Even in pass through FS messes up with DTMFs and it makes it unusable, even just for the purpose of "scalability". I find it sad to see a clear improvement so simply discarded. There are many scenarios where realtime DTMFs can be used and where FS wouldn't be able to fit the bill at its current stage. My situation is that I have people making long recordings over the phone and often need to pause in the middle of paragraphs or long sentences. With the delay as it is, the pause becomes very noticeable and uncomfortable. And for those who may suggest to trim silences with Sox, not all pauses are silent. Best, Emrah On Oct 3, 2012, at 5:44 PM, Anthony Minessale wrote: > Set the following variable either per leg in dialplan or globally in vars.xml > > rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION > > This will pass the dtmf in 2833 on receipt of the first packet. > > If that doesn't work, don't bother going further because we do not put emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on scalability. The suggestions you have seen pretty much cover your options. > > > > > > On Wed, Oct 3, 2012 at 2:39 PM, Emrah wrote: > I am running out of ideas and would really appreciate some input on this. > > Can I optimize this in any way? > > Best, > Emrah > > On Sep 30, 2012, at 12:05 AM, Emrah wrote: > > > When I try this, the delay disappears but FS detects multiple DTMFs where I only send one? > > > > > > > > start_dtmf_generate adds the delay and so I'm stuck? > > > > Any suggestion? > > On Sep 29, 2012, at 2:29 PM, Emrah wrote: > > > >> Hi all, > >> > >> I am now trying to force inband DTMF on my PSTN peers alone. I tried the following with no luck: > >> > >> > >> > >> The delay is still there and I get the following output in my console for a single DTMF: > >> > >> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1040 > >> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal sofia/external/1234567890 [BREAK] > >> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 > >> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 > >> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 > >> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 > >> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 > >> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay of 40ms > >> > >> Any idea would be greatly appreciated. > >> > >> All the best, > >> Emrah > >> On Sep 27, 2012, at 3:54 PM, Emrah wrote: > >> > >>> Hey Ken, > >>> > >>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed to have made it less accurate though, especially in fast speed sequences. > >>> > >>> Can I debug this further and how? > >>> > >>> Thanks! > >>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: > >>> > >>>> There can be a delay of DTMF in and DTMF out if you are sending long DTMFs > >>>> using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates > >>>> it... > >>>> > >>>> If you don't need to interpret the DTMF you can set a variable to make it > >>>> just pass the DTMF through untouched... But this has its own set of caveats > >>>> (ie: if whatever is sending you DTMF is broken it just pass broken 2833 > >>>> DTMF) > >>>> > >>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 > >>>> > >>>> > >>>> > >>>> On 9/27/12 1:49 PM, "Emrah" wrote: > >>>> > >>>>> MC, the issue does not happen with inband DTMF and there is no delay! > >>>>> > >>>>> Any idea on how to debug this further? I can't use inband continuously. > >>>>> > >>>>> Thanks! > >>>>> Emrah > >>>>> > >>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: > >>>>> > >>>>>> Never tried with inband DTMFs. Will check. > >>>>>> > >>>>>> Thanks! > >>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins wrote: > >>>>>> > >>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious. > >>>>>>> -MC > >>>>>>> > >>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: > >>>>>>> Yes I did. > >>>>>>> BTW, the example in the Wiki contradicts the inline documentation in > >>>>>>> switch.xml. > >>>>>>> > >>>>>>> The Wiki shows an example with the value at 100. > >>>>>>> > >>>>>>> I tried increasing and decreasing it to no avail, it does not seem to > >>>>>>> interfere with anything I can measure with my ear. :P > >>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez > >>>>>>> wrote: > >>>>>>> > >>>>>>>> You tried this: > >>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF > >>>>>>>> > >>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: > >>>>>>>> Hi guys, > >>>>>>>> > >>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the > >>>>>>>> same route, same codecs, same carrier, same phones and same servers? :P > >>>>>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH. > >>>>>>>> I am estimating the delay to be around 500 ms. > >>>>>>>> > >>>>>>>> What are the settings I can fine tune to avoid this? > >>>>>>>> > >>>>>>>> All the best, > >>>>>>>> Emrah > >>>>>>>> _________________________________________________________________________ > >>>>>>>> Professional FreeSWITCH Consulting Services: > >>>>>>>> consulting at freeswitch.org > >>>>>>>> http://www.freeswitchsolutions.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://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://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 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -- > >>>>>>> Michael S Collins > >>>>>>> Twitter: @mercutioviz > >>>>>>> http://www.FreeSWITCH.org > >>>>>>> http://www.ClueCon.com > >>>>>>> http://www.OSTAG.org > >>>>>>> > >>>>>>> > >>>>>>> _________________________________________________________________________ > >>>>>>> Professional FreeSWITCH Consulting Services: > >>>>>>> consulting at freeswitch.org > >>>>>>> http://www.freeswitchsolutions.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://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 > >>>> > >>>> -- > >>>> Ken > >>>> http://www.FreeSWITCH.org > >>>> http://www.ClueCon.com > >>>> http://www.OSTAG.org > >>>> irc.freenode.net #freeswitch > >>>> > >>>> > >>>> > >>>> _________________________________________________________________________ > >>>> Professional FreeSWITCH Consulting Services: > >>>> consulting at freeswitch.org > >>>> http://www.freeswitchsolutions.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://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 > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From ssoni at lifesize.com Thu Oct 4 10:54:23 2012 From: ssoni at lifesize.com (Sanjay Soni) Date: Thu, 4 Oct 2012 01:54:23 -0500 Subject: [Freeswitch-users] Google Voice inboaund call to FS Message-ID: Hi, I am trying to get 'Normal PSTN--call--GV#--forwarded to Gmail configured on FS-forwarded to sip phone' set-up working. I want to know whether this method even possible using Freeswitch OR there are some issues which needs to be sorted ? Because I see here http://wiki.freeswitch.org/wiki/Google_Voice in section 'Test Notes' that It does not work. The small answer I need here is one of these - A) It works, You are doing some mistake. Re-check your configs. B) Its just not possible. Google does not allow forwarding to other clients other than gmail logged in through browser. C) Its just not possible. FS does not have required code in there. What works for me is -> Computer (other's gmail account)-audio call-Gmail configured on FS--sip phone. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/f6809755/attachment.html From curriegrad2004 at gmail.com Thu Oct 4 11:24:54 2012 From: curriegrad2004 at gmail.com (curriegrad2004) Date: Thu, 4 Oct 2012 00:24:54 -0700 Subject: [Freeswitch-users] Google Voice inboaund call to FS In-Reply-To: References: Message-ID: It actually works. Use the extern param to route your calls from GV to your SIP Phone. On Wed, Oct 3, 2012 at 11:54 PM, Sanjay Soni wrote: > Hi, > > I am trying to get ?Normal PSTN--call--GV#--forwarded to Gmail configured on > FS?forwarded to sip phone? set-up working. I want to know whether this > method even possible using Freeswitch OR there are some issues which needs > to be sorted ? Because I see here > http://wiki.freeswitch.org/wiki/Google_Voice in section ?Test Notes? that > It does not work. The small answer I need here is one of these - > > A) It works, You are doing some mistake. Re-check your configs. > > B) Its just not possible. Google does not allow forwarding to other > clients other than gmail logged in through browser. > > C) Its just not possible. FS does not have required code in there. > > > > What works for me is -> Computer (other's gmail account)?audio call-Gmail > configured on FS--sip phone. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From jaykris at gmail.com Thu Oct 4 04:04:56 2012 From: jaykris at gmail.com (JP) Date: Wed, 3 Oct 2012 17:04:56 -0700 Subject: [Freeswitch-users] Using Lua logging from mod_lua Message-ID: Hi, I am a newbie developer of FreeSWITCH. I have Lua scripts that FreeSWITCH is executing perfectly. But I need to log things from my Lua scripts that I don't want mixed with FreeSWITCH's logs. I looked at ( https://github.com/Neopallium/lualogging) to do this. But how do I make mod_lua in FreeSWITCH link with lualogging. Is there any other solution to my problem? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121003/7b83cd8f/attachment-0001.html From sameer2k3t at gmail.com Thu Oct 4 12:03:40 2012 From: sameer2k3t at gmail.com (Sameer Khan) Date: Thu, 4 Oct 2012 12:03:40 +0400 Subject: [Freeswitch-users] GSMOPEN sms In-Reply-To: References: Message-ID: I'm trying same thing but can't see any messages coming in that I am sending to the number. Calls are working fine though and even I can send sms from console without any problem [root at localhost ~]# telnet localhost 8021 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request auth ClueCon Content-Type: command/reply Reply-Text: +OK accepted event plain message Content-Type: command/reply Reply-Text: +OK event listener enabled plain Here is gsmopen_dump freeswitch at internal> gsmopen_dump gsm01 dumping interface 'gsm01' interface_name = gsm01 interface_id = 1 active = 1 not_registered = 0 home_network_registered = 1 roaming_registered = 0 got_signal = 2 running = 1 imei = 352445045806115 imsi = 410040211858308 controldev_dead = 0 controldevice_name = /dev/ttyUSB3 no_sound = 0 playback_boost = 512.000000 capture_boost = 512.000000 dialplan = XML context = default destination = 5000 ib_calls = 0 ob_calls = 0 ib_failed_calls = 0 ob_failed_calls = 0 interface_state = 0 phone_callflow = 0 session_uuid_str = On Wed, Oct 3, 2012 at 3:55 PM, Giovanni Maruzzelli wrote: > On Fri, Sep 28, 2012 at 1:32 PM, Sameer Khan wrote: > > I can't see incoming sms in event plain message > > > > I'm using huawei e1550, Is there anything else needed apart from default > > config? > > No, nothing else. > You can test it this way: > > http://wiki.freeswitch.org/wiki/GSMopen#MESSAGE_.28SMSs.29 > > > -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://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/20121004/b937209c/attachment.html From me at nevian.org Thu Oct 4 12:11:31 2012 From: me at nevian.org (Serge S. Yuriev) Date: Thu, 04 Oct 2012 12:11:31 +0400 Subject: [Freeswitch-users] stable mod_opal compilation problem Message-ID: <218961349338291@web8g.yandex.ru> Hi, /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member function 'switch_status_t FSConnection::read_frame(const OpalMediaType&, switch_frame_t**, switch_io_flag_t)': /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1208:20: error: 'class OpalCall' has no member named 'IsSwitchingT38' /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member function 'switch_status_t FSConnection::write_frame(const OpalMediaType&, const switch_frame_t*, switch_io_flag_t)': /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1225:19: error: 'class OpalCall' has no member named 'IsSwitchingT38' make[6]: *** [mod_opal.lo] Error 1 make[6]: Leaving directory `/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal' Why mod_opal in STABLE branch requires SVN version of libopal?? IMHO this is incorrect dependency. I know this should be in JIRA but where - build system or mod_opal? -- wbr, Serge From kbdfck at gmail.com Thu Oct 4 12:49:10 2012 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Thu, 4 Oct 2012 12:49:10 +0400 Subject: [Freeswitch-users] proxy_media breaks T38 passthru In-Reply-To: References: <0D1C698866F66045A6201FD0F59CAC90014699707E@EX.frontier.local> <0D1C698866F66045A6201FD0F59CAC90014699708D@EX.frontier.local> Message-ID: I uploaded my new pcap dumps after full clean / bootstrapping / install http://jira.freeswitch.org/browse/FS-4669?focusedCommentId=35555&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-35555 2012/10/3 Anthony Minessale > I'm sure it does, make sure you fresh checkout and build git HEAD. > The problem was crystal clear and it was both reproduced and fixed. > > > On Wed, Oct 3, 2012 at 5:44 AM, Dmitry Sytchev wrote: > >> Seems commit fixing FS-4669 didn't help us, will try to provide new dumps. >> >> >> 2012/10/3 Colin Mason >> >>> Hi guys,**** >>> >>> ** ** >>> >>> Things appear to be fixed in the latest HEAD. Thanks.**** >>> >>> ** ** >>> >>> Colin**** >>> >>> ** ** >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice >>> *Sent:* Tuesday, October 02, 2012 6:20 PM >>> >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru**** >>> >>> ** ** >>> >>> That?s been fixed too... >>> >>> >>> On 10/2/12 5:12 PM, "Colin Mason" wrote:*** >>> * >>> >>> Thanks guys. Error in latest HEAD: >>> >>> [root at testpbx1 freeswitch]# git show --name-status >>> commit 51bdf8522a1a17fc4d09ba78473772cb2c7071e1 >>> Author: Anthony Minessale >>> Date: Tue Oct 2 12:22:03 2012 -0500 >>> >>> FS-4677 --resolve >>> >>> M src/mod/applications/mod_conference/mod_conference.c >>> M src/mod/endpoints/mod_sofia/sofia.c >>> >>> >>> >>> >>> >>> While running a make: >>> >>> /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: >>> In function ???conference_outcall???: >>> /usr/local/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:6570: >>> error: ???call_id??? may be used uninitialized in this function >>> >>> make[5]: *** [mod_conference.lo] Error 1 >>> make[4]: *** [all] Error 1 >>> make[3]: *** [mod_conference-all] Error 1 >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [ >>> mailto:freeswitch-users-bounces at lists.freeswitch.org] >>> *On Behalf Of *Anthony Minessale >>> *Sent:* Tuesday, October 02, 2012 4:28 PM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru >>> >>> latest HEAD, not stable. >>> >>> On Tue, Oct 2, 2012 at 2:56 PM, Colin Mason >>> wrote: >>> >>> I will update the box tonight with the latest v1.2stable GIT and report >>> back, just wondering if there was an issue? >>> >>> Thanks Anthony, >>> >>> Colin >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [ >>> mailto:freeswitch-users-bounces at lists.freeswitch.org] >>> *On Behalf Of *Anthony Minessale >>> *Sent:* Tuesday, October 02, 2012 3:16 PM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] proxy_media breaks T38 passthru >>> >>> >>> try latest >>> >>> On Tue, Oct 2, 2012 at 1:40 PM, Colin Mason >>> wrote: >>> >>> Sorry, >>> >>> FreeSWITCH Version 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at >>> commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [ >>> mailto:freeswitch-users-bounces at lists.freeswitch.org] >>> *On Behalf Of *Colin Mason >>> *Sent:* Tuesday, October 02, 2012 2:29 PM >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Subject:* [Freeswitch-users] proxy_media breaks T38 passthru >>> >>> >>> I am using Cisco SPA2102?s for T38 faxing into a corporation with 20 fax >>> machines. >>> >>> I have a freeswitch box that acts as a router to route SIP from our >>> carrier network into our customers private network. This is the only >>> function this box performs. >>> >>> The profiles on this box have: >>> >>> >>> >>> >>> Faxes complete 99% of the time. >>> >>> If I enable right >>> before the bridge it completely breaks T38 faxing. Success rate of 0%. Does >>> anyone know why this is? >>> >>> Thanks, >>> Colin >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >>> >>> **** >>> >>> >>> -- >>> Ken >>> *http://www.FreeSWITCH.org >>> http://www.ClueCon.com >>> http://www.OSTAG.org >>> *irc.freenode.net #freeswitch**** >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >>> >> >> >> -- >> Best regards, >> >> Dmitry Sytchev, >> IT Engineer >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Best regards, Dmitry Sytchev, IT Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/b5326219/attachment-0001.html From steveayre at gmail.com Thu Oct 4 13:27:24 2012 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 4 Oct 2012 10:27:24 +0100 Subject: [Freeswitch-users] stable mod_opal compilation problem In-Reply-To: <218961349338291@web8g.yandex.ru> References: <218961349338291@web8g.yandex.ru> Message-ID: There are updates to the opal library required that have been added by the opal developers but are currently only available in its svn version. Sent from my iPad On 4 Oct 2012, at 09:11, Serge S. Yuriev wrote: > Hi, > > /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member function 'switch_status_t FSConnection::read_frame(const OpalMediaType&, switch_frame_t**, switch_io_flag_t)': > /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1208:20: error: 'class OpalCall' has no member named 'IsSwitchingT38' > /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member function 'switch_status_t FSConnection::write_frame(const OpalMediaType&, const switch_frame_t*, switch_io_flag_t)': > /home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1225:19: error: 'class OpalCall' has no member named 'IsSwitchingT38' > make[6]: *** [mod_opal.lo] Error 1 > make[6]: Leaving directory `/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal' > > > Why mod_opal in STABLE branch requires SVN version of libopal?? > IMHO this is incorrect dependency. > D > I know this should be in JIRA but where - build system or mod_opal? > > -- > wbr, > Serge > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From gmaruzz at gmail.com Thu Oct 4 14:24:23 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 4 Oct 2012 12:24:23 +0200 Subject: [Freeswitch-users] GSMOPEN sms In-Reply-To: References: Message-ID: On Thu, Oct 4, 2012 at 10:03 AM, Sameer Khan wrote: > I'm trying same thing but can't see any messages coming in that I am sending > to the number. Calls are working fine though and even I can send sms from > console without any problem mmmmh, something strange. Can you please open a jira issue ( http://jira.freeswitch.org ), filling all the requested info and do the following: 1) from the FS CLI: "console loglevel 9" 2) from the FS CLI: "fsctl loglevel 9" 3) from the FS CLI: "unload mod_gsmopen" 4) from the FS CLI: "load mod_gsmopen" 5) reproduce the bug 6) attach the *complete, since beginning* console output (or freeswitch.log file) as a file attachment to the Jira bug. Please do not cut and paste console output or freeswitch.log in the Jira message. Attach it. ( procedure from: http://wiki.freeswitch.org/wiki/GSMopen#How_to_Report_Bugs_and_Feature_Requests ) Thanks, -giovanni > > [root at localhost ~]# telnet localhost 8021 > Trying ::1... > telnet: connect to address ::1: Connection refused > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Content-Type: auth/request > > auth ClueCon > > Content-Type: command/reply > Reply-Text: +OK accepted > > event plain message > > Content-Type: command/reply > Reply-Text: +OK event listener enabled plain > > > > Here is gsmopen_dump > > freeswitch at internal> gsmopen_dump gsm01 > dumping interface 'gsm01' > > interface_name = gsm01 > interface_id = 1 > active = 1 > not_registered = 0 > home_network_registered = 1 > roaming_registered = 0 > got_signal = 2 > running = 1 > imei = 352445045806115 > imsi = 410040211858308 > controldev_dead = 0 > controldevice_name = /dev/ttyUSB3 > no_sound = 0 > playback_boost = 512.000000 > capture_boost = 512.000000 > dialplan = XML > context = default > destination = 5000 > ib_calls = 0 > ob_calls = 0 > ib_failed_calls = 0 > ob_failed_calls = 0 > interface_state = 0 > phone_callflow = 0 > session_uuid_str = > > > > > On Wed, Oct 3, 2012 at 3:55 PM, Giovanni Maruzzelli > wrote: >> >> On Fri, Sep 28, 2012 at 1:32 PM, Sameer Khan wrote: >> > I can't see incoming sms in event plain message >> > >> > I'm using huawei e1550, Is there anything else needed apart from default >> > config? >> >> No, nothing else. >> You can test it this way: >> >> http://wiki.freeswitch.org/wiki/GSMopen#MESSAGE_.28SMSs.29 >> >> >> -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://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://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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From ssoni at lifesize.com Thu Oct 4 14:49:13 2012 From: ssoni at lifesize.com (sanjay) Date: Thu, 4 Oct 2012 03:49:13 -0700 (PDT) Subject: [Freeswitch-users] Help on freeswitch : gtalk-sip conversion In-Reply-To: <1349170783398-7583319.post@n2.nabble.com> References: <1348843861289-7583280.post@n2.nabble.com> <1349075292013-7583300.post@n2.nabble.com> <1349103827418-7583305.post@n2.nabble.com> <1349119255083-7583313.post@n2.nabble.com> <1349170783398-7583319.post@n2.nabble.com> Message-ID: <1349347753606-7583387.post@n2.nabble.com> So, now just to close on this question. When gmail client / gtalk client is not in same LAN I should give param name="candidate-acl" value="wan.auto" param name="local-network-acl" value="localnet.auto" param name="ext-rtp-ip" value="$${external_rtp_ip}" Where external_rtp_ip is configured in vars.xml as stun:stun.freeswitch.org However, in some instances of the call there was no audio both side. ICE negotiation was not successful. But, some other time (When i Logout from both sides and login again), call was again with perfect audio. Need to check this instability! ------ But if gmail client is in same LAN then remove above three lines and provide param name="candidate-acl" value="rfc1918.auto" - With this set-up, calls always work perfectly :) NOTE: This is everything for inbound calls. I havent still tried out-bound calls. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Help-on-freeswitch-gtalk-sip-conversion-tp7582744p7583387.html Sent from the freeswitch-users mailing list archive at Nabble.com. From ntomer at newgen.co.in Thu Oct 4 14:57:40 2012 From: ntomer at newgen.co.in (Nitin Tomer) Date: Thu, 4 Oct 2012 16:27:40 +0530 Subject: [Freeswitch-users] Help needed in a Contact Center solution In-Reply-To: References: <011601cd9cac$2919d840$7b4d88c0$@co.in> <013301cd9d42$82ebdb70$88c39250$@co.in> <034d01cda149$ad8520c0$088f6240$@co.in> Message-ID: <014d01cda21f$12a93f60$37fbbe20$@co.in> Hi Michael, Yes, I read the chapter 6 of Freeswitch 1.0.6 book. I have already done what is described in it. But I couldn't get any help on how can I ask user to input some number and then enter that number into database. I also need to check which extension is available amongst a pool and park the call there. Regards Nitin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Wednesday, October 03, 2012 9:14 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Help needed in a Contact Center solution Have you tried the suggestions we made? -MC On Wed, Oct 3, 2012 at 2:30 AM, Nitin Tomer wrote: Hi, Please help me in this. Regards Nitin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Nitin Tomer Sent: Friday, September 28, 2012 11:59 AM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] Help needed in a Contact Center solution Hi Michael, Thanks for your response. I have been able to configure IVR and it works great. But I am not able to understand how to ask caller to enter some identification number, followed by hash. And then enter that value in database. Any pointers? Regards Nitin From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Thursday, September 27, 2012 10:22 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Help needed in a Contact Center solution Don't forget about our two books: http://link.packtpub.com/nuIOlX https://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-tele phony-systems/book They discuss items 1 and 2 in pretty good detail, especially chapter 6 of the "bridge" book (it has a bridge on the cover) -MC On Thu, Sep 27, 2012 at 5:53 AM, Gabriel Gunderson wrote: On Thu, Sep 27, 2012 at 6:32 AM, Nitin Tomer wrote: > 1. An end-customer calls, the call is handled by mod_ivr. > 2. Customer is presented with a menu, she makes selection and also enters > some identification. Her call is parked on a pre-decided extension and an > entry is made in a database for this call. This entry will hold the > selections made by the caller and the extension where call is parked. > Please guide me on how can do points 1 & 2. 1) http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr#General_Concept 2) http://wiki.freeswitch.org/wiki/Mod_db#mod_db ? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/ee501b47/attachment-0001.html From garmt.noname at gmail.com Thu Oct 4 16:40:28 2012 From: garmt.noname at gmail.com (grmt) Date: Thu, 4 Oct 2012 14:40:28 +0200 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> Message-ID: <008801cda22d$6fee03f0$4fca0bd0$@gmail.com> I?m not sure I fully understand what you are doing with DTMF, sending or receiving, inband or outband, RFC2833 or not, but I notice you are using ?start_dtmf?. If you want FS to recognize non RFC2833 inband DTMF, (typically when only PCMA or PCMU is supported by your old fashioned sip provider), than use mod_spandsp ?s DTMF detector, it?s better than the standard dtfm detector. Load mod_spandsp and use instead of start_dtmf See the wiki for more details on configuring spandsp?s DTMF detector From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Wednesday, October 03, 2012 23:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] DTMF delay when using FreeSWITCH Set the following variable either per leg in dialplan or globally in vars.xml rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION This will pass the dtmf in 2833 on receipt of the first packet. If that doesn't work, don't bother going further because we do not put emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on scalability. The suggestions you have seen pretty much cover your options. On Wed, Oct 3, 2012 at 2:39 PM, Emrah wrote: I am running out of ideas and would really appreciate some input on this. Can I optimize this in any way? Best, Emrah On Sep 30, 2012, at 12:05 AM, Emrah wrote: > When I try this, the delay disappears but FS detects multiple DTMFs where I only send one? > > > > start_dtmf_generate adds the delay and so I'm stuck? > > Any suggestion? > On Sep 29, 2012, at 2:29 PM, Emrah wrote: > >> Hi all, >> >> I am now trying to force inband DTMF on my PSTN peers alone. I tried the following with no luck: >> >> >> >> The delay is still there and I get the following output in my console for a single DTMF: >> >> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1040 >> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal sofia/external/1234567890 [BREAK] >> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 >> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 >> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 >> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 >> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 >> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay of 40ms >> >> Any idea would be greatly appreciated. >> >> All the best, >> Emrah >> On Sep 27, 2012, at 3:54 PM, Emrah wrote: >> >>> Hey Ken, >>> >>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed to have made it less accurate though, especially in fast speed sequences. >>> >>> Can I debug this further and how? >>> >>> Thanks! >>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: >>> >>>> There can be a delay of DTMF in and DTMF out if you are sending long DTMFs >>>> using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates >>>> it... >>>> >>>> If you don't need to interpret the DTMF you can set a variable to make it >>>> just pass the DTMF through untouched... But this has its own set of caveats >>>> (ie: if whatever is sending you DTMF is broken it just pass broken 2833 >>>> DTMF) >>>> >>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 >>>> >>>> >>>> >>>> On 9/27/12 1:49 PM, "Emrah" wrote: >>>> >>>>> MC, the issue does not happen with inband DTMF and there is no delay! >>>>> >>>>> Any idea on how to debug this further? I can't use inband continuously. >>>>> >>>>> Thanks! >>>>> Emrah >>>>> >>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: >>>>> >>>>>> Never tried with inband DTMFs. Will check. >>>>>> >>>>>> Thanks! >>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins wrote: >>>>>> >>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious. >>>>>>> -MC >>>>>>> >>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: >>>>>>> Yes I did. >>>>>>> BTW, the example in the Wiki contradicts the inline documentation in >>>>>>> switch.xml. >>>>>>> >>>>>>> The Wiki shows an example with the value at 100. >>>>>>> >>>>>>> I tried increasing and decreasing it to no avail, it does not seem to >>>>>>> interfere with anything I can measure with my ear. :P >>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez >>>>>>> wrote: >>>>>>> >>>>>>>> You tried this: >>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF >>>>>>>> >>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: >>>>>>>> Hi guys, >>>>>>>> >>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the >>>>>>>> same route, same codecs, same carrier, same phones and same servers? :P >>>>>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH. >>>>>>>> I am estimating the delay to be around 500 ms. >>>>>>>> >>>>>>>> What are the settings I can fine tune to avoid this? >>>>>>>> >>>>>>>> All the best, >>>>>>>> Emrah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/8a9bed28/attachment.html From hi-tecc at hotmail.com Thu Oct 4 16:40:31 2012 From: hi-tecc at hotmail.com (DP .) Date: Thu, 4 Oct 2012 08:40:31 -0400 Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: References: , Message-ID: Hi, I re-tested against stable FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (production boxes) and still no inbound cdr a-leg. Will open a JIRA when I get a moment. Thanks, -Damian > From: gmaruzz at gmail.com > Date: Wed, 3 Oct 2012 14:00:46 +0200 > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR > > On Sat, Jul 7, 2012 at 12:07 AM, DP . wrote: > > Hi, > > > > Does mod_skypopen generate inbound A-leg CDRs? > > > > Simple scenario, inbound call from Skype to anywhere in Freeswitch > > (currently a Lua script, but also tried direct to extensions), does not > > generate any CDRs for that A-Leg. > > I tried transferring to another context, bridging, etc to no avail... only > > the b-leg, if present, generates a CDR. > > > > To eliminate my xml_cdr, I purposely set the post url to an invalid link, > > which throws a red crit error in console upon call hangup of regular > > mod_sofia calls. The mod_skypopen throws no error whatsoever, possibly > > indicating its not generating the CDR? > > > > Im running FreeSWITCH Version 1.0.head (git-5e4a514 2012-03-10 22-56-29 > > -0500). > > > > (Tried updating to the latest 1.2 branch last week but got random restarts > > and crashes of freeswitch, also kept getting "unclean" in the git version > > header after several make currents', had to quickly revert as this is a > > production box). Will clone the install again and try and test the latest > > git at a later date). > > > Hello, > > can you please test with latest git trunk, or latest stable git, and > if the problem persists, open a jira issue? > > You can open a jira issue at http://jira.freeswitch.org > > -giovanni > > > > > > > > > > > Thanks, > > > > -Damian > > > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://wiki.freeswitch.org > > http://www.cluecon.com > > > > Join Us At ClueCon - Aug 7-9, 2012 > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at 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://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/20121004/fa502f5e/attachment-0001.html From me at nevian.org Thu Oct 4 16:58:16 2012 From: me at nevian.org (Serge S. Yuriev) Date: Thu, 04 Oct 2012 16:58:16 +0400 Subject: [Freeswitch-users] stable mod_opal compilation problem In-Reply-To: References: <218961349338291@web8g.yandex.ru> Message-ID: <1733121349355496@web21f.yandex.ru> Hello, I see but is this really necessary to have OPAL T38 in stable branch? Is OPAL svn stable enough? Why can't we wait for release? 04.10.2012, 13:31, "Steven Ayre" : > There are updates to the opal library required that have been added by the opal developers but are currently only available in its svn version. > > Sent from my iPad > > On 4 Oct 2012, at 09:11, Serge S. Yuriev wrote: > >> ?Hi, >> >> ?/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member function 'switch_status_t FSConnection::read_frame(const OpalMediaType&, switch_frame_t**, switch_io_flag_t)': >> ?/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1208:20: error: 'class OpalCall' has no member named 'IsSwitchingT38' >> ?/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member function 'switch_status_t FSConnection::write_frame(const OpalMediaType&, const switch_frame_t*, switch_io_flag_t)': >> ?/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1225:19: error: 'class OpalCall' has no member named 'IsSwitchingT38' >> ?make[6]: *** [mod_opal.lo] Error 1 >> ?make[6]: Leaving directory `/home/nevian/work/freeswitch/src/mod/endpoints/mod_opal' >> >> ?Why mod_opal in STABLE branch requires SVN version of libopal?? >> ?IMHO this is incorrect dependency. >> ?D >> ?I know this should be in JIRA but where - build system or mod_opal? >> >> ?-- >> ?wbr, >> ?Serge >> >> ?_________________________________________________________________________ >> ?Professional FreeSWITCH Consulting Services: >> ?consulting at freeswitch.org >> ?http://www.freeswitchsolutions.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://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 -- wbr, Serge From x.liu at hw.ac.uk Thu Oct 4 18:32:55 2012 From: x.liu at hw.ac.uk (x.liu) Date: Thu, 04 Oct 2012 15:32:55 +0100 Subject: [Freeswitch-users] RTMP + G.729 Codec In-Reply-To: References: Message-ID: <506D9E17.7010407@hw.ac.uk> Hi, I am also trying RTMP calls. I am using the Flex calling to Nunace MRCP server for speech recognitions. The same setup works well via the VoIP phone calls but not works via a web browser calls (via adobe Flex). I notice there are a lot of "audio queue overflow" debugging outputs when calling via the Flex I am wondering if any body has ever tried and get it working? Thanks! Xing On 10/03/2012 05:01 PM, Balamurugan Mahendran wrote: > Thanks!! > > --Bala > > On Wed, Oct 3, 2012 at 9:23 PM, Steven Ayre > wrote: > > G729 is not supported by the RTMP protocol. > > See page 14 of > http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf > > Speex is the one used by default. > > -Steve > > > > > On 1 October 2012 15:12, Balamurugan Mahendran > wrote: > > I am working on rtmp call quality, Is it possible to use g.729 > for rtmp? and > > will it increase the quality? > > > > Now I am experiencing Echo + large delay and background noise. > > > > Thanks, > > Bala > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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://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 -- Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012 We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/ee7551fb/attachment.html From tpe at actimizer.com Thu Oct 4 18:35:05 2012 From: tpe at actimizer.com (Tor Petterson) Date: Thu, 4 Oct 2012 16:35:05 +0200 Subject: [Freeswitch-users] Google talk no RTP connection Message-ID: Hi I am having a problem with establishing voice calls to Google talk. >From the logs I can see that Freeswitch tries to tell google talk the IP address and port to talk to but Google returns an error. I have opened all RTP ports in my firewall and as far as I can see Google never tries to access the RTP port >From Freeswitch to Google: >From Google to Freeswitch: From ssoni at lifesize.com Thu Oct 4 18:51:46 2012 From: ssoni at lifesize.com (Sanjay Soni) Date: Thu, 4 Oct 2012 09:51:46 -0500 Subject: [Freeswitch-users] Google talk no RTP connection In-Reply-To: References: Message-ID: Don't know if it is inbound or outbound. You haven't mentioned! I suggest you use voice calling in gmail instead of google talk (Unless you specifically want to use gtalk). Its old software whose support itself is stopped. It will be good if you share your client.xml and attach complete log at pastebin. -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tor Petterson Sent: 04 October 2012 20:05 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Google talk no RTP connection Hi I am having a problem with establishing voice calls to Google talk. >From the logs I can see that Freeswitch tries to tell google talk the IP address and port to talk to but Google returns an error. I have opened all RTP ports in my firewall and as far as I can see Google never tries to access the RTP port >From Freeswitch to Google: >From Google to Freeswitch: _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 From ssoni at lifesize.com Thu Oct 4 19:01:08 2012 From: ssoni at lifesize.com (sanjay) Date: Thu, 4 Oct 2012 08:01:08 -0700 (PDT) Subject: [Freeswitch-users] Google talk no RTP connection In-Reply-To: References: Message-ID: <1349362868492-7583395.post@n2.nabble.com> This may also help you http://freeswitch-users.2379917.n2.nabble.com/Help-on-freeswitch-gtalk-sip-conversion-td7582744.html -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Google-talk-no-RTP-connection-tp7583393p7583395.html Sent from the freeswitch-users mailing list archive at Nabble.com. From mbodbg at gmx.net Thu Oct 4 19:55:02 2012 From: mbodbg at gmx.net (mbo) Date: Thu, 4 Oct 2012 17:55:02 +0200 Subject: [Freeswitch-users] Limit maximum number of outgoing calls of a sip user Message-ID: How can I limit the number of outgoing sip calls for a sip user. I'm using the following configuration: However the variable max_calls is set to 2, I can do 5 outbound calls from a registered sip client. Is this parameter only for inbound calls? Is there another parameter for outbound calls? Thanks Markus From krice at freeswitch.org Thu Oct 4 20:03:35 2012 From: krice at freeswitch.org (Ken Rice) Date: Thu, 04 Oct 2012 11:03:35 -0500 Subject: [Freeswitch-users] Limit maximum number of outgoing calls of a sip user In-Reply-To: Message-ID: See mod Limit On 10/4/12 10:55 AM, "mbo" wrote: > How can I limit the number of outgoing sip calls for a sip user. I'm using the > following configuration: > > > > > > > > > > > > > > However the variable max_calls is set to 2, I can do 5 outbound calls from a > registered sip client. Is this parameter only for inbound calls? Is there > another parameter for outbound calls? > > Thanks > > Markus > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch From lists at kavun.ch Thu Oct 4 21:06:42 2012 From: lists at kavun.ch (Emrah) Date: Thu, 4 Oct 2012 13:06:42 -0400 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: <008801cda22d$6fee03f0$4fca0bd0$@gmail.com> References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> <008801cda22d$6fee03f0$4fca0bd0$@gmail.com> Message-ID: <3C7D24E4-A1D2-4DB4-ACD4-D37EC4470CD7@kavun.ch> And you are fabulous! It worked and it looks reliable, thanks a million! I use it to send DTMFs via a SIP carrier, all PCMu. On Oct 4, 2012, at 8:40 AM, grmt wrote: > I?m not sure I fully understand what you are doing with DTMF, sending or receiving, inband or outband, RFC2833 or not, but I notice you are using ?start_dtmf?. > If you want FS to recognize non RFC2833 inband DTMF, (typically when only PCMA or PCMU is supported by your old fashioned sip provider), than use mod_spandsp ?s DTMF detector, it?s better than the standard dtfm detector. Load mod_spandsp and use instead of start_dtmf > > See the wiki for more details on configuring spandsp?s DTMF detector > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf OfAnthony Minessale > Sent: Wednesday, October 03, 2012 23:44 > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] DTMF delay when using FreeSWITCH > > Set the following variable either per leg in dialplan or globally in vars.xml > > rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION > > This will pass the dtmf in 2833 on receipt of the first packet. > > If that doesn't work, don't bother going further because we do not put emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on scalability. The suggestions you have seen pretty much cover your options. > > > > > > On Wed, Oct 3, 2012 at 2:39 PM, Emrah wrote: > I am running out of ideas and would really appreciate some input on this. > > Can I optimize this in any way? > > Best, > Emrah > > On Sep 30, 2012, at 12:05 AM, Emrah wrote: > > > When I try this, the delay disappears but FS detects multiple DTMFs where I only send one? > > > > > > > > start_dtmf_generate adds the delay and so I'm stuck? > > > > Any suggestion? > > On Sep 29, 2012, at 2:29 PM, Emrah wrote: > > > >> Hi all, > >> > >> I am now trying to force inband DTMF on my PSTN peers alone. I tried the following with no luck: > >> > >> > >> > >> The delay is still there and I get the following output in my console for a single DTMF: > >> > >> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1040 > >> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal sofia/external/1234567890 [BREAK] > >> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 > >> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 > >> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 > >> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 > >> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 > >> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 > >> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay of 40ms > >> > >> Any idea would be greatly appreciated. > >> > >> All the best, > >> Emrah > >> On Sep 27, 2012, at 3:54 PM, Emrah wrote: > >> > >>> Hey Ken, > >>> > >>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed to have made it less accurate though, especially in fast speed sequences. > >>> > >>> Can I debug this further and how? > >>> > >>> Thanks! > >>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: > >>> > >>>> There can be a delay of DTMF in and DTMF out if you are sending long DTMFs > >>>> using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates > >>>> it... > >>>> > >>>> If you don't need to interpret the DTMF you can set a variable to make it > >>>> just pass the DTMF through untouched... But this has its own set of caveats > >>>> (ie: if whatever is sending you DTMF is broken it just pass broken 2833 > >>>> DTMF) > >>>> > >>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 > >>>> > >>>> > >>>> > >>>> On 9/27/12 1:49 PM, "Emrah" wrote: > >>>> > >>>>> MC, the issue does not happen with inband DTMF and there is no delay! > >>>>> > >>>>> Any idea on how to debug this further? I can't use inband continuously. > >>>>> > >>>>> Thanks! > >>>>> Emrah > >>>>> > >>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: > >>>>> > >>>>>> Never tried with inband DTMFs. Will check. > >>>>>> > >>>>>> Thanks! > >>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins wrote: > >>>>>> > >>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious. > >>>>>>> -MC > >>>>>>> > >>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: > >>>>>>> Yes I did. > >>>>>>> BTW, the example in the Wiki contradicts the inline documentation in > >>>>>>> switch.xml. > >>>>>>> > >>>>>>> The Wiki shows an example with the value at 100. > >>>>>>> > >>>>>>> I tried increasing and decreasing it to no avail, it does not seem to > >>>>>>> interfere with anything I can measure with my ear. :P > >>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez > >>>>>>> wrote: > >>>>>>> > >>>>>>>> You tried this: > >>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF > >>>>>>>> > >>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: > >>>>>>>> Hi guys, > >>>>>>>> > >>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the > >>>>>>>> same route, same codecs, same carrier, same phones and same servers? :P > >>>>>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH. > >>>>>>>> I am estimating the delay to be around 500 ms. > >>>>>>>> > >>>>>>>> What are the settings I can fine tune to avoid this? > >>>>>>>> > >>>>>>>> All the best, > >>>>>>>> Emrah > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From hexade at hotmail.com Thu Oct 4 22:23:05 2012 From: hexade at hotmail.com (Adelia C.) Date: Thu, 4 Oct 2012 14:23:05 -0400 Subject: [Freeswitch-users] TTS professional libraries / sdks' recommendations Message-ID: Quick poll and help with TTS libraries - what are you using? I need professional / carrier grade quality, looking for recommendations. Thank you!! A.C. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/cda5e99a/attachment.html From Chad.Engler at patlive.com Thu Oct 4 22:24:42 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Thu, 4 Oct 2012 14:24:42 -0400 Subject: [Freeswitch-users] New Node.js ESL Library In-Reply-To: References: Message-ID: All - The module now specifies that it is distributed under MPL v2.0. I have also added an SMS example that will allow you to have a real-time webchat with a cellphone via SMS. You of course need nodejs (http://nodejs.org/) installed along with FreeSWITCH. There are more instructions in the Chatty example README. Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Tuesday, October 02, 2012 11:47 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Not to start the license wars again... But seriously consider MPL... The GPLv3 has some serious issues with the way it addresses the so called "socket loophole" and reaches thru the socket to infect other software. On 10/2/12 2:29 PM, "Chad Engler" wrote: Michael - Thanks for the feedback! I am working on some example apps right now, but basically anything that can be done with an ESL application in any of the other supported languages, should be valid here as well. Hopefully I can throw something together by the end of next week. Whitney - I wrote the library at work, and got permission to put it publicly on GitHub; however I haven't gotten confirmation of what License my bosses are comfortable with. I recommended MIT, and I'm sure it will either be that or GNU GPL v3. I should know by tomorrow and have a LICENSE file posted. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, October 02, 2012 12:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] New Node.js ESL Library Chad, Wow, you wrote software AND you documented it! Very cool. For those of us who know basically nothing about node.js, how might this be used in a real world application? Do you have any sample apps that we could try out? Thanks again for your willingness to add your work to the FreeSWITCH ecosystem! -Michael On Tue, Oct 2, 2012 at 6:57 AM, Chad Engler wrote: Hello, I couldn't find a Node.js library for FreeSWITCH Event Sockets that really followed the reference: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Reference; so I created on to implement it as closely as possible. Feedback is appreciated: https://github.com/englercj/node-esl Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/c5e03755/attachment-0001.html From lists at kavun.ch Thu Oct 4 22:35:43 2012 From: lists at kavun.ch (Emrah) Date: Thu, 4 Oct 2012 14:35:43 -0400 Subject: [Freeswitch-users] More recent Skype client for mod_skypeopen Message-ID: Hi list, It's great to have a 16khz audio sample when using Skype via FS? However this does not apply for sessions with mobile versions of Skype which only embed SILK, not available in the Skype version currently used by Skypeopen. How complicated is it to use a more recent version of the Skype client? Is it even possible? Cheers and thanks in advance, Emrah From lists at kavun.ch Thu Oct 4 22:54:11 2012 From: lists at kavun.ch (Emrah) Date: Thu, 4 Oct 2012 14:54:11 -0400 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: <3C7D24E4-A1D2-4DB4-ACD4-D37EC4470CD7@kavun.ch> References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> <008801cda22d$6fee03f0$4fca0bd0$@gmail.com> <3C7D24E4-A1D2-4DB4-ACD4-D37EC4470CD7@kavun.ch> Message-ID: <6FF2F94F-F00E-4D58-9306-B973222E4B21@kavun.ch> I might have gotten excited too quickly. I think it has improved significantly, but still not as fast as I need it to be. On Oct 4, 2012, at 1:06 PM, Emrah wrote: > And you are fabulous! > > It worked and it looks reliable, thanks a million! > > I use it to send DTMFs via a SIP carrier, all PCMu. > > On Oct 4, 2012, at 8:40 AM, grmt wrote: > >> I?m not sure I fully understand what you are doing with DTMF, sending or receiving, inband or outband, RFC2833 or not, but I notice you are using ?start_dtmf?. >> If you want FS to recognize non RFC2833 inband DTMF, (typically when only PCMA or PCMU is supported by your old fashioned sip provider), than use mod_spandsp ?s DTMF detector, it?s better than the standard dtfm detector. Load mod_spandsp and use instead of start_dtmf >> >> See the wiki for more details on configuring spandsp?s DTMF detector >> >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf OfAnthony Minessale >> Sent: Wednesday, October 03, 2012 23:44 >> To: FreeSWITCH Users Help >> Subject: Re: [Freeswitch-users] DTMF delay when using FreeSWITCH >> >> Set the following variable either per leg in dialplan or globally in vars.xml >> >> rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION >> >> This will pass the dtmf in 2833 on receipt of the first packet. >> >> If that doesn't work, don't bother going further because we do not put emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on scalability. The suggestions you have seen pretty much cover your options. >> >> >> >> >> >> On Wed, Oct 3, 2012 at 2:39 PM, Emrah wrote: >> I am running out of ideas and would really appreciate some input on this. >> >> Can I optimize this in any way? >> >> Best, >> Emrah >> >> On Sep 30, 2012, at 12:05 AM, Emrah wrote: >> >>> When I try this, the delay disappears but FS detects multiple DTMFs where I only send one? >>> >>> >>> >>> start_dtmf_generate adds the delay and so I'm stuck? >>> >>> Any suggestion? >>> On Sep 29, 2012, at 2:29 PM, Emrah wrote: >>> >>>> Hi all, >>>> >>>> I am now trying to force inband DTMF on my PSTN peers alone. I tried the following with no luck: >>>> >>>> >>>> >>>> The delay is still there and I get the following output in my console for a single DTMF: >>>> >>>> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1040 >>>> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send signal sofia/external/1234567890 [BREAK] >>>> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 >>>> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 >>>> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 >>>> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 >>>> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 >>>> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit delay of 40ms >>>> >>>> Any idea would be greatly appreciated. >>>> >>>> All the best, >>>> Emrah >>>> On Sep 27, 2012, at 3:54 PM, Emrah wrote: >>>> >>>>> Hey Ken, >>>>> >>>>> I tried pass_rfc2833 with no noticeable change in the delay. It seemed to have made it less accurate though, especially in fast speed sequences. >>>>> >>>>> Can I debug this further and how? >>>>> >>>>> Thanks! >>>>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: >>>>> >>>>>> There can be a delay of DTMF in and DTMF out if you are sending long DTMFs >>>>>> using 2833, FreeSWITCH gets the entire DMTF and duration then regenerates >>>>>> it... >>>>>> >>>>>> If you don't need to interpret the DTMF you can set a variable to make it >>>>>> just pass the DTMF through untouched... But this has its own set of caveats >>>>>> (ie: if whatever is sending you DTMF is broken it just pass broken 2833 >>>>>> DTMF) >>>>>> >>>>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 >>>>>> >>>>>> >>>>>> >>>>>> On 9/27/12 1:49 PM, "Emrah" wrote: >>>>>> >>>>>>> MC, the issue does not happen with inband DTMF and there is no delay! >>>>>>> >>>>>>> Any idea on how to debug this further? I can't use inband continuously. >>>>>>> >>>>>>> Thanks! >>>>>>> Emrah >>>>>>> >>>>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: >>>>>>> >>>>>>>> Never tried with inband DTMFs. Will check. >>>>>>>> >>>>>>>> Thanks! >>>>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins wrote: >>>>>>>> >>>>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just curious. >>>>>>>>> -MC >>>>>>>>> >>>>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: >>>>>>>>> Yes I did. >>>>>>>>> BTW, the example in the Wiki contradicts the inline documentation in >>>>>>>>> switch.xml. >>>>>>>>> >>>>>>>>> The Wiki shows an example with the value at 100. >>>>>>>>> >>>>>>>>> I tried increasing and decreasing it to no avail, it does not seem to >>>>>>>>> interfere with anything I can measure with my ear. :P >>>>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> You tried this: >>>>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF >>>>>>>>>> >>>>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: >>>>>>>>>> Hi guys, >>>>>>>>>> >>>>>>>>>> I am comparing this with an Asterisk and FreeSWITCH installation, using the >>>>>>>>>> same route, same codecs, same carrier, same phones and same servers? :P >>>>>>>>>> I experience a delay when pressing DTMFs on the line that uses FreeSWITCH. >>>>>>>>>> I am estimating the delay to be around 500 ms. >>>>>>>>>> >>>>>>>>>> What are the settings I can fine tune to avoid this? >>>>>>>>>> >>>>>>>>>> All the best, >>>>>>>>>> Emrah >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > From gmaruzz at gmail.com Thu Oct 4 23:07:53 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 4 Oct 2012 21:07:53 +0200 Subject: [Freeswitch-users] More recent Skype client for mod_skypeopen In-Reply-To: References: Message-ID: hello, using latest skype client is detailed in the wiki page, contributed by a user. Please test it and report about performances, problems, etc -giovanni On 10/4/12, Emrah wrote: > Hi list, > > It's great to have a 16khz audio sample when using Skype via FS? However > this does not apply for sessions with mobile versions of Skype which only > embed SILK, not available in the Skype version currently used by Skypeopen. > > How complicated is it to use a more recent version of the Skype client? Is > it even possible? > > Cheers and thanks in advance, > Emrah > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From gmaruzz at gmail.com Thu Oct 4 23:11:04 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 4 Oct 2012 21:11:04 +0200 Subject: [Freeswitch-users] More recent Skype client for mod_skypeopen In-Reply-To: References: Message-ID: anyway, Skype for Symbian (eg Nokias) works perfect with skypopen. Which skype clients supports only Silk? Are they unable to connect to skypopen? Please, can you give more details? -giovanni On 10/4/12, Giovanni Maruzzelli wrote: > hello, > using latest skype client is detailed in the wiki page, contributed by a > user. > Please test it and report about performances, problems, etc > -giovanni > > On 10/4/12, Emrah wrote: >> Hi list, >> >> It's great to have a 16khz audio sample when using Skype via FS? However >> this does not apply for sessions with mobile versions of Skype which only >> embed SILK, not available in the Skype version currently used by >> Skypeopen. >> >> How complicated is it to use a more recent version of the Skype client? >> Is >> it even possible? >> >> Cheers and thanks in advance, >> Emrah >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From anthony.minessale at gmail.com Thu Oct 4 23:27:49 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Oct 2012 14:27:49 -0500 Subject: [Freeswitch-users] DTMF delay when using FreeSWITCH In-Reply-To: <6FF2F94F-F00E-4D58-9306-B973222E4B21@kavun.ch> References: <06F123E2-F649-4859-9675-26DBEE6FE68F@kavun.ch> <2ED66FE3-BD07-4F5A-9B4A-907581444574@kavun.ch> <008801cda22d$6fee03f0$4fca0bd0$@gmail.com> <3C7D24E4-A1D2-4DB4-ACD4-D37EC4470CD7@kavun.ch> <6FF2F94F-F00E-4D58-9306-B973222E4B21@kavun.ch> Message-ID: The option I recommended should be used with no other options. Its for normal 2833 situation. It will react instantly after we get the first dtmf packet, can't really be any faster than instantly. you can turn on console loglevel debug and watch On Thu, Oct 4, 2012 at 1:54 PM, Emrah wrote: > I might have gotten excited too quickly. I think it has improved > significantly, but still not as fast as I need it to be. > On Oct 4, 2012, at 1:06 PM, Emrah wrote: > > > And you are fabulous! > > > > It worked and it looks reliable, thanks a million! > > > > I use it to send DTMFs via a SIP carrier, all PCMu. > > > > On Oct 4, 2012, at 8:40 AM, grmt wrote: > > > >> I?m not sure I fully understand what you are doing with DTMF, sending > or receiving, inband or outband, RFC2833 or not, but I notice you are using > ?start_dtmf?. > >> If you want FS to recognize non RFC2833 inband DTMF, (typically when > only PCMA or PCMU is supported by your old fashioned sip provider), than > use mod_spandsp ?s DTMF detector, it?s better than the standard dtfm > detector. Load mod_spandsp and use /> instead of start_dtmf > >> > >> See the wiki for more details on configuring spandsp?s DTMF detector > >> > >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf OfAnthony > Minessale > >> Sent: Wednesday, October 03, 2012 23:44 > >> To: FreeSWITCH Users Help > >> Subject: Re: [Freeswitch-users] DTMF delay when using FreeSWITCH > >> > >> Set the following variable either per leg in dialplan or globally in > vars.xml > >> > >> rtp_manual_rtp_bugs=IGNORE_DTMF_DURATION > >> > >> This will pass the dtmf in 2833 on receipt of the first packet. > >> > >> If that doesn't work, don't bother going further because we do not put > emphasis on realtime dtmf. Asterisk can focus on that and we'll focus on > scalability. The suggestions you have seen pretty much cover your options. > >> > >> > >> > >> > >> > >> On Wed, Oct 3, 2012 at 2:39 PM, Emrah wrote: > >> I am running out of ideas and would really appreciate some input on > this. > >> > >> Can I optimize this in any way? > >> > >> Best, > >> Emrah > >> > >> On Sep 30, 2012, at 12:05 AM, Emrah wrote: > >> > >>> When I try this, the delay disappears but FS detects multiple DTMFs > where I only send one? > >>> > >>> > >>> > >>> start_dtmf_generate adds the delay and so I'm stuck? > >>> > >>> Any suggestion? > >>> On Sep 29, 2012, at 2:29 PM, Emrah wrote: > >>> > >>>> Hi all, > >>>> > >>>> I am now trying to force inband DTMF on my PSTN peers alone. I tried > the following with no luck: > >>>> > >>>> > >>>> > >>>> The delay is still there and I get the following output in my console > for a single DTMF: > >>>> > >>>> 2012-09-29 19:22:57.357913 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF > 2:1040 > >>>> 2012-09-29 19:22:57.357913 [DEBUG] switch_ivr_bridge.c:393 Send > signal sofia/external/1234567890 [BREAK] > >>>> 2012-09-29 19:22:57.377912 [DEBUG] switch_rtp.c:2736 Send start > packet for [2] ts=748000 dur=160/160/1040 seq=27258 lw=748000 > >>>> 2012-09-29 19:22:57.397908 [DEBUG] switch_rtp.c:2636 Send middle > packet for [2] ts=748000 dur=320/320/1040 seq=27259 lw=748160 > >>>> 2012-09-29 19:22:57.417913 [DEBUG] switch_rtp.c:2636 Send middle > packet for [2] ts=748000 dur=480/480/1040 seq=27260 lw=748320 > >>>> 2012-09-29 19:22:57.437960 [DEBUG] switch_rtp.c:2636 Send middle > packet for [2] ts=748000 dur=640/640/1040 seq=27261 lw=748480 > >>>> 2012-09-29 19:22:57.457912 [DEBUG] switch_rtp.c:2636 Send middle > packet for [2] ts=748000 dur=800/800/1040 seq=27262 lw=748640 > >>>> 2012-09-29 19:22:57.477904 [DEBUG] switch_rtp.c:2636 Send middle > packet for [2] ts=748000 dur=960/960/1040 seq=27263 lw=748800 > >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet > for [2] ts=748000 dur=1120/1120/1040 seq=27264 lw=748800 > >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet > for [2] ts=748000 dur=1120/1120/1040 seq=27265 lw=748800 > >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2636 Send end packet > for [2] ts=748000 dur=1120/1120/1040 seq=27266 lw=748800 > >>>> 2012-09-29 19:22:57.497915 [DEBUG] switch_rtp.c:2589 Queue digit > delay of 40ms > >>>> > >>>> Any idea would be greatly appreciated. > >>>> > >>>> All the best, > >>>> Emrah > >>>> On Sep 27, 2012, at 3:54 PM, Emrah wrote: > >>>> > >>>>> Hey Ken, > >>>>> > >>>>> I tried pass_rfc2833 with no noticeable change in the delay. It > seemed to have made it less accurate though, especially in fast speed > sequences. > >>>>> > >>>>> Can I debug this further and how? > >>>>> > >>>>> Thanks! > >>>>> On Sep 27, 2012, at 3:00 PM, Ken Rice wrote: > >>>>> > >>>>>> There can be a delay of DTMF in and DTMF out if you are sending > long DTMFs > >>>>>> using 2833, FreeSWITCH gets the entire DMTF and duration then > regenerates > >>>>>> it... > >>>>>> > >>>>>> If you don't need to interpret the DTMF you can set a variable to > make it > >>>>>> just pass the DTMF through untouched... But this has its own set of > caveats > >>>>>> (ie: if whatever is sending you DTMF is broken it just pass broken > 2833 > >>>>>> DTMF) > >>>>>> > >>>>>> See http://wiki.freeswitch.org/wiki/Variable_pass_rfc2833 > >>>>>> > >>>>>> > >>>>>> > >>>>>> On 9/27/12 1:49 PM, "Emrah" wrote: > >>>>>> > >>>>>>> MC, the issue does not happen with inband DTMF and there is no > delay! > >>>>>>> > >>>>>>> Any idea on how to debug this further? I can't use inband > continuously. > >>>>>>> > >>>>>>> Thanks! > >>>>>>> Emrah > >>>>>>> > >>>>>>> On Sep 27, 2012, at 12:46 PM, Emrah wrote: > >>>>>>> > >>>>>>>> Never tried with inband DTMFs. Will check. > >>>>>>>> > >>>>>>>> Thanks! > >>>>>>>> On Sep 27, 2012, at 12:34 PM, Michael Collins > wrote: > >>>>>>>> > >>>>>>>>> Does it happen whether you use RFC2833 or inband DTMFs? Just > curious. > >>>>>>>>> -MC > >>>>>>>>> > >>>>>>>>> On Wed, Sep 26, 2012 at 3:44 PM, Emrah wrote: > >>>>>>>>> Yes I did. > >>>>>>>>> BTW, the example in the Wiki contradicts the inline > documentation in > >>>>>>>>> switch.xml. > >>>>>>>>> > >>>>>>>>> The Wiki shows an example with the value at 100. > >>>>>>>>> > >>>>>>>>> I tried increasing and decreasing it to no avail, it does not > seem to > >>>>>>>>> interfere with anything I can measure with my ear. :P > >>>>>>>>> On Sep 26, 2012, at 5:56 PM, Cesar Bermudez < > cesar.bermudez at gmail.com> > >>>>>>>>> wrote: > >>>>>>>>> > >>>>>>>>>> You tried this: > >>>>>>>>>> http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#DTMF > >>>>>>>>>> > >>>>>>>>>> On Wed, Sep 26, 2012 at 3:19 PM, Emrah wrote: > >>>>>>>>>> Hi guys, > >>>>>>>>>> > >>>>>>>>>> I am comparing this with an Asterisk and FreeSWITCH > installation, using the > >>>>>>>>>> same route, same codecs, same carrier, same phones and same > servers? :P > >>>>>>>>>> I experience a delay when pressing DTMFs on the line that uses > FreeSWITCH. > >>>>>>>>>> I am estimating the delay to be around 500 ms. > >>>>>>>>>> > >>>>>>>>>> What are the settings I can fine tune to avoid this? > >>>>>>>>>> > >>>>>>>>>> All the best, > >>>>>>>>>> Emrah > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/4ac089e1/attachment-0001.html From leonardo at daitangroup.com Fri Oct 5 00:34:03 2012 From: leonardo at daitangroup.com (Leonardo N. S. Pereira) Date: Thu, 4 Oct 2012 17:34:03 -0300 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud Message-ID: <506DF2BB.3010801@daitangroup.com> Hi. I'm having problem when trying to play an audio hosted in S3 Amazon cloud The MP3 URL is: / / /h//ttp://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D/ The result is: 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605 sofia/external/+15752222222 at 67.231.8.195 Command Execute playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) EXECUTE sofia/external/+15752222222 at 67.231.8.195 playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url [http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D] is unreachable! If I use the Browser with same URL, I'm able to listen to the sample audio. Any idea about what is wrong? Thanks in advance, Leonardo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/9cd194a1/attachment.html From Chad.Engler at patlive.com Fri Oct 5 00:42:28 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Thu, 4 Oct 2012 16:42:28 -0400 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <506DF2BB.3010801@daitangroup.com> References: <506DF2BB.3010801@daitangroup.com> Message-ID: I get an AccessDenies error when I visit that link. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Leonardo N. S. Pereira Sent: Thursday, October 04, 2012 4:34 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud Hi. I'm having problem when trying to play an audio hosted in S3 Amazon cloud The MP3 URL is: http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind _willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signa ture=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D The result is: 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605 sofia/external/+15752222222 at 67.231.8.195 Command Execute playback( http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind _willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signa ture=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) EXECUTE sofia/external/+15752222222 at 67.231.8.195 playback( http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind _willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signa ture=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url [ http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind _willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signa ture=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D] is unreachable! If I use the Browser with same URL, I'm able to listen to the sample audio. Any idea about what is wrong? Thanks in advance, Leonardo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/d3686335/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 24283 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/d3686335/attachment-0001.png From anthony.minessale at gmail.com Fri Oct 5 01:15:40 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Oct 2012 16:15:40 -0500 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: References: <506DF2BB.3010801@daitangroup.com> Message-ID: try *h**ttp://(ext=mp3) test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D * * * * * *if that doesn't work try faking a user agent string * * * *h**ttp://(ext=mp3,ua='**Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.13 (KHTML, like Gecko) Chrome/24.0.1284.0 Safari/537.13')** test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D * * * On Thu, Oct 4, 2012 at 3:42 PM, Chad Engler wrote: > I get an AccessDenies error when I visit that link.**** > > ** ** > > **** > > -Chad**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Leonardo N. > S. Pereira > *Sent:* Thursday, October 04, 2012 4:34 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] mod_httapi problem when trying to play an > audio hosted in S3 amazon cloud**** > > ** ** > > Hi. > I'm having problem when trying to play an audio hosted in S3 Amazon cloud > The MP3 URL is:**** > > * > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D > ***** > > The result is:**** > > 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605 > sofia/external/+15752222222 at 67.231.8.195 Command Execute playback( > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D > ) > EXECUTE sofia/external/+15752222222 at 67.231.8.195 playback( > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D > ) > 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url [ > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D] > is unreachable!**** > > > If I use the Browser with same URL, I'm able to listen to the sample audio. > > Any idea about what is wrong? > > Thanks in advance, > Leonardo**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/f5d898f9/attachment.html From darcyp at voice2net.ca Fri Oct 5 03:34:58 2012 From: darcyp at voice2net.ca (Darcy Primrose) Date: Thu, 04 Oct 2012 23:34:58 -0000 Subject: [Freeswitch-users] shared line Message-ID: <16285FE0F1C546B5ABEE39B3922CD26F@owner397fa27d2> Does any one know if it is possible to make a line private on the shared line appearance. When a line is in active mode and another set has the shared line key pressed, you join the converstation, this is not normal mode of operation for a key system. Any assistance or guidance would be appreciated. Darcy Primrose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/b9445f0f/attachment.html From gabe at gundy.org Fri Oct 5 04:10:12 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Thu, 4 Oct 2012 18:10:12 -0600 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <506DF2BB.3010801@daitangroup.com> References: <506DF2BB.3010801@daitangroup.com> Message-ID: On Thu, Oct 4, 2012 at 2:34 PM, Leonardo N. S. Pereira wrote: > If I use the Browser with same URL, I'm able to listen to the sample audio. > > Any idea about what is wrong? Currently: AccessDenied Request has expired 1F74F623F7800939 2012-10-04T20:41:21Z New link for us? Gabe From lloyd.aloysius at gmail.com Fri Oct 5 06:03:08 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Thu, 4 Oct 2012 22:03:08 -0400 Subject: [Freeswitch-users] Could not locate channel type sofia Message-ID: FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) I have trouble dialing between users. is this a bug? *Dial plan*
*Error...* 2012-10-04 21:57:31.143580 [DEBUG] switch_core_state_machine.c:209 sofia/sipinterface_1/klaus at 5ele.mydomain.ca Standard EXECUTE EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(dialed_extension=24) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ klaus at 5ele.mydomain.ca SET [dialed_extension]=[24] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caexport(dialed_extension=24) 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1118 EXPORT (export_vars) [dialed_extension]=[24] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(ringback=%(2000,4000,440,480)) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ klaus at 5ele.mydomain.ca SET [ringback]=[%(2000,4000,440,480)] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(call_timeout=30) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ klaus at 5ele.mydomain.ca SET [call_timeout]=[30] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(hangup_after_bridge=true) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ klaus at 5ele.mydomain.ca SET [hangup_after_bridge]=[true] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(continue_on_fail=true) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ klaus at 5ele.mydomain.ca SET [continue_on_fail]=[true] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.cabridge({sip_invite_domain= 5ele.mydomain.ca}user/dick at 5ele.mydomain.ca) 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] [dialed_extension]=[24] to event 2012-10-04 21:57:31.143580 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables 2012-10-04 21:57:31.143580 [DEBUG] switch_event.c:1569 Parsing variable [sip_invite_domain]=[5ele.mydomain.ca] 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] [dialed_extension]=[24] to event 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables 2012-10-04 21:57:31.163577 [DEBUG] switch_event.c:1569 Parsing variable [presence_id]=[dick at 5ele.mydomain.ca] 2012-10-04 21:57:31.163577 [ERR] switch_core_session.c:408 Could not locate channel type sofia 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [ sofia] cause: [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [user] cause: [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [INFO] mod_dptools.c:3027 Originate Failed. Cause: CHAN_NOT_IMPLEMENTED 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:262 sofia/sipinterface_1/klaus at 5ele.mydomain.ca has executed the last dialplan instruction, hanging up. 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2950 (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) Callstate Change RINGING -> HANGUP 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/sipinterface_1/klaus at 5ele.mydomain.ca [CS_EXECUTE] [NORMAL_CLEARING] 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2973 Send signal sofia/sipinterface_1/klaus at 5ele.mydomain.ca [KILL] 2012-10-04 21:57:31.163577 [DEBUG] switch_core_session.c:1210 Send signal sofia/sipinterface_1/klaus at 5ele.mydomain.ca [BREAK] 2012-10-04 21:57:31.163577 [DEBUG] switch_core_state_machine.c:453 (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) State EXECUTE going to sleep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/0849cb40/attachment-0001.html From jmesquita at freeswitch.org Fri Oct 5 10:21:50 2012 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Fri, 5 Oct 2012 01:21:50 -0500 Subject: [Freeswitch-users] Community Members on Austin Area Message-ID: Anyone on the Austin,TX area that is willing to meet? Are there many of you around? Regards, Jo?o Mesquita -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/a7d9c94c/attachment.html From peter.olsson at visionutveckling.se Fri Oct 5 10:23:21 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Fri, 5 Oct 2012 06:23:21 +0000 Subject: [Freeswitch-users] Could not locate channel type sofia In-Reply-To: References: Message-ID: Maybe you have somthing wrong in the actual dial string. There is a lot of whitespaces that shouldn't be there... /Peter 5 okt 2012 kl. 04:10 skrev "Lloyd Aloysius" >: FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) I have trouble dialing between users. is this a bug? Dial plan
Error... 2012-10-04 21:57:31.143580 [DEBUG] switch_core_state_machine.c:209 sofia/sipinterface_1/klaus at 5ele.mydomain.ca Standard EXECUTE EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(dialed_extension=24) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [dialed_extension]=[24] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca export(dialed_extension=24) 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1118 EXPORT (export_vars) [dialed_extension]=[24] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(ringback=%(2000,4000,440,480)) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [ringback]=[%(2000,4000,440,480)] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(call_timeout=30) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [call_timeout]=[30] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(hangup_after_bridge=true) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [hangup_after_bridge]=[true] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(continue_on_fail=true) 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [continue_on_fail]=[true] EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca bridge({sip_invite_domain=5ele.mydomain.ca}user/dick at 5ele.mydomain.ca) 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] [dialed_extension]=[24] to event 2012-10-04 21:57:31.143580 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables 2012-10-04 21:57:31.143580 [DEBUG] switch_event.c:1569 Parsing variable [sip_invite_domain]=[5ele.mydomain.ca] 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] [dialed_extension]=[24] to event 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables 2012-10-04 21:57:31.163577 [DEBUG] switch_event.c:1569 Parsing variable [presence_id]=[dick at 5ele.mydomain.ca] 2012-10-04 21:57:31.163577 [ERR] switch_core_session.c:408 Could not locate channel type sofia 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [ sofia] cause: [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [user] cause: [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2012-10-04 21:57:31.163577 [INFO] mod_dptools.c:3027 Originate Failed. Cause: CHAN_NOT_IMPLEMENTED 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:262 sofia/sipinterface_1/klaus at 5ele.mydomain.ca has executed the last dialplan instruction, hanging up. 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2950 (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) Callstate Change RINGING -> HANGUP 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/sipinterface_1/klaus at 5ele.mydomain.ca [CS_EXECUTE] [NORMAL_CLEARING] 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2973 Send signal sofia/sipinterface_1/klaus at 5ele.mydomain.ca [KILL] 2012-10-04 21:57:31.163577 [DEBUG] switch_core_session.c:1210 Send signal sofia/sipinterface_1/klaus at 5ele.mydomain.ca [BREAK] 2012-10-04 21:57:31.163577 [DEBUG] switch_core_state_machine.c:453 (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) State EXECUTE going to sleep !DSPAM:506e3ddf32766169113633! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:506e3ddf32766169113633! From th982a at googlemail.com Fri Oct 5 13:04:54 2012 From: th982a at googlemail.com (Tamer Higazi) Date: Fri, 05 Oct 2012 11:04:54 +0200 Subject: [Freeswitch-users] mod_spandsp hylafax dialplan problem Message-ID: <506EA2B6.5080008@googlemail.com> Hi people! I wanted to set up hylafax with mod_spandsp. as starting FS, I see FS0 and FS1 2012-10-05 09:42:04.523208 [INFO] mod_spandsp_modem.c:371 Modem [/dev/FS1]->[/dev/pts/1] Ready 2012-10-05 09:42:04.523208 [INFO] mod_spandsp_modem.c:371 Modem [/dev/FS0]->[/dev/pts/0] I did the guide, registering the number of modems, also with "minicom" I tested if the devices are up and running. It works! But I still don't understand how to set up the dialplan. What is mean with x = slot and y = dialed number for incoming faxes..... the other problem I have, after setting up with "faxsetup" the modems, and started hylafax and freeswitch, I tried to send a file from the console with sendfax. running: sendfax -n -vv -d 1xxxxxxxx /tmp/testX.ps which gives me absolutely no output on the freeswitch console?! What has happened wrong???? Trying localhost [2] (127.0.0.1) at port 4559... Connected to localhost. 220 localhost server (HylaFAX (tm) Version 5.5.1) ready. -> USER root 230 User root logged in. match against (..., 512) rule: offset 0 string = "%!" -- success (result postscript, rule "") Apply DisplayNumber rules to "10613273585121" --> return result "10613273585121" -> FORM PS 200 Format set to PS. -> TYPE I 200 Type set to Image. SEND compressed data, 36409 bytes -> EPRT |1|127.0.0.1|55571| 200 EPRT command successful. -> MODE Z 200 Mode set to ZIP. -> STOT 150 FILE: /tmp/doc62.ps (Opening new data connection). SEND 14845 bytes transmitted (2.5x compression) 226 Transfer complete (FILE: /tmp/doc62.ps). -> JNEW 200 New job created: jobid: 67 groupid: 67. -> JPARM FROMUSER "root" 213 FROMUSER set to "root". -> JPARM LASTTIME 000259 213 LASTTIME set to 000259. -> JPARM MAXDIALS 12 213 MAXDIALS set to 12. -> JPARM MAXTRIES 3 213 MAXTRIES set to 3. -> JPARM SCHEDPRI 127 213 SCHEDPRI set to 127. -> JPARM DIALSTRING "10613273585121" 213 DIALSTRING set to "10613273585121". -> JPARM NOTIFYADDR "root at localhost" 213 NOTIFYADDR set to "root at localhost". -> JPARM VRES 98 213 VRES set to 98. -> JPARM PAGEWIDTH 215 213 PAGEWIDTH set to 215. -> JPARM PAGELENGTH 279 213 PAGELENGTH set to 279. -> JPARM NOTIFY "none" 213 NOTIFY set to "none". -> JPARM PAGECHOP "default" 213 PAGECHOP set to "default". -> JPARM CHOPTHRESHOLD 3 213 CHOPTHRESHOLD set to 3. -> JPARM DOCUMENT /tmp/doc62.ps 200 Added document /tmp/doc62.ps as docq/doc62.ps.67. -> JSUBM 200 Job 67 submitted. request id is 67 (group id 67) for host localhost (1 file) From alexreid2 at gmail.com Thu Oct 4 22:27:55 2012 From: alexreid2 at gmail.com (Alex Reid) Date: Thu, 4 Oct 2012 12:27:55 -0600 Subject: [Freeswitch-users] CudaTel and Freeswitch Message-ID: I wanted to try an experiament so I have rooted my CudaTel and have shell access. Is there a way that I can create my own dialplans and IVR in freeswitch? I have edited the dialplan.xml file I found, but it doesn't do anything. Anyone with any experiance or idea? Maybe it's just not able to work like that with the cudatel. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/9ec15275/attachment.html From jnvines at gmail.com Fri Oct 5 00:47:53 2012 From: jnvines at gmail.com (Nick Vines) Date: Thu, 4 Oct 2012 16:47:53 -0400 Subject: [Freeswitch-users] Absolute Codec String Message-ID: I am trying to set the codec when I bridge. I have late negotiation set to true, and since I am trying to use G729, I set proxy_media=true as well. I am using this in my dialplan (I have tried with and without "nolocal:" with no change): But in the invite to the gateway, I am seeing the codecs offered by the device: m=audio 24960 RTP/AVP 18 0 2 8 9 96 97 98 101 a=rtpmap:18 G729/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:96 G726-40/8000 a=rtpmap:97 G726-24/8000 a=rtpmap:98 G726-16/8000 a=rtpmap:101 telephone-event/8000 I am troubleshooting right now, so I am able to specify on the phone "Use Only Preferred", in which case I see only to following offered: a=rtpmap:18 G729/8000 Thanks, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121004/3dbb9663/attachment.html From chad at apartmentlines.com Fri Oct 5 15:50:23 2012 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 5 Oct 2012 07:50:23 -0400 Subject: [Freeswitch-users] Using Lua logging from mod_lua In-Reply-To: References: Message-ID: i recommend luarocks for managing external Lua packages: http://luarocks.org then, have a look at conf/autoload_configs/lua.conf.xml. you can add the luarocks package directories for LUA_PATH and LUA_CPATH in that file, and FreeSWITCH will then be able to find the packages after a mod_lua reload. hunmonk On Wednesday, October 3, 2012 at 8:04 PM, JP wrote: > Hi, > I am a newbie developer of FreeSWITCH. I have Lua scripts that FreeSWITCH is executing perfectly. But I need to log things from my Lua scripts that I don't want mixed with FreeSWITCH's logs. I looked at (https://github.com/Neopallium/lualogging) to do this. But how do I make mod_lua in FreeSWITCH link with lualogging. Is there any other solution to my problem? Thanks in advance. > > _________________________________________________________________________ > 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://wiki.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/20121005/224e5693/attachment.html From shahzad.bhatti at g-r-v.com Fri Oct 5 16:26:37 2012 From: shahzad.bhatti at g-r-v.com (Shahzad Bhatti) Date: Fri, 5 Oct 2012 17:26:37 +0500 Subject: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working Message-ID: Hi, I am creating a script in Lua to originate 2 calls, bridge them and then play a file using uuid_bridge and uuid_brodcast but unable to get the result and call hangup. my code is as follows: * cli = "1111";* * caller = "1000";* * dest = "1001";* * profile= "internal";* * param = "{ignore_early_media=flase,origination_caller_id_number="..cli.."}";* * * * api = freeswitch.API();* * domain = api:executeString("eval ${domain}");* * * * file = "/usr/local/freeswitch/sounds/test_unset.wav";* * * * session1 = freeswitch.Session(param.."sofia/"..profile.."/".. caller .."%"..domain);* * session2 = freeswitch.Session(param.."sofia/"..profile.."/".. dest .."%"..domain);* * * * uuid1 = tostring(session1:get_uuid());* * uuid2 = tostring(session2:get_uuid());* * * * api:executeString("uuid_bridge "..uuid1.." "..uuid2);* * api:executeString("uuid_broadcast "..uuid1.." "..file.." aleg");* and the fs_cli log is as : 2012-10-05 22:06:57.386448 [NOTICE] sofia.c:6318 Channel [sofia/internal/1001] has been answered 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1001) Running State Change CS_SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1001) State SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] mod_sofia.c:588 SOFIA SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:241 sofia/internal/1001 Standard SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1001) State SOFT_EXECUTE going to sleep 2012-10-05 22:06:57.406452 [INFO] switch_channel.c:2711 sofia/internal/1001 Flipping CID from "" <1111> to "Outbound Call" <1001%192.168.0.19> 2012-10-05 22:06:57.406452 [INFO] switch_channel.c:2711 sofia/internal/1000 Flipping CID from "" <1111> to "Outbound Call" <1000%192.168.0.19> 2012-10-05 22:06:57.406452 [DEBUG] switch_ivr_bridge.c:1619 (sofia/internal/1000) State Change CS_SOFT_EXECUTE -> CS_HIBERNATE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_HIBERNATE 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:432 (sofia/internal/1000) State HIBERNATE 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:222 sofia/internal/1000 SOFIA HIBERNATE 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:749 (sofia/internal/1000) State Change CS_HIBERNATE -> CS_RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:432 (sofia/internal/1000) State HIBERNATE going to sleep 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:413 (sofia/internal/1000) State RESET 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:166 sofia/internal/1000 SOFIA RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:734 sofia/internal/1000 CUSTOM RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:741 (sofia/internal/1000) State Change CS_RESET -> CS_SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:413 (sofia/internal/1000) State RESET going to sleep 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1000) State SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:588 SOFIA SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:759 sofia/internal/1000 CUSTOM SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2849 (sofia/internal/1001) Callstate Change ACTIVE -> HANGUP 2012-10-05 22:06:57.426425 [NOTICE] switch_ivr_originate.c:1056 Hangup sofia/internal/1001 [CS_SOFT_EXECUTE] [DESTINATION_OUT_OF_ORDER] 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2872 Send signal sofia/internal/1001 [KILL] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1001) Running State Change CS_HANGUP 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1001) State HANGUP 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:469 Channel sofia/internal/1001 hanging up, cause: DESTINATION_OUT_OF_ORDER 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1001 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2849 (sofia/internal/1000) Callstate Change ACTIVE -> HANGUP 2012-10-05 22:06:57.426425 [NOTICE] switch_ivr_bridge.c:817 Hangup sofia/internal/1000 [CS_SOFT_EXECUTE] [ORIGINATOR_CANCEL] 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2872 Send signal sofia/internal/1000 [KILL] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1000) State SOFT_EXECUTE going to sleep 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_HANGUP 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:816 Send signal sofia/internal/1001 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:816 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:517 Sending BYE to sofia/internal/1001 2012-10-05 22:06:57.446365 [DEBUG] switch_cpp.cpp:1007 sofia/internal/1001 destroy/unlink session from object 2012-10-05 22:06:57.446365 [DEBUG] switch_cpp.cpp:1007 sofia/internal/1000 destroy/unlink session from object 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1000) State HANGUP 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:47 sofia/internal/1001 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1001) State HANGUP going to sleep 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:393 (sofia/internal/1001) State Change CS_HANGUP -> CS_REPORTING 2012-10-05 22:06:57.446365 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1001 [BREAK] 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1001) Running State Change CS_REPORTING and the complete fs_cli log is here : http://pastebin.freeswitch.org/19992 I AM USING CentOS 6.2, and FreeSWITCH Version 1.1.beta1 (git-65c4f76 2012-04-25 17-58-41 +0000) kindly help me and your response is highly appreciated. Regards Shahzad Bhatti. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/e33ca51b/attachment-0001.html From peter.olsson at visionutveckling.se Fri Oct 5 16:45:22 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Fri, 5 Oct 2012 12:45:22 +0000 Subject: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working Message-ID: <1FFF97C269757C458224B7C895F35F1516EBF9@cantor.std.visionutv.se> Before anything else, update your version to a more current one. /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Shahzad Bhatti Skickat: den 5 oktober 2012 14:27 Till: freeswitch-users at lists.freeswitch.org ?mne: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working Hi, I am creating a script in Lua to originate 2 calls, bridge them and then play a file using uuid_bridge and uuid_brodcast but unable to get the result and call hangup. my code is as follows: cli = "1111"; caller = "1000"; dest = "1001"; profile= "internal"; param = "{ignore_early_media=flase,origination_caller_id_number="..cli.."}"; api = freeswitch.API(); domain = api:executeString("eval ${domain}"); file = "/usr/local/freeswitch/sounds/test_unset.wav"; session1 = freeswitch.Session(param.."sofia/"..profile.."/".. caller .."%"..domain); session2 = freeswitch.Session(param.."sofia/"..profile.."/".. dest .."%"..domain); uuid1 = tostring(session1:get_uuid()); uuid2 = tostring(session2:get_uuid()); api:executeString("uuid_bridge "..uuid1.." "..uuid2); api:executeString("uuid_broadcast "..uuid1.." "..file.." aleg"); and the fs_cli log is as : 2012-10-05 22:06:57.386448 [NOTICE] sofia.c:6318 Channel [sofia/internal/1001] has been answered 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1001) Running State Change CS_SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1001) State SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] mod_sofia.c:588 SOFIA SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:241 sofia/internal/1001 Standard SOFT_EXECUTE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1001) State SOFT_EXECUTE going to sleep 2012-10-05 22:06:57.406452 [INFO] switch_channel.c:2711 sofia/internal/1001 Flipping CID from "" <1111> to "Outbound Call" <1001%192.168.0.19> 2012-10-05 22:06:57.406452 [INFO] switch_channel.c:2711 sofia/internal/1000 Flipping CID from "" <1111> to "Outbound Call" <1000%192.168.0.19> 2012-10-05 22:06:57.406452 [DEBUG] switch_ivr_bridge.c:1619 (sofia/internal/1000) State Change CS_SOFT_EXECUTE -> CS_HIBERNATE 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_HIBERNATE 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:432 (sofia/internal/1000) State HIBERNATE 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:222 sofia/internal/1000 SOFIA HIBERNATE 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:749 (sofia/internal/1000) State Change CS_HIBERNATE -> CS_RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:432 (sofia/internal/1000) State HIBERNATE going to sleep 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:413 (sofia/internal/1000) State RESET 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:166 sofia/internal/1000 SOFIA RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:734 sofia/internal/1000 CUSTOM RESET 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:741 (sofia/internal/1000) State Change CS_RESET -> CS_SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:413 (sofia/internal/1000) State RESET going to sleep 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1000) State SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:588 SOFIA SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:759 sofia/internal/1000 CUSTOM SOFT_EXECUTE 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2849 (sofia/internal/1001) Callstate Change ACTIVE -> HANGUP 2012-10-05 22:06:57.426425 [NOTICE] switch_ivr_originate.c:1056 Hangup sofia/internal/1001 [CS_SOFT_EXECUTE] [DESTINATION_OUT_OF_ORDER] 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2872 Send signal sofia/internal/1001 [KILL] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1001) Running State Change CS_HANGUP 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1001) State HANGUP 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:469 Channel sofia/internal/1001 hanging up, cause: DESTINATION_OUT_OF_ORDER 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1001 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2849 (sofia/internal/1000) Callstate Change ACTIVE -> HANGUP 2012-10-05 22:06:57.426425 [NOTICE] switch_ivr_bridge.c:817 Hangup sofia/internal/1000 [CS_SOFT_EXECUTE] [ORIGINATOR_CANCEL] 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2872 Send signal sofia/internal/1000 [KILL] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1000) State SOFT_EXECUTE going to sleep 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1000) Running State Change CS_HANGUP 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:816 Send signal sofia/internal/1001 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:816 Send signal sofia/internal/1000 [BREAK] 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:517 Sending BYE to sofia/internal/1001 2012-10-05 22:06:57.446365 [DEBUG] switch_cpp.cpp:1007 sofia/internal/1001 destroy/unlink session from object 2012-10-05 22:06:57.446365 [DEBUG] switch_cpp.cpp:1007 sofia/internal/1000 destroy/unlink session from object 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1000) State HANGUP 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:47 sofia/internal/1001 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/1001) State HANGUP going to sleep 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:393 (sofia/internal/1001) State Change CS_HANGUP -> CS_REPORTING 2012-10-05 22:06:57.446365 [DEBUG] switch_core_session.c:1205 Send signal sofia/internal/1001 [BREAK] 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/1001) Running State Change CS_REPORTING and the complete fs_cli log is here : http://pastebin.freeswitch.org/19992 I AM USING CentOS 6.2, and FreeSWITCH Version 1.1.beta1 (git-65c4f76 2012-04-25 17-58-41 +0000) kindly help me and your response is highly appreciated. Regards Shahzad Bhatti. !DSPAM:506ecf7032761330817986! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/ad4de9b2/attachment-0001.html From lloyd.aloysius at gmail.com Fri Oct 5 16:59:39 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Fri, 5 Oct 2012 08:59:39 -0400 Subject: [Freeswitch-users] Could not locate channel type sofia In-Reply-To: References: Message-ID: Additional Info.. In my Lab Three phones Behind the firewall. Two Polycom Phones and One Cisco Phone. FreeSWITCH outside the network with public ip. Three phones registered to the Freeswitch. All three phones can make outgoing calls. Polycom Phone Dial Cisco Phone Work. Polycom Phone Dial Polycom Got this Error Cisco Phone Dial Polycom Got this Error On Thu, Oct 4, 2012 at 10:03 PM, Lloyd Aloysius wrote: > FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at > commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) > > I have trouble dialing between users. is this a bug? > > *Dial plan* > > >
> > > > > > > > > > > > > >
> > > *Error...* > > 2012-10-04 21:57:31.143580 [DEBUG] switch_core_state_machine.c:209 > sofia/sipinterface_1/klaus at 5ele.mydomain.ca Standard EXECUTE > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(dialed_extension=24) > 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ > klaus at 5ele.mydomain.ca SET [dialed_extension]=[24] > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caexport(dialed_extension=24) > 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1118 EXPORT > (export_vars) [dialed_extension]=[24] > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(ringback=%(2000,4000,440,480)) > 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ > klaus at 5ele.mydomain.ca SET [ringback]=[%(2000,4000,440,480)] > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(call_timeout=30) > 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ > klaus at 5ele.mydomain.ca SET [call_timeout]=[30] > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(hangup_after_bridge=true) > 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ > klaus at 5ele.mydomain.ca SET [hangup_after_bridge]=[true] > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(continue_on_fail=true) > 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/ > klaus at 5ele.mydomain.ca SET [continue_on_fail]=[true] > EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.cabridge({sip_invite_domain= > 5ele.mydomain.ca}user/dick at 5ele.mydomain.ca) > 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1072 > sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] > [dialed_extension]=[24] to event > 2012-10-04 21:57:31.143580 [DEBUG] switch_ivr_originate.c:2005 Parsing > global variables > 2012-10-04 21:57:31.143580 [DEBUG] switch_event.c:1569 Parsing variable > [sip_invite_domain]=[5ele.mydomain.ca] > 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:1072 > sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] > [dialed_extension]=[24] to event > 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:2005 Parsing > global variables > 2012-10-04 21:57:31.163577 [DEBUG] switch_event.c:1569 Parsing variable > [presence_id]=[dick at 5ele.mydomain.ca] > 2012-10-04 21:57:31.163577 [ERR] switch_core_session.c:408 Could not > locate channel type sofia > 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot > create outgoing channel of type [ sofia] cause: > [CHAN_NOT_IMPLEMENTED] > 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate > Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] > 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot > create outgoing channel of type [user] cause: [CHAN_NOT_IMPLEMENTED] > 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate > Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] > 2012-10-04 21:57:31.163577 [INFO] mod_dptools.c:3027 Originate Failed. > Cause: CHAN_NOT_IMPLEMENTED > 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:262 > sofia/sipinterface_1/klaus at 5ele.mydomain.ca has executed the last > dialplan instruction, hanging up. > 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2950 > (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) Callstate Change RINGING -> > HANGUP > 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:264 Hangup > sofia/sipinterface_1/klaus at 5ele.mydomain.ca [CS_EXECUTE] [NORMAL_CLEARING] > 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2973 Send signal > sofia/sipinterface_1/klaus at 5ele.mydomain.ca [KILL] > 2012-10-04 21:57:31.163577 [DEBUG] switch_core_session.c:1210 Send signal > sofia/sipinterface_1/klaus at 5ele.mydomain.ca [BREAK] > 2012-10-04 21:57:31.163577 [DEBUG] switch_core_state_machine.c:453 > (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) State EXECUTE going to sleep > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/dd77f2bb/attachment.html From kris at kriskinc.com Fri Oct 5 17:28:32 2012 From: kris at kriskinc.com (Kristian Kielhofner) Date: Fri, 5 Oct 2012 09:28:32 -0400 Subject: [Freeswitch-users] Absolute Codec String In-Reply-To: References: Message-ID: Nick, Don't use proxy_media. See my rant here: http://wiki.freeswitch.org/wiki/Proxy_Media#Common_misconceptions_.28READ_THIS.29 On Thu, Oct 4, 2012 at 4:47 PM, Nick Vines wrote: > I am trying to set the codec when I bridge. I have late negotiation set to > true, and since I am trying to use G729, I set proxy_media=true as well. I > am using this in my dialplan (I have tried with and without "nolocal:" with > no change): > > data="{absolute_codec_string=G729}sofia/gateway/gateway/${dialed_number}"/> > > But in the invite to the gateway, I am seeing the codecs offered by the > device: > > m=audio 24960 RTP/AVP 18 0 2 8 9 96 97 98 101 > a=rtpmap:18 G729/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:2 G726-32/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:9 G722/8000 > a=rtpmap:96 G726-40/8000 > a=rtpmap:97 G726-24/8000 > a=rtpmap:98 G726-16/8000 > a=rtpmap:101 telephone-event/8000 > > I am troubleshooting right now, so I am able to specify on the phone "Use > Only Preferred", in which case I see only to following offered: > > a=rtpmap:18 G729/8000 > > Thanks, > Nick > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Kristian Kielhofner From nathandownes at hotmail.com Fri Oct 5 17:40:07 2012 From: nathandownes at hotmail.com (Mr Nathan Downes) Date: Fri, 5 Oct 2012 23:40:07 +1000 Subject: [Freeswitch-users] Differences for setting global variable Message-ID: Hi, What is the difference between And Is one better than the other? Both seem to have same effect.. Thanks, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/4248e6db/attachment.html From krice at freeswitch.org Fri Oct 5 18:02:35 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 05 Oct 2012 09:02:35 -0500 Subject: [Freeswitch-users] CudaTel and Freeswitch In-Reply-To: Message-ID: You cant go mucking with the dialplan and stuff and expect it to work... The cudatel while it is FreeSWITCH underneath the stuff wrapped around it make sit work in unexpected ways.... On 10/4/12 1:27 PM, "Alex Reid" wrote: > I wanted to try an experiament so I have rooted my CudaTel and have shell > access. Is there a way that I can create my own dialplans and IVR in > freeswitch? I have edited the dialplan.xml file I found, but it doesn't do > anything. Anyone with any experiance or idea? Maybe it's just not able to work > like that with the cudatel. > ? > Thank you. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/6be78f22/attachment-0001.html From Hector.Geraldino at ipsoft.com Fri Oct 5 18:05:56 2012 From: Hector.Geraldino at ipsoft.com (Hector Geraldino) Date: Fri, 5 Oct 2012 10:05:56 -0400 Subject: [Freeswitch-users] TTS professional libraries / sdks' recommendations In-Reply-To: References: Message-ID: <6A6B4C284AD15042B429EB9D904544AD07405FCA79@NY1-EXMB-01.ip-soft.net> I've used both Cepstral and Nuance and I'm happy with the results. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Adelia C. Sent: Thursday, October 04, 2012 2:23 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] TTS professional libraries / sdks' recommendations Quick poll and help with TTS libraries - what are you using? I need professional / carrier grade quality, looking for recommendations. Thank you!! A.C. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/1da2d909/attachment.html From leonardo at daitangroup.com Fri Oct 5 18:06:23 2012 From: leonardo at daitangroup.com (Leonardo N. S. Pereira) Date: Fri, 5 Oct 2012 11:06:23 -0300 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <506DF2BB.3010801@daitangroup.com> References: <506DF2BB.3010801@daitangroup.com> Message-ID: <506EE95F.10307@daitangroup.com> I had no lucky trying to set the "ext" and/or "ua" :-( This is one of the command I tried via socket interface: api uuid_broadcast e75e6d4e-732f-4385-962a-0e4b9038d940 http://(ext=mp3,ua='AppleWebKit/537.13')catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D both This is the log: 2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing variable [ext]=[mp3] 2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing variable [ua]=[AppleWebKit/537.13] 2012-10-05 14:03:43.953669 [ERR] mod_httapi.c:2545 File at url [http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D] is unreachable! The URL should be reachable now, in case you want to give it a try. Thanks in advance again, Leonardo On 10/04/2012 05:34 PM, Leonardo N. S. Pereira wrote: > Hi. > I'm having problem when trying to play an audio hosted in S3 Amazon cloud > The MP3 URL is: > / > / > > /h//ttp://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D/ > > The result is: > > 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605 > sofia/external/+15752222222 at 67.231.8.195 Command Execute > playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) > EXECUTE sofia/external/+15752222222 at 67.231.8.195 > playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) > 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url > [http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D] > is unreachable! > > > If I use the Browser with same URL, I'm able to listen to the sample > audio. > > Any idea about what is wrong? > > Thanks in advance, > Leonardo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/e268027b/attachment.html From brian at freeswitch.org Fri Oct 5 18:13:46 2012 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Oct 2012 09:13:46 -0500 Subject: [Freeswitch-users] CudaTel and Freeswitch In-Reply-To: References: Message-ID: <88BAE5C7-F9CC-49B7-B6E6-FEEA84CF7BF1@freeswitch.org> Alex, Is there something you want it to do that it currently doesn't? BTW how's the weather in Salt Lake City? -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 4, 2012, at 1:27 PM, Alex Reid wrote: > I wanted to try an experiament so I have rooted my CudaTel and have shell access. Is there a way that I can create my own dialplans and IVR in freeswitch? I have edited the dialplan.xml file I found, but it doesn't do anything. Anyone with any experiance or idea? Maybe it's just not able to work like that with the cudatel. > > > Thank you. > > From brian at freeswitch.org Fri Oct 5 18:25:33 2012 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Oct 2012 09:25:33 -0500 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <506EE95F.10307@daitangroup.com> References: <506DF2BB.3010801@daitangroup.com> <506EE95F.10307@daitangroup.com> Message-ID: <8505A428-5A23-4018-A230-E19C705E44A4@freeswitch.org> Access Denied still. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 5, 2012, at 9:06 AM, "Leonardo N. S. Pereira" wrote: > The URL should be reachable now, in case you want to give it a try. > Thanks in advance again, > Leonardo From anthony.minessale at gmail.com Fri Oct 5 19:18:59 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Oct 2012 10:18:59 -0500 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <8505A428-5A23-4018-A230-E19C705E44A4@freeswitch.org> References: <506DF2BB.3010801@daitangroup.com> <506EE95F.10307@daitangroup.com> <8505A428-5A23-4018-A230-E19C705E44A4@freeswitch.org> Message-ID: Basically you need to figure out how to get past whichever trick they have to not allow you to use something other than a browser. On Fri, Oct 5, 2012 at 9:25 AM, Brian West wrote: > Access Denied still. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 5, 2012, at 9:06 AM, "Leonardo N. S. Pereira" < > leonardo at daitangroup.com> wrote: > > > The URL should be reachable now, in case you want to give it a try. > > Thanks in advance again, > > Leonardo > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/731b7e6d/attachment-0001.html From shahzad.bhatti at g-r-v.com Fri Oct 5 19:25:04 2012 From: shahzad.bhatti at g-r-v.com (Shahzad Bhatti) Date: Fri, 5 Oct 2012 20:25:04 +0500 Subject: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working In-Reply-To: References: Message-ID: Hi Peter Olsson, Thanks for the reply, now I update with version FreeSWITCH *Version 1.3.0*+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z) but the problem is still there. Regards Shahzad Bhatti. On Fri, Oct 5, 2012 at 5:45 PM, < freeswitch-users-request at lists.freeswitch.org> 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: uuid_bridge, uuid_broadcast is not working (Peter Olsson) > > > ---------- Forwarded message ---------- > From: Peter Olsson > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Date: Fri, 5 Oct 2012 12:45:22 +0000 > Subject: Re: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working > > Before anything else, update your version to a more current one.**** > > ** ** > > /Peter**** > > ** ** > > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *F?r *Shahzad Bhatti > *Skickat:* den 5 oktober 2012 14:27 > *Till:* freeswitch-users at lists.freeswitch.org > *?mne:* [Freeswitch-users] uuid_bridge, uuid_broadcast is not working**** > > ** ** > > Hi,**** > > ** ** > > I am creating a script in Lua to originate 2 calls, bridge them and then > play a file using uuid_bridge and uuid_brodcast but unable to get the > result and call hangup.**** > > my code is as follows:**** > > ** ** > > * cli = "1111";***** > > * caller = "1000";***** > > * dest = "1001";***** > > * profile= "internal";***** > > * param = > "{ignore_early_media=flase,origination_caller_id_number="..cli.."}";***** > > ** ** > > * api = freeswitch.API();***** > > * domain = api:executeString("eval ${domain}");***** > > ** ** > > * file = "/usr/local/freeswitch/sounds/test_unset.wav";***** > > ** ** > > * session1 = freeswitch.Session(param.."sofia/"..profile.."/".. > caller .."%"..domain);***** > > * session2 = freeswitch.Session(param.."sofia/"..profile.."/".. > dest .."%"..domain);***** > > ** ** > > * uuid1 = tostring(session1:get_uuid());***** > > * uuid2 = tostring(session2:get_uuid());***** > > ** ** > > * api:executeString("uuid_bridge "..uuid1.." "..uuid2);***** > > * api:executeString("uuid_broadcast "..uuid1.." "..file.." aleg");* > **** > > ** ** > > and the fs_cli log is as :**** > > ** ** > > 2012-10-05 22:06:57.386448 [NOTICE] sofia.c:6318 Channel > [sofia/internal/1001] has been answered**** > > 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1001) Running State Change CS_SOFT_EXECUTE**** > > 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:423 > (sofia/internal/1001) State SOFT_EXECUTE**** > > 2012-10-05 22:06:57.406452 [DEBUG] mod_sofia.c:588 SOFIA SOFT_EXECUTE**** > > 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:241 > sofia/internal/1001 Standard SOFT_EXECUTE**** > > 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:423 > (sofia/internal/1001) State SOFT_EXECUTE going to sleep**** > > 2012-10-05 22:06:57.406452 [INFO] switch_channel.c:2711 > sofia/internal/1001 Flipping CID from "" <1111> to "Outbound Call" > <1001%192.168.0.19>**** > > 2012-10-05 22:06:57.406452 [INFO] switch_channel.c:2711 > sofia/internal/1000 Flipping CID from "" <1111> to "Outbound Call" > <1000%192.168.0.19>**** > > 2012-10-05 22:06:57.406452 [DEBUG] switch_ivr_bridge.c:1619 > (sofia/internal/1000) State Change CS_SOFT_EXECUTE -> CS_HIBERNATE**** > > 2012-10-05 22:06:57.406452 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1000) Running State Change CS_HIBERNATE**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal > sofia/internal/1000 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:432 > (sofia/internal/1000) State HIBERNATE**** > > 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:222 sofia/internal/1000 > SOFIA HIBERNATE**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:749 > (sofia/internal/1000) State Change CS_HIBERNATE -> CS_RESET**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal > sofia/internal/1000 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:432 > (sofia/internal/1000) State HIBERNATE going to sleep**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1000) Running State Change CS_RESET**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:413 > (sofia/internal/1000) State RESET**** > > 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:166 sofia/internal/1000 > SOFIA RESET**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:734 > sofia/internal/1000 CUSTOM RESET**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:741 > (sofia/internal/1000) State Change CS_RESET -> CS_SOFT_EXECUTE**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal > sofia/internal/1000 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:413 > (sofia/internal/1000) State RESET going to sleep**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1000) Running State Change CS_SOFT_EXECUTE**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:423 > (sofia/internal/1000) State SOFT_EXECUTE**** > > 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:588 SOFIA SOFT_EXECUTE**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_ivr_bridge.c:759 > sofia/internal/1000 CUSTOM SOFT_EXECUTE**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2849 > (sofia/internal/1001) Callstate Change ACTIVE -> HANGUP**** > > 2012-10-05 22:06:57.426425 [NOTICE] switch_ivr_originate.c:1056 Hangup > sofia/internal/1001 [CS_SOFT_EXECUTE] [DESTINATION_OUT_OF_ORDER]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2872 Send signal > sofia/internal/1001 [KILL]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1001) Running State Change CS_HANGUP**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:602 > (sofia/internal/1001) State HANGUP**** > > 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:469 Channel > sofia/internal/1001 hanging up, cause: DESTINATION_OUT_OF_ORDER**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal > sofia/internal/1001 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2849 > (sofia/internal/1000) Callstate Change ACTIVE -> HANGUP**** > > 2012-10-05 22:06:57.426425 [NOTICE] switch_ivr_bridge.c:817 Hangup > sofia/internal/1000 [CS_SOFT_EXECUTE] [ORIGINATOR_CANCEL]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_channel.c:2872 Send signal > sofia/internal/1000 [KILL]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:1205 Send signal > sofia/internal/1000 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:423 > (sofia/internal/1000) State SOFT_EXECUTE going to sleep**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1000) Running State Change CS_HANGUP**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:816 Send signal > sofia/internal/1001 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] switch_core_session.c:816 Send signal > sofia/internal/1000 [BREAK]**** > > 2012-10-05 22:06:57.426425 [DEBUG] mod_sofia.c:517 Sending BYE to > sofia/internal/1001**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_cpp.cpp:1007 sofia/internal/1001 > destroy/unlink session from object**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_cpp.cpp:1007 sofia/internal/1000 > destroy/unlink session from object**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:602 > (sofia/internal/1000) State HANGUP**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:47 > sofia/internal/1001 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:602 > (sofia/internal/1001) State HANGUP going to sleep**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:393 > (sofia/internal/1001) State Change CS_HANGUP -> CS_REPORTING**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_core_session.c:1205 Send signal > sofia/internal/1001 [BREAK]**** > > 2012-10-05 22:06:57.446365 [DEBUG] switch_core_state_machine.c:362 > (sofia/internal/1001) Running State Change CS_REPORTING**** > > ** ** > > and the complete fs_cli log is here : http://pastebin.freeswitch.org/19992 > **** > > ** ** > > I AM USING CentOS 6.2, and FreeSWITCH Version 1.1.beta1 (git-65c4f76 > 2012-04-25 17-58-41 +0000)**** > > ** ** > > kindly help me and your response is highly appreciated.**** > > ** ** > > Regards**** > > ** ** > > Shahzad Bhatti.**** > > !DSPAM:506ecf7032761330817986! **** > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/d319777a/attachment-0001.html From lists at kavun.ch Fri Oct 5 20:12:29 2012 From: lists at kavun.ch (Emrah) Date: Fri, 5 Oct 2012 12:12:29 -0400 Subject: [Freeswitch-users] More recent Skype client for mod_skypeopen In-Reply-To: References: Message-ID: <16E2A7FA-3629-4DD9-A9E0-7D6D5E05B63A@kavun.ch> Giovanni, Thanks for replying. Skype from iOS devices and Windows phones gives me something close to G729 in quality. Regarding v4.0, I have Skype running in Xvfb fine now, but the mod_skypopen doesn't seem to agree with it. Any idea how the following can be fixed? When launching the startup scripts, I get: SELinux: Disabled on system, not enabling in X server [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list! socket(): Address family not supported by protocol When I load mod_skypopen, FS crashes and the final logs are: 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1522 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1522 ][none ][N/A,N/A] globals.dialplan=XML 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1519 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1519 ][none ][N/A,N/A] globals.context=local 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1525 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1525 ][none ][N/A,N/A] globals.destination=555 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1528 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1528 ][none ][N/A,N/A] globals.skype_user=user 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1531 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1531 ][none ][N/A,N/A] globals.report_incoming_chatmessages=false 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1537 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1537 ][none ][N/A,N/A] globals.write_silence_when_idle=false 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1540 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1540 ][none ][N/A,N/A] globals.setsockopt=true 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1633 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1633 ][none ][N/A,N/A] interface_id=1 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1644 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1644 ][none ][N/A,N/A] name=skype101 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1650 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1650 ][none ][N/A,N/A] Initialized XInitThreads! 2012-10-05 16:31:19.167912 [INFO] mod_enum.c:871 ENUM Reloaded 2012-10-05 16:31:19.167912 [INFO] switch_time.c:1163 Timezone reloaded 530 definitions 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1673 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1673 ][skype101 ][IDLE,IDLE] CONFIGURING interface_id=1 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1710 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1710 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].name=skype101 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1713 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1713 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].context=local 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1716 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1716 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].dialplan=XML 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1719 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1719 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].destination=555 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1722 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1722 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].X11_display=:101 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1725 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1725 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].skype_user=user 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1728 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1728 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].report_incoming_chatmessages=0 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1731 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1731 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].silent_mode=0 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1734 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1734 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].write_silence_when_idle=0 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1737 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1737 ][skype101 ][IDLE,IDLE] interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].setsockopt=1 2012-10-05 16:31:19.187923 [WARNING] mod_skypopen.c:1739 [ccae5cd|07bc7ba] [WARNINGA 1739 ][skype101 ][IDLE,IDLE] STARTING interface_id=1 2012-10-05 16:31:19.187923 [DEBUG] skypopen_protocol.c:1777 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1777 ][skype101 ][IDLE,IDLE] X Display ':101' opened 2012-10-05 16:31:19.187923 [ERR] skypopen_protocol.c:1594 [ccae5cd|07bc7ba] [ERRORA 1594 ][none ][N/A,N/A] Received error code 5 from X Server 2012-10-05 16:31:19.187923 [ERR] skypopen_protocol.c:1595 [ccae5cd|07bc7ba] [ERRORA 1595 ][none ][N/A,N/A] Display error for 1, :101.0 2012-10-05 16:31:19.187923 [ERR] skypopen_protocol.c:1792 [ccae5cd|07bc7ba] [ERRORA 1792 ][skype101 ][DEAD,IDLE] Fatal display error for :101 - successed to jump 2012-10-05 16:31:19.187923 [WARNING] skypopen_protocol.c:1817 [ccae5cd|07bc7ba] [WARNINGA 1817 ][skype101 ][DEAD,IDLE] Removing skype interface #skype101 2012-10-05 16:31:19.287914 [DEBUG] mod_skypopen.c:1402 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1402 ][skype101 ][DEAD,IDLE] In skypopen_signaling_thread_func: started, p=0x7f5160374da8 2012-10-05 16:31:19.287914 [DEBUG] mod_skypopen.c:1486 [ccae5cd|07bc7ba] [DEBUG_SKYPE 1486 ][skype101 ][DEAD,IDLE] EXITING 2012-10-05 16:31:19.387914 [NOTICE] mod_skypopen.c:1768 [ccae5cd|07bc7ba] [NOTICA 1768 ][skype101 ][DEAD,IDLE] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1 2012-10-05 16:31:29.387922 [ERR] mod_skypopen.c:1781 [ccae5cd|07bc7ba] [ERRORA 1781 ][skype101 ][DEAD,IDLE] Failed to connect to a SKYPE API for interface_id=1, no SKYPE client running, please (re)start Skype client. Skypopen exiting Thanks for any suggestions you may have. All the best, Emrah On Oct 4, 2012, at 3:11 PM, Giovanni Maruzzelli wrote: > anyway, Skype for Symbian (eg Nokias) works perfect with skypopen. > > Which skype clients supports only Silk? Are they unable to connect to skypopen? > > Please, can you give more details? > > > -giovanni > > On 10/4/12, Giovanni Maruzzelli wrote: >> hello, >> using latest skype client is detailed in the wiki page, contributed by a >> user. >> Please test it and report about performances, problems, etc >> -giovanni >> >> On 10/4/12, Emrah wrote: >>> Hi list, >>> >>> It's great to have a 16khz audio sample when using Skype via FS? However >>> this does not apply for sessions with mobile versions of Skype which only >>> embed SILK, not available in the Skype version currently used by >>> Skypeopen. >>> >>> How complicated is it to use a more recent version of the Skype client? >>> Is >>> it even possible? >>> >>> Cheers and thanks in advance, >>> Emrah >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://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 From rnbrady at gmail.com Fri Oct 5 17:44:18 2012 From: rnbrady at gmail.com (Richard Brady) Date: Fri, 5 Oct 2012 14:44:18 +0100 Subject: [Freeswitch-users] DTMF: liberal-dtmf=true vs dtmf_type=none Message-ID: Hi folks I am try to prevent DTMF tones from being transmitted from one channel to another on a bridge by adding the following: This will prevent tones from the inbound channel from being transmitted on the outbound channel. Nifty! However, it also prevents RFC2833 from being advertised on the outbound channel and this is problematic in cases where suppression is required in the forward direction but not the reverse. Setting liberal-dtmf=true on the profile does not help, it appears that dtmf_type=none in the dialplan (or dtmf-type=none in the profile) overrides liberal-dtmf in the profile. I would like to file a bug arguing that liberal-dtmf has inconsistent behaviour. For example, it will override the dtmf-type=none profile parameter in SDP offers but not in SDP answers. It makes sense that: * dtmf-type/dtmf_type should influence offers and answers alike, as well as what is used for outgoing DTMF and what is recognised as incoming DTMF, and * liberal-dtmf should override dtmf-type for offers and answers alike, as well as for what is recognised as incoming DTMF, but * liberal-dtmf should not override what is sent as outgoing DTMF, since that would make the dtmf-type parameter completely impotent. Does anyone have any thoughts / suggestions / rebuttals? Thanks, Richard FreeSWITCH Version 1.3.0+git~20121002T220322Z~d84df73aaa (git d84df73 2012-10-02 22:03:22Z) Vanilla config except for addition of the above line to Local_Extension in default.xml dialplan. Ubuntu 12.04.1 LTS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/480be36e/attachment.html From alexreid2 at gmail.com Fri Oct 5 19:18:19 2012 From: alexreid2 at gmail.com (Alex Reid) Date: Fri, 5 Oct 2012 09:18:19 -0600 Subject: [Freeswitch-users] CudaTel and Freeswitch In-Reply-To: <88BAE5C7-F9CC-49B7-B6E6-FEEA84CF7BF1@freeswitch.org> References: <88BAE5C7-F9CC-49B7-B6E6-FEEA84CF7BF1@freeswitch.org> Message-ID: It's cold here, about the same as where you're at! I found that the auto attendant in CudaTel to be pretty lacking. It would be nice to manually create my own exactly how I wanted it. There also doesn't seem to be short code support. Other than that, the CudaTel does what I need it to do and has a great interface. Thank you, Alex On Fri, Oct 5, 2012 at 8:13 AM, Brian West wrote: > Alex, > Is there something you want it to do that it currently doesn't? > BTW how's the weather in Salt Lake City? > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424 > .WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 4, 2012, at 1:27 PM, Alex Reid wrote: > > > I wanted to try an experiament so I have rooted my CudaTel and have > shell access. Is there a way that I can create my own dialplans and IVR in > freeswitch? I have edited the dialplan.xml file I found, but it doesn't do > anything. Anyone with any experiance or idea? Maybe it's just not able to > work like that with the cudatel. > > > > > > Thank you. > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121005/d7ca6918/attachment.html From anthony.minessale at gmail.com Fri Oct 5 20:22:43 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Oct 2012 11:22:43 -0500 Subject: [Freeswitch-users] CudaTel and Freeswitch In-Reply-To: References: <88BAE5C7-F9CC-49B7-B6E6-FEEA84CF7BF1@freeswitch.org> Message-ID: Start by actually purchasing the box before you try to illegally access it. On Fri, Oct 5, 2012 at 10:18 AM, Alex Reid wrote: > It's cold here, about the same as where you're at! > > I found that the auto attendant in CudaTel to be pretty lacking. It would > be nice to manually create my own exactly how I wanted it. There also > doesn't seem to be short code support. Other than that, the CudaTel does > what I need it to do and has a great interface. > > Thank you, > Alex > > > On Fri, Oct 5, 2012 at 8:13 AM, Brian West wrote: > >> Alex, >> Is there something you want it to do that it currently doesn't? >> BTW how's the weather in Salt Lake City? >> -- >> Brian West >> brian at freeswitch.org >> FreeSWITCH Solutions, LLC >> PO BOX PO BOX 2531 >> Brookfield, WI 53008-2531 >> Twitter: @FreeSWITCH_Wire >> T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST >> iNUM: +883 5100 1420 9266 >> UK: +44 20 3298 4900 >> ISN: 410*543 >> >> >> >> >> >> On Oct 4, 2012, at 1:27 PM, Alex Reid wrote: >> >> > I wanted to try an experiament so I have rooted my CudaTel and have >> shell access. Is there a way that I can create my own dialplans and IVR in >> freeswitch? I have edited the dialplan.xml file I found, but it doesn't do >> anything. Anyone with any experiance or idea? Maybe it's just not able to >> work like that with the cudatel. >> > >> > >> > Thank you. >> > >> > >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/ded416c8/attachment-0001.html From leonardo at daitangroup.com Fri Oct 5 20:35:39 2012 From: leonardo at daitangroup.com (Leonardo N. S. Pereira) Date: Fri, 5 Oct 2012 13:35:39 -0300 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <506EE95F.10307@daitangroup.com> References: <506DF2BB.3010801@daitangroup.com> <506EE95F.10307@daitangroup.com> Message-ID: <506F0C5B.6000204@daitangroup.com> Well, I think I found the problem, but I still don't know how to fix it. The problem is that the HTTP request to Amazon is going with the method HEAD instead of GET. Is there a way to force mod_httapi to use GET? On 10/05/2012 11:06 AM, Leonardo N. S. Pereira wrote: > I had no lucky trying to set the "ext" and/or "ua" :-( > This is one of the command I tried via socket interface: > > api uuid_broadcast e75e6d4e-732f-4385-962a-0e4b9038d940 > http://(ext=mp3,ua='AppleWebKit/537.13')catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D > both > > > This is the log: > > 2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing > variable [ext]=[mp3] > 2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing > variable [ua]=[AppleWebKit/537.13] > 2012-10-05 14:03:43.953669 [ERR] mod_httapi.c:2545 File at url > [http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D] > is unreachable! > > The URL should be reachable now, in case you want to give it a try. > Thanks in advance again, > Leonardo > > > On 10/04/2012 05:34 PM, Leonardo N. S. Pereira wrote: >> Hi. >> I'm having problem when trying to play an audio hosted in S3 Amazon cloud >> The MP3 URL is: >> / >> / >> >> /h//ttp://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D/ >> >> The result is: >> >> 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605 >> sofia/external/+15752222222 at 67.231.8.195 Command Execute >> playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) >> EXECUTE sofia/external/+15752222222 at 67.231.8.195 >> playback(http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D) >> 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url >> [http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D] >> is unreachable! >> >> >> If I use the Browser with same URL, I'm able to listen to the sample >> audio. >> >> Any idea about what is wrong? >> >> Thanks in advance, >> Leonardo > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/3709c95f/attachment.html From lloyd.aloysius at gmail.com Fri Oct 5 21:06:26 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Fri, 5 Oct 2012 13:06:26 -0400 Subject: [Freeswitch-users] Could not locate channel type sofia In-Reply-To: References: Message-ID: I would like to give a update on this. I setup another freeswitch instance from the master HEAD. There is no such problem like this. I assume this is a bug in 1.2.stable. Thank you. Lloyd On Fri, Oct 5, 2012 at 8:59 AM, Lloyd Aloysius wrote: > Additional Info.. > > In my Lab > > Three phones Behind the firewall. Two Polycom Phones and One Cisco Phone. > FreeSWITCH outside the network with public ip. > > Three phones registered to the Freeswitch. All three phones can make > outgoing calls. > > Polycom Phone Dial Cisco Phone Work. > > Polycom Phone Dial Polycom Got this Error > > Cisco Phone Dial Polycom Got this Error > > > > > > On Thu, Oct 4, 2012 at 10:03 PM, Lloyd Aloysius wrote: > >> FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at >> commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) >> >> I have trouble dialing between users. is this a bug? >> >> *Dial plan* >> >> >>
>> >> >> >> >> >> >> >> >> >> >> >> >> >>
>> >> >> *Error...* >> >> 2012-10-04 21:57:31.143580 [DEBUG] switch_core_state_machine.c:209 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca Standard EXECUTE >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(dialed_extension=24) >> 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [dialed_extension]=[24] >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caexport(dialed_extension=24) >> 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1118 EXPORT >> (export_vars) [dialed_extension]=[24] >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(ringback=%(2000,4000,440,480)) >> 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET >> [ringback]=[%(2000,4000,440,480)] >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca set(call_timeout=30) >> 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [call_timeout]=[30] >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(hangup_after_bridge=true) >> 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET >> [hangup_after_bridge]=[true] >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.caset(continue_on_fail=true) >> 2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca SET [continue_on_fail]=[true] >> EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.cabridge({sip_invite_domain= >> 5ele.mydomain.ca}user/dick at 5ele.mydomain.ca) >> 2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1072 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] >> [dialed_extension]=[24] to event >> 2012-10-04 21:57:31.143580 [DEBUG] switch_ivr_originate.c:2005 Parsing >> global variables >> 2012-10-04 21:57:31.143580 [DEBUG] switch_event.c:1569 Parsing variable >> [sip_invite_domain]=[5ele.mydomain.ca] >> 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:1072 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca EXPORTING[export_vars] >> [dialed_extension]=[24] to event >> 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:2005 Parsing >> global variables >> 2012-10-04 21:57:31.163577 [DEBUG] switch_event.c:1569 Parsing variable >> [presence_id]=[dick at 5ele.mydomain.ca] >> 2012-10-04 21:57:31.163577 [ERR] switch_core_session.c:408 Could not >> locate channel type sofia >> 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot >> create outgoing channel of type [ sofia] cause: >> [CHAN_NOT_IMPLEMENTED] >> 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate >> Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] >> 2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot >> create outgoing channel of type [user] cause: [CHAN_NOT_IMPLEMENTED] >> 2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate >> Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] >> 2012-10-04 21:57:31.163577 [INFO] mod_dptools.c:3027 Originate Failed. >> Cause: CHAN_NOT_IMPLEMENTED >> 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:262 >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca has executed the last >> dialplan instruction, hanging up. >> 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2950 >> (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) Callstate Change RINGING >> -> HANGUP >> 2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:264 >> Hangup sofia/sipinterface_1/klaus at 5ele.mydomain.ca [CS_EXECUTE] >> [NORMAL_CLEARING] >> 2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2973 Send signal >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca [KILL] >> 2012-10-04 21:57:31.163577 [DEBUG] switch_core_session.c:1210 Send signal >> sofia/sipinterface_1/klaus at 5ele.mydomain.ca [BREAK] >> 2012-10-04 21:57:31.163577 [DEBUG] switch_core_state_machine.c:453 >> (sofia/sipinterface_1/klaus at 5ele.mydomain.ca) State EXECUTE going to >> sleep >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/051e2855/attachment-0001.html From krice at freeswitch.org Fri Oct 5 21:16:16 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 05 Oct 2012 12:16:16 -0500 Subject: [Freeswitch-users] Friday Free For All Message-ID: The Don?t Forget the Friday Free For All at sip:888 at conference.freeswitch.org Whens it start? When do you want it to start? Officially 4PM EST... However you can join and leave at a whim... There were complaints about the moderation feature being busted when turned off those have been resolved... Seems the conference monitoring bots were arguing over whats going to happen when someone pressed 0... Come on and Join us, invite your friends, invite voip users from around the world... And of course all the usual means for joining on Wed worth all the time K -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/9e7a6fa2/attachment.html From djbinter at gmail.com Fri Oct 5 21:19:07 2012 From: djbinter at gmail.com (DJB International) Date: Fri, 5 Oct 2012 10:19:07 -0700 Subject: [Freeswitch-users] Limit hash Message-ID: I have a limit hash setup in the dialplan to count the session for each inbound ip gateway; however, there is a stuck hash data count in one of the ip when I ran hash_dump. Please see below: and right now there is no call coming in to 1.2.3.4; however, when I ran hash_dump all, it shows as: L/inbound_1.2.3.4/3/0/0/0 it is obviously showing that there are 3 stuck counters on this one. I've tried hash_reset, but it did not work. I wonder whether there is any other ways to remove or reset it? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/8a7806af/attachment.html From anthony.minessale at gmail.com Fri Oct 5 21:33:07 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 5 Oct 2012 12:33:07 -0500 Subject: [Freeswitch-users] mod_httapi problem when trying to play an audio hosted in S3 amazon cloud In-Reply-To: <506F0C5B.6000204@daitangroup.com> References: <506DF2BB.3010801@daitangroup.com> <506EE95F.10307@daitangroup.com> <506F0C5B.6000204@daitangroup.com> Message-ID: Not on the version you have but if you update to latest GIT HEAD you could try a patch that adds a nohead=true param you can set in the same place you set ua and ext that should skip over the head check. Really its a bug for amazon that they don't let you do cache-control properly. On Fri, Oct 5, 2012 at 11:35 AM, Leonardo N. S. Pereira < leonardo at daitangroup.com> wrote: > Well, I think I found the problem, but I still don't know how to fix it. > The problem is that the HTTP request to Amazon is going with the method > HEAD instead of GET. > Is there a way to force mod_httapi to use GET? > > > > On 10/05/2012 11:06 AM, Leonardo N. S. Pereira wrote: > > I had no lucky trying to set the "ext" and/or "ua" :-( > This is one of the command I tried via socket interface: > > api uuid_broadcast e75e6d4e-732f-4385-962a-0e4b9038d940 > http://(ext=mp3,ua='AppleWebKit/537.13')catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3Dboth > > > This is the log: > > 2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing variable > [ext]=[mp3] > 2012-10-05 14:03:43.953669 [DEBUG] switch_event.c:1477 Parsing variable > [ua]=[AppleWebKit/537.13] > 2012-10-05 14:03:43.953669 [ERR] mod_httapi.c:2545 File at url [ > http://catapult-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349446514&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=3qc1pHwXqB71b0E4YOVJW62tvS8%3D] > is unreachable! > > The URL should be reachable now, in case you want to give it a try. > Thanks in advance again, > Leonardo > > > On 10/04/2012 05:34 PM, Leonardo N. S. Pereira wrote: > > Hi. > I'm having problem when trying to play an audio hosted in S3 Amazon cloud > The MP3 URL is: > * > * > > *h**ttp:// > test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349381157&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bnJgjbnxqlgsdYIcKIbYUa9gqao%3D > * > > The result is: > > 2012-10-04 20:27:28.891298 [DEBUG] switch_ivr.c:605 > sofia/external/+15752222222 at 67.231.8.195 Command Execute playback( > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D > ) > EXECUTE sofia/external/+15752222222 at 67.231.8.195 playback( > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D > ) > 2012-10-04 20:27:28.903180 [ERR] mod_httapi.c:2545 File at url [ > http://test-media-dev.s3.amazonaws.com/u-asevyeard22pl6sc2z4knzi%2Fblind_willie.mp3?Expires=1349383281&AWSAccessKeyId=AKIAJKQT6QPSI3BXJJ4A&Signature=bLsres02Vy%2FH9zdwfFDeYyaRNxE%3D] > is unreachable! > > > If I use the Browser with same URL, I'm able to listen to the sample audio. > > Any idea about what is wrong? > > Thanks in advance, > Leonardo > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/0b5db152/attachment.html From lloyd.aloysius at gmail.com Sat Oct 6 02:08:56 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Fri, 5 Oct 2012 18:08:56 -0400 Subject: [Freeswitch-users] xml cdr help Message-ID: Hi, I am directly writing xml cdr into the database. In my configuration But freeswitch post 2 cdr records into the database. 1. How to avoid the b-leg 2. Is there a way to flag the records for a-leg or b-leg Thanks in advanced. Lloyd * * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/83154126/attachment.html From krice at freeswitch.org Sat Oct 6 04:45:41 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 05 Oct 2012 19:45:41 -0500 Subject: [Freeswitch-users] Yes We Know the website is down heh.... Message-ID: BKW and his crew are working on the website... It?ll be back sooner or later... -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/4e0ce5b8/attachment-0001.html From brian at freeswitch.org Sat Oct 6 05:57:35 2012 From: brian at freeswitch.org (Brian West) Date: Fri, 5 Oct 2012 20:57:35 -0500 Subject: [Freeswitch-users] Yes We Know the website is down heh.... In-Reply-To: References: Message-ID: <21A065AD-6CE5-4C9C-A67F-05E79F78B210@freeswitch.org> Thats the plan! :P GO GO GADGET 10MBIT! -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 5, 2012, at 7:45 PM, Ken Rice wrote: > BKW and his crew are working on the website... It?ll be back sooner or later... > > > > -- > Ken From gabe at gundy.org Sat Oct 6 06:01:11 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Fri, 5 Oct 2012 20:01:11 -0600 Subject: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working In-Reply-To: References: Message-ID: On Fri, Oct 5, 2012 at 6:26 AM, Shahzad Bhatti wrote: > I am creating a script in Lua to originate 2 calls, bridge them and then > play a file using uuid_bridge and uuid_brodcast but unable to get the result > and call hangup. If you remove the broadcast, and just focus on the bridge, is it working? It doesn't look like it. If you start to channels and try to bridge them, they both have to be fully setup or the bridge will not work. Mess around with parking and then bridging until you get the order of things worked out. Good luck and let us know what you figure out. Gabe From gmaruzz at gmail.com Sat Oct 6 11:58:07 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 6 Oct 2012 09:58:07 +0200 Subject: [Freeswitch-users] More recent Skype client for mod_skypeopen In-Reply-To: <16E2A7FA-3629-4DD9-A9E0-7D6D5E05B63A@kavun.ch> References: <16E2A7FA-3629-4DD9-A9E0-7D6D5E05B63A@kavun.ch> Message-ID: 1) which skype client is unable to connect to a skypopen server? Eg: using which mobile you cannot call the old skype client used by skypopen? 2) skype client used by skypopen is 16khz too, like the new one, is just a different codec (is not silk). Difference in quality is probably subjective matter 3) I see you got IP address problems, no idea why 4) I never tested it, but people use it regularly. Follow the wiki page instruction they sent, and please add to it what you will find in your experimentations 5) the only officially supported skype client is the old one. I expect the new one to need a lot of CPU, and skypopen aim is bein-giovannig able to run dozens concurrent clients in active calls on a normal server hardware. On 10/5/12, Emrah wrote: > Giovanni, > Thanks for replying. > Skype from iOS devices and Windows phones gives me something close to G729 > in quality. > > Regarding v4.0, I have Skype running in Xvfb fine now, but the mod_skypopen > doesn't seem to agree with it. > > Any idea how the following can be fixed? > > When launching the startup scripts, I get: > SELinux: Disabled on system, not enabling in X server > [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, > removing from list! > [dix] Could not init font path element > /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list! > socket(): Address family not supported by protocol > > When I load mod_skypopen, FS crashes and the final logs are: > > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1522 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1522 ][none ][N/A,N/A] > globals.dialplan=XML > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1519 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1519 ][none ][N/A,N/A] > globals.context=local > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1525 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1525 ][none ][N/A,N/A] > globals.destination=555 > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1528 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1528 ][none ][N/A,N/A] > globals.skype_user=user > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1531 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1531 ][none ][N/A,N/A] > globals.report_incoming_chatmessages=false > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1537 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1537 ][none ][N/A,N/A] > globals.write_silence_when_idle=false > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1540 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1540 ][none ][N/A,N/A] > globals.setsockopt=true > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1633 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1633 ][none ][N/A,N/A] > interface_id=1 > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1644 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1644 ][none ][N/A,N/A] > name=skype101 > 2012-10-05 16:31:19.167912 [DEBUG] mod_skypopen.c:1650 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1650 ][none ][N/A,N/A] Initialized > XInitThreads! > 2012-10-05 16:31:19.167912 [INFO] mod_enum.c:871 ENUM Reloaded > 2012-10-05 16:31:19.167912 [INFO] switch_time.c:1163 Timezone reloaded 530 > definitions > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1673 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1673 ][skype101 ][IDLE,IDLE] > CONFIGURING interface_id=1 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1710 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1710 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].name=skype101 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1713 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1713 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].context=local > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1716 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1716 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].dialplan=XML > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1719 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1719 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].destination=555 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1722 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1722 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].X11_display=:101 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1725 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1725 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].skype_user=user > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1728 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1728 ][skype101 ][IDLE,IDLE] > interface_id=1 > globals.SKYPOPEN_INTERFACES[interface_id].report_incoming_chatmessages=0 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1731 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1731 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].silent_mode=0 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1734 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1734 ][skype101 ][IDLE,IDLE] > interface_id=1 > globals.SKYPOPEN_INTERFACES[interface_id].write_silence_when_idle=0 > 2012-10-05 16:31:19.187923 [DEBUG] mod_skypopen.c:1737 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1737 ][skype101 ][IDLE,IDLE] > interface_id=1 globals.SKYPOPEN_INTERFACES[interface_id].setsockopt=1 > 2012-10-05 16:31:19.187923 [WARNING] mod_skypopen.c:1739 > [ccae5cd|07bc7ba] [WARNINGA 1739 ][skype101 ][IDLE,IDLE] STARTING > interface_id=1 > 2012-10-05 16:31:19.187923 [DEBUG] skypopen_protocol.c:1777 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1777 ][skype101 ][IDLE,IDLE] X Display > ':101' opened > 2012-10-05 16:31:19.187923 [ERR] skypopen_protocol.c:1594 > [ccae5cd|07bc7ba] [ERRORA 1594 ][none ][N/A,N/A] Received > error code 5 from X Server > > 2012-10-05 16:31:19.187923 [ERR] skypopen_protocol.c:1595 > [ccae5cd|07bc7ba] [ERRORA 1595 ][none ][N/A,N/A] Display > error for 1, :101.0 > 2012-10-05 16:31:19.187923 [ERR] skypopen_protocol.c:1792 > [ccae5cd|07bc7ba] [ERRORA 1792 ][skype101 ][DEAD,IDLE] Fatal > display error for :101 - successed to jump > 2012-10-05 16:31:19.187923 [WARNING] skypopen_protocol.c:1817 > [ccae5cd|07bc7ba] [WARNINGA 1817 ][skype101 ][DEAD,IDLE] Removing > skype interface #skype101 > 2012-10-05 16:31:19.287914 [DEBUG] mod_skypopen.c:1402 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1402 ][skype101 ][DEAD,IDLE] In > skypopen_signaling_thread_func: started, p=0x7f5160374da8 > 2012-10-05 16:31:19.287914 [DEBUG] mod_skypopen.c:1486 > [ccae5cd|07bc7ba] [DEBUG_SKYPE 1486 ][skype101 ][DEAD,IDLE] EXITING > 2012-10-05 16:31:19.387914 [NOTICE] mod_skypopen.c:1768 > [ccae5cd|07bc7ba] [NOTICA 1768 ][skype101 ][DEAD,IDLE] WAITING > roughly 10 seconds to find a running Skype client and connect to its SKYPE > API for interface_id=1 > 2012-10-05 16:31:29.387922 [ERR] mod_skypopen.c:1781 > [ccae5cd|07bc7ba] [ERRORA 1781 ][skype101 ][DEAD,IDLE] Failed to > connect to a SKYPE API for interface_id=1, no SKYPE client running, please > (re)start Skype client. Skypopen exiting > > Thanks for any suggestions you may have. > > All the best, > Emrah > On Oct 4, 2012, at 3:11 PM, Giovanni Maruzzelli wrote: > >> anyway, Skype for Symbian (eg Nokias) works perfect with skypopen. >> >> Which skype clients supports only Silk? Are they unable to connect to >> skypopen? >> >> Please, can you give more details? >> >> >> -giovanni >> >> On 10/4/12, Giovanni Maruzzelli wrote: >>> hello, >>> using latest skype client is detailed in the wiki page, contributed by a >>> user. >>> Please test it and report about performances, problems, etc >>> -giovanni >>> >>> On 10/4/12, Emrah wrote: >>>> Hi list, >>>> >>>> It's great to have a 16khz audio sample when using Skype via FS? >>>> However >>>> this does not apply for sessions with mobile versions of Skype which >>>> only >>>> embed SILK, not available in the Skype version currently used by >>>> Skypeopen. >>>> >>>> How complicated is it to use a more recent version of the Skype client? >>>> Is >>>> it even possible? >>>> >>>> Cheers and thanks in advance, >>>> Emrah >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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 >>>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://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://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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From brian at freeswitch.org Sat Oct 6 15:02:03 2012 From: brian at freeswitch.org (Brian West) Date: Sat, 6 Oct 2012 06:02:03 -0500 Subject: [Freeswitch-users] Yes We Know the website is down heh.... In-Reply-To: <21A065AD-6CE5-4C9C-A67F-05E79F78B210@freeswitch.org> References: <21A065AD-6CE5-4C9C-A67F-05E79F78B210@freeswitch.org> Message-ID: <40BFFFB8-CBBC-4FCC-B8EC-FE96C8A51374@freeswitch.org> Its all alive now. Please report to me any issues you see. This was just a container move so nothing major should have changed. DNS on some stuff will take a few to level off. The IP should be 198.22.64.225 for www/wiki and anything else that was down while I was copying data over. FYI 10mbit sucks! Thanks, -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 5, 2012, at 8:57 PM, Brian West wrote: > Thats the plan! :P GO GO GADGET 10MBIT! From gmaruzz at gmail.com Sat Oct 6 15:25:59 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 6 Oct 2012 13:25:59 +0200 Subject: [Freeswitch-users] Yes We Know the website is down heh.... In-Reply-To: <40BFFFB8-CBBC-4FCC-B8EC-FE96C8A51374@freeswitch.org> References: <21A065AD-6CE5-4C9C-A67F-05E79F78B210@freeswitch.org> <40BFFFB8-CBBC-4FCC-B8EC-FE96C8A51374@freeswitch.org> Message-ID: #BravoBrian! -giovanni On 10/6/12, Brian West wrote: > Its all alive now. Please report to me any issues you see. This was just a > container move so nothing major should have changed. DNS on some stuff will > take a few to level off. The IP should be 198.22.64.225 for www/wiki and > anything else that was down while I was copying data over. FYI 10mbit > sucks! > > Thanks, > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 5, 2012, at 8:57 PM, Brian West wrote: > >> Thats the plan! :P GO GO GADGET 10MBIT! > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From jaykris at gmail.com Fri Oct 5 20:18:21 2012 From: jaykris at gmail.com (JP) Date: Fri, 5 Oct 2012 09:18:21 -0700 Subject: [Freeswitch-users] Using Lua logging from mod_lua In-Reply-To: References: Message-ID: Thanks Chad, I will give it a try and update my findings. Regards, JP On Fri, Oct 5, 2012 at 4:50 AM, Chad Phillips wrote: > i recommend luarocks for managing external Lua packages: > http://luarocks.org > > then, have a look at conf/autoload_configs/lua.conf.xml. you can add the > luarocks package directories for LUA_PATH and LUA_CPATH in that file, and > FreeSWITCH will then be able to find the packages after a mod_lua reload. > > hunmonk > > On Wednesday, October 3, 2012 at 8:04 PM, JP wrote: > > Hi, > I am a newbie developer of FreeSWITCH. I have Lua scripts that FreeSWITCH > is executing perfectly. But I need to log things from my Lua scripts that I > don't want mixed with FreeSWITCH's logs. I looked at ( > https://github.com/Neopallium/lualogging) to do this. But how do I make > mod_lua in FreeSWITCH link with lualogging. Is there any other solution to > my problem? Thanks in advance. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121005/577af68a/attachment-0001.html From jaykris at gmail.com Fri Oct 5 20:19:11 2012 From: jaykris at gmail.com (JP) Date: Fri, 5 Oct 2012 09:19:11 -0700 Subject: [Freeswitch-users] TTS professional libraries / sdks' recommendations In-Reply-To: <6A6B4C284AD15042B429EB9D904544AD07405FCA79@NY1-EXMB-01.ip-soft.net> References: <6A6B4C284AD15042B429EB9D904544AD07405FCA79@NY1-EXMB-01.ip-soft.net> Message-ID: What kind of licensing does Nuance use? On Fri, Oct 5, 2012 at 7:05 AM, Hector Geraldino < Hector.Geraldino at ipsoft.com> wrote: > I?ve used both Cepstral and Nuance and I?m happy with the results.**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Adelia C. > *Sent:* Thursday, October 04, 2012 2:23 PM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] TTS professional libraries / sdks' > recommendations**** > > ** ** > > Quick poll and help with TTS libraries - what are you using? I need > professional / carrier grade quality, looking for recommendations. > Thank you!! > A.C.**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121005/9a957050/attachment.html From jaykris at gmail.com Fri Oct 5 20:48:35 2012 From: jaykris at gmail.com (JP) Date: Fri, 5 Oct 2012 09:48:35 -0700 Subject: [Freeswitch-users] How to disable key ahead Message-ID: Hi, How do I disable "key ahead" while executing "play-and-get-digits". Basically I want the user to hear the whole prompt before typing dtmf. Thanks in advance, JP -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/78b84f10/attachment.html From acrow at integrafin.co.uk Sat Oct 6 18:17:26 2012 From: acrow at integrafin.co.uk (Alex Crow) Date: Sat, 06 Oct 2012 15:17:26 +0100 Subject: [Freeswitch-users] Spandsp modems as non-root? Message-ID: <50703D76.7010301@integrafin.co.uk> Hi, Has anyone figured out how to get the spandsp emulated modems running when Freeswitch is running as a non-root user yet? I don't even get the /dev/pts/pts* devices added either on debian or Ubuntu. Thanks Alex From mario_fs at mgtech.com Sat Oct 6 18:54:27 2012 From: mario_fs at mgtech.com (Mario G) Date: Sat, 6 Oct 2012 07:54:27 -0700 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now Message-ID: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Callcentric had a DOS attack since Friday that had it down until late Sat, still limping. Their instructions seem to work for everyone but FreeSwitch, I can only get inbound calls not outbound, better than nothing. They don't know FreeSwitch. I used their instructions for Asterisk which are to change the host, and outbound proxy. But outbound calls just sit and timeout. They say the registrar and domain should remain callcentric.com, but the Asterisk instructions say to set host and outboundproxy to srv.callcentric.com. I have been glued to the system since Friday trying to get phones back up, I tried a few combos but no luck, any help greatly appreciated! Mario G -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121006/e2371ce3/attachment.html From omortimer at gmail.com Sat Oct 6 19:10:26 2012 From: omortimer at gmail.com (Oz Mortimer) Date: Sat, 6 Oct 2012 16:10:26 +0100 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Message-ID: If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup might be failing Sent from my iPhone On 6 Oct 2012, at 15:54, Mario G wrote: > Callcentric had a DOS attack since Friday that had it down until late Sat, still limping. Their instructions seem to work for everyone but FreeSwitch, I can only get inbound calls not outbound, better than nothing. They don't know FreeSwitch. I used their instructions for Asterisk which are to change the host, and outbound proxy. But outbound calls just sit and timeout. They say the registrar and domain should remain callcentric.com, but the Asterisk instructions say to set host and outboundproxy to srv.callcentric.com. I have been glued to the system since Friday trying to get phones back up, I tried a few combos but no luck, any help greatly appreciated! > Mario G > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121006/6c4e861d/attachment.html From lloyd.aloysius at gmail.com Sat Oct 6 19:29:17 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Sat, 6 Oct 2012 11:29:17 -0400 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Message-ID: Mario: See below their srv records. root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha4.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha6.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha7.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha8.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha9.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha1.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha2.callcentric.com. _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha3.callcentric.com. You can try to send the calls to their hosts .... alpha4.callcentric.com or alpha6.callcentric.com etc... * * On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: > If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup > might be failing > > Sent from my iPhone > > On 6 Oct 2012, at 15:54, Mario G wrote: > > Callcentric had a DOS attack since Friday that had it down until late Sat, > still limping. Their instructions seem to work for everyone but FreeSwitch, > I can only get inbound calls not outbound, better than nothing. They don't > know FreeSwitch. I used their instructions for Asterisk which are to change > the host, and outbound proxy. But outbound calls just sit and timeout. They > say the registrar and domain should remain callcentric.com, but the > Asterisk instructions say to set host and outboundproxy to > srv.callcentric.com. I have been glued to the system since Friday trying > to get phones back up, I tried a few combos but no luck, any help greatly > appreciated! > Mario G > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121006/0d87130d/attachment-0001.html From mario_fs at mgtech.com Sat Oct 6 20:11:49 2012 From: mario_fs at mgtech.com (Mario G) Date: Sat, 6 Oct 2012 09:11:49 -0700 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Message-ID: Registration is fine, calls come in, and outgoing goes part of the way. 1 in 10 calls make it out, the difference in a trace between a bad and good call are the good call has 2 more lines before the invite: BAD: 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: SUCCESS: 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal sofia/mvfrndcc/14084060977 [BREAK] 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel sofia/mvfrndcc/14081234567 entering state [calling][0] send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: > Mario: > > See below their srv records. > > root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha4.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha6.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha7.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha8.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha9.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha1.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha2.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha3.callcentric.com. > > > You can try to send the calls to their hosts .... alpha4.callcentric.com or alpha6.callcentric.com etc... > > > > > On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: > If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup might be failing > > Sent from my iPhone > > On 6 Oct 2012, at 15:54, Mario G wrote: > >> Callcentric had a DOS attack since Friday that had it down until late Sat, still limping. Their instructions seem to work for everyone but FreeSwitch, I can only get inbound calls not outbound, better than nothing. They don't know FreeSwitch. I used their instructions for Asterisk which are to change the host, and outbound proxy. But outbound calls just sit and timeout. They say the registrar and domain should remain callcentric.com, but the Asterisk instructions say to set host and outboundproxy to srv.callcentric.com. I have been glued to the system since Friday trying to get phones back up, I tried a few combos but no luck, any help greatly appreciated! >> Mario G >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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/20121006/656cae71/attachment.html From mario_fs at mgtech.com Sat Oct 6 20:54:55 2012 From: mario_fs at mgtech.com (Mario G) Date: Sat, 6 Oct 2012 09:54:55 -0700 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Message-ID: I tried to send to the alpha# sites as you suggested but have the same issue. Registration is fine, calls come in, and outgoing goes part of the way. 1 in 10 calls make it out, the difference in a trace between a bad and good call are the good call has 2 more lines before the invite: BAD: 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: SUCCESS: 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal sofia/mvfrndcc/14084060977 [BREAK] 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel sofia/mvfrndcc/14081234567 entering state [calling][0] send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: > Mario: > > See below their srv records. > > root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha4.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha6.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha7.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha8.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha9.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha1.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha2.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 alpha3.callcentric.com. > > > You can try to send the calls to their hosts .... alpha4.callcentric.com or alpha6.callcentric.com etc... > > > > > On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: > If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup might be failing > > Sent from my iPhone > > On 6 Oct 2012, at 15:54, Mario G wrote: > >> Callcentric had a DOS attack since Friday that had it down until late Sat, still limping. Their instructions seem to work for everyone but FreeSwitch, I can only get inbound calls not outbound, better than nothing. They don't know FreeSwitch. I used their instructions for Asterisk which are to change the host, and outbound proxy. But outbound calls just sit and timeout. They say the registrar and domain should remain callcentric.com, but the Asterisk instructions say to set host and outboundproxy to srv.callcentric.com. I have been glued to the system since Friday trying to get phones back up, I tried a few combos but no luck, any help greatly appreciated! >> Mario G >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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://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/20121006/e759b9b0/attachment-0001.html From curriegrad2004 at gmail.com Sat Oct 6 21:00:54 2012 From: curriegrad2004 at gmail.com (curriegrad2004) Date: Sat, 6 Oct 2012 10:00:54 -0700 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Message-ID: Login to callcentric's customer portal and you'll see what they're saying now. Yes, some !&#$* is hammering their new servers to oblivion too. On Sat, Oct 6, 2012 at 9:54 AM, Mario G wrote: > I tried to send to the alpha# sites as you suggested but have the same > issue. > > Registration is fine, calls come in, and outgoing goes part of the way. 1 in > 10 calls make it out, the difference in a trace between a bad and good call > are the good call has 2 more lines before the invite: > > BAD: > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep > send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: > > SUCCESS: > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep > 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal > sofia/mvfrndcc/14084060977 [BREAK] > 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel > sofia/mvfrndcc/14081234567 entering state [calling][0] > send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: > > > > On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: > > Mario: > > See below their srv records. > > root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha4.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha6.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha7.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha8.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha9.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha1.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha2.callcentric.com. > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > alpha3.callcentric.com. > > > You can try to send the calls to their hosts .... alpha4.callcentric.com or > alpha6.callcentric.com etc... > > > > > On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: >> >> If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup >> might be failing >> >> Sent from my iPhone >> >> On 6 Oct 2012, at 15:54, Mario G wrote: >> >> Callcentric had a DOS attack since Friday that had it down until late Sat, >> still limping. Their instructions seem to work for everyone but FreeSwitch, >> I can only get inbound calls not outbound, better than nothing. They don't >> know FreeSwitch. I used their instructions for Asterisk which are to change >> the host, and outbound proxy. But outbound calls just sit and timeout. They >> say the registrar and domain should remain callcentric.com, but the Asterisk >> instructions say to set host and outboundproxy to srv.callcentric.com. I >> have been glued to the system since Friday trying to get phones back up, I >> tried a few combos but no luck, any help greatly appreciated! >> Mario G >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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://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://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 > From avi at avimarcus.net Sat Oct 6 21:01:23 2012 From: avi at avimarcus.net (Avi Marcus) Date: Sat, 6 Oct 2012 19:01:23 +0200 Subject: [Freeswitch-users] How to disable key ahead In-Reply-To: References: Message-ID: Do a playback. Then, to get the digits, do the playandgetdigits or a read. I don't recall if the DTMF gets eaten or queued.. if it's queued, do a read for many digits and only 1ms to "eat" the queued digits. -Avi BestFone On Fri, Oct 5, 2012 at 6:48 PM, JP wrote: > Hi, > How do I disable "key ahead" while executing "play-and-get-digits". > Basically I want the user to hear the whole prompt before typing dtmf. > > Thanks in advance, > JP > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121006/e4dad0ef/attachment.html From avi at avimarcus.net Sat Oct 6 21:03:33 2012 From: avi at avimarcus.net (Avi Marcus) Date: Sat, 6 Oct 2012 19:03:33 +0200 Subject: [Freeswitch-users] xml cdr help In-Reply-To: References: Message-ID: Is it for enterprise originates :_: in the bridge? That marks them all as A-legs. Otherwise, to mark things as A leg, modify the conf file for this option. -Avi On Sat, Oct 6, 2012 at 12:08 AM, Lloyd Aloysius wrote: > Hi, > > I am directly writing xml cdr into the database. In my configuration > > > > But freeswitch post 2 cdr records into the database. > > 1. How to avoid the b-leg > > 2. Is there a way to flag the records for a-leg or b-leg > > Thanks in advanced. > > Lloyd > > * > * > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121006/d2332249/attachment.html From brett at launch3.net Sat Oct 6 21:39:53 2012 From: brett at launch3.net (Brett Wilson) Date: Sat, 06 Oct 2012 13:39:53 -0400 Subject: [Freeswitch-users] =?utf-8?q?Presence_Not_Working_with_sofia=5Fco?= =?utf-8?q?ntact_bridging_to_multiple_registrations?= Message-ID: I am using multiple registrations, and had initially kept the bridge calls using the 'user/' syntax. Presence was working with this, however i noticed that when I used a simultaneous brige separated by commas, some of the extensions would ring one registration and not the other. So I switched to the sofia_contact bridge method and this fixed the issue. However, when using sofia_contact to bridge, I noticed that presence does not seem to operate. I turned on debug presence and the only thing I see that may relate to an error is: 2012-10-06 13:13:50.183942 [WARNING] sofia_presence.c:4222 check_subs: external is passive, skipping 2012-10-06 13:14:11.153694 [ERR] sofia_presence.c:3343 DELTA 120 2012-10-06 13:14:11.153694 [ERR] sofia_presence.c:3395 check subs sql: select count(*) from sip_subscriptions where call_id='4agoj24x at snom' and hostname='euro-pbx' and profile_name='internal' [1] 2012-10-06 13:14:11.153694 [ERR] sofia_presence.c:3417 re-subscribe event message-summary, sql: update sip_subscriptions set expires=1349543771,contact='"Shop" ' where hostname='euro-pbx' and profile_name='internal' and call_id='4agoj24x at snom' and profile_name='internal' 2012-10-06 13:14:12.183897 [ERR] sofia_presence.c:1982 SEND PRES NOTIFY: file[sofia_presence.c] func[sofia_presence_mwi_callback] line[2896] profile[internal] via[] ip[192.168.1.13] port[3167] route[sip:user at 192.168.1.13:3167;transport=udp;line=1k5l6w] contact["Front" ] to["Front" ;tag=TQK1cNoQcA2H] from["Front" ;tag=06l8nn] url[sip:101 at 192.168.1.13:3167;transport=udp;line=1k5l6w] call_id[9mgy45bh at snom] expires_str[] event[message-summary] ct[application/simple-message-summary] pl[Messages-Waiting: no Message-Account: sip:101 at 192.168.1.200 Voice-Message: 0/4 (0/0) ] -- *******************************************? BRETT WILSON IT DEPARTMENT LAUNCH 3 VENTURES, LLC? 134 Myer Street? Hackensack, NJ 07601? PHONE:?877.878.9134 FAX:?646.536.3866? EMAIL:?Brett.Wilson at launch3.net AOL IM:?Brett.Wilson at launch3.net www.Launch3.net? www.Launch3telecom.com? *******************************************? From lloyd.aloysius at gmail.com Sat Oct 6 21:48:50 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Sat, 6 Oct 2012 13:48:50 -0400 Subject: [Freeswitch-users] xml cdr help In-Reply-To: References: Message-ID: Avi, Thank you for the info. Here is my xml cdr.conf ** ** But cdr always processing for the b-leg. Do you know why ? I have the ** * * *-*Lloyd * * On Sat, Oct 6, 2012 at 1:03 PM, Avi Marcus wrote: > Is it for enterprise originates :_: in the bridge? That marks them all as > A-legs. > > Otherwise, to mark things as A leg, modify the conf file for this option. > > > > > > > -Avi > > > > On Sat, Oct 6, 2012 at 12:08 AM, Lloyd Aloysius wrote: > >> Hi, >> >> I am directly writing xml cdr into the database. In my configuration >> >> >> >> But freeswitch post 2 cdr records into the database. >> >> 1. How to avoid the b-leg >> >> 2. Is there a way to flag the records for a-leg or b-leg >> >> Thanks in advanced. >> >> Lloyd >> >> * >> * >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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/20121006/219d0d95/attachment-0001.html From ivan.mironov at infra-it.ru Sat Oct 6 19:59:09 2012 From: ivan.mironov at infra-it.ru (Ivan Mironov) Date: Sat, 06 Oct 2012 21:59:09 +0600 Subject: [Freeswitch-users] How to disable key ahead In-Reply-To: References: Message-ID: <5070554D.3070106@infra-it.ru> 05.10.2012 22:48, JP ?????: > Hi, > How do I disable "key ahead" while executing "play-and-get-digits". > Basically I want the user to hear the whole prompt before typing dtmf. > You can first execute "playback" application for prompt, then "start_dtmf" and then "play_and_get_digits". Also see "flush_dtmf". > Thanks in advance, > JP -- From mario_fs at mgtech.com Sat Oct 6 22:11:32 2012 From: mario_fs at mgtech.com (Mario G) Date: Sat, 6 Oct 2012 11:11:32 -0700 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> Message-ID: <1EA41935-A974-41B3-ACD6-6EFF3AAC14C3@mgtech.com> Apparently, another voip provider got hit earlier this week, will have to wait but my BIG concern is that the temp workaround worked for everyone but me/FreeSwitch. If anyone is interested, this was really bad this week, Callcentric got hit with an attack called "itsoknoproblembro". Google it and see how bad it has been the last few day at banks, etc. Thanks for you responses! Mario G On Oct 6, 2012, at 10:00 AM, curriegrad2004 wrote: > Login to callcentric's customer portal and you'll see what they're saying now. > > Yes, some !&#$* is hammering their new servers to oblivion too. > > On Sat, Oct 6, 2012 at 9:54 AM, Mario G wrote: >> I tried to send to the alpha# sites as you suggested but have the same >> issue. >> >> Registration is fine, calls come in, and outgoing goes part of the way. 1 in >> 10 calls make it out, the difference in a trace between a bad and good call >> are the good call has 2 more lines before the invite: >> >> BAD: >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep >> send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: >> >> SUCCESS: >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep >> 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal >> sofia/mvfrndcc/14084060977 [BREAK] >> 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel >> sofia/mvfrndcc/14081234567 entering state [calling][0] >> send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: >> >> >> >> On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: >> >> Mario: >> >> See below their srv records. >> >> root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha4.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha6.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha7.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha8.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha9.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha1.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha2.callcentric.com. >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> alpha3.callcentric.com. >> >> >> You can try to send the calls to their hosts .... alpha4.callcentric.com or >> alpha6.callcentric.com etc... >> >> >> >> >> On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: >>> >>> If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup >>> might be failing >>> >>> Sent from my iPhone >>> >>> On 6 Oct 2012, at 15:54, Mario G wrote: >>> >>> Callcentric had a DOS attack since Friday that had it down until late Sat, >>> still limping. Their instructions seem to work for everyone but FreeSwitch, >>> I can only get inbound calls not outbound, better than nothing. They don't >>> know FreeSwitch. I used their instructions for Asterisk which are to change >>> the host, and outbound proxy. But outbound calls just sit and timeout. They >>> say the registrar and domain should remain callcentric.com, but the Asterisk >>> instructions say to set host and outboundproxy to srv.callcentric.com. I >>> have been glued to the system since Friday trying to get phones back up, I >>> tried a few combos but no luck, any help greatly appreciated! >>> Mario G >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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://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://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://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/20121006/7e441a2c/attachment-0001.html From lloyd.aloysius at gmail.com Sat Oct 6 23:07:25 2012 From: lloyd.aloysius at gmail.com (Lloyd Aloysius) Date: Sat, 6 Oct 2012 15:07:25 -0400 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: <1EA41935-A974-41B3-ACD6-6EFF3AAC14C3@mgtech.com> References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> <1EA41935-A974-41B3-ACD6-6EFF3AAC14C3@mgtech.com> Message-ID: My recommendation is , you must have at least min 3 outbound providers. You cannot trust ITSP. * * On Sat, Oct 6, 2012 at 2:11 PM, Mario G wrote: > Apparently, another voip provider got hit earlier this week, will have to > wait but my BIG concern is that the temp workaround worked for everyone but > me/FreeSwitch. If anyone is interested, this was really bad this week, > Callcentric got hit with an attack called "itsoknoproblembro". Google it > and see how bad it has been the last few day at banks, etc. Thanks for you > responses! > Mario G > > On Oct 6, 2012, at 10:00 AM, curriegrad2004 wrote: > > Login to callcentric's customer portal and you'll see what they're saying > now. > > Yes, some !&#$* is hammering their new servers to oblivion too. > > On Sat, Oct 6, 2012 at 9:54 AM, Mario G wrote: > > I tried to send to the alpha# sites as you suggested but have the same > > issue. > > > Registration is fine, calls come in, and outgoing goes part of the way. 1 > in > > 10 calls make it out, the difference in a trace between a bad and good call > > are the good call has 2 more lines before the invite: > > > BAD: > > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA > > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep > > send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: > > > SUCCESS: > > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA > > 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 > > (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep > > 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal > > sofia/mvfrndcc/14084060977 [BREAK] > > 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel > > sofia/mvfrndcc/14081234567 entering state [calling][0] > > send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: > > > > > On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: > > > Mario: > > > See below their srv records. > > > root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com > > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha4.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha6.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha7.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha8.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha9.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha1.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha2.callcentric.com. > > _sip._udp.srv.callcentric.com has SRV record 20 0 5080 > > alpha3.callcentric.com. > > > > You can try to send the calls to their hosts .... alpha4.callcentric.comor > > alpha6.callcentric.com etc... > > > > > > On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: > > > If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup > > might be failing > > > Sent from my iPhone > > > On 6 Oct 2012, at 15:54, Mario G wrote: > > > Callcentric had a DOS attack since Friday that had it down until late Sat, > > still limping. Their instructions seem to work for everyone but FreeSwitch, > > I can only get inbound calls not outbound, better than nothing. They don't > > know FreeSwitch. I used their instructions for Asterisk which are to change > > the host, and outbound proxy. But outbound calls just sit and timeout. They > > say the registrar and domain should remain callcentric.com, but the > Asterisk > > instructions say to set host and outboundproxy to srv.callcentric.com. I > > have been glued to the system since Friday trying to get phones back up, I > > tried a few combos but no luck, any help greatly appreciated! > > Mario G > > > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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://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://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://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://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://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/20121006/9c5f073d/attachment-0001.html From avi at avimarcus.net Sat Oct 6 23:15:33 2012 From: avi at avimarcus.net (Avi Marcus) Date: Sat, 6 Oct 2012 21:15:33 +0200 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> <1EA41935-A974-41B3-ACD6-6EFF3AAC14C3@mgtech.com> Message-ID: Indeed... too bad that isn't possible for inbound, too! -Avi On Sat, Oct 6, 2012 at 9:07 PM, Lloyd Aloysius wrote: > > > My recommendation is , you must have at least min 3 outbound providers. > You cannot trust ITSP. > > > > * > * > > > > On Sat, Oct 6, 2012 at 2:11 PM, Mario G wrote: > >> Apparently, another voip provider got hit earlier this week, will have to >> wait but my BIG concern is that the temp workaround worked for everyone but >> me/FreeSwitch. If anyone is interested, this was really bad this week, >> Callcentric got hit with an attack called "itsoknoproblembro". Google it >> and see how bad it has been the last few day at banks, etc. Thanks for you >> responses! >> Mario G >> >> On Oct 6, 2012, at 10:00 AM, curriegrad2004 wrote: >> >> Login to callcentric's customer portal and you'll see what they're saying >> now. >> >> Yes, some !&#$* is hammering their new servers to oblivion too. >> >> On Sat, Oct 6, 2012 at 9:54 AM, Mario G wrote: >> >> I tried to send to the alpha# sites as you suggested but have the same >> >> issue. >> >> >> Registration is fine, calls come in, and outgoing goes part of the way. 1 >> in >> >> 10 calls make it out, the difference in a trace between a bad and good >> call >> >> are the good call has 2 more lines before the invite: >> >> >> BAD: >> >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA >> >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep >> >> send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: >> >> >> SUCCESS: >> >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA >> >> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >> >> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep >> >> 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal >> >> sofia/mvfrndcc/14084060977 [BREAK] >> >> 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel >> >> sofia/mvfrndcc/14081234567 entering state [calling][0] >> >> send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: >> >> >> >> >> On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: >> >> >> Mario: >> >> >> See below their srv records. >> >> >> root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com >> >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha4.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha6.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha7.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha8.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha9.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha1.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha2.callcentric.com. >> >> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >> >> alpha3.callcentric.com. >> >> >> >> You can try to send the calls to their hosts .... alpha4.callcentric.comor >> >> alpha6.callcentric.com etc... >> >> >> >> >> >> On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: >> >> >> If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup >> >> might be failing >> >> >> Sent from my iPhone >> >> >> On 6 Oct 2012, at 15:54, Mario G wrote: >> >> >> Callcentric had a DOS attack since Friday that had it down until late Sat, >> >> still limping. Their instructions seem to work for everyone but >> FreeSwitch, >> >> I can only get inbound calls not outbound, better than nothing. They don't >> >> know FreeSwitch. I used their instructions for Asterisk which are to >> change >> >> the host, and outbound proxy. But outbound calls just sit and timeout. >> They >> >> say the registrar and domain should remain callcentric.com, but the >> Asterisk >> >> instructions say to set host and outboundproxy to srv.callcentric.com. I >> >> have been glued to the system since Friday trying to get phones back up, I >> >> tried a few combos but no luck, any help greatly appreciated! >> >> Mario G >> >> >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> >> http://www.freeswitchsolutions.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://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://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://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://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://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://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://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/20121006/2823cdfd/attachment-0001.html From mario_fs at mgtech.com Sat Oct 6 23:21:57 2012 From: mario_fs at mgtech.com (Mario G) Date: Sat, 6 Oct 2012 12:21:57 -0700 Subject: [Freeswitch-users] PLEASE HELP with Callcentric disaster - 48 hours down now In-Reply-To: References: <64B910D3-B40D-4851-AECD-04A78E2CB252@mgtech.com> <1EA41935-A974-41B3-ACD6-6EFF3AAC14C3@mgtech.com> Message-ID: <5E41A4A7-46C1-4C8D-B943-0AB00C1E0CB0@mgtech.com> Exactly my problem now, CallCentric's workaround servers were hit this morning. I can use cell phones, CC let's you forward any calls but if the whole darn system is screwed a backup ITSP doesn't help with inbound calls. Mario G On Oct 6, 2012, at 12:15 PM, Avi Marcus wrote: > Indeed... too bad that isn't possible for inbound, too! > > -Avi > > > On Sat, Oct 6, 2012 at 9:07 PM, Lloyd Aloysius wrote: > > > My recommendation is , you must have at least min 3 outbound providers. You cannot trust ITSP. > > > > > > > > On Sat, Oct 6, 2012 at 2:11 PM, Mario G wrote: > Apparently, another voip provider got hit earlier this week, will have to wait but my BIG concern is that the temp workaround worked for everyone but me/FreeSwitch. If anyone is interested, this was really bad this week, Callcentric got hit with an attack called "itsoknoproblembro". Google it and see how bad it has been the last few day at banks, etc. Thanks for you responses! > Mario G > > On Oct 6, 2012, at 10:00 AM, curriegrad2004 wrote: > >> Login to callcentric's customer portal and you'll see what they're saying now. >> >> Yes, some !&#$* is hammering their new servers to oblivion too. >> >> On Sat, Oct 6, 2012 at 9:54 AM, Mario G wrote: >>> I tried to send to the alpha# sites as you suggested but have the same >>> issue. >>> >>> Registration is fine, calls come in, and outgoing goes part of the way. 1 in >>> 10 calls make it out, the difference in a trace between a bad and good call >>> are the good call has 2 more lines before the invite: >>> >>> BAD: >>> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >>> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA >>> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >>> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep >>> send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: >>> >>> SUCCESS: >>> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >>> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA >>> 2012-10-06 08:19:35.851749 [DEBUG] switch_core_state_machine.c:465 >>> (sofia/mvfrndcc/14081234567) State CONSUME_MEDIA going to sleep >>> 2012-10-06 08:17:47.391821 [DEBUG] switch_core_session.c:905 Send signal >>> sofia/mvfrndcc/14084060977 [BREAK] >>> 2012-10-06 08:17:47.391821 [DEBUG] sofia.c:6282 Channel >>> sofia/mvfrndcc/14081234567 entering state [calling][0] >>> send 1075 bytes to udp/[123.12.192.36]:5080 at 15:19:35.858660: >>> >>> >>> >>> On Oct 6, 2012, at 8:29 AM, Lloyd Aloysius wrote: >>> >>> Mario: >>> >>> See below their srv records. >>> >>> root at fsdev01:~# host -t srv _sip._udp.srv.callcentric.com >>> >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha4.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha6.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha7.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha8.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha9.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha1.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha2.callcentric.com. >>> _sip._udp.srv.callcentric.com has SRV record 20 0 5080 >>> alpha3.callcentric.com. >>> >>> >>> You can try to send the calls to their hosts .... alpha4.callcentric.com or >>> alpha6.callcentric.com etc... >>> >>> >>> >>> >>> On Sat, Oct 6, 2012 at 11:10 AM, Oz Mortimer wrote: >>>> >>>> If it was me I'd send to their ip 94.142.247.17 srv and or dns lookup >>>> might be failing >>>> >>>> Sent from my iPhone >>>> >>>> On 6 Oct 2012, at 15:54, Mario G wrote: >>>> >>>> Callcentric had a DOS attack since Friday that had it down until late Sat, >>>> still limping. Their instructions seem to work for everyone but FreeSwitch, >>>> I can only get inbound calls not outbound, better than nothing. They don't >>>> know FreeSwitch. I used their instructions for Asterisk which are to change >>>> the host, and outbound proxy. But outbound calls just sit and timeout. They >>>> say the registrar and domain should remain callcentric.com, but the Asterisk >>>> instructions say to set host and outboundproxy to srv.callcentric.com. I >>>> have been glued to the system since Friday trying to get phones back up, I >>>> tried a few combos but no luck, any help greatly appreciated! >>>> Mario G >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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://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://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://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://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://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://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://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/20121006/fd8e0d18/attachment-0001.html From djbinter at gmail.com Sat Oct 6 23:42:38 2012 From: djbinter at gmail.com (DJB International) Date: Sat, 6 Oct 2012 12:42:38 -0700 Subject: [Freeswitch-users] Limit hash In-Reply-To: References: Message-ID: I guess there is no other way to reset the hash limit counter unless I do the reload mod_hash, but it will reset all other counters that are in mod_hash since limit_reset is not working. I wish there is another way to remove that hash limit counter for particular one. -djbinter On Fri, Oct 5, 2012 at 10:19 AM, DJB International wrote: > I have a limit hash setup in the dialplan to count the session for each > inbound ip gateway; however, there is a stuck hash data count in one of the > ip when I ran hash_dump. Please see below: > > > > and right now there is no call coming in to 1.2.3.4; however, when I ran > hash_dump all, it shows as: > > L/inbound_1.2.3.4/3/0/0/0 > > it is obviously showing that there are 3 stuck counters on this one. > I've tried hash_reset, but it did not work. > > I wonder whether there is any other ways to remove or reset it? > > > Thank you. > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121006/cd1e5f00/attachment.html From lists at kavun.ch Sun Oct 7 01:54:47 2012 From: lists at kavun.ch (Emrah) Date: Sat, 6 Oct 2012 17:54:47 -0400 Subject: [Freeswitch-users] More recent Skype client for mod_skypeopen In-Reply-To: References: Message-ID: <0ABAE3FE-C86D-418D-8562-FAC2870CC6C8@kavun.ch> Hey, Just to answer this separately, the Skype clients I refer to is the one for iOS, mainly, but the issue also happens on recent Windows based phones. When people call me using an iPad or iPHone, the quality I get is far lower than 16khz. It sounds like G729. If they use the Desktop software for Skype, I get excellent 16khz. My assumption is that Silk is more CPU efficient and is given precedence on mobile clients. I will continue on experimenting with the latest version of Skype and let you know. Emrah On Oct 4, 2012, at 3:11 PM, Giovanni Maruzzelli wrote: > anyway, Skype for Symbian (eg Nokias) works perfect with skypopen. > > Which skype clients supports only Silk? Are they unable to connect to skypopen? > > Please, can you give more details? > > > -giovanni > > On 10/4/12, Giovanni Maruzzelli wrote: >> hello, >> using latest skype client is detailed in the wiki page, contributed by a >> user. >> Please test it and report about performances, problems, etc >> -giovanni >> >> On 10/4/12, Emrah wrote: >>> Hi list, >>> >>> It's great to have a 16khz audio sample when using Skype via FS? However >>> this does not apply for sessions with mobile versions of Skype which only >>> embed SILK, not available in the Skype version currently used by >>> Skypeopen. >>> >>> How complicated is it to use a more recent version of the Skype client? >>> Is >>> it even possible? >>> >>> Cheers and thanks in advance, >>> Emrah >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://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 From jnvines at gmail.com Sun Oct 7 02:41:34 2012 From: jnvines at gmail.com (Nick Vines) Date: Sat, 6 Oct 2012 15:41:34 -0700 Subject: [Freeswitch-users] Absolute Codec String In-Reply-To: References: Message-ID: Thanks, that seems to have been the problem with the codec negotiation. I can now get the correct codec with default and bypass-after-bridge. But I'm back to square one on getting G729 in passthrough mode working. It seems like all of the wiki entries saying to proxy media when doing that are partially incomplete, since proxy media prevents setting the absolute codec. I could use it with bypass-after-bridge, but my endpoints are most definitely behind NATs, so I'd rather keep the flow going through my box. Is there any way to achieve a "proxy-after-bridge"? Thanks, Nick ---------- Forwarded message ---------- From: Kristian Kielhofner To: FreeSWITCH Users Help Cc: Date: Fri, 5 Oct 2012 09:28:32 -0400 Subject: Re: [Freeswitch-users] Absolute Codec String > Don't use proxy_media. See my rant here: > > http://wiki.freeswitch.org/wiki/Proxy_Media#Common_misconceptions_.28READ_THIS.29 On Thu, Oct 4, 2012 at 1:47 PM, Nick Vines wrote: > I am trying to set the codec when I bridge. I have late negotiation set to > true, and since I am trying to use G729, I set proxy_media=true as well. I > am using this in my dialplan (I have tried with and without "nolocal:" with > no change): > > data="{absolute_codec_string=G729}sofia/gateway/gateway/${dialed_number}"/> > > But in the invite to the gateway, I am seeing the codecs offered by the > device: > > m=audio 24960 RTP/AVP 18 0 2 8 9 96 97 98 101 > a=rtpmap:18 G729/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:2 G726-32/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:9 G722/8000 > a=rtpmap:96 G726-40/8000 > a=rtpmap:97 G726-24/8000 > a=rtpmap:98 G726-16/8000 > a=rtpmap:101 telephone-event/8000 > > I am troubleshooting right now, so I am able to specify on the phone "Use > Only Preferred", in which case I see only to following offered: > > a=rtpmap:18 G729/8000 > > Thanks, > Nick > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121006/5af08594/attachment.html From stephen at picardogroup.com Sun Oct 7 07:19:47 2012 From: stephen at picardogroup.com (stephen at picardogroup.com) Date: Sat, 06 Oct 2012 20:19:47 -0700 Subject: [Freeswitch-users] Using SIP outbound leg error Message-ID: <20121006201947.0e1bd4d5c5064b420440751b21b10e46.6e60aeffd7.wbe@email13.secureserver.net> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121006/24180afe/attachment.html From avi at avimarcus.net Sun Oct 7 14:00:26 2012 From: avi at avimarcus.net (Avi Marcus) Date: Sun, 7 Oct 2012 12:00:26 +0200 Subject: [Freeswitch-users] Using SIP outbound leg error In-Reply-To: <20121006201947.0e1bd4d5c5064b420440751b21b10e46.6e60aeffd7.wbe@email13.secureserver.net> References: <20121006201947.0e1bd4d5c5064b420440751b21b10e46.6e60aeffd7.wbe@email13.secureserver.net> Message-ID: /usr/local/freeswitch/scripts/lsvc/outbound.lua:113: attempt to concatenate local 'accepted' (a nil value) That means on line 113 the variable "accepted" is trying to be used in some string but it's nil so it's throwing an error. If that was for your bridge string, that might be your problem. -Avi On Sun, Oct 7, 2012 at 5:19 AM, wrote: > Using SIP. Outbound calls being connected but recipient hear nothing, only > silence, then gets disconnected (I have changed phone numbers to > xxxxxxxxxx ) What does " attempt to concatenate local 'accepted' (a nil > value)" mean? > > 2012-10-06 19:27:29.510684 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] lsvc_in: choose_a_product: client chose staff id # 25 > 2012-10-06 19:27:29.510684 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] lsvc_in: handle_credit_card: Client entering credit card information > 2012-10-06 19:27:29.510684 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] lsvc_in: handle_credit_card: prompting for credit card number > 2012-10-06 19:27:55.571762 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79155] client selected sexual style #5 > 2012-10-06 19:27:55.571762 [WARNING] switch_core_file.c:193 File has 2 > channels, muxing to mono will occur. > 2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: Query > = select phone_number, usable from ccards where card_number = > '01319188a35aca6fde49ea5cd7f980213af2' > 2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 query: select > phone_number, usable from ccards where card_number = > '01319188a35aca6fde49ea5cd7f980213af2' > 2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] Client entered credit card marked as usable > 2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] lsvc_in: handle_credit_card: prompting for expiration > 2012-10-06 19:28:01.494010 [NOTICE] switch_channel.c:951 New Channel > sofia/adtran/xxxxxxxxxx at 69.194.150.50[7863b09a-100d-11e2-9804-755b37dd9a6f] > 2012-10-06 19:28:01.511347 [INFO] mod_dialplan_xml.c:485 Processing > Private ->xxxxxxxxxxx in context default > 2012-10-06 19:28:01.511347 [INFO] switch_cpp.cpp:1227 lsvc: inbound: we're > running @/usr/local/freeswitch/scripts/lsvc/inbound.lua > > 2012-10-06 19:28:01.511347 [NOTICE] switch_cpp.cpp:1227 lsvc: inbound: > lsvc_in: main() > 2012-10-06 19:28:01.511347 [INFO] switch_cpp.cpp:1227 query: select > count(*) as c from nocalls where phone_number = 'xxxxxxxxxx' > 2012-10-06 19:28:01.511347 [NOTICE] switch_cpp.cpp:599 Channel > [sofia/adtran/xxxxxxxxxx at 69.194.150.50] has been answered > > 2012-10-06 19:28:06.330444 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] lsvc_in: handle_credit_card: prompting for cvv > > 2012-10-06 19:28:25.911046 [INFO] switch_cpp.cpp:1227 query: select > count(*) as c from nocalls where phone_number = 'xxxxxxxxxx' > 2012-10-06 19:28:25.911046 [INFO] switch_cpp.cpp:1227 query: select * from > clients where phone_number = 'xxxxxxxxxx' > 2012-10-06 19:28:25.930620 [INFO] switch_cpp.cpp:1227 lsvc: inbound: using > client phone number xxxxxxxxxx > 2012-10-06 19:28:25.930620 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79156] Client hearing product choices > 2012-10-06 19:28:28.013780 [INFO] switch_cpp.cpp:1227 query: select price > from pricing where minutes = 15 > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] lsvc_in: luarun command: lsvc/lsvc_out.lua > 2b174856-100d-11e2-97f8-755b37dd9a6f 25 25 79153 2158434087 5 15 > 2012-10-06 19:28:31.650657 [WARNING] switch_core_file.c:193 File has 2 > channels, muxing to mono will occur. > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 query: select phone > from staff where staff_id = 25 > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: > [79153] Found staff phone number: xxxxxxxxxx > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 query: select > lower(style) as style from styles where id = 5 > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: > [79153] style name: xxxxx > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: > [79153] userdata: 0x2aaac001bf18: 2b174856-100d-11e2-97f8-755b37dd9a6f > 2012-10-06 19:28:31.650657 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: > lsvc_out: main() > 2012-10-06 19:28:31.650657 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: > Customer UUID = 2b174856-100d-11e2-97f8-755b37dd9a6f > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: outbound: > [79153] Dialing staff ID 25 > 2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 s_type is: > production, host is: lcr/12012-10-06 19:28:31.650657 [INFO] > switch_cpp.cpp:1227 fstools: create_outbound_session: Dialstring: > {jitterbuffer_msec=180, ignore_early_media=true, > originate_timeout=120}lcr/1xxxxxxxxxx2012-10-06 19:28:31.671228 [NOTICE] > switch_channel.c:951 New Channel sofia/internal/1xxxxxxxxxx at 69.194.153.50[8a60d836-100d-11e2-980a-755b37dd9a6f] > 2012-10-06 19:28:33.771553 [NOTICE] sofia_glue.c:4226 Pre-Answer > sofia/internal/1xxxxxxxxxx at 69.194.153.50! > 2012-10-06 19:28:39.030618 [NOTICE] sofia.c:6964 Channel [sofia/internal/ > 1xxxxxxxxxx at 69.194.153.50] has been answered > 2012-10-06 19:28:39.030618 [NOTICE] switch_channel.c:949 Rename Channel > sofia/internal/1xxxxxxxxxx at 69.194.153.50->lsvc-79153-out > [8a60d836-100d-11e2-980a-755b37dd9a6f] > 2012-10-06 19:28:39.030618 [NOTICE] switch_cpp.cpp:1227 lsvc: outbound: > Call to staff initiated > 2012-10-06 19:28:40.091278 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79156] client selected style # > 2012-10-06 19:28:46.850909 [NOTICE] switch_cpp.cpp:637 Hangup sofia/adtran/ > xxxxxxxxxx at 69.194.150.50 [CS_EXECUTE] [NORMAL_CLEARING] > > 2012-10-06 19:28:46.850909 [NOTICE] switch_core_session.c:1433 Session 397 > (sofia/adtran/xxxxxxxxxx at 69.194.150.50) Ended > 2012-10-06 19:28:46.850909 [NOTICE] switch_core_session.c:1437 Close > Channel sofia/adtran/xxxxxxxxxx at 69.194.150.50 [CS_DESTROY] > > 2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: outbound: > [79153] staff isn't currently available > 2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: > Status = false > 2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: > lsvc_out: Error /usr/local/freeswitch/scripts/lsvc/outbound.lua:113: > attempt to concatenate local 'accepted' (a nil value) > 2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: > [79153] database outcome: 1 > 2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: > [79153] lsvc_out: acceptance failure: Staff 25 logged out > 2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: > [79153] Staff rejected the call. > 2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1011 Hangup > lsvc-79153-out [CS_SOFT_EXECUTE] [NORMAL_CLEARING] > 2012-10-06 19:29:22.512199 [NOTICE] switch_core_session.c:1433 Session 398 > (lsvc-79153-out) Ended > 2012-10-06 19:29:22.512199 [NOTICE] switch_core_session.c:1437 Close > Channel lsvc-79153-out [CS_DESTROY] > 2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] Waiting for staff confirmation . . . > 2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] staff contact attempt returned ~ > 2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] staff did not accept call > 2012-10-06 19:29:26.230714 [INFO] switch_cpp.cpp:1227 lsvc: inbound: > [79153] Client hearing product choices > 2012-10-06 19:29:32.992092 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_in: > clearing cleanup action 1 > 2012-10-06 19:29:32.992092 [NOTICE] switch_cpp.cpp:637 Hangup sofia/adtran/ > 6613804123 at 69.194.150.50 [CS_EXECUTE] [NORMAL_CLEARING] > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121007/7bac1ee7/attachment-0001.html From evgeniy at bestnet.kharkov.ua Mon Oct 8 11:52:21 2012 From: evgeniy at bestnet.kharkov.ua (Evgeniy Movlyan) Date: Mon, 08 Oct 2012 10:52:21 +0300 Subject: [Freeswitch-users] freeswitch crash while executing odbc_query Message-ID: <50728635.2060503@bestnet.kharkov.ua> Hello to all, I'm using mod_odbc_query in my dialplan to get nibble_rate, my dialplan is: get_rate query: My problem is that freeswitch crashes when number of active calls reaches 5-7. Last messages in freeswitch.log are: Dialplan: sofia/internal/ABCDE at 1.2.3.4 Action odbc_query(get_rate) INLINE EXECUTE sofia/internal/ABCDE at 1.2.3.4 odbc_query(get_rate) Can anybody help? -- Evgeniy Movlyan, BestNet Ltd. From mickstevens at yahoo.com Mon Oct 8 13:26:17 2012 From: mickstevens at yahoo.com (Mick Stevens) Date: Mon, 8 Oct 2012 02:26:17 -0700 (PDT) Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP Message-ID: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> Hi Folks, Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with SDP upon receipt of a 180 without SDP? Unless I'm being stupid (quite possible) I couldn't find an answer to this on the wiki, although lots around early media (I don't really want to resort to generating ringing for every call, in case the callee is genuinely engaged/busy for example). The context behind my enquiry is that I send traffic to another SIP carrier that then hands the traffic off at ISUP. Where the ISUP carrier sends back an ACM with a backward call indicator of "subscriber free" the carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). Any help much appreciated! ? Rgds, Mick Tel/SMS. +44(0)7967 594432 Fax. +44(0)7053 452429 Email/IM. mickstevens at yahoo.com Skype: mick_stevens www.facebook.com/mickstevens www.twitter.com/mickstevens -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/6705c517/attachment.html From Hector.Geraldino at ipsoft.com Mon Oct 8 17:39:35 2012 From: Hector.Geraldino at ipsoft.com (Hector Geraldino) Date: Mon, 8 Oct 2012 09:39:35 -0400 Subject: [Freeswitch-users] TTS professional libraries / sdks' recommendations In-Reply-To: References: <6A6B4C284AD15042B429EB9D904544AD07405FCA79@NY1-EXMB-01.ip-soft.net> Message-ID: <6A6B4C284AD15042B429EB9D904544AD07405FCB3D@NY1-EXMB-01.ip-soft.net> Proprietary. None of them are free, and Nuance is more expen$ive. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of JP Sent: Friday, October 05, 2012 12:19 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] TTS professional libraries / sdks' recommendations What kind of licensing does Nuance use? On Fri, Oct 5, 2012 at 7:05 AM, Hector Geraldino > wrote: I've used both Cepstral and Nuance and I'm happy with the results. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Adelia C. Sent: Thursday, October 04, 2012 2:23 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] TTS professional libraries / sdks' recommendations Quick poll and help with TTS libraries - what are you using? I need professional / carrier grade quality, looking for recommendations. Thank you!! A.C. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121008/84e549ff/attachment.html From krice at freeswitch.org Mon Oct 8 17:49:12 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 08 Oct 2012 08:49:12 -0500 Subject: [Freeswitch-users] freeswitch crash while executing odbc_query In-Reply-To: <50728635.2060503@bestnet.kharkov.ua> Message-ID: This info is find and good, but its pretty useless with out a back trace from a debugger such as gdb on linux... See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch However if you are using mysql for the database via unixODBC (and I'll bet you are) make sure you are using the _r version of the client libs as specified here http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core#.2Fetc.2Fodbcinst.ini _for_MySQL On 10/8/12 2:52 AM, "Evgeniy Movlyan" wrote: > Hello to all, > I'm using mod_odbc_query in my dialplan to get nibble_rate, my dialplan is: > > > data="effective_caller_id_number=${outbound_caller_id_number}"/> > data="effective_caller_id_name=${outbound_caller_id_name}"/> > > > data="{ignore_early_media=ring_ready,enable_heartbeat_events=60,nibble_rate=${ > rate},nibble_account=${caller_id_number}}sofia/gateway/${default_gateway}/${di > aled_number}"/> > > > get_rate query: > > > My problem is that freeswitch crashes when number of active calls > reaches 5-7. > Last messages in freeswitch.log are: > Dialplan: sofia/internal/ABCDE at 1.2.3.4 Action odbc_query(get_rate) INLINE > EXECUTE sofia/internal/ABCDE at 1.2.3.4 odbc_query(get_rate) > > Can anybody help? -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch From msc at freeswitch.org Mon Oct 8 22:28:07 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Oct 2012 11:28:07 -0700 Subject: [Freeswitch-users] Help needed in a Contact Center solution In-Reply-To: <014d01cda21f$12a93f60$37fbbe20$@co.in> References: <011601cd9cac$2919d840$7b4d88c0$@co.in> <013301cd9d42$82ebdb70$88c39250$@co.in> <034d01cda149$ad8520c0$088f6240$@co.in> <014d01cda21f$12a93f60$37fbbe20$@co.in> Message-ID: For getting information from a caller: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits For finding out what's going on in a valet parking lot: valet_info command (sorry, nothing on the wiki yet) For talking to a database you have this: http://wiki.freeswitch.org/wiki/Mod_db -MC On Thu, Oct 4, 2012 at 3:57 AM, Nitin Tomer wrote: > Hi Michael,**** > > ** ** > > Yes, I read the chapter 6 of Freeswitch 1.0.6 book. I have already done > what is described in it. But I couldn?t get any help on how can I ask user > to input some number and then enter that number into database.**** > > ** ** > > I also need to check which extension is available amongst a pool and park > the call there.**** > > ** ** > > Regards**** > > ** ** > > Nitin**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* Wednesday, October 03, 2012 9:14 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Help needed in a Contact Center solution > **** > > ** ** > > Have you tried the suggestions we made? > -MC**** > > On Wed, Oct 3, 2012 at 2:30 AM, Nitin Tomer wrote:** > ** > > Hi,**** > > **** > > Please help me in this.**** > > **** > > Regards**** > > **** > > Nitin**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Nitin Tomer > *Sent:* Friday, September 28, 2012 11:59 AM > *To:* 'FreeSWITCH Users Help' > *Subject:* Re: [Freeswitch-users] Help needed in a Contact Center solution > **** > > **** > > Hi Michael,**** > > **** > > Thanks for your response. I have been able to configure IVR and it works > great. But I am not able to understand how to ask caller to enter some > identification number, followed by hash. And then enter that value in > database.**** > > **** > > Any pointers?**** > > **** > > Regards**** > > **** > > Nitin**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* Thursday, September 27, 2012 10:22 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Help needed in a Contact Center solution > **** > > **** > > Don't forget about our two books: > http://link.packtpub.com/nuIOlX > > https://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-telephony-systems/book > > They discuss items 1 and 2 in pretty good detail, especially chapter 6 of > the "bridge" book (it has a bridge on the cover) > -MC**** > > On Thu, Sep 27, 2012 at 5:53 AM, Gabriel Gunderson wrote: > **** > > On Thu, Sep 27, 2012 at 6:32 AM, Nitin Tomer wrote: > > 1. An end-customer calls, the call is handled by mod_ivr. > > 2. Customer is presented with a menu, she makes selection and also enters > > some identification. Her call is parked on a pre-decided extension and an > > entry is made in a database for this call. This entry will hold the > > selections made by the caller and the extension where call is parked.*** > * > > **** > > > > Please guide me on how can do points 1 & 2.**** > > 1) > http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr#General_Concept > 2) http://wiki.freeswitch.org/wiki/Mod_db#mod_db ? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org**** > > **** > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software Technologies Ltd (NSTL) accepts no responsibilities for loss or > damage arising from the use of the information transmitted by this email > including damages from virus and further acknowledges that no binding > nature of the message shall be implied or assumed unless the sender does so > expressly with due authority of NSTL. **** > > **** > > ** ** > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software Technologies Ltd (NSTL) accepts no responsibilities for loss or > damage arising from the use of the information transmitted by this email > including damages from virus and further acknowledges that no binding > nature of the message shall be implied or assumed unless the sender does so > expressly with due authority of NSTL. **** > > ** ** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > **** > > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software Technologies Ltd (NSTL) accepts no responsibilities for loss or > damage arising from the use of the information transmitted by this email > including damages from virus and further acknowledges that no binding > nature of the message shall be implied or assumed unless the sender does so > expressly with due authority of NSTL. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/ec85bf05/attachment-0001.html From msc at freeswitch.org Mon Oct 8 22:37:58 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Oct 2012 11:37:58 -0700 Subject: [Freeswitch-users] Limit hash In-Reply-To: References: Message-ID: Can you manually remove that entry from the database using the hash delete API? -MC On Sat, Oct 6, 2012 at 12:42 PM, DJB International wrote: > I guess there is no other way to reset the hash limit counter unless I do > the reload mod_hash, but it will reset all other counters that are in > mod_hash since limit_reset is not working. I wish there is another way to > remove that hash limit counter for particular one. > > -djbinter > > > > > On Fri, Oct 5, 2012 at 10:19 AM, DJB International wrote: > >> I have a limit hash setup in the dialplan to count the session for each >> inbound ip gateway; however, there is a stuck hash data count in one of the >> ip when I ran hash_dump. Please see below: >> >> >> >> and right now there is no call coming in to 1.2.3.4; however, when I ran >> hash_dump all, it shows as: >> >> L/inbound_1.2.3.4/3/0/0/0 >> >> it is obviously showing that there are 3 stuck counters on this one. >> I've tried hash_reset, but it did not work. >> >> I wonder whether there is any other ways to remove or reset it? >> >> >> Thank you. >> >> >> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/ab1edf09/attachment.html From msc at freeswitch.org Mon Oct 8 23:32:16 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Oct 2012 12:32:16 -0700 Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> Message-ID: Hi Mick, What is the call flow in this case? I'm curious to know what call legs exist and where the 180/183 is and is not happening. FreeSWITCH generally does all this for you, so I suspect there's a gremlin in the works. Can you pastebin a console debug log w/ SIP trace? That may give the gang here just enough information to figure out what's going on. Thanks, MC On Mon, Oct 8, 2012 at 2:26 AM, Mick Stevens wrote: > Hi Folks, > > Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with > SDP upon receipt of a 180 without SDP? > > Unless I'm being stupid (quite possible) I couldn't find an answer to this > on the wiki, although lots around early media (I don't really want to > resort to generating ringing for every call, in case the callee is > genuinely engaged/busy for example). > > The context behind my enquiry is that I send traffic to another SIP > carrier that then hands the traffic off at ISUP. Where the ISUP carrier > sends back an ACM with a backward call indicator of "subscriber free" the > carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback > tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). > > Any help much appreciated! > > Rgds, Mick > Tel/SMS. +44(0)7967 594432 > Fax. +44(0)7053 452429 > Email/IM. mickstevens at yahoo.com > Skype: mick_stevens > www.facebook.com/mickstevens > www.twitter.com/mickstevens > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/9d9183ce/attachment.html From djbinter at gmail.com Tue Oct 9 00:56:25 2012 From: djbinter at gmail.com (DJB International) Date: Mon, 8 Oct 2012 13:56:25 -0700 Subject: [Freeswitch-users] Limit hash In-Reply-To: References: Message-ID: Thank you, MSC. When I tried to delete the hash limit as: freeswitch at internal> hash_dump all L/inbound_CARRIER_A/4/0/0/0 L/inbound_CARRIER_B/7/0/0/0 L/inbound_CARRIER_C/3/0/0/0 freeswitch at internal> hash delete/inbound/CARRIER_C -ERR Not found But, for some reason, it did not seem to work with the limit hash. Thank you, -djbinter On Mon, Oct 8, 2012 at 11:37 AM, Michael Collins wrote: > Can you manually remove that entry from the database using the hash delete > API? > -MC > > On Sat, Oct 6, 2012 at 12:42 PM, DJB International wrote: > >> I guess there is no other way to reset the hash limit counter unless I do >> the reload mod_hash, but it will reset all other counters that are in >> mod_hash since limit_reset is not working. I wish there is another way to >> remove that hash limit counter for particular one. >> >> -djbinter >> >> >> >> >> On Fri, Oct 5, 2012 at 10:19 AM, DJB International wrote: >> >>> I have a limit hash setup in the dialplan to count the session for each >>> inbound ip gateway; however, there is a stuck hash data count in one of the >>> ip when I ran hash_dump. Please see below: >>> >>> >>> >>> and right now there is no call coming in to 1.2.3.4; however, when I >>> ran hash_dump all, it shows as: >>> >>> L/inbound_1.2.3.4/3/0/0/0 >>> >>> it is obviously showing that there are 3 stuck counters on this one. >>> I've tried hash_reset, but it did not work. >>> >>> I wonder whether there is any other ways to remove or reset it? >>> >>> >>> Thank you. >>> >>> >>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121008/4b79bde9/attachment.html From msc at freeswitch.org Tue Oct 9 01:31:10 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Oct 2012 14:31:10 -0700 Subject: [Freeswitch-users] FreeSWITCH Weekly News and Notes Message-ID: Hello all! Last week was mostly status quo - busy but not too busy. We spent time working on chapters 5 and 6 of the second edition of the FreeSWITCH book. We also had an interesting discussionabout Lumicall , an Android application that allows for mobile VoIP. This weekwe our very own Ken Rice (with an assist from yours truly) will be discussing FreeSWITCH data gathering and troubleshooting techniques. We will also be talking about how to get all of this data into a Jira in such a way that the developers will be thankful. The following week we've scheduled Chad Engler to come discuss with us his node.js/ESL interface . In other news we just wanted to let you know that our friends over at Vestechave closed a new round of funding. Check out this release for details. We are getting ready to put the finishing touches on the voice-enabled application contest. In the meantime keep working on those application ideas - you may just be the one to win some cash! We thank the Vestec folks for being so supportive. Have a great week! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/faeed514/attachment-0001.html From msc at freeswitch.org Tue Oct 9 02:01:27 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 8 Oct 2012 15:01:27 -0700 Subject: [Freeswitch-users] uuid_bridge, uuid_broadcast is not working In-Reply-To: References: Message-ID: On Fri, Oct 5, 2012 at 7:01 PM, Gabriel Gunderson wrote: > On Fri, Oct 5, 2012 at 6:26 AM, Shahzad Bhatti > wrote: > > I am creating a script in Lua to originate 2 calls, bridge them and then > > play a file using uuid_bridge and uuid_brodcast but unable to get the > result > > and call hangup. > > If you remove the broadcast, and just focus on the bridge, is it > working? It doesn't look like it. If you start to channels and try to > bridge them, they both have to be fully setup or the bridge will not > work. Mess around with parking and then bridging until you get the > order of things worked out. > > Good luck and let us know what you figure out. > > To add to Gabe's input, it's always best to try these things at the CLI to make sure you get the hang of it. If you can't get it to work at the fs_cli then you'll never get it working in a script. It's also easier to experiment when using fs_cli. Let us know what you discover. If there's time we can even talk about this on the Wednesday conference call if others are interested in what uuid_bridge and uuid_broadcast do. Thanks, MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/eb59e4f8/attachment.html From dujinfang at gmail.com Tue Oct 9 02:49:18 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 9 Oct 2012 06:49:18 +0800 Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> Message-ID: try set ringback=${us-ring} before you bridge. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, October 8, 2012 at 5:26 PM, Mick Stevens wrote: > Hi Folks, > > Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with SDP upon receipt of a 180 without SDP? > > Unless I'm being stupid (quite possible) I couldn't find an answer to this on the wiki, although lots around early media (I don't really want to resort to generating ringing for every call, in case the callee is genuinely engaged/busy for example). > > The context behind my enquiry is that I send traffic to another SIP carrier that then hands the traffic off at ISUP. Where the ISUP carrier sends back an ACM with a backward call indicator of "subscriber free" the carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). > > Any help much appreciated! > > Rgds, Mick > Tel/SMS. +44(0)7967 594432 > Fax. +44(0)7053 452429 > Email/IM. mickstevens at yahoo.com > Skype: mick_stevens > www.facebook.com/mickstevens > www.twitter.com/mickstevens > _________________________________________________________________________ > 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://wiki.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/20121009/29322e1d/attachment.html From shaheryarkh at googlemail.com Tue Oct 9 03:56:36 2012 From: shaheryarkh at googlemail.com (Muhammad Shahzad) Date: Tue, 9 Oct 2012 01:56:36 +0200 Subject: [Freeswitch-users] FS Core ODBC Support - Specified key was too long; max key length is 1000 bytes Message-ID: Hi, I have compiled FS with core odbc support and get below error at start up, ======================================================= 2012-10-09 01:49:33.596802 [ERR] switch_odbc.c:494 ERR: [create index complete11 on complete (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,hostname)] [STATE: HY000 CODE 1071 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.1.63-0+squeeze1]Specified key was too long; max key length is 1000 bytes ] 2012-10-09 01:49:33.596864 [ERR] switch_core_sqldb.c:526 SQL ERR [STATE: HY000 CODE 1071 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.1.63-0+squeeze1]Specified key was too long; max key length is 1000 bytes ] create index complete11 on complete (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,hostname) ======================================================= I know its MySQL specific error as specified at, http://stackoverflow.com/questions/7846298/max-key-length-is-1000-bytes-in-mysql-workbench However, i was wondering if there is any work around for it? Can we ignore this error or it has to be fixed before putting FS in production? Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +49 176 99 83 10 85 MSN: shari_786pk at hotmail.com Email: shaheryarkh at googlemail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/58c676da/attachment.html From dujinfang at gmail.com Tue Oct 9 04:49:40 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 9 Oct 2012 08:49:40 +0800 Subject: [Freeswitch-users] FS Core ODBC Support - Specified key was too long; max key length is 1000 bytes In-Reply-To: References: Message-ID: <2A1AC2CA471C4E32BE9817BF719B93CC@gmail.com> jira.freeswitch.org is a better place for this On Tuesday, October 9, 2012 at 7:56 AM, Muhammad Shahzad wrote: > Hi, > > I have compiled FS with core odbc support and get below error at start up, > > ======================================================= > 2012-10-09 01:49:33.596802 [ERR] switch_odbc.c:494 ERR: [create index complete11 on complete (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,hostname)] > [STATE: HY000 CODE 1071 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.1.63-0+squeeze1]Specified key was too long; max key length is 1000 bytes > ] > 2012-10-09 01:49:33.596864 [ERR] switch_core_sqldb.c:526 SQL ERR [STATE: HY000 CODE 1071 ERROR: [unixODBC][MySQL][ODBC 5.1 Driver][mysqld-5.1.63-0+squeeze1]Specified key was too long; max key length is 1000 bytes > ] > create index complete11 on complete (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,hostname) > ======================================================= > > I know its MySQL specific error as specified at, > > http://stackoverflow.com/questions/7846298/max-key-length-is-1000-bytes-in-mysql-workbench > > However, i was wondering if there is any work around for it? > > Can we ignore this error or it has to be fixed before putting FS in production? > > Thank you. > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +49 176 99 83 10 85 > MSN: shari_786pk at hotmail.com (mailto:shari_786pk at hotmail.com) > Email: shaheryarkh at googlemail.com (mailto:shaheryarkh at googlemail.com) > _________________________________________________________________________ > 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://wiki.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/20121009/e9da64e1/attachment.html From jaybinks at gmail.com Tue Oct 9 06:17:30 2012 From: jaybinks at gmail.com (jay binks) Date: Tue, 9 Oct 2012 12:17:30 +1000 Subject: [Freeswitch-users] regex and /g modifiers Message-ID: Hey guys, just trying to confirm my findings. it seems Freeswitch's regex implementation only implements /s and /i pattern modifiers. Is there a reason /g was ( and others ) were left out. I had assumed we had the full gammut, and it was only after pulling my hair out that I trawled the code and came to see it wasnt there :) -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/4fee0314/attachment-0001.html From mickstevens at yahoo.com Tue Oct 9 16:36:07 2012 From: mickstevens at yahoo.com (Mick Stevens) Date: Tue, 9 Oct 2012 05:36:07 -0700 (PDT) Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> Message-ID: <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> Hi Michael, Wow, honoured & a bit starstruck by your reply in person (or do you celebs have somebody that replies for you??)! Your FS books pretty much travel everywhere with me at the moment! Ok, but seriously, please excuse the poor but hopefully amusing/just about understandable call flow diagram attached. Basically in the 4th leg of the call (far right) an ACM is sent back to a Veraz switch (call leg 3) which sends us a 180 without SDP which we (FreeSWITCH, call leg 2) transit to the customer (1st call leg) without manipulation. The customer is apparently unable to generate ringing locally. So basically the question is can FS map/convert the 180 without SDP received into a 180/183 WITH SDP for onward transmission. Am trying to get a trace but unfortunately customer is not sending us traffic at the moment due to this "issue". Once again, excuse lack of wordsmithing/Visio/Powerpoint but travelling without my normal array of bells & whistles! <3 FreeSWITCH!? Rgds, Mick T. +44 20 7001 6869 E. mickstevens at yahoo.com www.twitter.com/mickstevens ?? Sent En Route...? ________________________________ From: Michael Collins To: FreeSWITCH Users Help Sent: Monday, 8 October 2012, 21:32 Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP Hi Mick, What is the call flow in this case? I'm curious to know what call legs exist and where the 180/183 is and is not happening. FreeSWITCH generally does all this for you, so I suspect there's a gremlin in the works. Can you pastebin a console debug log w/ SIP trace? That may give the gang here just enough information to figure out what's going on. Thanks, MC On Mon, Oct 8, 2012 at 2:26 AM, Mick Stevens wrote: Hi Folks, > > >Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with SDP upon receipt of a 180 without SDP? > > >Unless I'm being stupid (quite possible) I couldn't find an answer to this on the wiki, although lots around early media (I don't really want to resort to generating ringing for every call, in case the callee is genuinely engaged/busy for example). > > >The context behind my enquiry is that I send traffic to another SIP carrier that then hands the traffic off at ISUP. Where the ISUP carrier sends back an ACM with a backward call indicator of "subscriber free" the carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). > > >Any help much appreciated! >? >Rgds, Mick >Tel/SMS. +44(0)7967 594432 >Fax. +44(0)7053 452429 > >Email/IM. mickstevens at yahoo.com >Skype: mick_stevens >www.facebook.com/mickstevens >www.twitter.com/mickstevens > >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121009/ad4e6dde/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Generate_180_183_with_SDP.pdf Type: application/pdf Size: 962727 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/ad4e6dde/attachment-0001.pdf From yehavi.bourvine at gmail.com Tue Oct 9 19:52:35 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 9 Oct 2012 17:52:35 +0200 Subject: [Freeswitch-users] Syntax of cndition to compare two variable values? Message-ID: Hello, Suppose I have to variables which I set some values to them at the dialplan. What is the condition statement syntax to test whether their values equal? Thanks, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/ade7f70e/attachment.html From msc at freeswitch.org Tue Oct 9 20:08:51 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Oct 2012 09:08:51 -0700 Subject: [Freeswitch-users] regex and /g modifiers In-Reply-To: References: Message-ID: I suspect that at the time PCRE was implemented 6+ years ago (yikes - has it been that long?!) there wasn't much of a use case for the /g modifier. Can you let us know what issue you are attempting to resolve? I'm wondering if there's another way to handle it. -MC On Mon, Oct 8, 2012 at 7:17 PM, jay binks wrote: > Hey guys, > just trying to confirm my findings. > > it seems Freeswitch's regex implementation only implements /s and /i > pattern modifiers. Is there a reason /g was ( and others ) were left out. > > I had assumed we had the full gammut, and it was only after pulling my > hair out > that I trawled the code and came to see it wasnt there :) > > -- > Sincerely > > Jay > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/7c0faef9/attachment.html From aksrini at hotmail.com Mon Oct 8 14:53:48 2012 From: aksrini at hotmail.com (Srini K) Date: Mon, 8 Oct 2012 03:53:48 -0700 Subject: [Freeswitch-users] (no subject) Message-ID: http://www.tiempodetransformacion.org/important.php?j=1c9q9kjm&ljvolene=eku -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/729ad570/attachment.html From msc at freeswitch.org Tue Oct 9 20:39:42 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Oct 2012 09:39:42 -0700 Subject: [Freeswitch-users] Syntax of cndition to compare two variable values? In-Reply-To: References: Message-ID: Assuming that your variables are set at the time you perform the condition (hint: see inline="true" for the set command) then you can try something like this: Standard disclaimerapplies... -MC On Tue, Oct 9, 2012 at 8:52 AM, Yehavi Bourvine wrote: > Hello, > > Suppose I have to variables which I set some values to them at the > dialplan. What is the condition statement syntax to test whether their > values equal? > > Thanks, __Yehavi: > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/7f8d15bd/attachment.html From avi at avimarcus.net Tue Oct 9 21:04:59 2012 From: avi at avimarcus.net (Avi Marcus) Date: Tue, 9 Oct 2012 19:04:59 +0200 Subject: [Freeswitch-users] Syntax of cndition to compare two variable values? In-Reply-To: References: Message-ID: Another way without using the COND api would be like so: (the ^$ are necessary to mean "exact" rather than "contains") -Avi On Tue, Oct 9, 2012 at 6:39 PM, Michael Collins wrote: > Assuming that your variables are set at the time you perform the condition > (hint: see inline="true" for the set command) then you can try something > like this: > > > > Standard disclaimerapplies... > -MC > > On Tue, Oct 9, 2012 at 8:52 AM, Yehavi Bourvine > wrote: > >> Hello, >> >> Suppose I have to variables which I set some values to them at the >> dialplan. What is the condition statement syntax to test whether their >> values equal? >> >> Thanks, __Yehavi: >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121009/2d88a525/attachment-0001.html From drk at drkngs.net Tue Oct 9 21:22:51 2012 From: drk at drkngs.net (Dave R. Kompel) Date: Tue, 09 Oct 2012 10:22:51 -0700 Subject: [Freeswitch-users] =?iso-8859-1?q?Generate_180/183_with_SDP_upon_?= =?iso-8859-1?q?receipt_of_a=09180_without_SDP?= In-Reply-To: <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> Message-ID: <20121009172251.85cc3b72@mail.tritonwest.net> Mick, Think about what you are asking. FS or any sip entity has no message it can send durring an invite transaction, untill the 200 where it could specify the SDP. Also at the point of the SS7 switch, receiving an ACM, there could only be one way audio. The direction of the audio at this point, before the call is answered, CAN only be the backchannel. Is there a way to map back-channel-indecator values to sip responses in your switch? --Dave _____ From: Mick Stevens [mailto:mickstevens at yahoo.com] To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org], Michael Collins [mailto:msc at freeswitch.org], Seven Du [mailto:dujinfang at gmail.com] Sent: Tue, 09 Oct 2012 05:36:07 -0700 Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP Hi Michael, Wow, honoured & a bit starstruck by your reply in person (or do you celebs have somebody that replies for you ?)! Your FS books pretty much travel everywhere with me at the moment! Ok, but seriously, please excuse the poor but hopefully amusing/just about understandable call flow diagram attached. Basically in the 4th leg of the call (far right) an ACM is sent back to a Veraz switch (call leg 3) which sends us a 180 without SDP which we (FreeSWITCH, call leg 2) transit to the customer (1st call leg) without manipulation. The customer is apparently unable to generate ringing locally. So basically the question is can FS map/convert the 180 without SDP received into a 180/183 WITH SDP for onward transmission. Am trying to get a trace but unfortunately customer is not sending us traffic at the moment due to this "issue". Once again, excuse lack of wordsmithing/Visio/Powerpoint but travelling without my normal array of bells & whistles! <3 FreeSWITCH! Rgds, Mick T. +44 20 7001 6869 E. mickstevens at yahoo.com www.twitter.com/mickstevens Sent En Route... _____ From: Michael Collins To: FreeSWITCH Users Help Sent: Monday, 8 October 2012, 21:32 Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP Hi Mick, What is the call flow in this case? I'm curious to know what call legs exist and where the 180/183 is and is not happening. FreeSWITCH generally does all this for you, so I suspect there's a gremlin in the works. Can you pastebin a console debug log w/ SIP trace? That may give the gang here just enough information to figure out what's going on. Thanks, MC On Mon, Oct 8, 2012 at 2:26 AM, Mick Stevens wrote: Hi Folks, Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with SDP upon receipt of a 180 without SDP? Unless I'm being stupid (quite possible) I couldn't find an answer to this on the wiki, although lots around early media (I don't really want to resort to generating ringing for every call, in case the callee is genuinely engaged/busy for example). The context behind my enquiry is that I send traffic to another SIP carrier that then hands the traffic off at ISUP. Where the ISUP carrier sends back an ACM with a backward call indicator of "subscriber free" the carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). Any help much appreciated! Rgds, Mick Tel/SMS. +44(0)7967 594432 Fax. +44(0)7053 452429 Email/IM. mickstevens at yahoo.com Skype: mick_stevens www.facebook.com/mickstevens www.twitter.com/mickstevens _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121009/b872b255/attachment.html From msc at freeswitch.org Tue Oct 9 21:46:36 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Oct 2012 10:46:36 -0700 Subject: [Freeswitch-users] Syntax of cndition to compare two variable values? In-Reply-To: References: Message-ID: Good point - I forget that we could put vars into the expression. +1 4 U -MC On Tue, Oct 9, 2012 at 10:04 AM, Avi Marcus wrote: > Another way without using the COND api would be like so: > > (the ^$ are necessary > to mean "exact" rather than "contains") > > -Avi > > > > On Tue, Oct 9, 2012 at 6:39 PM, Michael Collins wrote: > >> Assuming that your variables are set at the time you perform the >> condition (hint: see inline="true" for the set command) then you can try >> something like this: >> >> >> >> Standard disclaimerapplies... >> -MC >> >> On Tue, Oct 9, 2012 at 8:52 AM, Yehavi Bourvine < >> yehavi.bourvine at gmail.com> wrote: >> >>> Hello, >>> >>> Suppose I have to variables which I set some values to them at the >>> dialplan. What is the condition statement syntax to test whether their >>> values equal? >>> >>> Thanks, __Yehavi: >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >>> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/88c54fb2/attachment-0001.html From msc at freeswitch.org Tue Oct 9 21:51:01 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Oct 2012 10:51:01 -0700 Subject: [Freeswitch-users] Differences for setting global variable In-Reply-To: References: Message-ID: These do indeed have the same effect. I suspect that internally they end up calling the exact same core function(s). Personally I like the second one because it's a bit clearer to read. -MC On Fri, Oct 5, 2012 at 6:40 AM, Mr Nathan Downes wrote: > Hi,**** > > ** ** > > What is the difference between**** > > ** ** > > **** > > And**** > > **** > > ** ** > > Is one better than the other? Both seem to have same effect..**** > > ** ** > > Thanks,**** > > ** ** > > Nathan**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/c3f1dbe6/attachment.html From daniel.eiland at gmail.com Tue Oct 9 22:27:12 2012 From: daniel.eiland at gmail.com (Daniel Eiland) Date: Tue, 9 Oct 2012 14:27:12 -0400 Subject: [Freeswitch-users] Reject incoming call (namely session) on conference member limit Message-ID: Hey folks, I was poking around the mod_conference settings and saw that I can limit the maximum members in a conference (via the max-members parameter). However, once this limit is reached, the next incoming call is still answered and played a tone (designated via max-members-sound) before it is simply hung-up. In the SIP world, this looks like an INVITE-200-ACK sequence followed by a BYE-200 sequence. Is there anyway I can skip the BYE-200 sequence and simply reject the call outright with say a 486 response to the INVITE? Thanks, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/a189b6be/attachment.html From drk at drkngs.net Tue Oct 9 23:24:26 2012 From: drk at drkngs.net (Dave R. Kompel) Date: Tue, 09 Oct 2012 12:24:26 -0700 Subject: [Freeswitch-users] =?iso-8859-1?q?Reject_incoming_call_=28namely_?= =?iso-8859-1?q?session=29_on=09conference_member_limit?= In-Reply-To: Message-ID: <20121009192426.7983cd0f@mail.tritonwest.net> Check out the wiki to see the conference API, check the count of members on a conference using that API from the dialplan, and if it's at the max then use Application=respond, data=486, to blow off the call with a busy. Sorry I don't have the details for you, but I wanted to point you in the right direction ASAP. --Dave _____ From: Daniel Eiland [mailto:daniel.eiland at gmail.com] To: freeswitch-users at lists.freeswitch.org Sent: Tue, 09 Oct 2012 11:27:12 -0700 Subject: [Freeswitch-users] Reject incoming call (namely session) on conference member limit Hey folks, I was poking around the mod_conference settings and saw that I can limit the maximum members in a conference (via the max-members parameter). However, once this limit is reached, the next incoming call is still answered and played a tone (designated via max-members-sound) before it is simply hung-up. In the SIP world, this looks like an INVITE-200-ACK sequence followed by a BYE-200 sequence. Is there anyway I can skip the BYE-200 sequence and simply reject the call outright with say a 486 response to the INVITE? Thanks, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/3116dca3/attachment.html From jaykris at gmail.com Wed Oct 10 02:27:21 2012 From: jaykris at gmail.com (JP) Date: Tue, 9 Oct 2012 15:27:21 -0700 Subject: [Freeswitch-users] How do I bridge-unbridge and then bridge again? Message-ID: Hi, I want to do the following. 1. Caller is bridged to an agent. 2. Agent presses dtmf and is transferred to a supervisor while the caller is listening to MOH( achieved using "bind_meta_app"). 3. Now when the supervisor hangs-up, the agent should be bridged back to the caller. I am not able to find a simple way to do the third step. Any suggestions or ideas is greatly appreciated. Thanks, JP -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/661657bf/attachment.html From msc at freeswitch.org Wed Oct 10 03:42:51 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 9 Oct 2012 16:42:51 -0700 Subject: [Freeswitch-users] How do I bridge-unbridge and then bridge again? In-Reply-To: References: Message-ID: What do you do for steps 1 and 2? Is the caller held with uuid_hold or uuid_park or what? Most likely you'll need to store the uuid of the caller's call leg in a channel variable and then perform a uuid_bridge back to that uuid once the agent is done speaking to the supervisor. -MC On Tue, Oct 9, 2012 at 3:27 PM, JP wrote: > Hi, > I want to do the following. > 1. Caller is bridged to an agent. > 2. Agent presses dtmf and is transferred to a supervisor while the caller > is listening to MOH( achieved using "bind_meta_app"). > 3. Now when the supervisor hangs-up, the agent should be bridged back to > the caller. > > I am not able to find a simple way to do the third step. Any suggestions > or ideas is greatly appreciated. > > Thanks, > JP > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/84fbce04/attachment.html From ljjimenez at gmail.com Wed Oct 10 06:37:12 2012 From: ljjimenez at gmail.com (Luis Jimenez) Date: Tue, 9 Oct 2012 22:37:12 -0400 Subject: [Freeswitch-users] Help with Tainted Message Message-ID: Hello, FS users, can you help understand this message, it happens to my server and hangs everything, i had to hard reboot the server to login, any help will be appreciated. Thanks in advance Luis Jimenez Oct 9 20:27:51 localhost kernel: [6605999.794317] Pid: 7273, comm: freeswitch Tainted: G W 2.6.32-5-amd64 #1 PowerEdge R710 Oct 9 20:27:51 localhost kernel: [6605999.794364] RIP: 0010:[] [] find_busiest_group+0x97a/0xa4e Oct 9 20:27:51 localhost kernel: [6605999.794418] RSP: 0018:ffff88022d083968 EFLAGS: 00010006 Oct 9 20:27:51 localhost kernel: [6605999.794445] RAX: 0000000000100000 RBX: 0000000000100000 RCX: 0000000000000000 Oct 9 20:27:51 localhost kernel: [6605999.794489] RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000000 Oct 9 20:27:51 localhost kernel: [6605999.794533] RBP: 0000000000000400 R08: 000000000000000a R09: 0000000000000000 Oct 9 20:27:51 localhost kernel: [6605999.794578] R10: 0000000000000000 R11: 00000000000186a0 R12: ffff880008d4fa20 Oct 9 20:27:51 localhost kernel: [6605999.794622] R13: ffff880008d4fae0 R14: 0000000000015700 R15: 0000000000000000 Oct 9 20:27:51 localhost kernel: [6605999.794667] FS: 00007fa1362dd700(0000) GS:ffff880008d40000(0000) knlGS:0000000000000000 Oct 9 20:27:51 localhost kernel: [6605999.794713] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Oct 9 20:27:51 localhost kernel: [6605999.794741] CR2: 00007fafb0031580 CR3: 000000021903b000 CR4: 00000000000006e0 Oct 9 20:27:51 localhost kernel: [6605999.794785] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Oct 9 20:27:51 localhost kernel: [6605999.799741] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Oct 9 20:27:51 localhost kernel: [6605999.799785] Process freeswitch (pid: 7273, threadinfo ffff88022d082000, task ffff8801c6c4aa60) Oct 9 20:27:51 localhost kernel: [6605999.799852] 0000000000015788 0000000000015780 0000000000000008 0000000000015780 Oct 9 20:27:51 localhost kernel: [6605999.799888] <0> 0000000000015780 0000000000015780 ffff88022aed8000 ffff88022aed8558 Oct 9 20:27:51 localhost kernel: [6605999.799942] <0> ffff88022d243400 ffff88022aed85c8 ffff8800adeb03a8 ffff880008d4f9e0 Oct 9 20:27:51 localhost kernel: [6605999.800039] [] ? schedule+0x2b3/0x7b4 Oct 9 20:27:51 localhost kernel: [6605999.800070] [] ? futex_wait_queue_me+0xa4/0xbd Oct 9 20:27:51 localhost kernel: [6605999.800100] [] ? futex_wait+0x145/0x291 Oct 9 20:27:51 localhost kernel: [6605999.800130] [] ? autoremove_wake_function+0x0/0x2e Oct 9 20:27:51 localhost kernel: [6605999.800160] [] ? futex_wait+0x2/0x291 Oct 9 20:27:51 localhost kernel: [6605999.800188] [] ? do_futex+0x9d/0x995 Oct 9 20:27:51 localhost kernel: [6605999.800217] [] ? sys_futex+0x113/0x131 Oct 9 20:27:51 localhost kernel: [6605999.800247] [] ? sys_poll+0x47/0xb2 Oct 9 20:27:51 localhost kernel: [6605999.800276] [] ? system_call_fastpath+0x16/0x1b Oct 9 20:27:51 localhost kernel: [6605999.800555] RSP Oct 9 20:27:51 localhost kernel: [6605999.800899] ---[ end trace b17260e2d05b16de ]--- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/d9f26a9a/attachment-0001.html From philq at qsystemsengineering.com Wed Oct 10 08:35:18 2012 From: philq at qsystemsengineering.com (Phil Quesinberry) Date: Wed, 10 Oct 2012 00:35:18 -0400 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? Message-ID: <008a01cda6a0$a9c80a90$fd581fb0$@com> I seem to have lost the ability to dial out via Google Voice on the latest stable version of FS. Is anyone else having this problem or could this possibly be related to the fact that I recently enabled TLS on profile Internal? I don't use it very often but it's handy to have available. Any ideas? Here's a short snippet of info from the console when the call was placed: 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1629 Don't have my audio codec yet here's one 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1675 Don't have video codec. 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1686 Send Describe [PCMU at 8000] 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:4055 using Existing session for 4654131323 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:1675 Don't have video codec. 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:1686 Send Describe [PCMU at 8000] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send rtp Candidate mypbxdomain.com:30536 [SgJi84it8jJU4Thf] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send rtcp Candidate mypbxdomain.com:30537 [jXCuyH5i8GuihYyO] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send video_rtp Candidate mypbxdomain.com:30538 [UOkj8Ty7HjUsELPw] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send video_rtcp Candidate mypbxdomain.com:30539 [fjSU4YUTk84Tymoa] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1565 Accepted 0 of 0 rtp candidates. 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1567 Accepted 0 of 0 rtcp candidates. 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1570 Accepted 0 of 0 video_rtp candidates 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1573 Accepted 0 of 0 video_rctp candidates 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4055 using Existing session for 4654131323 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4373 hungup dingaling/gtalk/+14105552368 at voice.google.com 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:801 Terminate called from line 4374 state=CS_INIT 2012-10-09 23:41:39.609921 [DEBUG] switch_channel.c:2950 (dingaling/gtalk/+14105552368 at voice.google.com) Callstate Change DOWN -> HANGUP 2012-10-09 23:41:39.609921 [NOTICE] mod_dingaling.c:826 Hangup dingaling/gtalk/+14105552368 at voice.google.com [CS_INIT] [NORMAL_CLEARING] 2012-10-09 23:41:39.609921 [DEBUG] switch_channel.c:2973 Send signal dingaling/gtalk/+14105552368 at voice.google.com [KILL] 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/+14105552368 at voice.google.com CHANNEL KILL 2012-10-09 23:41:39.609921 [DEBUG] switch_core_session.c:1210 Send signal dingaling/gtalk/+14105552368 at voice.google.com [BREAK] 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/+14105552368 at voice.google.com CHANNEL KILL 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4375 End Call 2012-10-09 23:41:39.609921 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING] 2012-10-09 23:41:39.609921 [INFO] mod_dptools.c:3027 Originate Failed. Cause: NORMAL_CLEARING Version info: FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) Regards, Phil Quesinberry Q Systems Engineering, Inc. Electronic Controls and Embedded Systems Development (410) 969-8002 http://www.qsystemsengineering.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/f26a7240/attachment.html From yehavi.bourvine at gmail.com Wed Oct 10 11:05:25 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Wed, 10 Oct 2012 09:05:25 +0200 Subject: [Freeswitch-users] Syntax of cndition to compare two variable values? In-Reply-To: References: Message-ID: The second sugestion worked ok. I feared that the ^${} will be treated as empty line (^$), but it seems to work correctly. Thanks, __Yehavi: 2012/10/9 Michael Collins > Good point - I forget that we could put vars into the expression. > +1 4 U > -MC > > > On Tue, Oct 9, 2012 at 10:04 AM, Avi Marcus wrote: > >> Another way without using the COND api would be like so: >> >> (the ^$ are necessary >> to mean "exact" rather than "contains") >> >> -Avi >> >> >> >> On Tue, Oct 9, 2012 at 6:39 PM, Michael Collins wrote: >> >>> Assuming that your variables are set at the time you perform the >>> condition (hint: see inline="true" for the set command) then you can try >>> something like this: >>> >>> >>> >>> Standard disclaimerapplies... >>> -MC >>> >>> On Tue, Oct 9, 2012 at 8:52 AM, Yehavi Bourvine < >>> yehavi.bourvine at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> Suppose I have to variables which I set some values to them at the >>>> dialplan. What is the condition statement syntax to test whether their >>>> values equal? >>>> >>>> Thanks, __Yehavi: >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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 >>>> >>>> >>> >>> >>> -- >>> Michael S Collins >>> Twitter: @mercutioviz >>> http://www.FreeSWITCH.org >>> http://www.ClueCon.com >>> http://www.OSTAG.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/0ef822b1/attachment-0001.html From gerald.weber at besharp.at Wed Oct 10 11:16:38 2012 From: gerald.weber at besharp.at (Gerald Weber) Date: Wed, 10 Oct 2012 07:16:38 +0000 Subject: [Freeswitch-users] src/switch_pgsql.c / etc Message-ID: Hi, looking through the commits on github, i noticed a lot of new postgresql / database stuff. My questions: Dou you plan a general interface / api to add other database systems like (oracle, mssql, etc) ? Do you plan to support bind variables / prepared statements (important for security and performance ) Thx gw -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/f51158ec/attachment.html From admin at blindi.net Wed Oct 10 17:31:40 2012 From: admin at blindi.net (Thomas Hoellriegel) Date: Wed, 10 Oct 2012 15:31:40 +0200 (CEST) Subject: [Freeswitch-users] compile error in current git version In-Reply-To: References: Message-ID: Hi all, i update to the current git version. I use debian squeeze 32bit. I have the errors: usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -pthrea d -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/freeswit ch/libs/apr/include -I/usr/src/freeswitch/libs/apr-util/include -I/usr/src/frees witch/libs/apr-util/xml/expat/lib -I/usr/src/freeswitch/libs/libtpl-1.5/src -I/u sr/src/freeswitch/libs/stfu -I/usr/src/freeswitch/libs/sqlite -I/usr/src/freeswi tch/libs/pcre -I/usr/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/u sr/src/freeswitch/libs/srtp/include -I/usr/src/freeswitch/libs/srtp/crypto/inclu de -Ilibs/srtp/crypto/include -I/usr/src/freeswitch/libs/spandsp/src -I/usr/src/ freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/inclu de -I/usr/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -I/usr/src/frees witch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/ src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibilit y=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 - pedantic -Wdeclaration-after-statement -g -O2 -MT libfreeswitch_la-switch_core_s qldb.lo -MD -MP -MF .deps/libfreeswitch_la-switch_core_sqldb.Tpo -c src/switch_c ore_sqldb.c -fPIC -DPIC -o .libs/libfreeswitch_la-switch_core_sqldb.o cc1: warnings being treated as errors src/switch_core_sqldb.c: In function 'switch_user_sql_thread': src/switch_core_sqldb.c:1399: error: format '%ld' expects type 'long int', but a rgument 8 has type 'switch_size_t' make[1]: *** [libfreeswitch_la-switch_core_sqldb.lo] error 1 make: *** [all] error 2 Can you help please? thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste f?r blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc From mickstevens at yahoo.com Wed Oct 10 15:29:02 2012 From: mickstevens at yahoo.com (Mick Stevens) Date: Wed, 10 Oct 2012 04:29:02 -0700 (PDT) Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> Message-ID: <1349868542.38122.YahooMailNeo@web160803.mail.bf1.yahoo.com> Hi Michael & Co, Now with traces attached... The customer is 86.166.113.42, FreeSWITCH is 85.133.61.23x & the Carrier is 125.236.36.3 Basically the carrier sends us a 180 without SDP (FreeSWITCH-Carrier Trace.pcap, packet 3...) which we transit back to the customer (Customer-FreeSWITCH Trace.pcap, packet 7). Is there a away we can modify our response upon receipt of the 180 without SDP to send a 180/183 with SDP? P.S. I made a couple of quick test calls to replicate this & I think I may have sent the customer leg of one & the carrier leg of the other (duh, sorry, only noticed this when I merged the traces together & the packets appears out of sequence). But the nos & principles involved are the same, hence the two files... Any help much appreciated. Rgds, Mick ? ________________________________ From: Michael Collins To: FreeSWITCH Users Help Sent: Monday, 8 October 2012, 21:32 Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP Hi Mick, What is the call flow in this case? I'm curious to know what call legs exist and where the 180/183 is and is not happening. FreeSWITCH generally does all this for you, so I suspect there's a gremlin in the works. Can you pastebin a console debug log w/ SIP trace? That may give the gang here just enough information to figure out what's going on. Thanks, MC On Mon, Oct 8, 2012 at 2:26 AM, Mick Stevens wrote: Hi Folks, > > >Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with SDP upon receipt of a 180 without SDP? > > >Unless I'm being stupid (quite possible) I couldn't find an answer to this on the wiki, although lots around early media (I don't really want to resort to generating ringing for every call, in case the callee is genuinely engaged/busy for example). > > >The context behind my enquiry is that I send traffic to another SIP carrier that then hands the traffic off at ISUP. Where the ISUP carrier sends back an ACM with a backward call indicator of "subscriber free" the carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). > > >Any help much appreciated! >? >Rgds, Mick >Tel/SMS. +44(0)7967 594432 >Fax. +44(0)7053 452429 > >Email/IM. mickstevens at yahoo.com >Skype: mick_stevens >www.facebook.com/mickstevens >www.twitter.com/mickstevens > >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121010/8cee08dd/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Customer-FreeSWITCH Trace.pcap Type: application/octet-stream Size: 8613 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/8cee08dd/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: FreeSWITCH-Carrier Trace.pcap Type: application/octet-stream Size: 4487 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/8cee08dd/attachment-0003.obj From cmrienzo at gmail.com Wed Oct 10 18:33:24 2012 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Wed, 10 Oct 2012 10:33:24 -0400 Subject: [Freeswitch-users] compile error in current git version In-Reply-To: References: Message-ID: try again with latest. On Wed, Oct 10, 2012 at 9:31 AM, Thomas Hoellriegel wrote: > Hi all, i update to the current git version. > I use debian squeeze 32bit. > I have the errors: > usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/**libteletone/src > -fPIC > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 > -pthrea > d -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE > -I/usr/src/freeswit > ch/libs/apr/include -I/usr/src/freeswitch/libs/**apr-util/include > -I/usr/src/frees > witch/libs/apr-util/xml/expat/**lib -I/usr/src/freeswitch/libs/**libtpl-1.5/src > -I/u > sr/src/freeswitch/libs/stfu -I/usr/src/freeswitch/libs/**sqlite > -I/usr/src/freeswi > tch/libs/pcre -I/usr/src/freeswitch/libs/**speex/include > -Ilibs/speex/include -I/u > sr/src/freeswitch/libs/srtp/**include -I/usr/src/freeswitch/libs/** > srtp/crypto/inclu > de -Ilibs/srtp/crypto/include -I/usr/src/freeswitch/libs/**spandsp/src > -I/usr/src/ > freeswitch/libs/tiff-4.0.2/**libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC > -I/usr/inclu > de -I/usr/src/freeswitch/libs/**libedit/src -DSWITCH_HAVE_LIBEDIT > -I/usr/src/frees > witch/libs/curl/include -I/usr/src/freeswitch/src/**include > -I/usr/src/freeswitch/ > src/include -I/usr/src/freeswitch/libs/**libteletone/src -fPIC -Werror > -fvisibilit > y=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall > -std=c99 - > pedantic -Wdeclaration-after-statement -g -O2 -MT > libfreeswitch_la-switch_core_s > qldb.lo -MD -MP -MF .deps/libfreeswitch_la-switch_**core_sqldb.Tpo -c > src/switch_c > ore_sqldb.c -fPIC -DPIC -o .libs/libfreeswitch_la-switch_**core_sqldb.o > cc1: warnings being treated as errors > src/switch_core_sqldb.c: In function 'switch_user_sql_thread': > src/switch_core_sqldb.c:1399: error: format '%ld' expects type 'long int', > but a > rgument 8 has type 'switch_size_t' > make[1]: *** [libfreeswitch_la-switch_core_**sqldb.lo] error 1 > make: *** [all] error 2 > > Can you help please? > thanks. > > --------------- > Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: > http://www.blindi.net/callback > homepage: http://www.blindi.net > blinde-misc mailingliste f?r blinde. anmeldung unter: > http://www.blindi.net/mailman/**listinfo/blinde-misc > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/cd1a1657/attachment.html From vipkilla at gmail.com Wed Oct 10 18:42:42 2012 From: vipkilla at gmail.com (Vik Killa) Date: Wed, 10 Oct 2012 10:42:42 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT Message-ID: Testing HA using sofia recover on latest GIT (e1fe289) and it appears the 'sofia recover' no longer works correctly. Following this tutorial (which I wrote and know worked on previous GIT version) http://wiki.freeswitch.org/wiki/Freeswitch_HA#Floating_IP_method_on_Debian_Squeeze The calls appear to be recovered when 'sofia recover' is used but there is no audio and if one party hangs up, the other leg is not terminated. Could anyone out there test and verify the 'sofia recover' is not working in latest GIT? Thanks From msc at freeswitch.org Wed Oct 10 19:55:49 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Oct 2012 08:55:49 -0700 Subject: [Freeswitch-users] FreeSWITCH Conference Call Today Message-ID: Hello folks, Today's conference call agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2012_10_10 Ken Rice is going to be leading us in a discussion on how to gather data for troubleshooting and reporting on Jira. It should be very informative and will be good knowledge to spread amongst the community and especially for those who are new to FreeSWITCH. Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/8413d6af/attachment.html From andrew at cassidywebservices.co.uk Wed Oct 10 19:58:59 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Wed, 10 Oct 2012 16:58:59 +0100 Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: <1349868542.38122.YahooMailNeo@web160803.mail.bf1.yahoo.com> References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> <1349868542.38122.YahooMailNeo@web160803.mail.bf1.yahoo.com> Message-ID: Does this not do the trick? http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones Plays ringing tones (implying early media) if the remote channel is confirmed ringing and does not have early media. Unless I'm reading that wrong. On 10 October 2012 12:29, Mick Stevens wrote: > Hi Michael & Co, > > Now with traces attached... > > The customer is 86.166.113.42, FreeSWITCH is 85.133.61.23x & the Carrier > is 125.236.36.3 > > Basically the carrier sends us a 180 without SDP (FreeSWITCH-Carrier > Trace.pcap, packet 3...) which we transit back to the customer > (Customer-FreeSWITCH Trace.pcap, packet 7). > > Is there a away we can modify our response upon receipt of the 180 without > SDP to send a 180/183 with SDP? > > P.S. I made a couple of quick test calls to replicate this & I think I may > have sent the customer leg of one & the carrier leg of the other (duh, > sorry, only noticed this when I merged the traces together & the packets > appears out of sequence). But the nos & principles involved are the same, > hence the two files... > > Any help much appreciated. > > Rgds, Mick > > > ------------------------------ > *From:* Michael Collins > *To:* FreeSWITCH Users Help > *Sent:* Monday, 8 October 2012, 21:32 > *Subject:* Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt > of a 180 without SDP > > Hi Mick, > > What is the call flow in this case? I'm curious to know what call legs > exist and where the 180/183 is and is not happening. FreeSWITCH generally > does all this for you, so I suspect there's a gremlin in the works. Can you > pastebin a console debug log w/ SIP trace? That may give the gang here just > enough information to figure out what's going on. > > Thanks, > MC > > On Mon, Oct 8, 2012 at 2:26 AM, Mick Stevens wrote: > > Hi Folks, > > Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with > SDP upon receipt of a 180 without SDP? > > Unless I'm being stupid (quite possible) I couldn't find an answer to this > on the wiki, although lots around early media (I don't really want to > resort to generating ringing for every call, in case the callee is > genuinely engaged/busy for example). > > The context behind my enquiry is that I send traffic to another SIP > carrier that then hands the traffic off at ISUP. Where the ISUP carrier > sends back an ACM with a backward call indicator of "subscriber free" the > carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback > tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). > > Any help much appreciated! > > Rgds, Mick > Tel/SMS. +44(0)7967 594432 > Fax. +44(0)7053 452429 > Email/IM. mickstevens at yahoo.com > Skype: mick_stevens > www.facebook.com/mickstevens > www.twitter.com/mickstevens > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > -- *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/20121010/05ad9aff/attachment-0001.html From krice at freeswitch.org Wed Oct 10 21:03:54 2012 From: krice at freeswitch.org (Ken Rice) Date: Wed, 10 Oct 2012 12:03:54 -0500 Subject: [Freeswitch-users] Weekly FreeSWITCH Community Conf call about to kick off Message-ID: Hey Guys, Be sure to join us for the weekly community conf call today. We?ll be getting started in the next 10 minutes or so... Join us at sip:888 at conference.freeswitch.org or 919-386-9900 via the PSTN or via the many other ways... -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/3fe58203/attachment.html From anthony.minessale at gmail.com Wed Oct 10 21:38:19 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 12:38:19 -0500 Subject: [Freeswitch-users] src/switch_pgsql.c / etc In-Reply-To: References: Message-ID: PG native support was added and is still being tested. Other DB types still need ODBC On Wed, Oct 10, 2012 at 2:16 AM, Gerald Weber wrote: > Hi,**** > > ** ** > > looking through the commits on github, i noticed a lot of new postgresql > / database stuff.**** > > My questions:**** > > Dou you plan a general interface / api to add other database systems like > (oracle, mssql, etc) ?**** > > Do you plan to support bind variables / prepared statements (important for > security and performance )**** > > ** ** > > Thx**** > > gw**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/26c369f2/attachment.html From anthony.minessale at gmail.com Wed Oct 10 21:47:37 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 12:47:37 -0500 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: I dont have 2 boxes labbed up but doing it on one box works fine. You are saying it worked one revision before the one you quoted? Why are you posting what you think is a bug on the mailing list instead of jira? You have been here for years, I am sure you must have seen one of the 2000 pleads.. On Wed, Oct 10, 2012 at 9:42 AM, Vik Killa wrote: > Testing HA using sofia recover on latest GIT (e1fe289) and it appears > the 'sofia recover' no longer works correctly. > Following this tutorial (which I wrote and know worked on previous GIT > version) > > http://wiki.freeswitch.org/wiki/Freeswitch_HA#Floating_IP_method_on_Debian_Squeeze > > The calls appear to be recovered when 'sofia recover' is used but > there is no audio and if one party hangs up, the other leg is not > terminated. Could anyone out there test and verify the 'sofia recover' > is not working in latest GIT? > > Thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/d681b29e/attachment.html From anthony.minessale at gmail.com Wed Oct 10 21:51:09 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 12:51:09 -0500 Subject: [Freeswitch-users] IMPORTANT NOTICE REGARDING ISSUES Message-ID: Just a reminder: If you start to compose an email to this list and you consider using the word crash, bug or issue in the header, STOP and file a Jira http://jira.freeswitch.org There are actually people who monitor Jira with the specific intent to help you. Digging in the list for problems and discussing them over vanilla email threads is very hard. -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/4c698857/attachment.html From freeswitch at earthspike.net Wed Oct 10 21:56:26 2012 From: freeswitch at earthspike.net (John) Date: Wed, 10 Oct 2012 18:56:26 +0100 Subject: [Freeswitch-users] Help with Tainted Message In-Reply-To: References: Message-ID: <5075B6CA.8030506@earthspike.net> It's called a crash and you should file a Jira. See the following message sent a few moments ago: Date: Wed, 10 Oct 2012 12:51:09 -0500 Message-ID: From: Anthony Minessale To: Freeswitch-users Subject: [Freeswitch-users] IMPORTANT NOTICE REGARDING ISSUES John On 10/10/12 03:37, Luis Jimenez wrote: > Hello, FS users, can you help understand this message, it happens to > my server and hangs everything, i had to hard reboot the server to > login, any help will be appreciated. > > Thanks in advance > Luis Jimenez > > > Oct 9 20:27:51 localhost kernel: [6605999.794317] Pid: 7273, comm: > freeswitch Tainted: G W 2.6.32-5-amd64 #1 PowerEdge R710 > > Oct 9 20:27:51 localhost kernel: [6605999.794364] RIP: > 0010:[] [] > find_busiest_group+0x97a/0xa4e > > Oct 9 20:27:51 localhost kernel: [6605999.794418] RSP: > 0018:ffff88022d083968 EFLAGS: 00010006 > > Oct 9 20:27:51 localhost kernel: [6605999.794445] RAX: > 0000000000100000 RBX: 0000000000100000 RCX: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794489] RDX: > 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794533] RBP: > 0000000000000400 R08: 000000000000000a R09: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794578] R10: > 0000000000000000 R11: 00000000000186a0 R12: ffff880008d4fa20 > > Oct 9 20:27:51 localhost kernel: [6605999.794622] R13: > ffff880008d4fae0 R14: 0000000000015700 R15: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794667] FS: > 00007fa1362dd700(0000) GS:ffff880008d40000(0000) knlGS:0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794713] CS: 0010 DS: 0000 > ES: 0000 CR0: 000000008005003b > > Oct 9 20:27:51 localhost kernel: [6605999.794741] CR2: > 00007fafb0031580 CR3: 000000021903b000 CR4: 00000000000006e0 > > Oct 9 20:27:51 localhost kernel: [6605999.794785] DR0: > 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.799741] DR3: > 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > > Oct 9 20:27:51 localhost kernel: [6605999.799785] Process freeswitch > (pid: 7273, threadinfo ffff88022d082000, task ffff8801c6c4aa60) > > Oct 9 20:27:51 localhost kernel: [6605999.799852] 0000000000015788 > 0000000000015780 0000000000000008 0000000000015780 > > Oct 9 20:27:51 localhost kernel: [6605999.799888] <0> > 0000000000015780 0000000000015780 ffff88022aed8000 ffff88022aed8558 > > Oct 9 20:27:51 localhost kernel: [6605999.799942] <0> > ffff88022d243400 ffff88022aed85c8 ffff8800adeb03a8 ffff880008d4f9e0 > > Oct 9 20:27:51 localhost kernel: [6605999.800039] > [] ? schedule+0x2b3/0x7b4 > > Oct 9 20:27:51 localhost kernel: [6605999.800070] > [] ? futex_wait_queue_me+0xa4/0xbd > > Oct 9 20:27:51 localhost kernel: [6605999.800100] > [] ? futex_wait+0x145/0x291 > > Oct 9 20:27:51 localhost kernel: [6605999.800130] > [] ? autoremove_wake_function+0x0/0x2e > > Oct 9 20:27:51 localhost kernel: [6605999.800160] > [] ? futex_wait+0x2/0x291 > > Oct 9 20:27:51 localhost kernel: [6605999.800188] > [] ? do_futex+0x9d/0x995 > > Oct 9 20:27:51 localhost kernel: [6605999.800217] > [] ? sys_futex+0x113/0x131 > > Oct 9 20:27:51 localhost kernel: [6605999.800247] > [] ? sys_poll+0x47/0xb2 > > Oct 9 20:27:51 localhost kernel: [6605999.800276] > [] ? system_call_fastpath+0x16/0x1b > > Oct 9 20:27:51 localhost kernel: [6605999.800555] RSP > > Oct 9 20:27:51 localhost kernel: [6605999.800899] ---[ end trace > b17260e2d05b16de ]--- > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/832a94c5/attachment-0001.html From daniel.eiland at gmail.com Wed Oct 10 21:57:38 2012 From: daniel.eiland at gmail.com (Daniel Eiland) Date: Wed, 10 Oct 2012 13:57:38 -0400 Subject: [Freeswitch-users] Reject incoming call (namely session) on conference member limit In-Reply-To: <20121009192426.7983cd0f@mail.tritonwest.net> References: <20121009192426.7983cd0f@mail.tritonwest.net> Message-ID: Awesome thanks, just the direction I needed. Still trying to understand the dial plan and everything else. For anyone else wondering, I created the following dial plan conditions and it seems to do the trick: -Daniel On Tue, Oct 9, 2012 at 3:24 PM, Dave R. Kompel wrote: > ** > Check out the wiki to see the conference API, check the count of members > on a conference using that API from the dialplan, and if it's at the max > then use Application=respond, data=486, to blow off the call with a busy. > > Sorry I don't have the details for you, but I wanted to point you in the > right direction ASAP. > > --Dave > > ------------------------------ > *From:* Daniel Eiland [mailto:daniel.eiland at gmail.com] > *To:* freeswitch-users at lists.freeswitch.org > *Sent:* Tue, 09 Oct 2012 11:27:12 -0700 > *Subject:* [Freeswitch-users] Reject incoming call (namely session) on > conference member limit > > > Hey folks, > > I was poking around the mod_conference settings and saw that I can limit > the maximum members in a conference (via the max-members parameter). > However, once this limit is reached, the next incoming call is still > answered and played a tone (designated via max-members-sound) before it is > simply hung-up. > > In the SIP world, this looks like an INVITE-200-ACK sequence followed by a > BYE-200 sequence. Is there anyway I can skip the BYE-200 sequence and > simply reject the call outright with say a 486 response to the INVITE? > > Thanks, > Daniel > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/f45bf8cf/attachment.html From shahzad.bhatti at g-r-v.com Wed Oct 10 21:59:07 2012 From: shahzad.bhatti at g-r-v.com (Shahzad Bhatti) Date: Wed, 10 Oct 2012 22:59:07 +0500 Subject: [Freeswitch-users] esl is not working in browser Message-ID: Hi Everybody, i am trying to use esl through my browser but unable to while my same script is running from console my test.php code is as follows: *test.php* * * *connected()) $result = "Connected"; else $result = "unable to connect";* * * *echo "This is a message: ".$result;* * * *?>* * * when i execute the above script from console it output* This is a message: Connected *but when i hit the page from browser then output is *This is a message: unable to connect.* i also try *chmod 777 test.php *to ensure that there is no permission issue and also use host as 0.0.0.0 , 127.0.0.1. and also check after restart appache and even reboot my machine i am using *CentOS 6.3 *and freeswitch version is* **FreeSWITCH Version 1.3.0+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z)* and also view the appache error log and freeswitch log but not find any thing in it regarding this problem. my event_socket.conf and acl.conf is default no change in it. help me to know why this is not working, and your response is appreciated. Regards, Shahzad Bhtti. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/277eda0e/attachment.html From anthony.minessale at gmail.com Wed Oct 10 22:02:39 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 13:02:39 -0500 Subject: [Freeswitch-users] esl is not working in browser In-Reply-To: References: Message-ID: It comes with a .so file that is loaded, I doubt you can use it from your browser. On Wed, Oct 10, 2012 at 12:59 PM, Shahzad Bhatti wrote: > Hi Everybody, > > i am trying to use esl through my browser but unable to while my same > script is running from console my test.php code is as follows: > > *test.php* > * > * > * * > * > *require_once('ESL.php');* > * > * > *$command = "originate > {ignore_early_media=true,origination_caller_id_number=1111}sofia/internal/1000%192.168.0.21 > &park()";* > *$sock = new ESLconnection('localhost', '8021', 'ClueCon');* > *if($sock->connected()) $result = "Connected"; else $result = > "unable to connect";* > * > * > *echo "This is a message: ".$result;* > * > * > *?>* > * > * > when i execute the above script from console it output* This is a > message: Connected *but when i hit the page from browser then output is *This > is a message: unable to connect.* > i also try *chmod 777 test.php *to ensure that there is no permission > issue and also use host as 0.0.0.0 , 127.0.0.1. > and also check after restart appache and even reboot my machine > i am using *CentOS 6.3 *and freeswitch version is* **FreeSWITCH Version > 1.3.0+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z)* > and also view the appache error log and freeswitch log but not find any > thing in it regarding this problem. > my event_socket.conf and acl.conf is default no change in it. > > help me to know why this is not working, and your response is appreciated. > > Regards, > > Shahzad Bhtti. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/2d2a6517/attachment.html From gmaruzz at gmail.com Wed Oct 10 22:14:57 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 10 Oct 2012 20:14:57 +0200 Subject: [Freeswitch-users] Help with Tainted Message In-Reply-To: <5075B6CA.8030506@earthspike.net> References: <5075B6CA.8030506@earthspike.net> Message-ID: http://wiki.freeswitch.org/wiki/Reporting_Bugs On Wed, Oct 10, 2012 at 7:56 PM, John wrote: > It's called a crash and you should file a Jira. See the following message > sent a few moments ago: > > Date: Wed, 10 Oct 2012 12:51:09 -0500 > Message-ID: > > From: Anthony Minessale > To: Freeswitch-users > Subject: [Freeswitch-users] IMPORTANT NOTICE REGARDING ISSUES > > John > > > On 10/10/12 03:37, Luis Jimenez wrote: > > Hello, FS users, can you help understand this message, it happens to my > server and hangs everything, i had to hard reboot the server to login, any > help will be appreciated. > > Thanks in advance > Luis Jimenez > > > Oct 9 20:27:51 localhost kernel: [6605999.794317] Pid: 7273, comm: > freeswitch Tainted: G W 2.6.32-5-amd64 #1 PowerEdge R710 > > Oct 9 20:27:51 localhost kernel: [6605999.794364] RIP: > 0010:[] [] > find_busiest_group+0x97a/0xa4e > > Oct 9 20:27:51 localhost kernel: [6605999.794418] RSP: > 0018:ffff88022d083968 EFLAGS: 00010006 > > Oct 9 20:27:51 localhost kernel: [6605999.794445] RAX: 0000000000100000 > RBX: 0000000000100000 RCX: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794489] RDX: 0000000000000000 > RSI: 0000000000000400 RDI: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794533] RBP: 0000000000000400 > R08: 000000000000000a R09: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794578] R10: 0000000000000000 > R11: 00000000000186a0 R12: ffff880008d4fa20 > > Oct 9 20:27:51 localhost kernel: [6605999.794622] R13: ffff880008d4fae0 > R14: 0000000000015700 R15: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794667] FS: > 00007fa1362dd700(0000) GS:ffff880008d40000(0000) knlGS:0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.794713] CS: 0010 DS: 0000 ES: > 0000 CR0: 000000008005003b > > Oct 9 20:27:51 localhost kernel: [6605999.794741] CR2: 00007fafb0031580 > CR3: 000000021903b000 CR4: 00000000000006e0 > > Oct 9 20:27:51 localhost kernel: [6605999.794785] DR0: 0000000000000000 > DR1: 0000000000000000 DR2: 0000000000000000 > > Oct 9 20:27:51 localhost kernel: [6605999.799741] DR3: 0000000000000000 > DR6: 00000000ffff0ff0 DR7: 0000000000000400 > > Oct 9 20:27:51 localhost kernel: [6605999.799785] Process freeswitch (pid: > 7273, threadinfo ffff88022d082000, task ffff8801c6c4aa60) > > Oct 9 20:27:51 localhost kernel: [6605999.799852] 0000000000015788 > 0000000000015780 0000000000000008 0000000000015780 > > Oct 9 20:27:51 localhost kernel: [6605999.799888] <0> 0000000000015780 > 0000000000015780 ffff88022aed8000 ffff88022aed8558 > > Oct 9 20:27:51 localhost kernel: [6605999.799942] <0> ffff88022d243400 > ffff88022aed85c8 ffff8800adeb03a8 ffff880008d4f9e0 > > Oct 9 20:27:51 localhost kernel: [6605999.800039] [] ? > schedule+0x2b3/0x7b4 > > Oct 9 20:27:51 localhost kernel: [6605999.800070] [] ? > futex_wait_queue_me+0xa4/0xbd > > Oct 9 20:27:51 localhost kernel: [6605999.800100] [] ? > futex_wait+0x145/0x291 > > Oct 9 20:27:51 localhost kernel: [6605999.800130] [] ? > autoremove_wake_function+0x0/0x2e > > Oct 9 20:27:51 localhost kernel: [6605999.800160] [] ? > futex_wait+0x2/0x291 > > Oct 9 20:27:51 localhost kernel: [6605999.800188] [] ? > do_futex+0x9d/0x995 > > Oct 9 20:27:51 localhost kernel: [6605999.800217] [] ? > sys_futex+0x113/0x131 > > Oct 9 20:27:51 localhost kernel: [6605999.800247] [] ? > sys_poll+0x47/0xb2 > > Oct 9 20:27:51 localhost kernel: [6605999.800276] [] ? > system_call_fastpath+0x16/0x1b > > Oct 9 20:27:51 localhost kernel: [6605999.800555] RSP > > Oct 9 20:27:51 localhost kernel: [6605999.800899] ---[ end trace > b17260e2d05b16de ]--- > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From vipkilla at gmail.com Wed Oct 10 22:39:04 2012 From: vipkilla at gmail.com (Vik Killa) Date: Wed, 10 Oct 2012 14:39:04 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: I just tested on 1 box with GIT a7cb382 It appeared to recover the calls but no audio was transmitted and once one leg hung up the other was not terminated. I posted on here just to see if others could replicate the problem in order to verify it may be a bug. On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale wrote: > I dont have 2 boxes labbed up but doing it on one box works fine. > You are saying it worked one revision before the one you quoted? > > Why are you posting what you think is a bug on the mailing list instead of > jira? > You have been here for years, I am sure you must have seen one of the 2000 > pleads.. > From anthony.minessale at gmail.com Wed Oct 10 22:50:08 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 13:50:08 -0500 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: I was able to make a call and fail and recover it 5 times in a row with latest GIT HEAD. On Wed, Oct 10, 2012 at 1:39 PM, Vik Killa wrote: > I just tested on 1 box with GIT a7cb382 > It appeared to recover the calls but no audio was transmitted and once > one leg hung up the other was not terminated. I posted on here just to > see if others could replicate the problem in order to verify it may be > a bug. > > On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale > wrote: > > I dont have 2 boxes labbed up but doing it on one box works fine. > > You are saying it worked one revision before the one you quoted? > > > > Why are you posting what you think is a bug on the mailing list instead > of > > jira? > > You have been here for years, I am sure you must have seen one of the > 2000 > > pleads.. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/c2c1d839/attachment.html From vipkilla at gmail.com Wed Oct 10 23:02:23 2012 From: vipkilla at gmail.com (Vik Killa) Date: Wed, 10 Oct 2012 15:02:23 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: Strange, I wonder if it's related to my Debian install. I'll try on CentOS 6.3 On Wed, Oct 10, 2012 at 2:50 PM, Anthony Minessale wrote: > I was able to make a call and fail and recover it 5 times in a row with > latest GIT HEAD. > From darcy at Vex.Net Wed Oct 10 23:34:45 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Wed, 10 Oct 2012 15:34:45 -0400 Subject: [Freeswitch-users] Controlling the caller ID Message-ID: <20121010153445.265fb7a7@dilbert> I have Google and the mailing list but so far no joy. Basically all I want to do is prevent users from setting their own caller ID and name. From the mailing list I saw something like this: And in the default dialplan: But this still sends the name and ID from the VoIP adapter. Am I missing something? Thanks for all help. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From nbhatti at gmail.com Wed Oct 10 23:53:01 2012 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Wed, 10 Oct 2012 22:53:01 +0300 Subject: [Freeswitch-users] esl is not working in browser In-Reply-To: References: Message-ID: <72CD4E24-D4A4-423F-94D5-194D25354BDC@gmail.com> Take a look at this http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation and once compiled, install it manually or make phpmod-install. Make sure ESL.so is loaded in your php.ini Thanks, -- Muhammad Naseer Bhatti On Oct 10, 2012, at 9:02 PM, Anthony Minessale wrote: > It comes with a .so file that is loaded, I doubt you can use it from your browser. > > > On Wed, Oct 10, 2012 at 12:59 PM, Shahzad Bhatti wrote: > Hi Everybody, > > i am trying to use esl through my browser but unable to while my same script is running from console my test.php code is as follows: > > test.php > > > require_once('ESL.php'); > > $command = "originate {ignore_early_media=true,origination_caller_id_number=1111}sofia/internal/1000%192.168.0.21 &park()"; > $sock = new ESLconnection('localhost', '8021', 'ClueCon'); > if($sock->connected()) $result = "Connected"; else $result = "unable to connect"; > > echo "This is a message: ".$result; > > ?> > > when i execute the above script from console it output This is a message: Connected but when i hit the page from browser then output is This is a message: unable to connect. > i also try chmod 777 test.php to ensure that there is no permission issue and also use host as 0.0.0.0 , 127.0.0.1. > and also check after restart appache and even reboot my machine > i am using CentOS 6.3 and freeswitch version is FreeSWITCH Version 1.3.0+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z) > and also view the appache error log and freeswitch log but not find any thing in it regarding this problem. > my event_socket.conf and acl.conf is default no change in it. > > help me to know why this is not working, and your response is appreciated. > > Regards, > > Shahzad Bhtti. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/bad71e35/attachment-0001.html From vipkilla at gmail.com Wed Oct 10 23:54:53 2012 From: vipkilla at gmail.com (Vik Killa) Date: Wed, 10 Oct 2012 15:54:53 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: Tried on CentOS 6.3 GIT-9bbee35 Still a no go... I'll double check my config... On Wed, Oct 10, 2012 at 3:02 PM, Vik Killa wrote: > Strange, I wonder if it's related to my Debian install. I'll try on CentOS 6.3 > > On Wed, Oct 10, 2012 at 2:50 PM, Anthony Minessale > wrote: >> I was able to make a call and fail and recover it 5 times in a row with >> latest GIT HEAD. >> From anthony.minessale at gmail.com Wed Oct 10 23:58:12 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 14:58:12 -0500 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: maybe post a full debug console trace On Wed, Oct 10, 2012 at 2:54 PM, Vik Killa wrote: > Tried on CentOS 6.3 GIT-9bbee35 > Still a no go... I'll double check my config... > > > On Wed, Oct 10, 2012 at 3:02 PM, Vik Killa wrote: > > Strange, I wonder if it's related to my Debian install. I'll try on > CentOS 6.3 > > > > On Wed, Oct 10, 2012 at 2:50 PM, Anthony Minessale > > wrote: > >> I was able to make a call and fail and recover it 5 times in a row with > >> latest GIT HEAD. > >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/97dd8035/attachment.html From mickstevens at yahoo.com Wed Oct 10 20:39:52 2012 From: mickstevens at yahoo.com (Mick Stevens) Date: Wed, 10 Oct 2012 09:39:52 -0700 (PDT) Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> <1349868542.38122.YahooMailNeo@web160803.mail.bf1.yahoo.com> Message-ID: <1349887192.70522.YahooMailNeo@web160801.mail.bf1.yahoo.com> Hi Andrew, Many thanks for the prompt response. Unfortunately it's this bit I don't want: "Note that this may cause undesirable effects, like ringing for 3 seconds that turns into a busy signal." ? Rgds, Mick Tel/SMS. +44(0)7967 594432 Fax. +44(0)7053 452429 Email/IM. mickstevens at yahoo.com Skype: mick_stevens www.facebook.com/mickstevens www.twitter.com/mickstevens ________________________________ From: Andrew Cassidy To: FreeSWITCH Users Help Sent: Wednesday, 10 October 2012, 16:58 Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP Does this not do the trick??http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones Plays ringing tones (implying early media) if the remote channel is confirmed ringing and does not have early media. Unless I'm reading that wrong. On 10 October 2012 12:29, Mick Stevens wrote: Hi Michael & Co, > > >Now with traces attached... > > >The customer is 86.166.113.42, FreeSWITCH is 85.133.61.23x & the Carrier is 125.236.36.3 > > >Basically the carrier sends us a 180 without SDP (FreeSWITCH-Carrier Trace.pcap, packet 3...) which we transit back to the customer (Customer-FreeSWITCH Trace.pcap, packet 7). > > >Is there a away we can modify our response upon receipt of the 180 without SDP to send a 180/183 with SDP? > > >Any help much appreciated. > > >Rgds, Mick > > >? > >________________________________ > From: Michael Collins >To: FreeSWITCH Users Help >Sent: Monday, 8 October 2012, 21:32 >Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP > > >Hi Mick, > >What is the call flow in this case? I'm curious to know what call legs exist and where the 180/183 is and is not happening. FreeSWITCH generally does all this for you, so I suspect there's a gremlin in the works. Can you pastebin a console debug log w/ SIP trace? That may give the gang here just enough information to figure out what's going on. > >Thanks, >MC > > >On Mon, Oct 8, 2012 at 2:26 AM, Mick Stevens wrote: > >Hi Folks, >> >> >>Does anybody know a way I can get FreeSWITCH to generate a 180 or 183 with SDP upon receipt of a 180 without SDP? >> >> >>Unless I'm being stupid (quite possible) I couldn't find an answer to this on the wiki, although lots around early media (I don't really want to resort to generating ringing for every call, in case the callee is genuinely engaged/busy for example). >> >> >>The context behind my enquiry is that I send traffic to another SIP carrier that then hands the traffic off at ISUP. Where the ISUP carrier sends back an ACM with a backward call indicator of "subscriber free" the carrier sends a 180 without SDP to me/FreeSWITCH assuming that any ringback tones will be generated by the SIP user agent (RFC 3398 blah, blah, blah). >> >> >>Any help much appreciated! >>? >>Rgds, Mick >>Tel/SMS. +44(0)7967 594432 >>Fax. +44(0)7053 452429 >> >>Email/IM. mickstevens at yahoo.com >>Skype: mick_stevens >>www.facebook.com/mickstevens >>www.twitter.com/mickstevens >> >>_________________________________________________________________________ >>Professional FreeSWITCH Consulting Services: >>consulting at freeswitch.org >>http://www.freeswitchsolutions.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 >> >> > > >-- >Michael S Collins >Twitter: @mercutioviz >http://www.FreeSWITCH.org >http://www.ClueCon.com >http://www.OSTAG.org > > > >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.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://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 > > -- Andrew Cassidy BSc (Hons) MBCS SSCA Managing Director T?03300 100 960? F?03300 100 961 E?andrew at cassidywebservices.co.uk W?www.cassidywebservices.co.uk _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://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/20121010/ada30ed5/attachment-0001.html From jnvines at gmail.com Wed Oct 10 23:40:52 2012 From: jnvines at gmail.com (Nick Vines) Date: Wed, 10 Oct 2012 15:40:52 -0400 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: <20121010153445.265fb7a7@dilbert> References: <20121010153445.265fb7a7@dilbert> Message-ID: I ran into a similar problem and setting origination_caller_id name and number fixed it for me. http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number On Wed, Oct 10, 2012 at 3:34 PM, D'Arcy J.M. Cain wrote: > I have Google and the mailing list but so far no joy. Basically all I > want to do is prevent users from setting their own caller ID and name. > >From the mailing list I saw something like this: > > > > > > > > > > value="4165551212"/> value="User Name"/> value="4165551212"/> > > > And in the default dialplan: > > > > > data="effective_caller_id_number=${outbound_caller_id_number}"/> > data="effective_caller_id_name=${outbound_caller_id_name}"/> > > > > > > But this still sends the name and ID from the VoIP adapter. Am I > missing something? > > Thanks for all help. > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/1c85c3b8/attachment.html From 2chris.flor at gmail.com Wed Oct 10 22:57:03 2012 From: 2chris.flor at gmail.com (Chris Flor) Date: Wed, 10 Oct 2012 11:57:03 -0700 Subject: [Freeswitch-users] RubySIPPers Release Message-ID: Hey, We pushed RubySIPPers, the phone testing framework built on top of SIPP that Dave Olszewski introduced on ClueCon. You can get it here: https://github.com/2cflor/RubySIPPers Give it a try. Feedback is very welcome! Cheers, Chris >From the README: SIPp is a great tool for testing the SIP protocol. However, it can be difficult and error-prone to construct and maintain complex scenarios. RubySIPPers is a framework built on top of SIPp which allows you to concisely express the real scenario you are trying to test, and will coordinate multiple endpoints. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/1a22f920/attachment.html From sdevoy at bizfocused.com Thu Oct 11 00:10:00 2012 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 10 Oct 2012 16:10:00 -0400 Subject: [Freeswitch-users] redundant configuration questions Message-ID: <05c101cda723$3a8f5ba0$afae12e0$@bizfocused.com> Hi All, I haven't been able to search and find an answer or suggestion to this specific redundant server question. Sorry if it has been answered and I did not see it. My VOIP Provider allows for multiple endpoints by priority (aka primary and backup FS Servers). This works fine for getting inbound calls routed to my backup FS Server when Synapse Global is searching for the cause of my outage for 3 hours!!! However, none of the users phones are registered to this server. For my most demanding customer, I can route to his answering service on the PSTN. But, how do I get the phones to switch to the backup server and get on with life? Here are the ideas I have had so far. At least on my Linksys and Cisco phones and ATAs, I can specify DNS servers. Setting the PHONES DNS server to MY DNS server, I can eliminate the delay in changing a DNS Name/ Address mapping required for timeout and propagation. Changing DNS entries is thus immediate for the phones. Then we just have the clients ALL reboot their phones. Of course I realize this make my DNS server a single point of failure! Is there a cleaner approach? I have read up on SRV and it is clear as MUD. Do I just have to learn more about it? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/bcea9a0a/attachment.html From msc at freeswitch.org Thu Oct 11 00:12:02 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Oct 2012 13:12:02 -0700 Subject: [Freeswitch-users] Reject incoming call (namely session) on conference member limit In-Reply-To: References: <20121009192426.7983cd0f@mail.tritonwest.net> Message-ID: Thank you sooo much for reporting back what you did. Any chance you can put this on the wiki? If you need any assistance ping me off list. -MC On Wed, Oct 10, 2012 at 10:57 AM, Daniel Eiland wrote: > Awesome thanks, just the direction I needed. Still trying to understand > the dial plan and everything else. > > For anyone else wondering, I created the following dial plan conditions > and it seems to do the trick: > > > break="on-false"> > data="member_count=${conference( $1 get count)}"/> > data="member_limit=${sofia_gateway_data( $1 var member_limit)}"/> > > > > > > > > > > > > -Daniel > > > > On Tue, Oct 9, 2012 at 3:24 PM, Dave R. Kompel wrote: > >> ** >> Check out the wiki to see the conference API, check the count of members >> on a conference using that API from the dialplan, and if it's at the max >> then use Application=respond, data=486, to blow off the call with a busy. >> >> Sorry I don't have the details for you, but I wanted to point you in the >> right direction ASAP. >> >> --Dave >> >> ------------------------------ >> *From:* Daniel Eiland [mailto:daniel.eiland at gmail.com] >> *To:* freeswitch-users at lists.freeswitch.org >> *Sent:* Tue, 09 Oct 2012 11:27:12 -0700 >> *Subject:* [Freeswitch-users] Reject incoming call (namely session) on >> conference member limit >> >> >> Hey folks, >> >> I was poking around the mod_conference settings and saw that I can limit >> the maximum members in a conference (via the max-members parameter). >> However, once this limit is reached, the next incoming call is still >> answered and played a tone (designated via max-members-sound) before it is >> simply hung-up. >> >> In the SIP world, this looks like an INVITE-200-ACK sequence followed by >> a BYE-200 sequence. Is there anyway I can skip the BYE-200 sequence and >> simply reject the call outright with say a 486 response to the INVITE? >> >> Thanks, >> Daniel >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/48300a1c/attachment-0001.html From msc at freeswitch.org Thu Oct 11 00:23:31 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Oct 2012 13:23:31 -0700 Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: <1349887192.70522.YahooMailNeo@web160801.mail.bf1.yahoo.com> References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> <1349868542.38122.YahooMailNeo@web160803.mail.bf1.yahoo.com> <1349887192.70522.YahooMailNeo@web160801.mail.bf1.yahoo.com> Message-ID: On Wed, Oct 10, 2012 at 9:39 AM, Mick Stevens wrote: > Hi Andrew, > > Many thanks for the prompt response. > > Unfortunately it's this bit I don't want: > > "Note that this may cause undesirable effects, like ringing for 3 seconds > that turns into a busy signal." > I wonder how you can avoid that? Consider this scenario: You receive 180 w/o SDP from far end You send 183 w/SDP ringing to your client The far end now sends a 183 w/SDP that contains a busy signal? What do you do there? -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/5c45974e/attachment.html From msc at freeswitch.org Thu Oct 11 00:27:17 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Oct 2012 13:27:17 -0700 Subject: [Freeswitch-users] RubySIPPers Release In-Reply-To: References: Message-ID: Chris, Thanks for keeping us posted on this. Dave's presentation at CC12 was a nice precursor but it's always nice when something promised is actually released. Thanks! -MC On Wed, Oct 10, 2012 at 11:57 AM, Chris Flor <2chris.flor at gmail.com> wrote: > Hey, > > We pushed RubySIPPers, the phone testing framework built on top of SIPP > that Dave Olszewski introduced on ClueCon. You can get it here: > > https://github.com/2cflor/RubySIPPers > > Give it a try. Feedback is very welcome! > > Cheers, Chris > > > From the README: > > SIPp is a great tool for testing the SIP protocol. However, it can be > difficult and error-prone to construct and maintain complex scenarios. > > RubySIPPers is a framework built on top of SIPp which allows you to > concisely express the real scenario you are trying to test, and will > coordinate multiple endpoints. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/1ddd583e/attachment.html From darcy at Vex.Net Thu Oct 11 00:31:34 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Wed, 10 Oct 2012 16:31:34 -0400 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: References: <20121010153445.265fb7a7@dilbert> Message-ID: <20121010163134.5925e04a@dilbert> On Wed, 10 Oct 2012 15:40:52 -0400 Nick Vines wrote: > I ran into a similar problem and setting origination_caller_id name > and number fixed it for me. > > http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number Is that just a badly named variable? I am not worried about origination, only termination. Can you show me a more complete example? Where does this go? In the dialplan? The wiki is not very clear. it says to put this inside the {} brackets: originate {origination_caller_id_name='Caller Name',origination_caller_id_number=5551231234}sofia/gateway/test/1231231234 &park() But there is stuff outside the brackets. Are there other brackets that this is supposed to nest in? I have no "originate" keyword in my configs. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From msc at freeswitch.org Thu Oct 11 00:35:06 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 10 Oct 2012 13:35:06 -0700 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: <20121010163134.5925e04a@dilbert> References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> Message-ID: Can you restate your question? I think a lot of us got confused when you said that you're only worried about termination. Can you explain what you want without using FreeSWITCH-specific terminology? I think that will clear up the confusion. Thanks, MC On Wed, Oct 10, 2012 at 1:31 PM, D'Arcy J.M. Cain wrote: > On Wed, 10 Oct 2012 15:40:52 -0400 > Nick Vines wrote: > > I ran into a similar problem and setting origination_caller_id name > > and number fixed it for me. > > > > http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number > > Is that just a badly named variable? I am not worried about > origination, only termination. Can you show me a more complete > example? Where does this go? In the dialplan? The wiki is not very > clear. it says to put this inside the {} brackets: > > originate {origination_caller_id_name='Caller > Name',origination_caller_id_number=5551231234}sofia/gateway/test/1231231234 > &park() > > But there is stuff outside the brackets. Are there other brackets that > this is supposed to nest in? I have no "originate" keyword in my > configs. > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/21a0ec6d/attachment.html From mickstevens at yahoo.com Thu Oct 11 00:38:32 2012 From: mickstevens at yahoo.com (Mick Stevens) Date: Wed, 10 Oct 2012 13:38:32 -0700 (PDT) Subject: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP In-Reply-To: References: <1349688377.44803.YahooMailNeo@web160806.mail.bf1.yahoo.com> <1349786167.81075.YahooMailNeo@web160803.mail.bf1.yahoo.com> <1349868542.38122.YahooMailNeo@web160803.mail.bf1.yahoo.com> <1349887192.70522.YahooMailNeo@web160801.mail.bf1.yahoo.com> Message-ID: <1349901512.97977.YahooMailNeo@web160801.mail.bf1.yahoo.com> Michael et al, "I wonder how you can avoid that? Consider this scenario:" 1) You receive 180 w/o SDP from far end - Yes, agreed. 2) You send 183 w/SDP ringing to your client - Yes, that's what I want, how do I convert 1) into 2)!? :-) 3) The far end now sends a 183 w/SDP that contains a busy signal? - If I received a 183 w/SDP I would transit it as is, i.e. take no action. But that's not the problem, if I recvd a 183 w/SDP I would be a very happy man! :-) Rgds, Mick ________________________________ From: Michael Collins To: FreeSWITCH Users Help Sent: Wednesday, 10 October 2012, 21:23 Subject: Re: [Freeswitch-users] Generate 180/183 with SDP upon receipt of a 180 without SDP I wonder how you can avoid that? Consider this scenario: You receive 180 w/o SDP from far end You send 183 w/SDP ringing to your client The far end now sends a 183 w/SDP that contains a busy signal? What do you do there? -MC On Wed, Oct 10, 2012 at 9:39 AM, Mick Stevens wrote: Hi Andrew, > > >Many thanks for the prompt response. > > >Unfortunately it's this bit I don't want: > > >"Note that this may cause undesirable effects, like ringing for 3 seconds that turns into a busy signal." > I wonder how you can avoid that? Consider this scenario: You receive 180 w/o SDP from far end You send 183 w/SDP ringing to your client The far end now sends a 183 w/SDP that contains a busy signal? What do you do there? -MC _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121010/746ca187/attachment-0001.html From jnvines at gmail.com Thu Oct 11 00:45:57 2012 From: jnvines at gmail.com (Nick Vines) Date: Wed, 10 Oct 2012 16:45:57 -0400 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: <20121010163134.5925e04a@dilbert> References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> Message-ID: Already typed this, so maybe it'll be helpful. I had to use origination_caller_id_number to get the right number to show up on an incoming call from my gateway being bridged to an external device through my gateway. The bridge I am using is the longer line, but you could set it in a single line. Setting it in the bridge: Setting it prior to the bridge : On Wed, Oct 10, 2012 at 4:31 PM, D'Arcy J.M. Cain wrote: > On Wed, 10 Oct 2012 15:40:52 -0400 > Nick Vines wrote: > > I ran into a similar problem and setting origination_caller_id name > > and number fixed it for me. > > > > http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number > > Is that just a badly named variable? I am not worried about > origination, only termination. Can you show me a more complete > example? Where does this go? In the dialplan? The wiki is not very > clear. it says to put this inside the {} brackets: > > originate {origination_caller_id_name='Caller > Name',origination_caller_id_number=5551231234}sofia/gateway/test/1231231234 > &park() > > But there is stuff outside the brackets. Are there other brackets that > this is supposed to nest in? I have no "originate" keyword in my > configs. > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/c079cc08/attachment.html From dujinfang at gmail.com Thu Oct 11 02:09:30 2012 From: dujinfang at gmail.com (Seven Du) Date: Thu, 11 Oct 2012 06:09:30 +0800 Subject: [Freeswitch-users] src/switch_pgsql.c / etc In-Reply-To: References: Message-ID: <57CA663E11AD40C2AEEC15D971182731@gmail.com> just an idea, since difference database has difference syntax for connection string, would it be good to use a url like this? pgsql://user:pass at localhost:5432/db_name?encoding=UTF-8&other_var=val odbc://user:pass at dsn -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, October 11, 2012 at 1:38 AM, Anthony Minessale wrote: > PG native support was added and is still being tested. Other DB types still need ODBC > > On Wed, Oct 10, 2012 at 2:16 AM, Gerald Weber wrote: > > Hi, > > > > looking through the commits on github, i noticed a lot of new postgresql / database stuff. > > My questions: > > Dou you plan a general interface / api to add other database systems like (oracle, mssql, etc) ? > > Do you plan to support bind variables / prepared statements (important for security and performance ) > > > > Thx > > gw > > > > > > > > _________________________________________________________________________ > > 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://wiki.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 > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com (mailto:MSN%3Aanthony_minessale at hotmail.com) > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com (mailto:PAYPAL%3Aanthony.minessale at gmail.com) > IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org) > googletalk:conf+888 at conference.freeswitch.org (mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org) > pstn:+19193869900 > _________________________________________________________________________ > 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://wiki.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/20121011/0f45add4/attachment.html From anthony.minessale at gmail.com Thu Oct 11 02:13:54 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 10 Oct 2012 17:13:54 -0500 Subject: [Freeswitch-users] src/switch_pgsql.c / etc In-Reply-To: <57CA663E11AD40C2AEEC15D971182731@gmail.com> References: <57CA663E11AD40C2AEEC15D971182731@gmail.com> Message-ID: its pretty much like that now only its pgsql; and odbc; atm On Wed, Oct 10, 2012 at 5:09 PM, Seven Du wrote: > just an idea, since difference database has difference syntax for > connection string, would it be good to use a url like this? > > pgsql://user:pass at localhost:5432/db_name?encoding=UTF-8&other_var=val > > odbc://user:pass at dsn > > > -- > Seven Du > Sent with Sparrow > > On Thursday, October 11, 2012 at 1:38 AM, Anthony Minessale wrote: > > PG native support was added and is still being tested. Other DB types > still need ODBC > > On Wed, Oct 10, 2012 at 2:16 AM, Gerald Weber wrote: > > Hi,**** > > ** ** > > looking through the commits on github, i noticed a lot of new postgresql > / database stuff.**** > > My questions:**** > > Dou you plan a general interface / api to add other database systems like > (oracle, mssql, etc) ?**** > > Do you plan to support bind variables / prepared statements (important for > security and performance )**** > > ** ** > > Thx**** > > gw**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/42cef38b/attachment-0001.html From jaykris at gmail.com Thu Oct 11 01:31:36 2012 From: jaykris at gmail.com (JP) Date: Wed, 10 Oct 2012 14:31:36 -0700 Subject: [Freeswitch-users] How do I bridge-unbridge and then bridge again? In-Reply-To: References: Message-ID: Thanks, Here is the complete dialplan xml that did the trick for me. On Tue, Oct 9, 2012 at 4:42 PM, Michael Collins wrote: > What do you do for steps 1 and 2? Is the caller held with uuid_hold or > uuid_park or what? Most likely you'll need to store the uuid of the > caller's call leg in a channel variable and then perform a uuid_bridge back > to that uuid once the agent is done speaking to the supervisor. > > -MC > > On Tue, Oct 9, 2012 at 3:27 PM, JP wrote: > >> Hi, >> I want to do the following. >> 1. Caller is bridged to an agent. >> 2. Agent presses dtmf and is transferred to a supervisor while the caller >> is listening to MOH( achieved using "bind_meta_app"). >> 3. Now when the supervisor hangs-up, the agent should be bridged back to >> the caller. >> >> I am not able to find a simple way to do the third step. Any suggestions >> or ideas is greatly appreciated. >> >> Thanks, >> JP >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121010/43de783b/attachment.html From jaykris at gmail.com Thu Oct 11 01:49:56 2012 From: jaykris at gmail.com (JP) Date: Wed, 10 Oct 2012 14:49:56 -0700 Subject: [Freeswitch-users] Whisper coaching Message-ID: Has anyone implemented "Whisper Coaching" using FreeSWITCH? Basically I want to have a three way conference between caller, Agent and Supervisor. While the caller is talking to the Agent, the Supervisor can coach the agent which is not heard by the caller. Any suggestions or pointers is greatly appreciated. Thanks JP -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121010/55e5b05d/attachment.html From avi at avimarcus.net Thu Oct 11 02:32:47 2012 From: avi at avimarcus.net (Avi Marcus) Date: Thu, 11 Oct 2012 00:32:47 +0200 Subject: [Freeswitch-users] Whisper coaching In-Reply-To: References: Message-ID: Maybe: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop "press 2 to speak with the uuid" -- just make sure you're on the right one. Or abstract this out.. -Avi On Wed, Oct 10, 2012 at 11:49 PM, JP wrote: > Has anyone implemented "Whisper Coaching" using FreeSWITCH? Basically I > want to have a three way conference between caller, Agent and Supervisor. > While the caller is talking to the Agent, the Supervisor can coach the > agent which is not heard by the caller. Any suggestions or pointers is > greatly appreciated. > > Thanks > JP > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121011/412842a9/attachment.html From jaykris at gmail.com Thu Oct 11 02:40:15 2012 From: jaykris at gmail.com (JP) Date: Wed, 10 Oct 2012 15:40:15 -0700 Subject: [Freeswitch-users] Whisper coaching In-Reply-To: References: Message-ID: Thanks!! -JP On Wed, Oct 10, 2012 at 3:32 PM, Avi Marcus wrote: > Maybe: > > http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop > "press 2 to speak with the uuid" -- just make sure you're on the right > one. Or abstract this out.. > > -Avi > > > On Wed, Oct 10, 2012 at 11:49 PM, JP wrote: > >> Has anyone implemented "Whisper Coaching" using FreeSWITCH? Basically I >> want to have a three way conference between caller, Agent and Supervisor. >> While the caller is talking to the Agent, the Supervisor can coach the >> agent which is not heard by the caller. Any suggestions or pointers is >> greatly appreciated. >> >> Thanks >> JP >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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/20121010/e71aa465/attachment-0001.html From darcy at Vex.Net Thu Oct 11 06:43:38 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Wed, 10 Oct 2012 22:43:38 -0400 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> Message-ID: <20121010224338.2499a99e@dilbert> On Wed, 10 Oct 2012 13:35:06 -0700 Michael Collins wrote: > Can you restate your question? I think a lot of us got confused when > you said that you're only worried about termination. Can you explain > what you want without using FreeSWITCH-specific terminology? I think > that will clear up the confusion. I am not knowingly using FreeSWITCH terminology. I am using telco terminology. Termination is where I send calls from my clients out to the PSTN world. Origination is how the world calls me. It does seem backwards but that's how it is. http://en.wikipedia.org/wiki/Call_termination So, in my case I have clients who terminate with my switch and I pass that on to the PSTN network through my termination provider. My origination provider (happens to be the same company in this case) provides me with DIDs and originates calls to me that I pass on to my client. My question here concerns the former. It just occurred to me that I may have left out a relevant piece of information. I am in Canada and use a Canadian provider. Canada and the US use different methods for passing CNAME information. In the US there is a central database of numbers and carriers "dip" into it to get the information. In Canada each phone provider keeps their own database and passes the information through the network. So, here is my problem. My clients can send me any number and CNAME that they want and currently I pass it on. If someone misuses that they could cause the excrement to start rolling downhill and while I am not the final destination, handling shit is never fun. So, what I want to do is ignore the values that they send me and insert the actual phone number and the CNAME that is registered in my billing database for them. Does FreeSWITCH call that termination or origination? -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From krice at freeswitch.org Thu Oct 11 07:26:17 2012 From: krice at freeswitch.org (Ken Rice) Date: Wed, 10 Oct 2012 22:26:17 -0500 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: <20121010224338.2499a99e@dilbert> References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> <20121010224338.2499a99e@dilbert> Message-ID: termination is termination and origination is origination... just because out interconnect tech is primarily sip vs tdm (pots pri ss7 etc) the terminology does not change. as far as freeswitch controlling what clid is passed thru, that is up to how you configure freswitch. yes it can pass thru what the customer sends or it can block that and send something you have configured for the customer... for the later see the effective caller id name and number variables on the fs wiki. Ken Sent from my iPad On Oct 10, 2012, at 9:43 PM, "D'Arcy J.M. Cain" wrote: > On Wed, 10 Oct 2012 13:35:06 -0700 > Michael Collins wrote: >> Can you restate your question? I think a lot of us got confused when >> you said that you're only worried about termination. Can you explain >> what you want without using FreeSWITCH-specific terminology? I think >> that will clear up the confusion. > > I am not knowingly using FreeSWITCH terminology. I am using telco > terminology. Termination is where I send calls from my clients out to > the PSTN world. Origination is how the world calls me. It does seem > backwards but that's how it is. > > http://en.wikipedia.org/wiki/Call_termination > > So, in my case I have clients who terminate with my switch and I pass > that on to the PSTN network through my termination provider. My > origination provider (happens to be the same company in this case) > provides me with DIDs and originates calls to me that I pass on to my > client. My question here concerns the former. > > It just occurred to me that I may have left out a relevant piece of > information. I am in Canada and use a Canadian provider. Canada and > the US use different methods for passing CNAME information. In the US > there is a central database of numbers and carriers "dip" into it to > get the information. In Canada each phone provider keeps their own > database and passes the information through the network. > > So, here is my problem. My clients can send me any number and CNAME > that they want and currently I pass it on. If someone misuses that > they could cause the excrement to start rolling downhill and while I am > not the final destination, handling shit is never fun. > > So, what I want to do is ignore the values that they send me and insert > the actual phone number and the CNAME that is registered in my billing > database for them. Does FreeSWITCH call that termination or > origination? > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From miha at softnet.si Thu Oct 11 10:46:05 2012 From: miha at softnet.si (Miha) Date: Thu, 11 Oct 2012 08:46:05 +0200 Subject: [Freeswitch-users] Realm and problems Message-ID: <50766B2D.1050103@softnet.si> Hi, now I was having connected on FS Linksys phones, panasonic, innovaphone and few cable/optical modem which were having also sip options. From all user-agents registrations/calls are working. Few days ago I got new optical modem for testing (if it will be ok we will buy it). I noticed that modem register ok, but when I try to call I get from FS forbidden. I noticed that realm was a problem. When I change to auto_to I was able to call. I did a quick test on different user agents and I did not noticed any problems. Is it wise to do that or may this resolve any other problems (call forwards, etc,...)? Thanks for explanation! Regards, Miha From avi at avimarcus.net Thu Oct 11 12:58:24 2012 From: avi at avimarcus.net (Avi Marcus) Date: Thu, 11 Oct 2012 10:58:24 +0200 Subject: [Freeswitch-users] Controlling the caller ID In-Reply-To: References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> <20121010224338.2499a99e@dilbert> Message-ID: As Ken said... before the bridge you can set the effective_caller_id_number and effective_caller_id_name. Depending on your gateway, however, it will want the caller ID passed a different way. Many want it in the FROM in the invite. In the gateway: Authentication - you can set "caller-id-in-from" to be true. For any other CID type, you can change it in the channel: Channel_Variables#Caller_ID_Related, specifically: Variable_sip_cid_type -Avi On Thu, Oct 11, 2012 at 5:26 AM, Ken Rice wrote: > termination is termination and origination is origination... just because > out interconnect tech is primarily sip vs tdm (pots pri ss7 etc) the > terminology does not change. > > > as far as freeswitch controlling what clid is passed thru, that is up to > how you configure freswitch. yes it can pass thru what the customer sends > or it can block that and send something you have configured for the > customer... for the later see the effective caller id name and number > variables on the fs wiki. > > Ken > Sent from my iPad > > On Oct 10, 2012, at 9:43 PM, "D'Arcy J.M. Cain" wrote: > > > On Wed, 10 Oct 2012 13:35:06 -0700 > > Michael Collins wrote: > >> Can you restate your question? I think a lot of us got confused when > >> you said that you're only worried about termination. Can you explain > >> what you want without using FreeSWITCH-specific terminology? I think > >> that will clear up the confusion. > > > > I am not knowingly using FreeSWITCH terminology. I am using telco > > terminology. Termination is where I send calls from my clients out to > > the PSTN world. Origination is how the world calls me. It does seem > > backwards but that's how it is. > > > > http://en.wikipedia.org/wiki/Call_termination > > > > So, in my case I have clients who terminate with my switch and I pass > > that on to the PSTN network through my termination provider. My > > origination provider (happens to be the same company in this case) > > provides me with DIDs and originates calls to me that I pass on to my > > client. My question here concerns the former. > > > > It just occurred to me that I may have left out a relevant piece of > > information. I am in Canada and use a Canadian provider. Canada and > > the US use different methods for passing CNAME information. In the US > > there is a central database of numbers and carriers "dip" into it to > > get the information. In Canada each phone provider keeps their own > > database and passes the information through the network. > > > > So, here is my problem. My clients can send me any number and CNAME > > that they want and currently I pass it on. If someone misuses that > > they could cause the excrement to start rolling downhill and while I am > > not the final destination, handling shit is never fun. > > > > So, what I want to do is ignore the values that they send me and insert > > the actual phone number and the CNAME that is registered in my billing > > database for them. Does FreeSWITCH call that termination or > > origination? > > > > -- > > D'Arcy J.M. Cain > > System Administrator, Vex.Net > > http://www.Vex.Net/ IM:darcy at Vex.Net > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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/20121011/e2820a6f/attachment.html From vipkilla at gmail.com Thu Oct 11 16:43:54 2012 From: vipkilla at gmail.com (Vik Killa) Date: Thu, 11 Oct 2012 08:43:54 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: Full debug console trace: http://pastebin.freeswitch.org/20059 On Wed, Oct 10, 2012 at 3:58 PM, Anthony Minessale wrote: > maybe post a full debug console trace > > From vipkilla at gmail.com Thu Oct 11 16:48:03 2012 From: vipkilla at gmail.com (Vik Killa) Date: Thu, 11 Oct 2012 08:48:03 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: This is trace after i run 'sofia recover' in console. Also the BYE Is from the caller (cell phone), even as I'm writing this, the Polycom (Ext. 2000, called party) is still active as if it's on a call. > Full debug console trace: > http://pastebin.freeswitch.org/20059 > From vipkilla at gmail.com Thu Oct 11 17:53:51 2012 From: vipkilla at gmail.com (Vik Killa) Date: Thu, 11 Oct 2012 09:53:51 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: Also, I tested on 1.2.3 (94664868a8) and it works fine. On Thu, Oct 11, 2012 at 8:48 AM, Vik Killa wrote: > This is trace after i run 'sofia recover' in console. Also the BYE Is > from the caller (cell phone), even as I'm writing this, the Polycom > (Ext. 2000, called party) is still active as if it's on a call. >> Full debug console trace: >> http://pastebin.freeswitch.org/20059 >> From anthony.minessale at gmail.com Thu Oct 11 18:17:56 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 11 Oct 2012 09:17:56 -0500 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: Can you meet me on IRC and let me debug that from ssh on your box? I need to add some debugging info to determine the problem. I do not have this problem on my lab. On Thu, Oct 11, 2012 at 8:53 AM, Vik Killa wrote: > Also, I tested on 1.2.3 (94664868a8) and it works fine. > > On Thu, Oct 11, 2012 at 8:48 AM, Vik Killa wrote: > > This is trace after i run 'sofia recover' in console. Also the BYE Is > > from the caller (cell phone), even as I'm writing this, the Polycom > > (Ext. 2000, called party) is still active as if it's on a call. > >> Full debug console trace: > >> http://pastebin.freeswitch.org/20059 > >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/5c9e5b8d/attachment.html From darcy at Vex.Net Thu Oct 11 18:34:17 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Thu, 11 Oct 2012 10:34:17 -0400 Subject: [Freeswitch-users] Controlling the caller ID (Solved) In-Reply-To: References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> <20121010224338.2499a99e@dilbert> Message-ID: <20121011103417.042b5b63@dilbert> On Wed, 10 Oct 2012 22:26:17 -0500 Ken Rice wrote: > termination is termination and origination is origination... just > because out interconnect tech is primarily sip vs tdm (pots pri ss7 > etc) the terminology does not change. Cool. I am so glad to hear that FS got that right. People seem to get confused. One provider talks about "inbound" and "outbound" to reduce their user's confusion but that's like saying "left" and "right" on a ship. It depends on which direction you are looking. > as far as freeswitch controlling what clid is passed thru, that is up > to how you configure freswitch. yes it can pass thru what the > customer sends or it can block that and send something you have > configured for the customer... for the later see the effective caller > id name and number variables on the fs wiki. Yes, I did that and it still left me with some questions. I know that I may sound knowledgeable about some of these things but when it comes to the FreeSWITCH package itself I am a rank amateur so please bear with me while I describe my understanding in excruciating detail to make sure that I have it right. Here is an actual (sanitized) directory entry. Here is my (again, sanitized) dialplan. So, just before sending this message I decided to test one more time and realized that the reason this didn't seem to work was that the cell phone I was testing with had my office number in the contacts and was displaying that name rather than the CNAME. I changed the number (416-555-1212) and it sent that number and displayed the proper CNAME. I decided to send this message anyway to help future mailing list searchers with a working example as well as pointing out a possible testing gotcha. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From avi at avimarcus.net Thu Oct 11 18:39:24 2012 From: avi at avimarcus.net (Avi Marcus) Date: Thu, 11 Oct 2012 16:39:24 +0200 Subject: [Freeswitch-users] Controlling the caller ID (Solved) In-Reply-To: <20121011103417.042b5b63@dilbert> References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> <20121010224338.2499a99e@dilbert> <20121011103417.042b5b63@dilbert> Message-ID: ... doesn't do anything. You're just setting a variable to the same variable. The use for this kind of thing is specifying outbound_name and outbound_number in addition to an internal_name and internal_number to use different caller ID if you make an intra-office call as opposed to calling outside. -Avi On Thu, Oct 11, 2012 at 4:34 PM, D'Arcy J.M. Cain wrote: > On Wed, 10 Oct 2012 22:26:17 -0500 > Ken Rice wrote: > > > termination is termination and origination is origination... just > > because out interconnect tech is primarily sip vs tdm (pots pri ss7 > > etc) the terminology does not change. > > Cool. I am so glad to hear that FS got that right. People seem to get > confused. One provider talks about "inbound" and "outbound" to > reduce their user's confusion but that's like saying "left" and "right" > on a ship. It depends on which direction you are looking. > > > as far as freeswitch controlling what clid is passed thru, that is up > > to how you configure freswitch. yes it can pass thru what the > > customer sends or it can block that and send something you have > > configured for the customer... for the later see the effective caller > > id name and number variables on the fs wiki. > > Yes, I did that and it still left me with some questions. I know that > I may sound knowledgeable about some of these things but when it comes > to the FreeSWITCH package itself I am a rank amateur so please bear with > me while I describe my understanding in excruciating detail to make sure > that I have it right. > > Here is an actual (sanitized) directory entry. > > > > > > > > > > > > > > > > > Here is my (again, sanitized) dialplan. > > > > > data="effective_caller_id_number=${effective_caller_id_number}"/> > data="effective_caller_id_name=${effective_caller_id_name}"/> > > > > > > So, just before sending this message I decided to test one more time > and realized that the reason this didn't seem to work was that the cell > phone I was testing with had my office number in the contacts and was > displaying that name rather than the CNAME. I changed the number > (416-555-1212) and it sent that number and displayed the proper CNAME. > I decided to send this message anyway to help future mailing list > searchers with a working example as well as pointing out a possible > testing gotcha. > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121011/cd2299f6/attachment-0001.html From darcy at Vex.Net Thu Oct 11 19:47:44 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Thu, 11 Oct 2012 11:47:44 -0400 Subject: [Freeswitch-users] Controlling the caller ID (Solved) In-Reply-To: References: <20121010153445.265fb7a7@dilbert> <20121010163134.5925e04a@dilbert> <20121010224338.2499a99e@dilbert> <20121011103417.042b5b63@dilbert> Message-ID: <20121011114744.3ea644ea@dilbert> On Thu, 11 Oct 2012 16:39:24 +0200 Avi Marcus wrote: > data="effective_caller_id_number=${effective_caller_id_number}"/> > ... doesn't do anything. You're just setting a variable to the same > variable. I wondered about that but hadn't got around to testing it. So now my dialplan is; and that works. So it looks like FreeSWITCH does the right thing out of the box and my problem was a testing issue only. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From shahzad.bhatti at g-r-v.com Thu Oct 11 19:51:10 2012 From: shahzad.bhatti at g-r-v.com (Shahzad Bhatti) Date: Thu, 11 Oct 2012 20:51:10 +0500 Subject: [Freeswitch-users] esl is not working in browser Message-ID: Thanks Muhammad Naseer Bhatti for the reply, i follow the procedure but unable to localte the problem why browser is not working with ESL, i have check phpinfo() and esl is there, and one more thing i also install on my other machine there its working, with the same procedure but when i try to another machine same problem is also there. i want to know the exact reason why ESL is not working on my machine as i test on other system where it works but not on my machine. and the main thing is ESL is working on console but not working in browser. any reply will be appreciated. Regards Shahzad Bhatti. On Thu, Oct 11, 2012 at 12:53 AM, < freeswitch-users-request at lists.freeswitch.org> 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: sofia recover not working in latest GIT (Vik Killa) > 2. Re: sofia recover not working in latest GIT (Anthony Minessale) > 3. Re: sofia recover not working in latest GIT (Vik Killa) > 4. Controlling the caller ID (D'Arcy J.M. Cain) > 5. Re: esl is not working in browser (Muhammad Naseer Bhatti) > > > ---------- Forwarded message ---------- > From: Vik Killa > To: FreeSWITCH Users Help > Cc: > Date: Wed, 10 Oct 2012 14:39:04 -0400 > Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT > I just tested on 1 box with GIT a7cb382 > It appeared to recover the calls but no audio was transmitted and once > one leg hung up the other was not terminated. I posted on here just to > see if others could replicate the problem in order to verify it may be > a bug. > > On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale > wrote: > > I dont have 2 boxes labbed up but doing it on one box works fine. > > You are saying it worked one revision before the one you quoted? > > > > Why are you posting what you think is a bug on the mailing list instead > of > > jira? > > You have been here for years, I am sure you must have seen one of the > 2000 > > pleads.. > > > > > > > ---------- Forwarded message ---------- > From: Anthony Minessale > To: FreeSWITCH Users Help > Cc: > Date: Wed, 10 Oct 2012 13:50:08 -0500 > Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT > I was able to make a call and fail and recover it 5 times in a row with > latest GIT HEAD. > > > > On Wed, Oct 10, 2012 at 1:39 PM, Vik Killa wrote: > >> I just tested on 1 box with GIT a7cb382 >> It appeared to recover the calls but no audio was transmitted and once >> one leg hung up the other was not terminated. I posted on here just to >> see if others could replicate the problem in order to verify it may be >> a bug. >> >> On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale >> wrote: >> > I dont have 2 boxes labbed up but doing it on one box works fine. >> > You are saying it worked one revision before the one you quoted? >> > >> > Why are you posting what you think is a bug on the mailing list instead >> of >> > jira? >> > You have been here for years, I am sure you must have seen one of the >> 2000 >> > pleads.. >> > >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > ---------- Forwarded message ---------- > From: Vik Killa > To: FreeSWITCH Users Help > Cc: > Date: Wed, 10 Oct 2012 15:02:23 -0400 > Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT > Strange, I wonder if it's related to my Debian install. I'll try on CentOS > 6.3 > > On Wed, Oct 10, 2012 at 2:50 PM, Anthony Minessale > wrote: > > I was able to make a call and fail and recover it 5 times in a row with > > latest GIT HEAD. > > > > > > > ---------- Forwarded message ---------- > From: "D'Arcy J.M. Cain" > To: FreeSWITCH Users Help > Cc: > Date: Wed, 10 Oct 2012 15:34:45 -0400 > Subject: [Freeswitch-users] Controlling the caller ID > I have Google and the mailing list but so far no joy. Basically all I > want to do is prevent users from setting their own caller ID and name. > From the mailing list I saw something like this: > > > > > > > > > > value="4165551212"/> value="User Name"/> value="4165551212"/> > > > And in the default dialplan: > > > > > data="effective_caller_id_number=${outbound_caller_id_number}"/> > data="effective_caller_id_name=${outbound_caller_id_name}"/> > > > > > > But this still sends the name and ID from the VoIP adapter. Am I > missing something? > > Thanks for all help. > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > > > > > ---------- Forwarded message ---------- > From: Muhammad Naseer Bhatti > To: FreeSWITCH Users Help > Cc: > Date: Wed, 10 Oct 2012 22:53:01 +0300 > Subject: Re: [Freeswitch-users] esl is not working in browser > > Take a look at this > http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation and > once compiled, install it manually or make phpmod-install. Make sure ESL.so > is loaded in your php.ini > > Thanks, > -- > Muhammad Naseer Bhatti > > > > On Oct 10, 2012, at 9:02 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > It comes with a .so file that is loaded, I doubt you can use it from your > browser. > > > On Wed, Oct 10, 2012 at 12:59 PM, Shahzad Bhatti > wrote: > >> Hi Everybody, >> >> i am trying to use esl through my browser but unable to while my same >> script is running from console my test.php code is as follows: >> >> *test.php* >> * >> * >> *> * >> * >> *require_once('ESL.php');* >> * >> * >> *$command = "originate >> {ignore_early_media=true,origination_caller_id_number=1111}sofia/internal/1000%192.168.0.21 >> &park()";* >> *$sock = new ESLconnection('localhost', '8021', 'ClueCon');* >> *if($sock->connected()) $result = "Connected"; else $result = >> "unable to connect";* >> * >> * >> *echo "This is a message: ".$result;* >> * >> * >> *?>* >> * >> * >> when i execute the above script from console it output* This is a >> message: Connected *but when i hit the page from browser then output is *This >> is a message: unable to connect.* >> i also try *chmod 777 test.php *to ensure that there is no permission >> issue and also use host as 0.0.0.0 , 127.0.0.1. >> and also check after restart appache and even reboot my machine >> i am using *CentOS 6.3 *and freeswitch version is* **FreeSWITCH Version >> 1.3.0+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z)* >> and also view the appache error log and freeswitch log but not find any >> thing in it regarding this problem. >> my event_socket.conf and acl.conf is default no change in it. >> >> help me to know why this is not working, and your response is appreciated. >> >> Regards, >> >> Shahzad Bhtti. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/af00500e/attachment-0001.html From philq at qsystemsengineering.com Thu Oct 11 20:30:43 2012 From: philq at qsystemsengineering.com (Phil Quesinberry) Date: Thu, 11 Oct 2012 12:30:43 -0400 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? Message-ID: <020b01cda7cd$c59c1fd0$50d45f70$@com> Any input at all on this problem? I realize that since many have been reluctant to file a Jira when they should have done so, the knee-jerk reaction has been to force everyone to do it if there's even a hint of a problem and I'll be happy to file one, but it would be nice to at least find out if anyone else is experiencing the same problem first before potentially wasting everyone's time doing so. Additionally, any hints/pointers from someone more knowledgeable on how to start tracking this problem down would be great, as there is no trace info for XMPP/Jabber listed on the console by default or at all and little documentation so I'm pretty clueless as to where to start, other than trying to figure it out with tcpdump/Wireshark. To me at least, this functionality could be likened to a black-box that's built in to FS. I was able to block out some time yesterday to "attend" the FS conference and it was quite informative, so a big thank you to those who made that possible. I'd really love to see more like this, especially advanced troubleshooting topics covered in detail. Thanks, - Phil _____________________________________________ From: Phil Quesinberry [mailto:philq at qsystemsengineering.com] Sent: Wednesday, October 10, 2012 12:35 AM To: 'freeswitch-users at lists.freeswitch.org' Subject: Problems with GV/mod_dingaling on latest stable version? I seem to have lost the ability to dial out via Google Voice on the latest stable version of FS. Is anyone else having this problem or could this possibly be related to the fact that I recently enabled TLS on profile Internal? I don't use it very often but it's handy to have available. Any ideas? Here's a short snippet of info from the console when the call was placed: 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1629 Don't have my audio codec yet here's one 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1675 Don't have video codec. 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1686 Send Describe [PCMU at 8000] 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:4055 using Existing session for 4654131323 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:1675 Don't have video codec. 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:1686 Send Describe [PCMU at 8000] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send rtp Candidate mypbxdomain.com:30536 [SgJi84it8jJU4Thf] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send rtcp Candidate mypbxdomain.com:30537 [jXCuyH5i8GuihYyO] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send video_rtp Candidate mypbxdomain.com:30538 [UOkj8Ty7HjUsELPw] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send video_rtcp Candidate mypbxdomain.com:30539 [fjSU4YUTk84Tymoa] 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1565 Accepted 0 of 0 rtp candidates. 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1567 Accepted 0 of 0 rtcp candidates. 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1570 Accepted 0 of 0 video_rtp candidates 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1573 Accepted 0 of 0 video_rctp candidates 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4055 using Existing session for 4654131323 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4373 hungup dingaling/gtalk/+14105552368 at voice.google.com 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:801 Terminate called from line 4374 state=CS_INIT 2012-10-09 23:41:39.609921 [DEBUG] switch_channel.c:2950 (dingaling/gtalk/+14105552368 at voice.google.com) Callstate Change DOWN -> HANGUP 2012-10-09 23:41:39.609921 [NOTICE] mod_dingaling.c:826 Hangup dingaling/gtalk/+14105552368 at voice.google.com [CS_INIT] [NORMAL_CLEARING] 2012-10-09 23:41:39.609921 [DEBUG] switch_channel.c:2973 Send signal dingaling/gtalk/+14105552368 at voice.google.com [KILL] 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/+14105552368 at voice.google.com CHANNEL KILL 2012-10-09 23:41:39.609921 [DEBUG] switch_core_session.c:1210 Send signal dingaling/gtalk/+14105552368 at voice.google.com [BREAK] 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/+14105552368 at voice.google.com CHANNEL KILL 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4375 End Call 2012-10-09 23:41:39.609921 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING] 2012-10-09 23:41:39.609921 [INFO] mod_dptools.c:3027 Originate Failed. Cause: NORMAL_CLEARING Version info: FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) Regards, Phil Quesinberry Q Systems Engineering, Inc. Electronic Controls and Embedded Systems Development (410) 969-8002 http://www.qsystemsengineering.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/b4b2a1bf/attachment.html From asilva at wirelessmundi.com Thu Oct 11 20:52:08 2012 From: asilva at wirelessmundi.com (Antonio) Date: Thu, 11 Oct 2012 18:52:08 +0200 Subject: [Freeswitch-users] Can't compile latest git Message-ID: <1349974328.12921.30.camel@marces.madrid.commsmundi.com> Can't compile lastest HEAD.... -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c /home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c -o mod_json_cdr.o >/dev/null 2>&1 Creating mod_json_cdr.la... make[6]: Leaving directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr' make[5]: Leaving directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr' making all mod_snmp make[5]: Entering directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp' make[6]: Entering directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp' Compiling subagent.c... subagent.c:36:38: error: net-snmp/net-snmp-config.h: No such file or directory subagent.c:37:40: error: net-snmp/net-snmp-includes.h: No such file or directory subagent.c:38:52: error: net-snmp/agent/net-snmp-agent-includes.h: No such file or directory In file included from subagent.c:39: subagent.h:106: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?handle_identity? subagent.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?handle_systemStats? subagent.h:108: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?handle_channelList? subagent.c:41: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token subagent.c:42: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token subagent.c:43: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token subagent.c: In function ?channelList_callback?: subagent.c:69: error: ?netsnmp_tdata_row? undeclared (first use in this function) subagent.c:69: error: (Each undeclared identifier is reported only once subagent.c:69: error: for each function it appears in.) subagent.c:69: error: ?row? undeclared (first use in this function) cc1: warnings being treated as errors subagent.c:73: error: implicit declaration of function ?netsnmp_tdata_create_row? subagent.c:111: error: implicit declaration of function ?netsnmp_tdata_row_add_index? subagent.c:111: error: ?ASN_INTEGER? undeclared (first use in this function) subagent.c:112: error: implicit declaration of function ?netsnmp_tdata_add_row? subagent.c:112: error: ?ch_table? undeclared (first use in this function) subagent.c: At top level: subagent.c:117: error: expected ?)? before ?*? token subagent.c:130: error: expected ?)? before ?*? token subagent.c: In function ?init_subagent?: subagent.c:154: error: ISO C forbids nested functions subagent.c:154: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?identity_oid? subagent.c:154: error: ?identity_oid? undeclared (first use in this function) subagent.c:154: error: expected expression before ?]? token subagent.c:155: error: ISO C forbids nested functions subagent.c:155: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?systemStats_oid? subagent.c:155: error: ISO C90 forbids mixed declarations and code subagent.c:155: error: ?systemStats_oid? undeclared (first use in this function) subagent.c:155: error: expected expression before ?]? token subagent.c:156: error: ISO C forbids nested functions subagent.c:156: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?channelList_oid? subagent.c:156: error: ISO C90 forbids mixed declarations and code subagent.c:156: error: ?channelList_oid? undeclared (first use in this function) subagent.c:156: error: expected expression before ?]? token subagent.c:158: error: implicit declaration of function ?DEBUGMSGTL? subagent.c:158: error: left-hand operand of comma expression has no effect subagent.c:160: error: implicit declaration of function ?netsnmp_register_scalar_group? subagent.c:160: error: implicit declaration of function ?netsnmp_create_handler_registration? subagent.c:160: error: ?handle_identity? undeclared (first use in this function) subagent.c:160: error: implicit declaration of function ?OID_LENGTH? subagent.c:160: error: ?HANDLER_CAN_RONLY? undeclared (first use in this function) subagent.c:161: error: ?handle_systemStats? undeclared (first use in this function) subagent.c:163: error: ?ch_table_info? undeclared (first use in this function) subagent.c:163: error: ?netsnmp_table_registration_info? undeclared (first use in this function) subagent.c:164: error: implicit declaration of function ?netsnmp_table_helper_add_indexes? subagent.c:164: error: ?ASN_INTEGER? undeclared (first use in this function) subagent.c:167: error: ?ch_table? undeclared (first use in this function) subagent.c:167: error: implicit declaration of function ?netsnmp_tdata_create_table? subagent.c:168: error: ?ch_reginfo? undeclared (first use in this function) subagent.c:168: error: ?handle_channelList? undeclared (first use in this function) subagent.c:169: error: implicit declaration of function ?netsnmp_tdata_register? subagent.c:170: error: implicit declaration of function ?netsnmp_inject_handler? subagent.c:170: error: implicit declaration of function ?netsnmp_get_cache_handler? subagent.c:170: error: ?channelList_load? undeclared (first use in this function) subagent.c:170: error: ?channelList_free? undeclared (first use in this function) subagent.c: At top level: subagent.c:174: error: expected ?)? before ?*? token subagent.c:209: error: expected ?)? before ?*? token subagent.c:276: error: expected ?)? before ?*? token make[6]: *** [subagent.o] Error 1 -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/0d7a9e88/attachment-0001.html From saeedahmad1981 at gmail.com Thu Oct 11 20:54:05 2012 From: saeedahmad1981 at gmail.com (Saeed Ahmed) Date: Thu, 11 Oct 2012 18:54:05 +0200 Subject: [Freeswitch-users] esl is not working in browser In-Reply-To: References: Message-ID: disabling selinux should do the trick. On Thu, Oct 11, 2012 at 5:51 PM, Shahzad Bhatti wrote: > Thanks Muhammad Naseer Bhatti for the reply, > > i follow the procedure but unable to localte the problem why browser is > not working with ESL, i have check phpinfo() and esl is there, and one more > thing i also install on my other machine there its working, with the same > procedure but when i try to another machine same problem is also there. i > want to know the exact reason why ESL is not working on my machine as i > test on other system where it works but not on my machine. > > and the main thing is ESL is working on console but not working in browser. > > any reply will be appreciated. > > Regards > > Shahzad Bhatti. > > > On Thu, Oct 11, 2012 at 12:53 AM, < > freeswitch-users-request at lists.freeswitch.org> 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: sofia recover not working in latest GIT (Vik Killa) >> 2. Re: sofia recover not working in latest GIT (Anthony Minessale) >> 3. Re: sofia recover not working in latest GIT (Vik Killa) >> 4. Controlling the caller ID (D'Arcy J.M. Cain) >> 5. Re: esl is not working in browser (Muhammad Naseer Bhatti) >> >> >> ---------- Forwarded message ---------- >> From: Vik Killa >> To: FreeSWITCH Users Help >> Cc: >> Date: Wed, 10 Oct 2012 14:39:04 -0400 >> Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT >> I just tested on 1 box with GIT a7cb382 >> It appeared to recover the calls but no audio was transmitted and once >> one leg hung up the other was not terminated. I posted on here just to >> see if others could replicate the problem in order to verify it may be >> a bug. >> >> On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale >> wrote: >> > I dont have 2 boxes labbed up but doing it on one box works fine. >> > You are saying it worked one revision before the one you quoted? >> > >> > Why are you posting what you think is a bug on the mailing list instead >> of >> > jira? >> > You have been here for years, I am sure you must have seen one of the >> 2000 >> > pleads.. >> > >> >> >> >> >> ---------- Forwarded message ---------- >> From: Anthony Minessale >> To: FreeSWITCH Users Help >> Cc: >> Date: Wed, 10 Oct 2012 13:50:08 -0500 >> Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT >> I was able to make a call and fail and recover it 5 times in a row with >> latest GIT HEAD. >> >> >> >> On Wed, Oct 10, 2012 at 1:39 PM, Vik Killa wrote: >> >>> I just tested on 1 box with GIT a7cb382 >>> It appeared to recover the calls but no audio was transmitted and once >>> one leg hung up the other was not terminated. I posted on here just to >>> see if others could replicate the problem in order to verify it may be >>> a bug. >>> >>> On Wed, Oct 10, 2012 at 1:47 PM, Anthony Minessale >>> wrote: >>> > I dont have 2 boxes labbed up but doing it on one box works fine. >>> > You are saying it worked one revision before the one you quoted? >>> > >>> > Why are you posting what you think is a bug on the mailing list >>> instead of >>> > jira? >>> > You have been here for years, I am sure you must have seen one of the >>> 2000 >>> > pleads.. >>> > >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> >> ---------- Forwarded message ---------- >> From: Vik Killa >> To: FreeSWITCH Users Help >> Cc: >> Date: Wed, 10 Oct 2012 15:02:23 -0400 >> Subject: Re: [Freeswitch-users] sofia recover not working in latest GIT >> Strange, I wonder if it's related to my Debian install. I'll try on >> CentOS 6.3 >> >> On Wed, Oct 10, 2012 at 2:50 PM, Anthony Minessale >> wrote: >> > I was able to make a call and fail and recover it 5 times in a row with >> > latest GIT HEAD. >> > >> >> >> >> >> ---------- Forwarded message ---------- >> From: "D'Arcy J.M. Cain" >> To: FreeSWITCH Users Help >> Cc: >> Date: Wed, 10 Oct 2012 15:34:45 -0400 >> Subject: [Freeswitch-users] Controlling the caller ID >> I have Google and the mailing list but so far no joy. Basically all I >> want to do is prevent users from setting their own caller ID and name. >> >From the mailing list I saw something like this: >> >> >> >> >> >> >> >> >> >> > value="4165551212"/> > value="User Name"/> > value="4165551212"/> >> >> >> And in the default dialplan: >> >> >> >> >> > data="effective_caller_id_number=${outbound_caller_id_number}"/> >> > data="effective_caller_id_name=${outbound_caller_id_name}"/> >> >> >> >> >> >> But this still sends the name and ID from the VoIP adapter. Am I >> missing something? >> >> Thanks for all help. >> >> -- >> D'Arcy J.M. Cain >> System Administrator, Vex.Net >> http://www.Vex.Net/ IM:darcy at Vex.Net >> >> >> >> >> >> ---------- Forwarded message ---------- >> From: Muhammad Naseer Bhatti >> To: FreeSWITCH Users Help >> Cc: >> Date: Wed, 10 Oct 2012 22:53:01 +0300 >> Subject: Re: [Freeswitch-users] esl is not working in browser >> >> Take a look at this >> http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation and >> once compiled, install it manually or make phpmod-install. Make sure ESL.so >> is loaded in your php.ini >> >> Thanks, >> -- >> Muhammad Naseer Bhatti >> >> >> >> On Oct 10, 2012, at 9:02 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >> It comes with a .so file that is loaded, I doubt you can use it from your >> browser. >> >> >> On Wed, Oct 10, 2012 at 12:59 PM, Shahzad Bhatti < >> shahzad.bhatti at g-r-v.com> wrote: >> >>> Hi Everybody, >>> >>> i am trying to use esl through my browser but unable to while my same >>> script is running from console my test.php code is as follows: >>> >>> *test.php* >>> * >>> * >>> *>> * >>> * >>> *require_once('ESL.php');* >>> * >>> * >>> *$command = "originate >>> {ignore_early_media=true,origination_caller_id_number=1111}sofia/internal/1000%192.168.0.21 >>> &park()";* >>> *$sock = new ESLconnection('localhost', '8021', 'ClueCon');* >>> *if($sock->connected()) $result = "Connected"; else $result = >>> "unable to connect";* >>> * >>> * >>> *echo "This is a message: ".$result;* >>> * >>> * >>> *?>* >>> * >>> * >>> when i execute the above script from console it output* This is a >>> message: Connected *but when i hit the page from browser then output is >>> *This is a message: unable to connect.* >>> i also try *chmod 777 test.php *to ensure that there is no permission >>> issue and also use host as 0.0.0.0 , 127.0.0.1. >>> and also check after restart appache and even reboot my machine >>> i am using *CentOS 6.3 *and freeswitch version is* **FreeSWITCH Version >>> 1.3.0+git~20121004T132926Z~3d57cbda98 (git 3d57cbd 2012-10-04 13:29:26Z) >>> * >>> and also view the appache error log and freeswitch log but not find any >>> thing in it regarding this problem. >>> my event_socket.conf and acl.conf is default no change in it. >>> >>> help me to know why this is not working, and your response is >>> appreciated. >>> >>> Regards, >>> >>> Shahzad Bhtti. >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> >> _______________________________________________ >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121011/a79a9090/attachment-0001.html From asilva at wirelessmundi.com Thu Oct 11 20:55:07 2012 From: asilva at wirelessmundi.com (Antonio) Date: Thu, 11 Oct 2012 18:55:07 +0200 Subject: [Freeswitch-users] Can't compile latest git In-Reply-To: <1349974328.12921.30.camel@marces.madrid.commsmundi.com> References: <1349974328.12921.30.camel@marces.madrid.commsmundi.com> Message-ID: <1349974507.12921.31.camel@marces.madrid.commsmundi.com> Please ignore. I found what was the problem... missing dev library... Thanks On Thu, 2012-10-11 at 18:52 +0200, Antonio wrote: > Can't compile lastest HEAD.... > > > -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement > -D_GNU_SOURCE -DHAVE_CONFIG_H > -c /home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c -o mod_json_cdr.o >/dev/null 2>&1 > Creating mod_json_cdr.la... > make[6]: Leaving directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr' > make[5]: Leaving directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr' > > making all mod_snmp > make[5]: Entering directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp' > make[6]: Entering directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp' > Compiling subagent.c... > subagent.c:36:38: error: net-snmp/net-snmp-config.h: No such file or > directory > subagent.c:37:40: error: net-snmp/net-snmp-includes.h: No such file or > directory > subagent.c:38:52: error: net-snmp/agent/net-snmp-agent-includes.h: No > such file or directory > In file included from subagent.c:39: > subagent.h:106: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?handle_identity? > subagent.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?handle_systemStats? > subagent.h:108: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?handle_channelList? > subagent.c:41: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?*? token > subagent.c:42: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?*? token > subagent.c:43: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?*? token > subagent.c: In function ?channelList_callback?: > subagent.c:69: error: ?netsnmp_tdata_row? undeclared (first use in > this function) > subagent.c:69: error: (Each undeclared identifier is reported only > once > subagent.c:69: error: for each function it appears in.) > subagent.c:69: error: ?row? undeclared (first use in this function) > cc1: warnings being treated as errors > subagent.c:73: error: implicit declaration of function > ?netsnmp_tdata_create_row? > subagent.c:111: error: implicit declaration of function > ?netsnmp_tdata_row_add_index? > subagent.c:111: error: ?ASN_INTEGER? undeclared (first use in this > function) > subagent.c:112: error: implicit declaration of function > ?netsnmp_tdata_add_row? > subagent.c:112: error: ?ch_table? undeclared (first use in this > function) > subagent.c: At top level: > subagent.c:117: error: expected ?)? before ?*? token > subagent.c:130: error: expected ?)? before ?*? token > subagent.c: In function ?init_subagent?: > subagent.c:154: error: ISO C forbids nested functions > subagent.c:154: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?identity_oid? > subagent.c:154: error: ?identity_oid? undeclared (first use in this > function) > subagent.c:154: error: expected expression before ?]? token > subagent.c:155: error: ISO C forbids nested functions > subagent.c:155: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?systemStats_oid? > subagent.c:155: error: ISO C90 forbids mixed declarations and code > subagent.c:155: error: ?systemStats_oid? undeclared (first use in this > function) > subagent.c:155: error: expected expression before ?]? token > subagent.c:156: error: ISO C forbids nested functions > subagent.c:156: error: expected ?=?, ?,?, ?;?, ?asm? or > ?__attribute__? before ?channelList_oid? > subagent.c:156: error: ISO C90 forbids mixed declarations and code > subagent.c:156: error: ?channelList_oid? undeclared (first use in this > function) > subagent.c:156: error: expected expression before ?]? token > subagent.c:158: error: implicit declaration of function ?DEBUGMSGTL? > subagent.c:158: error: left-hand operand of comma expression has no > effect > subagent.c:160: error: implicit declaration of function > ?netsnmp_register_scalar_group? > subagent.c:160: error: implicit declaration of function > ?netsnmp_create_handler_registration? > subagent.c:160: error: ?handle_identity? undeclared (first use in this > function) > subagent.c:160: error: implicit declaration of function ?OID_LENGTH? > subagent.c:160: error: ?HANDLER_CAN_RONLY? undeclared (first use in > this function) > subagent.c:161: error: ?handle_systemStats? undeclared (first use in > this function) > subagent.c:163: error: ?ch_table_info? undeclared (first use in this > function) > subagent.c:163: error: ?netsnmp_table_registration_info? undeclared > (first use in this function) > subagent.c:164: error: implicit declaration of function > ?netsnmp_table_helper_add_indexes? > subagent.c:164: error: ?ASN_INTEGER? undeclared (first use in this > function) > subagent.c:167: error: ?ch_table? undeclared (first use in this > function) > subagent.c:167: error: implicit declaration of function > ?netsnmp_tdata_create_table? > subagent.c:168: error: ?ch_reginfo? undeclared (first use in this > function) > subagent.c:168: error: ?handle_channelList? undeclared (first use in > this function) > subagent.c:169: error: implicit declaration of function > ?netsnmp_tdata_register? > subagent.c:170: error: implicit declaration of function > ?netsnmp_inject_handler? > subagent.c:170: error: implicit declaration of function > ?netsnmp_get_cache_handler? > subagent.c:170: error: ?channelList_load? undeclared (first use in > this function) > subagent.c:170: error: ?channelList_free? undeclared (first use in > this function) > subagent.c: At top level: > subagent.c:174: error: expected ?)? before ?*? token > subagent.c:209: error: expected ?)? before ?*? token > subagent.c:276: error: expected ?)? before ?*? token > make[6]: *** [subagent.o] Error 1 > > -- > > Un cordial saludo / Best regards, > > _________________________ > > Ant?nio Silva > > E-mail:asilva at wirelessmundi.com -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/5fa20729/attachment.html From krice at freeswitch.org Thu Oct 11 21:11:59 2012 From: krice at freeswitch.org (Ken Rice) Date: Thu, 11 Oct 2012 12:11:59 -0500 Subject: [Freeswitch-users] Can't compile latest git In-Reply-To: <1349974328.12921.30.camel@marces.madrid.commsmundi.com> Message-ID: You don?t have the snmp developer packages installed for net_snmp On 10/11/12 11:52 AM, "Antonio" wrote: > Can't compile lastest HEAD.... > > > -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE > -DHAVE_CONFIG_H -c > /home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_ha > ndlers/mod_json_cdr/mod_json_cdr.c -o mod_json_cdr.o >/dev/null 2>&1 > Creating mod_json_cdr.la... > make[6]: Leaving directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_h > andlers/mod_json_cdr' > make[5]: Leaving directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_h > andlers/mod_json_cdr' > > making all mod_snmp > make[5]: Entering directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_h > andlers/mod_snmp' > make[6]: Entering directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_h > andlers/mod_snmp' > Compiling subagent.c... > subagent.c:36:38: error: net-snmp/net-snmp-config.h: No such file or directory > subagent.c:37:40: error: net-snmp/net-snmp-includes.h: No such file or > directory > subagent.c:38:52: error: net-snmp/agent/net-snmp-agent-includes.h: No such > file or directory > In file included from subagent.c:39: > subagent.h:106: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?handle_identity? > subagent.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?handle_systemStats? > subagent.h:108: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?handle_channelList? > subagent.c:41: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?*? token > subagent.c:42: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?*? token > subagent.c:43: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?*? token > subagent.c: In function ?channelList_callback?: > subagent.c:69: error: ?netsnmp_tdata_row? undeclared (first use in this > function) > subagent.c:69: error: (Each undeclared identifier is reported only once > subagent.c:69: error: for each function it appears in.) > subagent.c:69: error: ?row? undeclared (first use in this function) > cc1: warnings being treated as errors > subagent.c:73: error: implicit declaration of function > ?netsnmp_tdata_create_row? > subagent.c:111: error: implicit declaration of function > ?netsnmp_tdata_row_add_index? > subagent.c:111: error: ?ASN_INTEGER? undeclared (first use in this function) > subagent.c:112: error: implicit declaration of function > ?netsnmp_tdata_add_row? > subagent.c:112: error: ?ch_table? undeclared (first use in this function) > subagent.c: At top level: > subagent.c:117: error: expected ?)? before ?*? token > subagent.c:130: error: expected ?)? before ?*? token > subagent.c: In function ?init_subagent?: > subagent.c:154: error: ISO C forbids nested functions > subagent.c:154: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?identity_oid? > subagent.c:154: error: ?identity_oid? undeclared (first use in this function) > subagent.c:154: error: expected expression before ?]? token > subagent.c:155: error: ISO C forbids nested functions > subagent.c:155: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?systemStats_oid? > subagent.c:155: error: ISO C90 forbids mixed declarations and code > subagent.c:155: error: ?systemStats_oid? undeclared (first use in this > function) > subagent.c:155: error: expected expression before ?]? token > subagent.c:156: error: ISO C forbids nested functions > subagent.c:156: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before > ?channelList_oid? > subagent.c:156: error: ISO C90 forbids mixed declarations and code > subagent.c:156: error: ?channelList_oid? undeclared (first use in this > function) > subagent.c:156: error: expected expression before ?]? token > subagent.c:158: error: implicit declaration of function ?DEBUGMSGTL? > subagent.c:158: error: left-hand operand of comma expression has no effect > subagent.c:160: error: implicit declaration of function > ?netsnmp_register_scalar_group? > subagent.c:160: error: implicit declaration of function > ?netsnmp_create_handler_registration? > subagent.c:160: error: ?handle_identity? undeclared (first use in this > function) > subagent.c:160: error: implicit declaration of function ?OID_LENGTH? > subagent.c:160: error: ?HANDLER_CAN_RONLY? undeclared (first use in this > function) > subagent.c:161: error: ?handle_systemStats? undeclared (first use in this > function) > subagent.c:163: error: ?ch_table_info? undeclared (first use in this function) > subagent.c:163: error: ?netsnmp_table_registration_info? undeclared (first use > in this function) > subagent.c:164: error: implicit declaration of function > ?netsnmp_table_helper_add_indexes? > subagent.c:164: error: ?ASN_INTEGER? undeclared (first use in this function) > subagent.c:167: error: ?ch_table? undeclared (first use in this function) > subagent.c:167: error: implicit declaration of function > ?netsnmp_tdata_create_table? > subagent.c:168: error: ?ch_reginfo? undeclared (first use in this function) > subagent.c:168: error: ?handle_channelList? undeclared (first use in this > function) > subagent.c:169: error: implicit declaration of function > ?netsnmp_tdata_register? > subagent.c:170: error: implicit declaration of function > ?netsnmp_inject_handler? > subagent.c:170: error: implicit declaration of function > ?netsnmp_get_cache_handler? > subagent.c:170: error: ?channelList_load? undeclared (first use in this > function) > subagent.c:170: error: ?channelList_free? undeclared (first use in this > function) > subagent.c: At top level: > subagent.c:174: error: expected ?)? before ?*? token > subagent.c:209: error: expected ?)? before ?*? token > subagent.c:276: error: expected ?)? before ?*? token > make[6]: *** [subagent.o] Error 1 > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/1e49115c/attachment-0001.html From basit.engg at gmail.com Thu Oct 11 21:12:44 2012 From: basit.engg at gmail.com (Abdul Basit) Date: Thu, 11 Oct 2012 22:12:44 +0500 Subject: [Freeswitch-users] Can't compile latest git In-Reply-To: <1349974507.12921.31.camel@marces.madrid.commsmundi.com> References: <1349974328.12921.30.camel@marces.madrid.commsmundi.com> <1349974507.12921.31.camel@marces.madrid.commsmundi.com> Message-ID: much better if mention what was missing as well. anyway, good to go. thanks. On Thu, Oct 11, 2012 at 9:55 PM, Antonio wrote: > ** > Please ignore. > > I found what was the problem... missing dev library... > > > Thanks > > > > On Thu, 2012-10-11 at 18:52 +0200, Antonio wrote: > > Can't compile lastest HEAD.... > > > -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE > -DHAVE_CONFIG_H -c > /home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c > -o mod_json_cdr.o >/dev/null 2>&1 > Creating mod_json_cdr.la... > make[6]: Leaving directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr' > make[5]: Leaving directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr' > > making all mod_snmp > make[5]: Entering directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp' > make[6]: Entering directory > `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp' > Compiling subagent.c... > subagent.c:36:38: error: net-snmp/net-snmp-config.h: No such file or > directory > subagent.c:37:40: error: net-snmp/net-snmp-includes.h: No such file or > directory > subagent.c:38:52: error: net-snmp/agent/net-snmp-agent-includes.h: No such > file or directory > In file included from subagent.c:39: > subagent.h:106: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?handle_identity? > subagent.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?handle_systemStats? > subagent.h:108: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?handle_channelList? > subagent.c:41: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?*? token > subagent.c:42: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?*? token > subagent.c:43: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?*? token > subagent.c: In function ?channelList_callback?: > subagent.c:69: error: ?netsnmp_tdata_row? undeclared (first use in this > function) > subagent.c:69: error: (Each undeclared identifier is reported only once > subagent.c:69: error: for each function it appears in.) > subagent.c:69: error: ?row? undeclared (first use in this function) > cc1: warnings being treated as errors > subagent.c:73: error: implicit declaration of function > ?netsnmp_tdata_create_row? > subagent.c:111: error: implicit declaration of function > ?netsnmp_tdata_row_add_index? > subagent.c:111: error: ?ASN_INTEGER? undeclared (first use in this > function) > subagent.c:112: error: implicit declaration of function > ?netsnmp_tdata_add_row? > subagent.c:112: error: ?ch_table? undeclared (first use in this function) > subagent.c: At top level: > subagent.c:117: error: expected ?)? before ?*? token > subagent.c:130: error: expected ?)? before ?*? token > subagent.c: In function ?init_subagent?: > subagent.c:154: error: ISO C forbids nested functions > subagent.c:154: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?identity_oid? > subagent.c:154: error: ?identity_oid? undeclared (first use in this > function) > subagent.c:154: error: expected expression before ?]? token > subagent.c:155: error: ISO C forbids nested functions > subagent.c:155: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?systemStats_oid? > subagent.c:155: error: ISO C90 forbids mixed declarations and code > subagent.c:155: error: ?systemStats_oid? undeclared (first use in this > function) > subagent.c:155: error: expected expression before ?]? token > subagent.c:156: error: ISO C forbids nested functions > subagent.c:156: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? > before ?channelList_oid? > subagent.c:156: error: ISO C90 forbids mixed declarations and code > subagent.c:156: error: ?channelList_oid? undeclared (first use in this > function) > subagent.c:156: error: expected expression before ?]? token > subagent.c:158: error: implicit declaration of function ?DEBUGMSGTL? > subagent.c:158: error: left-hand operand of comma expression has no effect > subagent.c:160: error: implicit declaration of function > ?netsnmp_register_scalar_group? > subagent.c:160: error: implicit declaration of function > ?netsnmp_create_handler_registration? > subagent.c:160: error: ?handle_identity? undeclared (first use in this > function) > subagent.c:160: error: implicit declaration of function ?OID_LENGTH? > subagent.c:160: error: ?HANDLER_CAN_RONLY? undeclared (first use in this > function) > subagent.c:161: error: ?handle_systemStats? undeclared (first use in this > function) > subagent.c:163: error: ?ch_table_info? undeclared (first use in this > function) > subagent.c:163: error: ?netsnmp_table_registration_info? undeclared (first > use in this function) > subagent.c:164: error: implicit declaration of function > ?netsnmp_table_helper_add_indexes? > subagent.c:164: error: ?ASN_INTEGER? undeclared (first use in this > function) > subagent.c:167: error: ?ch_table? undeclared (first use in this function) > subagent.c:167: error: implicit declaration of function > ?netsnmp_tdata_create_table? > subagent.c:168: error: ?ch_reginfo? undeclared (first use in this function) > subagent.c:168: error: ?handle_channelList? undeclared (first use in this > function) > subagent.c:169: error: implicit declaration of function > ?netsnmp_tdata_register? > subagent.c:170: error: implicit declaration of function > ?netsnmp_inject_handler? > subagent.c:170: error: implicit declaration of function > ?netsnmp_get_cache_handler? > subagent.c:170: error: ?channelList_load? undeclared (first use in this > function) > subagent.c:170: error: ?channelList_free? undeclared (first use in this > function) > subagent.c: At top level: > subagent.c:174: error: expected ?)? before ?*? token > subagent.c:209: error: expected ?)? before ?*? token > subagent.c:276: error: expected ?)? before ?*? token > make[6]: *** [subagent.o] Error 1 > > -- > > Un cordial saludo / Best regards, > > _________________________ > > Ant?nio Silva > > E-mail:asilva at wirelessmundi.com > > > -- > > Un cordial saludo / Best regards, > > _________________________ > > Ant?nio Silva > > E-mail:asilva at wirelessmundi.com > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121011/10998a5c/attachment.html From frank at telonium.com Thu Oct 11 21:13:06 2012 From: frank at telonium.com (Frank Park) Date: Thu, 11 Oct 2012 13:13:06 -0400 Subject: [Freeswitch-users] Receiving a presence NOTIFY when a matching username on different domain has any changes to its status Message-ID: Hello, I am having some issues with the presence with multiple domain environment. I seem to be getting a NOTIFY to a UA that is subscribed to the matching username but not the domain. For example: 1001 at domainA is subscribed to 1002 at domainA. 1002 at domainB makes a call, FS sends NOTIFY to 1001 at domainA that 1002 at domainAis on a call. I have been looking at my configurations for days to see if there's anything wrong with it and went to everything that Wiki had to say about multi-tenant, multi-domain, and presence. I am also using multiple domains under a single sip_profile (internal), but the sip_host and presence_id shows separation of the domains. I have also noticed that sip_presence table is empty in MySQL (currently using ODBC)... I don't know if this is related problem. Can anyone please provide me with suggestions or where else I should look at to troubleshoot this? This is on a git head, BTW. Thank you, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/efeded1c/attachment.html From moshe3t at gmail.com Thu Oct 11 21:17:55 2012 From: moshe3t at gmail.com (moshe3) Date: Thu, 11 Oct 2012 13:17:55 -0400 Subject: [Freeswitch-users] Per-channel fsctl loglevel? In-Reply-To: <6A6B4C284AD15042B429EB9D904544AD022EE81043@NY1-EXMB-01.ip-soft.net> References: <4FC64614.5040205@puzzled.xs4all.nl> <4FD0D3C4.5090200@gmail.com> <6A6B4C284AD15042B429EB9D904544AD022EE81043@NY1-EXMB-01.ip-soft.net> Message-ID: <005901cda7d4$5b6df2d0$1249d870$@com> http://jira.freeswitch.org/browse/FS-4709 From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Hector Geraldino Sent: Thursday, June 07, 2012 6:02 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Per-channel fsctl loglevel? According to the PCI DSS normative, you can store the PAN if it is encrypted. You must have a separate process in place governing the encryption (key storage, key rotation, key access, etc.) However you can't, under any circumstances, store the CVV/CVV2 digits. Never. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Thursday, June 07, 2012 5:37 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Per-channel fsctl loglevel? I had a big thread on Asterisk-biz (after asking here) and basically I didn't hear anyone say they have a secured VoIP channel. Even if they did, there's no way you can guarantee it's encrypted end to end. And some made the point that PSTN is interceptable/hackable too directly at the house so encryption from the Telco may already be too late. Are you saying the full credit card number without CVV2 isn't considered sensitive data at all, and can be saved unencrypted....? -Avi On Thu, Jun 7, 2012 at 7:59 PM, Brian Foster wrote: More than likely those companies are somewhat oblivious to that. Its hard to.find a VoIP provider who secures the calls end to end, and they may not realize they are logging digits for the automated IVRs. I would think they are smart enough to not record calls with the CVV. I think some companies probably don't ask for the CVV2, there are some gateways where you can avoid collecting it but pay higher rates for the risk. Brian Foster Endigo Computer LLC Sent from a mobile device. On Jun 7, 2012 12:17 PM, "Abaci" wrote: Just curious what other companies using FreeSWITCH and taking credit card over the phone are doing? there is no way you can be PCI compliant if you store the logs or CDRs, encrypted or not if it contains the CVV2. same goes for call recording. and iirc you can't use a regular voip line for credit cards (you have to use encryped linnes if it's voip) On 5/30/2012 5:25 PM, Avi Marcus wrote: Mostly credit cards.. and anything you do with it, e.g. submit it via https to authorize.net, stripe, etc where then you don't need the actual number anymore. So both the DTMF entry and the curl debug line. I can't think of anything else in particular. -Avi On Wed, May 30, 2012 at 11:35 PM, Michael Collins wrote: Avi, Can you think of any other places where the FS logging in general might contain sensitive data? Reason I ask is that maybe we could create something like "pcidss=true" and then use that as a flag to disable logging anything that might be considered sensitive. Just a thought. -MC On Wed, May 30, 2012 at 1:29 PM, Avi Marcus wrote: On Wed, May 30, 2012 at 11:18 PM, Michael Collins wrote: How are you protecting everything else? If the XML CDR is sent over HTTP instead of HTTPS then everything about the call is plain text. As far as I know, the only thing sensitive in the xml_cdr is digits_dialed. And what about the FS logs? Are you encrypting those somehow? It seems to me that you need a more comprehensive solution than just scrubbing a single channel variable. No, I'm not encrypting them.. because t here wouldn't be anything sensitive. As far as I can tell, the only issue is the DTMF in DEBUG and the curl post message, again in DEBUG. Since this is a lua IVR it seems nearly nothing else makes it into the log. Only api:execute("curl",...) is in the log because it's not a native direct curl command (like session:playandgetdigits()) However, if you need an interim solution I would suggest commenting out the line that sets digits_dialed: http://fisheye.freeswitch.org/browse/freeswitch.git/src/switch_channel.c?r=H EAD#to3912 A more permanent solution might be to create a channel variable that controls whether stuff like this gets logged. Something like "no_dtmf_logging=true" or whatever. That's a bit more involved because you have to decide if there are other places where DTMF info gets logged and if so, decide whether or not you want not to log them. That's an interesting idea... it might be more encompassing to have a loglevel=X channel variable instead that affects the logging for that channel. But this is probably overkill... What would be the ideal solution for your scenario? That answer might yield the best course of action. -MC On Wed, May 30, 2012 at 11:20 AM, Avi Marcus wrote: The PCI-DSS (Payment Card Industry Data Security Standard) requires encryption, not merely permission restriction, for sensitive data. Hence I'm looking at the DTMF logging which can probably be easily re-patterned back into the digits, the curl POST which also shows everything in the log, the dialed_digits in a standard xml_cdr.. Otherwise, afaik, lua won't log things unless you explicitly tell it to. Any suggestions other than setting the entire switch to fsctl loglevel 6 and not storing the xml_cdrs in their raw form? -Avi On Wed, May 30, 2012 at 8:11 PM, Michael Collins wrote: If it's a compliance issue then I'd triple-check to make sure that no one unauthorized can get to any of your FS logs or CDR data. I suspect that logging vs. not logging dialed_digits is not a make-or-break proposition. If you're doing xml_cdrs then you've probably got that same data in other log lines. -MC On Wed, May 30, 2012 at 9:08 AM, Patrick Lists wrote: On 30-05-12 17:48, Michael Collins wrote: > And.. similarly is there a way to blank out the var digits_dialed in > the xml_cdr, from within FS, before the end of the call? > > Why do you need to clear it out? What information does it collect that > you don't need? Since it's credit card data I can imagine Avi does not want it logged for security purposes. Regards, Patrick _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/d86a8e8b/attachment-0001.html From vipkilla at gmail.com Thu Oct 11 23:46:14 2012 From: vipkilla at gmail.com (Vik Killa) Date: Thu, 11 Oct 2012 15:46:14 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: I can reproduce this 100% of time on Debian Squeeze On Thu, Oct 11, 2012 at 10:17 AM, Anthony Minessale wrote: > Can you meet me on IRC and let me debug that from ssh on your box? I need > to add some debugging info to determine the problem. > I do not have this problem on my lab. > > From darcy at Vex.Net Fri Oct 12 01:04:26 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Thu, 11 Oct 2012 17:04:26 -0400 Subject: [Freeswitch-users] Allowing open SIP access to my users Message-ID: <20121011170426.6362804a@dilbert> On to my next challenge. Now I want to allow anyone to call my users with sip:5555551212 at example.com but naturally I want to keep my system secure. I opened up my server to my home system (I have a static IP) in the ACL file and it seems like I can, without registering, call users on my system but not external ones. Does this mean that it is safe to allow any server (modulus blacklists of course) to call my users? I have removed all the sample extensions from the configs. Is there anything else I should check? Is there some sort of hack program that can look security holes? I could run that from my machine here to test it. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From anthony.minessale at gmail.com Fri Oct 12 01:50:19 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 11 Oct 2012 16:50:19 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <020b01cda7cd$c59c1fd0$50d45f70$@com> References: <020b01cda7cd$c59c1fd0$50d45f70$@com> Message-ID: All I can see that looks peculiar in that trace is that its using dns names instead of ip in the candidate names, and also that it doesn't accept any of the candidates. Try dl_debug on from cli when getting a trace. It's not a knee-jerk reaction really, its simply painful to keep track of 1000 email threads and remember what they are about when they relate to someone's problem when Jira is designed to track issues, even non-existant ones and can easily be closed if discovered to not be a problem. For instance, now I might ask you to try to get the debug with dl_debug on and you have to submit the capture, now that's trying to attach or inline a trace to the whole list and I may never read your reply because I get 100 million emails a day. The workflow on the jira is what makes it useful to us. On Thu, Oct 11, 2012 at 11:30 AM, Phil Quesinberry < philq at qsystemsengineering.com> wrote: > ** > > Any input at all on this problem? I realize that since many have been > reluctant to file a Jira when they should have done so, the knee-jerk > reaction has been to force everyone to do it if there?s even a hint of a > problem and I?ll be happy to file one, but it would be nice to at least find > out if anyone else is experiencing the same problem first before > potentially wasting everyone?s time doing so. > > Additionally, any hints/pointers from someone more knowledgeable on how to start > tracking this problem down would be great, as there is no trace info for > XMPP/Jabber listed on the console by default or at all and little > documentation so I?m pretty clueless as to where to start, other than trying > to figure it out with tcpdump/Wireshark. To me at least, thisfunctionality could be likened to ablack > -box that?s built in to FS. > > I was able to block out some time yesterday to ?attend? the FS conference > and it was quite informative, so a big thank you to those who made that > possible. I?d really love to see more like this, especially advanced > troubleshooting topics covered in detail. > > Thanks, > > - Phil > > _____________________________________________ > *****From:* Phil Quesinberry [mailto:philq at qsystemsengineering.com > ] > *****Sent:* Wednesday, October 10, 2012 12:35 AM > *****To:* 'freeswitch-users at lists.freeswitch.org' > *****Subject:* Problems with GV/mod_dingaling on latest stable version? > > I seem to have lost the ability to dial out via Google Voice on the latest > stable version of FS. Is anyone else having this problem or could this > possibly be related to the fact that I recently enabled TLS on profile > Internal? I don?t use it very often but it?s handy to have available. Any > ideas? > > Here?s a short snippet of info from the console when the call was placed: > > 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1629 Don't have my > audio codec yet here's one > > 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1675 Don't have video > codec. > > 2012-10-09 23:41:23.110207 [DEBUG] mod_dingaling.c:1686 Send Describe > [PCMU at 8000] > > 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:4055 using Existing > session for 4654131323 > > 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:1675 Don't have video > codec. > > 2012-10-09 23:41:24.310174 [DEBUG] mod_dingaling.c:1686 Send Describe > [PCMU at 8000] > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send rtp Candidate > mypbxdomain.com:30536 [SgJi84it8jJU4Thf] > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send rtcp > Candidate mypbxdomain.com:30537 [jXCuyH5i8GuihYyO] > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send video_rtp > Candidate mypbxdomain.com:30538 [UOkj8Ty7HjUsELPw] > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1525 Send video_rtcp > Candidate mypbxdomain.com:30539 [fjSU4YUTk84Tymoa] > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1565 Accepted 0 of 0 > rtp candidates. > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1567 Accepted 0 of 0 > rtcp candidates. > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1570 Accepted 0 of 0 > video_rtp candidates > > 2012-10-09 23:41:33.130018 [DEBUG] mod_dingaling.c:1573 Accepted 0 of 0 > video_rctp candidates > > 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4055 using Existing > session for 4654131323 > > 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4373 hungup > dingaling/gtalk/+14105552368 at voice.google.com > > 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:801 Terminate called > from line 4374 state=CS_INIT > > 2012-10-09 23:41:39.609921 [DEBUG] switch_channel.c:2950 (dingaling/gtalk/ > +14105552368 at voice.google.com) Callstate Change DOWN -> HANGUP > > 2012-10-09 23:41:39.609921 [NOTICE] mod_dingaling.c:826 Hangup > dingaling/gtalk/+14105552368 at voice.google.com [CS_INIT] [NORMAL_CLEARING] > > 2012-10-09 23:41:39.609921 [DEBUG] switch_channel.c:2973 Send signal > dingaling/gtalk/+14105552368 at voice.google.com [KILL] > > 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/ > +14105552368 at voice.google.com CHANNEL KILL > > 2012-10-09 23:41:39.609921 [DEBUG] switch_core_session.c:1210 Send signal > dingaling/gtalk/+14105552368 at voice.google.com [BREAK] > > 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/ > +14105552368 at voice.google.com CHANNEL KILL > > 2012-10-09 23:41:39.609921 [DEBUG] mod_dingaling.c:4375 End Call > > 2012-10-09 23:41:39.609921 [DEBUG] switch_ivr_originate.c:3508 Originate > Resulted in Error Cause: 16 [NORMAL_CLEARING] > > 2012-10-09 23:41:39.609921 [INFO] mod_dptools.c:3027 Originate Failed. > Cause: NORMAL_CLEARING > > Version info: > > FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at > commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z) > > Regards, > > *******Phil Quesinberry* > > Q Systems Engineering, Inc. > > Electronic Controls and Embedded Systems Development > > (410) 969-8002 > > ***http://www.qsystemsengineering.com* > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/961c561f/attachment-0001.html From darcyp at voice2net.ca Fri Oct 12 02:24:15 2012 From: darcyp at voice2net.ca (Darcy Primrose) Date: Thu, 11 Oct 2012 18:24:15 -0400 Subject: [Freeswitch-users] blf Message-ID: <9DEABC361746452C9F25B37E7CA490D8@owner397fa27d2> Anyone got a basic description of how to setup blfs on snom 3xx phones. it works in a fashion, but If I make a call outside the network the blf does not illuminate. However, if I call the extension making the outbound call, then the lamp illuminates on all phones, some setting is missing somewhere. I am running 1.2.3, 20th of sept 2012. Darcy Primrose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/5307c40f/attachment.html From brian at freeswitch.org Fri Oct 12 03:51:02 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 11 Oct 2012 18:51:02 -0500 Subject: [Freeswitch-users] conference.freeswitch.org native ipv6 Message-ID: sip:888@[2606:d900:0:24:c8fe:caff:fefe:cafe]:5060 Can everyone with V6 test this out? -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/62742f66/attachment.html From brian at freeswitch.org Fri Oct 12 04:43:07 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 11 Oct 2012 19:43:07 -0500 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= Message-ID: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> The bulk of our websites are now v6 capable and have published AAAA records. Please report any issues you see to me please. Thanks, -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/e5ca90a8/attachment.html From jaybinks at gmail.com Fri Oct 12 05:04:27 2012 From: jaybinks at gmail.com (jay binks) Date: Fri, 12 Oct 2012 11:04:27 +1000 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= In-Reply-To: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> References: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> Message-ID: YAY well done, I can confirm the website works. is the SVN Repo available on V6 ? :) On 12 October 2012 10:43, Brian West wrote: > The bulk of our websites are now v6 capable and have published AAAA > records. Please report any issues you see to me please. > > Thanks, > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST > iNUM: +883 5100 1286 0410 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/1ae35339/attachment-0001.html From brian at freeswitch.org Fri Oct 12 05:52:45 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 11 Oct 2012 20:52:45 -0500 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= In-Reply-To: References: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> Message-ID: If we used SVN sure... I'm going to have git done tomorrow. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 11, 2012, at 8:04 PM, jay binks wrote: > YAY well done, I can confirm the website works. > > is the SVN Repo available on V6 ? :) From jaybinks at gmail.com Fri Oct 12 06:13:55 2012 From: jaybinks at gmail.com (jay binks) Date: Fri, 12 Oct 2012 12:13:55 +1000 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= In-Reply-To: References: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> Message-ID: haha brain-fart :) On 12 October 2012 11:52, Brian West wrote: > If we used SVN sure... I'm going to have git done tomorrow. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 11, 2012, at 8:04 PM, jay binks wrote: > > > YAY well done, I can confirm the website works. > > > > is the SVN Repo available on V6 ? :) > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/3c596272/attachment.html From brian at freeswitch.org Fri Oct 12 06:18:55 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 11 Oct 2012 21:18:55 -0500 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= In-Reply-To: References: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> Message-ID: <79936D8D-7973-4E35-9B9F-9040B80C6EAA@freeswitch.org> its got a v6 addr now... TEST IT! and http://jira.ipv6.freeswitch.org/ http://fisheye.ipv6.freeswitch.org I'll move them to non-ipv6 in the names tomorrow. Jira and Fisheye gave us problems so I didn't wanna switch it on fully till some people tested it out. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 11, 2012, at 9:13 PM, jay binks wrote: > haha brain-fart :) From jaybinks at gmail.com Fri Oct 12 06:57:03 2012 From: jaybinks at gmail.com (jay binks) Date: Fri, 12 Oct 2012 12:57:03 +1000 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= In-Reply-To: <79936D8D-7973-4E35-9B9F-9040B80C6EAA@freeswitch.org> References: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> <79936D8D-7973-4E35-9B9F-9040B80C6EAA@freeswitch.org> Message-ID: Got to love having native V6 transit :) On 12 October 2012 12:18, Brian West wrote: > its got a v6 addr now... TEST IT! > > and > http://jira.ipv6.freeswitch.org/ > http://fisheye.ipv6.freeswitch.org > > I'll move them to non-ipv6 in the names tomorrow. Jira and Fisheye gave > us problems so I didn't wanna switch it on fully till some people tested it > out. > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 11, 2012, at 9:13 PM, jay binks wrote: > > > haha brain-fart :) > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Sincerely Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/021d7616/attachment.html From curriegrad2004 at gmail.com Fri Oct 12 09:39:57 2012 From: curriegrad2004 at gmail.com (curriegrad2004) Date: Thu, 11 Oct 2012 22:39:57 -0700 Subject: [Freeswitch-users] conference.freeswitch.org native ipv6 In-Reply-To: References: Message-ID: Yes, it works fine. On Thu, Oct 11, 2012 at 4:51 PM, Brian West wrote: > sip:888@[2606:d900:0:24:c8fe:caff:fefe:cafe]:5060 > > Can everyone with V6 test this out? > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST > iNUM: +883 5100 1286 0410 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From aleksei.zjabkin at telegrupp.ee Fri Oct 12 10:24:57 2012 From: aleksei.zjabkin at telegrupp.ee (Aleksei Zjabkin) Date: Fri, 12 Oct 2012 09:24:57 +0300 Subject: [Freeswitch-users] Multicast on Freeswitch Message-ID: Hi! I'm working on a project of integration radios into VoIP network. Main task is SIP to Radio intercom using multicast streams. I already have a working solution, based on Cisco E&M and twisted pair WAVE. Since Wave is a little bit costly solution, I want to implement intercom using freeswitch. Main problem is that I'm not developer and just a network guy and I need help in implementation. I had some experience with multicast steams on Asterisk and I believe that freeswitch is more flexible than asterisk. First and most important question is about how is multicast implemented on freeswitch. Here is an example from the samples included with freeswitch: expression="^pagegroup$|^7243"> - what does this expression mean? Does it mean that dialer must be a member of a pagegroup? At the beggining I need to setup freeswitch to stream a SIP call, so applications like VLC could listen it. Best Regards, Aleksei Zjabkin IT lahendused \ IT solutions GSM +372 58055975 ------------------------- Telegrupp AS Tartu mnt. 63, 10115 Tallinn Eesti \ Estonia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/a295ae31/attachment-0001.html From babak.freeswitch at gmail.com Fri Oct 12 12:43:01 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Fri, 12 Oct 2012 12:13:01 +0330 Subject: [Freeswitch-users] is there any variable to set in directory user variables to execute an application on every channel Message-ID: hi is there any variable to set in directory user variables so that an application is called on every created channel for that user (or on every channel answered)? ... ... thanx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/4f31bc09/attachment.html From andrew at cassidywebservices.co.uk Fri Oct 12 12:49:55 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Fri, 12 Oct 2012 09:49:55 +0100 Subject: [Freeswitch-users] =?windows-1252?q?FreeSWITCH_Websites_are_ipv6_?= =?windows-1252?q?native=85_w00t!?= In-Reply-To: References: <46F97091-42FC-4E69-97B8-8BB11046F840@freeswitch.org> <79936D8D-7973-4E35-9B9F-9040B80C6EAA@freeswitch.org> Message-ID: Good stuff! My IPv6 WAN is sadly tunneled, but it works. I get facebook/google et al. through IPv6. On 12 October 2012 03:57, jay binks wrote: > Got to love having native V6 transit :) > > On 12 October 2012 12:18, Brian West wrote: > >> its got a v6 addr now... TEST IT! >> >> and >> http://jira.ipv6.freeswitch.org/ >> http://fisheye.ipv6.freeswitch.org >> >> I'll move them to non-ipv6 in the names tomorrow. Jira and Fisheye gave >> us problems so I didn't wanna switch it on fully till some people tested it >> out. >> >> -- >> Brian West >> brian at freeswitch.org >> FreeSWITCH Solutions, LLC >> PO BOX PO BOX 2531 >> Brookfield, WI 53008-2531 >> Twitter: @FreeSWITCH_Wire >> T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST >> iNUM: +883 5100 1420 9266 >> UK: +44 20 3298 4900 >> ISN: 410*543 >> >> >> >> >> >> On Oct 11, 2012, at 9:13 PM, jay binks wrote: >> >> > haha brain-fart :) >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Sincerely > > Jay > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- *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/20121012/b99c70d5/attachment.html From khuenm at vega.com.vn Fri Oct 12 13:00:56 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Fri, 12 Oct 2012 16:00:56 +0700 Subject: [Freeswitch-users] How to send sip MESSAGE from script Message-ID: Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/6ab72ea4/attachment.html From andy at fabulous4.co.uk Fri Oct 12 14:29:06 2012 From: andy at fabulous4.co.uk (Andy Ayers) Date: Fri, 12 Oct 2012 11:29:06 +0100 Subject: [Freeswitch-users] PocketSphinx Message-ID: <018d01cda864$6938d2a0$3baa77e0$@fabulous4.co.uk> Hi, I have users calling into an ivr and speaking an alphanumeric job reference number like 'DT1234E'. Is it possible to use pocketsphinx to translate this into the actual string? Could anyone supply the necessary javascript or dialplan to do this? Any help much appreciated. Thanks Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/1db360d0/attachment.html From gvvsubhashkumar at gmail.com Fri Oct 12 16:52:37 2012 From: gvvsubhashkumar at gmail.com (Subhash) Date: Fri, 12 Oct 2012 18:22:37 +0530 Subject: [Freeswitch-users] How to handle SIP_REFER transfer in Bridged Call Message-ID: Hi all, I need to handle blind transfer in VoIP call using REFER. Initial call is bridged using bridge application dialplan, post bridge either of the leg should be able to do blind transfer. How do i create a dialplan which can do this functionality. NOTE: Here FreeSWITCH only bridges the call, either of the two legs can do blind transfer. -- Thanks, Subhash. From vipkilla at gmail.com Fri Oct 12 17:08:53 2012 From: vipkilla at gmail.com (Vik Killa) Date: Fri, 12 Oct 2012 09:08:53 -0400 Subject: [Freeswitch-users] sofia recover not working in latest GIT In-Reply-To: References: Message-ID: There is no difference in my configuration on Debian Squeeze and CentOS, yet sofia recover will not work on Debian. > I can reproduce this 100% of time on Debian Squeeze > From Chad.Engler at patlive.com Fri Oct 12 19:47:06 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Fri, 12 Oct 2012 11:47:06 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/5ee066ec/attachment-0001.html From tomasz.szuster at gmail.com Fri Oct 12 16:59:16 2012 From: tomasz.szuster at gmail.com (Tomasz Szuster) Date: Fri, 12 Oct 2012 14:59:16 +0200 Subject: [Freeswitch-users] incoming DID, small talk with operator then transfer/forward call to extension Message-ID: Hello. I've searched wiki and other websites but unfortunatelly did not find info or pointers how to resolve this issue. I want to achieve below solution. When incoming DID call occur person assigned to this line can pick a call and speak with customer, then she can forward/transfer call to another local extension or to GSM number. I've found solutions when I can forward call without answering it by operator but this is not the case. I've sucessfullly implemented gsm_open but sadly didn't find any information about transfering active call to next extension. Would you be so kind and show me the way how to get this working ? Thank you. -- Regards Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/0f484db3/attachment.html From shishko69 at gmail.com Fri Oct 12 18:11:36 2012 From: shishko69 at gmail.com (Shishko) Date: Fri, 12 Oct 2012 16:11:36 +0200 Subject: [Freeswitch-users] Compiling mod_h323 on Windows Message-ID: <50782518.3020904@gmail.com> Hi, could anybody give me basic instructions on how to build mod_h323 on Windows using Visual Studio 2010? Thanks From richwerem at gmail.com Fri Oct 12 19:20:59 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Fri, 12 Oct 2012 16:20:59 +0100 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type Message-ID: <002201cda88d$302b1f80$90815e80$@com> Good afternoon I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the latest pre-compiled version (windows). I have a successfully configured a SIP gateway (provider voipfone), but when I dial into the PSTN number, just to try and route to one of the default build extensions 1000 (I also tried the IVR) I get this error: 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not locate channel type 1000 XML default 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot create outgoing channel of type [1000 XML default] cause: [CHAN_NOT_IMPLEMENTED] I've taken the code straight out of the book, and just added my SIP username and password, so I can't understand why it won't route through? Rather than past in code here, I have put the output from a clean startup in a word file, and also put the external sip_profile xml, and also the public directory xml file into the same document too. http://www.beyondmarathon.com/routes/freeswitch_output.docx voipfone was not a provider listed in the wiki, but given I have been able to get the gateway registered then I assume it is ok, and there must be a config issue somewhere? Any help would be greatly appreciated. Regards Richard Weremiuk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/74a42465/attachment.html From KEN.KELLY-TURNER at adtran.com Fri Oct 12 20:42:51 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Fri, 12 Oct 2012 16:42:51 +0000 Subject: [Freeswitch-users] problems with SLA on polycom phones Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB549C835@ex-mb1.corp.adtran.com> Hi, I'm new to freeswitch and I'm trying to set up 2 polycom phones running 4.0.2 firmware to share a line. I followed the wiki pages http://wiki.freeswitch.org/wiki/Shared_Line_Appearance and However, whenever I pick up an incoming call or try to make an outgoing call on one of the shared lines, the other line doesn't detect that the line is in use and I get a massive dump of 481 and 482 errors dozens of times. I have no idea what is causing this behaviour, any help would be greatly appreciated send 854 bytes to udp/[10.10.8.81]:5060 at 02:03:54.850984: ------------------------------------------------------------------------ NOTIFY sip:1000 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKcHKrvF7SKSp1j Max-Forwards: 70 From: ;tag=AWBzYjyr5AtS To: "ppcBarge2" ;tag=FC20B986-C3012B3F Call-ID: d753ed55-db70fc4e-bddaf407 at 10.10.8.81 CSeq: 4053008904 NOTIFY Contact: Call-Info: ;appearance-index=*;appearance-state=idle User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: call-info Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3600 Content-Length: 0 ------------------------------------------------------------------------ recv 405 bytes from udp/[10.10.8.81]:5060 at 02:03:54.864355: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKcHKrvF7SKSp1j From: ;tag=AWBzYjyr5AtS To: "ppcBarge2" ;tag=FC20B986-C3012B3F CSeq: 2147483647 NOTIFY Call-ID: d753ed55-db70fc4e-bddaf407 at 10.10.8.81 Event: call-info User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/ada841bd/attachment.html From brian at freeswitch.org Fri Oct 12 21:15:58 2012 From: brian at freeswitch.org (Brian West) Date: Fri, 12 Oct 2012 12:15:58 -0500 Subject: [Freeswitch-users] problems with SLA on polycom phones In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB549C835@ex-mb1.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB549C835@ex-mb1.corp.adtran.com> Message-ID: Can you try to factory format the file system and see if he stops doing this? I have three phones on SLA that do not exhibit this problem and I'm running 4.0.2 on those also. Press the four arrow keys and get the file thats uploaded and investigate the logs. On Oct 12, 2012, at 11:42 AM, KEN KELLY-TURNER wrote: > Hi, > > I'm new to freeswitch and I'm trying to set up 2 polycom phones running 4.0.2 firmware to share a line. I followed the wiki pages http://wiki.freeswitch.org/wiki/Shared_Line_Appearance and However, whenever I pick up an incoming call or try to make an outgoing call on one of the shared lines, the other line doesn't detect that the line is in use and I get a massive dump of 481 and 482 errors dozens of times. I have no idea what is causing this behaviour, any help would be greatly appreciated > > send 854 bytes to udp/[10.10.8.81]:5060 at 02:03:54.850984: > ------------------------------------------------------------------------ > NOTIFY sip:1000 at 10.10.8.81 SIP/2.0 > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKcHKrvF7SKSp1j > Max-Forwards: 70 > From: ;tag=AWBzYjyr5AtS > To: "ppcBarge2" ;tag=FC20B986-C3012B3F > Call-ID: d753ed55-db70fc4e-bddaf407 at 10.10.8.81 > CSeq: 4053008904 NOTIFY > Contact: > Call-Info: ;appearance-index=*;appearance-state=idle > User-Agent: FreeSWITCH-mod_sofia/1.2.3 > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: timer, precondition, path, replaces > Event: call-info > Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer > Subscription-State: active;expires=3600 > Content-Length: 0 > > ------------------------------------------------------------------------ > recv 405 bytes from udp/[10.10.8.81]:5060 at 02:03:54.864355: > ------------------------------------------------------------------------ > SIP/2.0 482 Loop Detected > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKcHKrvF7SKSp1j > From: ;tag=AWBzYjyr5AtS > To: "ppcBarge2" ;tag=FC20B986-C3012B3F > CSeq: 2147483647 NOTIFY > Call-ID: d753ed55-db70fc4e-bddaf407 at 10.10.8.81 > Event: call-info > User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 > Accept-Language: en > Content-Length: 0 > > ------------------------------------------------------------------------ > > Thanks, > Ken > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/5f4060ff/attachment-0001.html From anthony.minessale at gmail.com Fri Oct 12 21:22:29 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 12 Oct 2012 12:22:29 -0500 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type In-Reply-To: <002201cda88d$302b1f80$90815e80$@com> References: <002201cda88d$302b1f80$90815e80$@com> Message-ID: Dialplan: sofia/external/07880966666 at 195.189.173.27 Action bridge(1000 XML default) This means somewhere in your dialplan you must have You are using the syntax for the transfer app in the bridge function. Maybe this is one of the known errata in the book if this is where you got the example. try transfer instead of bridge On Fri, Oct 12, 2012 at 10:20 AM, Richard Weremiuk wrote: > ** ** > > Good afternoon**** > > ** ** > > I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the > latest pre-compiled version (windows). I have a successfully configured a > SIP gateway (provider voipfone), but when I dial into the PSTN number, just > to try and route to one of the default build extensions 1000 (I also tried > the IVR) I get this error:**** > > ** ** > > 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not > locate channel type 1000 XML default**** > > 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot > create outgoing channel of type [1000 XML default] cause: > [CHAN_NOT_IMPLEMENTED]**** > > ** ** > > I've taken the code straight out of the book, and just added my SIP > username and password, so I can't understand why it won't route through? > Rather than past in code here, I have put the output from a clean startup > in a word file, and also put the external sip_profile xml, and also the > public directory xml file into the same document too.**** > > ** ** > > http://www.beyondmarathon.com/routes/freeswitch_output.docx**** > > ** ** > > voipfone was not a provider listed in the wiki, but given I have been able > to get the gateway registered then I assume it is ok, and there must be a > config issue somewhere? **** > > ** ** > > Any help would be greatly appreciated.**** > > ** ** > > Regards**** > > ** ** > > Richard Weremiuk**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/4bbe5b05/attachment.html From krice at freeswitch.org Fri Oct 12 21:54:14 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 12 Oct 2012 12:54:14 -0500 Subject: [Freeswitch-users] FRIDAY FREE FOR ALL IS BACK!!@#! Message-ID: What is it? The Friday Free For All Where is it? The FreeSWITCH Community Conference Bridge of course... How do you get there? You have many options... Via the PSTN +1-919-386-9900 Via SIP sip:888 at conference.freeswitch.org (this is Both IPv4 and IPv6 enabled) Via the web http://conference.freeswitch.org (we?re still working on fixing up the v6 here) What time? 4PM EST... Does that mean you have to wait til then? No go ahead and call in whenever you are ready Hang out start a converstation.... Whats this weeks topic? Whatever we want it to be... -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/08a80e49/attachment.html From mahesh.katta at flexydial.com Fri Oct 12 22:59:12 2012 From: mahesh.katta at flexydial.com (mahesh katta) Date: Sat, 13 Oct 2012 00:29:12 +0530 Subject: [Freeswitch-users] incoming DID, small talk with operator then transfer/forward call to extension In-Reply-To: References: Message-ID: Dear tom, Send the configuration and dialplan. On Oct 12, 2012 10:18 PM, "Tomasz Szuster" wrote: > Hello. > > I've searched wiki and other websites but unfortunatelly did not find info > or pointers how to resolve this issue. > > I want to achieve below solution. > When incoming DID call occur person assigned to this line can pick a call > and speak with customer, then she can forward/transfer call to another > local extension or to GSM number. > I've found solutions when I can forward call without answering it by > operator but this is not the case. > > I've sucessfullly implemented gsm_open but sadly didn't find any > information about transfering active call to next extension. > > Would you be so kind and show me the way how to get this working ? > > Thank you. > > -- > Regards > Tom > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121013/397e7d02/attachment.html From richwerem at gmail.com Fri Oct 12 21:44:13 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Fri, 12 Oct 2012 18:44:13 +0100 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type In-Reply-To: References: <002201cda88d$302b1f80$90815e80$@com> Message-ID: <005d01cda8a1$32b9f0a0$982dd1e0$@com> Anthony Thanks for the response. It was exactly that. "transfer" works fine. I did get the code from the book yes, and of course didn't realise there was a known error. I'll have a look to see if there a list of other known book issues on the wiki anywhere to avoid making the same mistake. That's really helped. Pulled my hair out all day with that. Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: 12 October 2012 18:22 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP gateway - can't locate outgoing channel type Dialplan: sofia/external/07880966666 at 195.189.173.27 Action bridge(1000 XML default) This means somewhere in your dialplan you must have You are using the syntax for the transfer app in the bridge function. Maybe this is one of the known errata in the book if this is where you got the example. try transfer instead of bridge On Fri, Oct 12, 2012 at 10:20 AM, Richard Weremiuk wrote: Good afternoon I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the latest pre-compiled version (windows). I have a successfully configured a SIP gateway (provider voipfone), but when I dial into the PSTN number, just to try and route to one of the default build extensions 1000 (I also tried the IVR) I get this error: 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not locate channel type 1000 XML default 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot create outgoing channel of type [1000 XML default] cause: [CHAN_NOT_IMPLEMENTED] I've taken the code straight out of the book, and just added my SIP username and password, so I can't understand why it won't route through? Rather than past in code here, I have put the output from a clean startup in a word file, and also put the external sip_profile xml, and also the public directory xml file into the same document too. http://www.beyondmarathon.com/routes/freeswitch_output.docx voipfone was not a provider listed in the wiki, but given I have been able to get the gateway registered then I assume it is ok, and there must be a config issue somewhere? Any help would be greatly appreciated. Regards Richard Weremiuk _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/ae8fc33d/attachment-0001.html From anthony.minessale at gmail.com Sat Oct 13 02:43:55 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 12 Oct 2012 17:43:55 -0500 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type In-Reply-To: <005d01cda8a1$32b9f0a0$982dd1e0$@com> References: <002201cda88d$302b1f80$90815e80$@com> <005d01cda8a1$32b9f0a0$982dd1e0$@com> Message-ID: Sorry, Good news is we are doing a complete refresh of the book to correct every known error from the last 3 years and update it to match 1.2! On Fri, Oct 12, 2012 at 12:44 PM, Richard Weremiuk wrote: > Anthony**** > > ** ** > > Thanks for the response. It was exactly that. "transfer" works fine. I > did get the code from the book yes, and of course didn't realise there was > a known error. I'll have a look to see if there a list of other known > book issues on the wiki anywhere to avoid making the same mistake.**** > > ** ** > > That's really helped. Pulled my hair out all day with that.**** > > > Richard**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* 12 October 2012 18:22 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] SIP gateway - can't locate outgoing > channel type**** > > ** ** > > Dialplan: sofia/external/07880966666 at 195.189.173.27 Action bridge(1000 > XML default)**** > > ** ** > > This means somewhere in your dialplan you must have**** > > ** ** > > > > You are using the syntax for the transfer app in the bridge function. > Maybe this is one of the known errata in the book if this is where you got > the example.**** > > ** ** > > try transfer instead of bridge**** > > > > **** > > On Fri, Oct 12, 2012 at 10:20 AM, Richard Weremiuk > wrote:**** > > **** > > Good afternoon**** > > **** > > I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the > latest pre-compiled version (windows). I have a successfully configured a > SIP gateway (provider voipfone), but when I dial into the PSTN number, just > to try and route to one of the default build extensions 1000 (I also tried > the IVR) I get this error:**** > > **** > > 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not > locate channel type 1000 XML default**** > > 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot > create outgoing channel of type [1000 XML default] cause: > [CHAN_NOT_IMPLEMENTED]**** > > **** > > I've taken the code straight out of the book, and just added my SIP > username and password, so I can't understand why it won't route through? > Rather than past in code here, I have put the output from a clean startup > in a word file, and also put the external sip_profile xml, and also the > public directory xml file into the same document too.**** > > **** > > http://www.beyondmarathon.com/routes/freeswitch_output.docx**** > > **** > > voipfone was not a provider listed in the wiki, but given I have been able > to get the gateway registered then I assume it is ok, and there must be a > config issue somewhere? **** > > **** > > Any help would be greatly appreciated.**** > > **** > > Regards**** > > **** > > Richard Weremiuk**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > **** > > ** ** > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121012/c3628c2d/attachment.html From tomasz.szuster at gmail.com Sat Oct 13 02:44:31 2012 From: tomasz.szuster at gmail.com (Tomasz Szuster) Date: Sat, 13 Oct 2012 00:44:31 +0200 Subject: [Freeswitch-users] incoming DID, small talk with operator then transfer/forward call to extension In-Reply-To: References: Message-ID: Hi Mahesh, Thank you for answer. I've attached requested files. Regards Tom. On Fri, Oct 12, 2012 at 8:59 PM, mahesh katta wrote: > Dear tom, > > Send the configuration and dialplan. > On Oct 12, 2012 10:18 PM, "Tomasz Szuster" > wrote: > >> Hello. >> >> I've searched wiki and other websites but unfortunatelly did not find >> info or pointers how to resolve this issue. >> >> I want to achieve below solution. >> When incoming DID call occur person assigned to this line can pick a call >> and speak with customer, then she can forward/transfer call to another >> local extension or to GSM number. >> I've found solutions when I can forward call without answering it by >> operator but this is not the case. >> >> I've sucessfullly implemented gsm_open but sadly didn't find any >> information about transfering active call to next extension. >> >> Would you be so kind and show me the way how to get this working ? >> >> Thank you. >> >> -- >> Regards >> Tom >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Pozdrawiam Tomasz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121013/200159b5/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: dialplan.tar.bz2 Type: application/x-bzip2 Size: 8243 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121013/200159b5/attachment-0001.bz2 -------------- next part -------------- A non-text attachment was scrubbed... Name: vars.xml Type: text/xml Size: 3763 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121013/200159b5/attachment-0002.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.xml Type: text/xml Size: 3013 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121013/200159b5/attachment-0003.xml From fs-list at communicatefreely.net Sat Oct 13 05:23:22 2012 From: fs-list at communicatefreely.net (Tim St. Pierre) Date: Fri, 12 Oct 2012 21:23:22 -0400 Subject: [Freeswitch-users] Multicast on Freeswitch In-Reply-To: References: Message-ID: <5078C28A.9000804@communicatefreely.net> Hi Alkesei, The expression part of the extension is a regular expression that will match against the number dialed to see if this extension should be run. I think there is a good bit about regular expressions on the wiki. What you have below will match if some either dials pagegroup or dials 7243. This part has nothing to do with paging, it just defines the number to dial to get there. What you are really interested in is the esf_page_group application. You are missing the data attribute which tells the application what to do. There can be up to four arguments in the data section. The first is the multicast address, the second is the audio port, the third is the control port (required by some devices), and the fourth is the time to live. This defaults at 1, but if you need to route these packets, you would have to increase the TTL. The last two arguments are optional. ie. Will send an audio stream to 224.168.168.1:10000 with control on 6061 and a TTL of 3. This will let you transmit. You need some mechanism to receive the multicast audio from a radio. I read about someone writing a module that would let you use playback with an RTP stream. If you can pipe the rtp stream into a conference room, you can have multiple channels listening to the audio. You can change the expression to grab part of the number dialed and use that in the destination. For example, you could map the last digit or two of the number to the last octet of the IP address so that you can address a whole range of channels with a single extension block in your dialplan. I'm very interested in this idea - what are you using for hardware? How do you control PTT? Does the radio interface have some voice detection functionality, or is it transmitting any time there is a stream? Let me know how you make out. If you need help writing the dialplan, CC your response to tim AT communicate freely DOT net -Tim Aleksei Zjabkin wrote: > > Hi! > > I?m working on a project of integration radios into VoIP network. Main > task is SIP to Radio intercom using multicast streams. > > I already have a working solution, based on Cisco E&M and twisted pair > WAVE. Since Wave is a little bit costly solution, I want to implement > intercom using freeswitch. > > Main problem is that I?m not developer and just a network guy and I > need help in implementation. I had some experience with multicast > steams on Asterisk and I believe that freeswitch is more flexible than > asterisk. > > First and most important question is about how is multicast > implemented on freeswitch. Here is an example from the samples > included with freeswitch: > > > > > > > > > > > > > > * * > > *expression="^pagegroup$|^7243"> - *what does this expression mean? > Does it mean that dialer must be a member of a pagegroup? > > At the beggining I need to setup freeswitch to stream a SIP call, so > applications like VLC could listen it. > > Best Regards, > > Aleksei Zjabkin > > IT lahendused \ IT solutions > > GSM +372 58055975 > > ------------------------- > > Telegrupp AS > > Tartu mnt. 63, 10115 > > Tallinn > > Eesti \ Estonia > > ------------------------------------------------------------------------ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From khuenm at vega.com.vn Sat Oct 13 07:43:35 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Sat, 13 Oct 2012 10:43:35 +0700 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" ;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler > Hello,**** > > ** ** > > Check out https://github.com/englercj/node-esl**** > > ** ** > > Thanks,**** > > ** ** > > Chad**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 5:01 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] How to send sip MESSAGE from script**** > > ** ** > > Hi all,**** > > ** ** > > I want send message "MESSAGE" to caller from javascript. How I can do it, > please guide me?**** > > ** ** > > Brs,**** > > Khue.**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121013/267a7efa/attachment.html From fs-list at communicatefreely.net Sat Oct 13 07:50:12 2012 From: fs-list at communicatefreely.net (Tim St. Pierre) Date: Fri, 12 Oct 2012 23:50:12 -0400 Subject: [Freeswitch-users] conference.freeswitch.org native ipv6 In-Reply-To: References: Message-ID: <5078E4F4.50901@communicatefreely.net> Works for me. Brian West wrote: > sip:888@[2606:d900:0:24:c8fe:caff:fefe:cafe]:5060 > > > Can everyone with V6 test this out? > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST > iNUM: +883 5100 1286 0410 > > ------------------------------------------------------------------------ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From itamar at ispbrasil.com.br Sat Oct 13 08:04:42 2012 From: itamar at ispbrasil.com.br (Itamar Reis Peixoto) Date: Sat, 13 Oct 2012 01:04:42 -0300 Subject: [Freeswitch-users] conference.freeswitch.org native ipv6 In-Reply-To: References: Message-ID: On Thu, Oct 11, 2012 at 8:51 PM, Brian West wrote: > sip:888@[2606:d900:0:24:c8fe:caff:fefe:cafe]:5060 > > Can everyone with V6 test this out? > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST > iNUM: +883 5100 1286 0410 Add a AAAA record to this address. -- ------------ Itamar Reis Peixoto From krice at freeswitch.org Sat Oct 13 08:41:52 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 12 Oct 2012 23:41:52 -0500 Subject: [Freeswitch-users] conference.freeswitch.org native ipv6 In-Reply-To: Message-ID: I think it was already added... Conference.v6.freeswitch.org ... There might be one at conference.freeswitch.org.... Let us know if its working not sure if brian got it done or not On 10/12/12 11:04 PM, "Itamar Reis Peixoto" wrote: > On Thu, Oct 11, 2012 at 8:51 PM, Brian West wrote: >> sip:888@[2606:d900:0:24:c8fe:caff:fefe:cafe]:5060 >> >> Can everyone with V6 test this out? >> >> -- >> Brian West >> brian at freeswitch.org >> FreeSWITCH Solutions, LLC >> PO BOX PO BOX 2531 >> Brookfield, WI 53008-2531 >> >> Twitter: @FreeSWITCH_Wire >> http://freeswitchcookbook.com >> http://freeswitchbook.com >> >> T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST >> iNUM: +883 5100 1286 0410 > > Add a AAAA record to this address. -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch From peter.olsson at visionutveckling.se Sat Oct 13 10:39:15 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Sat, 13 Oct 2012 06:39:15 +0000 Subject: [Freeswitch-users] Compiling mod_h323 on Windows Message-ID: <1FFF97C269757C458224B7C895F35F15179815@cantor.std.visionutv.se> First of all, download h323plus and ptlib from here: http://www.h323plus.org/source/ Extract the archives on the same level as the freeswitch main source directory, my structure looks like this; - C:\dev\ - freeswitch - h323plus - ptlib Then you will need to build ptlib, and then h323plus. You will only need the static libraries. It might be tricky to get these things built, but you might find some more info on Google if needed. You might need to change the paths to make sure the h323plus finds ptlib. Also, there is no 64-bit build in the project files, so if you need 64-bit you will need to update the project files (I have a modified version, which might help if you need it). After this, build FS an you usually do, when the build is done, build mod_h323 manually. The mod_h323 project will look in the folders specified above, so it's important that you put ptlib and h323plus directories on the same directory level as the main freeswitch source directory (as my example above). Good luck! /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Shishko Skickat: den 12 oktober 2012 16:12 Till: FreeSWITCH Users Help ?mne: [Freeswitch-users] Compiling mod_h323 on Windows Hi, could anybody give me basic instructions on how to build mod_h323 on Windows using Visual Studio 2010? Thanks _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:5078465332761226277865! From curriegrad2004 at gmail.com Sat Oct 13 11:23:08 2012 From: curriegrad2004 at gmail.com (curriegrad2004) Date: Sat, 13 Oct 2012 00:23:08 -0700 Subject: [Freeswitch-users] conference.freeswitch.org native ipv6 In-Reply-To: References: Message-ID: conference.freeswitch.org is v6 ready. You obviously need an enabled Sofia IPv6 SIP profile. On Fri, Oct 12, 2012 at 9:41 PM, Ken Rice wrote: > I think it was already added... Conference.v6.freeswitch.org ... There might > be one at conference.freeswitch.org.... Let us know if its working not sure > if brian got it done or not > > > On 10/12/12 11:04 PM, "Itamar Reis Peixoto" wrote: > >> On Thu, Oct 11, 2012 at 8:51 PM, Brian West wrote: >>> sip:888@[2606:d900:0:24:c8fe:caff:fefe:cafe]:5060 >>> >>> Can everyone with V6 test this out? >>> >>> -- >>> Brian West >>> brian at freeswitch.org >>> FreeSWITCH Solutions, LLC >>> PO BOX PO BOX 2531 >>> Brookfield, WI 53008-2531 >>> >>> Twitter: @FreeSWITCH_Wire >>> http://freeswitchcookbook.com >>> http://freeswitchbook.com >>> >>> T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST >>> iNUM: +883 5100 1286 0410 >> >> Add a AAAA record to this address. > > -- > Ken > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > irc.freenode.net #freeswitch > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From mthakershi at gmail.com Sun Oct 14 09:07:55 2012 From: mthakershi at gmail.com (Malay Thakershi) Date: Sun, 14 Oct 2012 00:07:55 -0500 Subject: [Freeswitch-users] Local vs external IP Message-ID: Hello, How do I make FreeSwitch treat certain IP as local network IP address? The freeswitch server seems to not understand that 10.25.20.x is an internal network. >From what I read, FreeSwitch has settings for local addresses and external addresses. When it talks to non-local hosts it should tell them to reply to the external addresses. In my configuration, it does this just fine. When it talks to hosts on internal networks it should use its internal address. Instead it is telling internal hosts to communicate with it via its external address. This is causing a call setup failure. My network IP config: Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 10.25.20.202 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.25.20.1 Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : xxxxxxxxxxxxxxxxxxxx IPv4 Address. . . . . . . . . . . : 192.168.56.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Thanks for help. Malay Thakershi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/f02986ce/attachment.html From peter.olsson at visionutveckling.se Sun Oct 14 11:45:55 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Sun, 14 Oct 2012 07:45:55 +0000 Subject: [Freeswitch-users] Local vs external IP In-Reply-To: References: Message-ID: This should work by default. It's handled by the sofia profile parameter, local-network-acl, which should be set to localnet.auto by default. You will find more info on the wiki, search for ACL's and sofia profile parameters. /Peter 14 okt 2012 kl. 07:15 skrev "Malay Thakershi" >: Hello, How do I make FreeSwitch treat certain IP as local network IP address? The freeswitch server seems to not understand that 10.25.20.x is an internal network. >From what I read, FreeSwitch has settings for local addresses and external addresses. When it talks to non-local hosts it should tell them to reply to the external addresses. In my configuration, it does this just fine. When it talks to hosts on internal networks it should use its internal address. Instead it is telling internal hosts to communicate with it via its external address. This is causing a call setup failure. My network IP config: Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 10.25.20.202 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.25.20.1 Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : xxxxxxxxxxxxxxxxxxxx IPv4 Address. . . . . . . . . . . : 192.168.56.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Thanks for help. Malay Thakershi !DSPAM:507a46b332765484538074! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:507a46b332765484538074! From gabe at gundy.org Sun Oct 14 12:17:19 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Sun, 14 Oct 2012 02:17:19 -0600 Subject: [Freeswitch-users] sip profile - accept-blind-auth vs In-Reply-To: <50340CD4.9090006@gmail.com> References: <5033CC06.2040605@gmail.com> <6380AF79-A0F5-4A7C-A62F-4D5841C4848D@jerris.com> <5033F482.4070804@gmail.com> <50340CD4.9090006@gmail.com> Message-ID: On Aug 21, 2012 4:38 PM, "Daniel-Constantin Mierla" wrote: > > Hello, > > the version is: > > FreeSWITCH version: 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1; git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z) > > Did few calls and got one more strange situation. So I commented the line: > > > > > and let: > > > > Surprising, the calls are not authenticated. > > But if I set: > > > > > I get 407 reply. > > To summarize, I got: > 1) auth-calls=false and accept-blind-auth=true => no 407 reply > 2) auth-calls=false and accept-blind-auth commented => 407 reply > 3) auth-calls=true and accept-blind-auth commented => no 407 reply > > Looks like 3) is opposite than expected. Maybe it's too late in the night here, missing something obvious, I will try again tomorrow morning and I will fire a bug if it is really the case. What came of this? > > Cheers, > Daniel > > > > On 8/21/12 11:43 PM, Michael Collins wrote: >> >> FWIW, I could not reproduce this behavior on v1.2.stable branch. When I set auth-calls=false in the SIP profile and make an inbound call it just relies on the ACL and that's it. >> >> Miconda, what version of FS did you say you were running? >> >> -MC >> >> On Tue, Aug 21, 2012 at 1:50 PM, Daniel-Constantin Mierla < miconda at gmail.com> wrote: >>> >>> Hi Mike, >>> >>> On 8/21/12 10:27 PM, Michael Jerris wrote: >>> > auth-calls false means we won't challenge invite, accept-blind-auth means if auth headers are there, we ignore them. >>> >>> it is what I expected from auth-calls (and worked like this in the >>> past), but now even if set to false, the calls are challenged with 407 >>> reply for authentication. Only when I set accept-blind-auth to false >>> there is no 407. >>> >>> Overall, it gets me what I need, access being granted on IP acl, but I >>> wanted to double check if such change in behaviour of auth-calls was >>> done on purpose. I will review my changes comparing with the default >>> configs to see if I modified other params that could result in this >>> situation, although I think there is no other related parameter. >>> >>> Cheers, >>> Daniel >>> >>> > >>> > Mike >>> > >>> > On Aug 21, 2012, at 1:57 PM, Daniel-Constantin Mierla < miconda at gmail.com> wrote: >>> > >>> >> Hello, >>> >> >>> >> in the past I used to set: >>> >> >>> >> >>> >> >>> >> in the sip profile in order to skip user authentication for calls. >>> >> >>> >> Lately I started to play a bit with 1.2 stable branch and seems that >>> >> setting auth-calls to false is no longer doing what I expected, calls >>> >> being challenged for user authentication. >>> >> >>> >> Setting instead the accept-blind-auth to false got me what I wanted, like: >>> >> >>> >> >>> >> >>> >> >>> >> But from the comment (checked the wiki as well, but has the same text) >>> >> is a bit unclear what is the real purpose for it. >>> >> >>> >> Isn't auth-calls=false supposed to accept calls without user >>> >> authentication anymore? >>> >> >>> >> For this particular case, I play some announcements, like 'user not >>> >> available', and should work also for calls coming from outside. The >>> >> access is restricted by IP address ACL, allowing SIP traffic only from >>> >> my Kamailio instance. >>> > >>> > _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.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 >>> >>> -- >>> Daniel-Constantin Mierla - http://www.asipto.com >>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda >>> Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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- >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/fd549576/attachment-0001.html From gabe at gundy.org Sun Oct 14 12:21:15 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Sun, 14 Oct 2012 02:21:15 -0600 Subject: [Freeswitch-users] sip profile - accept-blind-auth vs In-Reply-To: <50340CD4.9090006@gmail.com> References: <5033CC06.2040605@gmail.com> <6380AF79-A0F5-4A7C-A62F-4D5841C4848D@jerris.com> <5033F482.4070804@gmail.com> <50340CD4.9090006@gmail.com> Message-ID: On Aug 21, 2012 4:38 PM, "Daniel-Constantin Mierla" wrote: > To summarize, I got: > 1) auth-calls=false and accept-blind-auth=true => no 407 reply > 2) auth-calls=false and accept-blind-auth commented => 407 reply > 3) auth-calls=true and accept-blind-auth commented => no 407 reply > > Looks like 3) is opposite than expected. Maybe it's too late in the night here, missing something obvious, I will try again tomorrow morning and I will fire a bug if it is really the case. What became of this? BTW, please ignore my last email. I. blame the poor formating on my phone. Gabe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/0c774067/attachment.html From mthakershi at gmail.com Sun Oct 14 19:52:49 2012 From: mthakershi at gmail.com (Malay Thakershi) Date: Sun, 14 Oct 2012 10:52:49 -0500 Subject: [Freeswitch-users] Local vs external IP In-Reply-To: References: Message-ID: Can this be due to DTMF settings? Will it help if I put In my profile? On Sun, Oct 14, 2012 at 2:45 AM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > This should work by default. It's handled by the sofia profile parameter, > local-network-acl, which should be set to localnet.auto by default. > > You will find more info on the wiki, search for ACL's and sofia profile > parameters. > > /Peter > > 14 okt 2012 kl. 07:15 skrev "Malay Thakershi" >: > > Hello, > > How do I make FreeSwitch treat certain IP as local network IP address? The > freeswitch server seems to not understand that 10.25.20.x is an internal > network. > > >From what I read, FreeSwitch has settings for local addresses and > external addresses. When it talks to non-local hosts it should tell them > to reply to the external addresses. In my configuration, it does this just > fine. When it talks to hosts on internal networks it should use its > internal address. Instead it is telling internal hosts to communicate with > it via its external address. This is causing a call setup failure. > > My network IP config: > Ethernet adapter Local Area Connection 2: > > Media State . . . . . . . . . . . : Media disconnected > Connection-specific DNS Suffix . : > > Ethernet adapter Local Area Connection: > > Connection-specific DNS Suffix . : > IPv4 Address. . . . . . . . . . . : 10.25.20.202 > Subnet Mask . . . . . . . . . . . : 255.255.255.0 > Default Gateway . . . . . . . . . : 10.25.20.1 > > Ethernet adapter VirtualBox Host-Only Network: > > Connection-specific DNS Suffix . : > Link-local IPv6 Address . . . . . : xxxxxxxxxxxxxxxxxxxx > IPv4 Address. . . . . . . . . . . : 192.168.56.1 > Subnet Mask . . . . . . . . . . . : 255.255.255.0 > Default Gateway . . . . . . . . . : > > Thanks for help. > > Malay Thakershi > !DSPAM:507a46b332765484538074! > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 FreeSWITCH-users at lists.freeswitch.org> > 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 > > > !DSPAM:507a46b332765484538074! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121014/d16e2251/attachment.html From shishko69 at gmail.com Sun Oct 14 13:25:57 2012 From: shishko69 at gmail.com (Shishko) Date: Sun, 14 Oct 2012 11:25:57 +0200 Subject: [Freeswitch-users] Compiling mod_h323 on Windows In-Reply-To: <1FFF97C269757C458224B7C895F35F15179815@cantor.std.visionutv.se> References: <1FFF97C269757C458224B7C895F35F15179815@cantor.std.visionutv.se> Message-ID: Hi Peter, I successfully built mod_h323 following your advice, thank you very much! From lohchab1 at gmail.com Sun Oct 14 15:18:36 2012 From: lohchab1 at gmail.com (Nitin India) Date: Sun, 14 Oct 2012 16:48:36 +0530 Subject: [Freeswitch-users] att_xfer not working properly (One Way Sound) Message-ID: Hi, 101 Calls on 102 then 102 Do a att_xfer by pressing 1 while conversation on which bind_digit_action executes the att_xfer to 103 if 103 Answers the Call 101 Gets the Hold Message and 102 Start getting sound of 103 But, 103 is unable to hear the sound of 102 who done the att_xfer and if 102 Disconnects the Call then 103 is Bridged with 101 properly and both users can talk and hear each other. So, the problem is 103 is unable to hear 102 and there are no sip problems etc.. as we are using PRI/ISDN Lines and have also tried with sip both have same issue. See my Dial Plan. -- ------------------------------------------------ Thanks & Regards Nitin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/ecccdccf/attachment-0001.html From cal.leeming at simplicitymedialtd.co.uk Sun Oct 14 22:10:42 2012 From: cal.leeming at simplicitymedialtd.co.uk (Cal Leeming [Simplicity Media Ltd]) Date: Sun, 14 Oct 2012 19:10:42 +0100 Subject: [Freeswitch-users] Freeswitch + Python - request for paid advice Message-ID: Hello all, I'm currently looking for someone who can offer a few hours (4-6?) of paid advice over Skype relating to architectural design of using Freeswitch and Python. I felt it would be unfair to expect the community to answer so many questions such detail, hence why I'm more than happy to pay for the advice. I have around 8 years solid Python development experience, and have spent a week or so reading through the masses of wikis/documentation/mailing lists relating to Freeswitch. Prior to this I spent a considerable amount of time comparing other platforms to FS, and reading various articles about the technical differences between them as well, before coming to the conclusion that FS was the way forward. Some of the questions I would be asking are; * Are there any surprising 'gotchas' when using Python with FS? * Is there a preferred way of integrating Python into FS? - For example, a call queue system, should I have a bunch of external scripts generating the XML config on the fly, or should I have FS call a Python method which calls a database and then returns a chunk of XML on the fly (xml_fetch?), or is there other ways? * There are various projects relating to integrating Event Socket with Python/Twisted.. what are the pros/cons of the most popular ones (such as fiorix/eventsocket on gh). * Some real world examples of why you would use Event Socket, and the correct way of doing so.. Do you really have to use Twisted, or can you use eventlet instead? * Any unexpected 'gotchas' when using Django with python+fs (I saw the bugs relating to sockets not being closed, which appears to now be fixed?) * The correct way to provide dual redundancy (i.e. I'm assuming you can't run two freeswitch instances in active<>active mode, so you'd have them in active<>passive mode and then have your load balancer fail over in the event of a problem? But this raises questions about how you keep both instances up to date with the same config, what would happen to the existing calls, etc etc). There are only a few caveats to this; * The person should have a lot of prior experience with integrating Python with Freeswitch, and be able to demonstrate this in some way. * Any information given would be summarized and sent onto this mailing list (and my own blog) so that it may benefit others in the future - you can chose whether or not to have your credits included. * The person should ideally speak reasonably good English If you (or anyone you know) would be interested in something like this, please feel free to hit me up directly. Thanks in advance to everyone Cal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/685d80c6/attachment-0001.html From philq at qsystemsengineering.com Sun Oct 14 23:02:06 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Sun, 14 Oct 2012 12:02:06 -0700 (PDT) Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <008a01cda6a0$a9c80a90$fd581fb0$@com> <020b01cda7cd$c59c1fd0$50d45f70$@com> Message-ID: <1350241326640-7583610.post@n2.nabble.com> Thanks Anthony. Understood on the Jira... I'm thinking that this problem is limited to me since I switched to HEAD, did git clean, reset, modwipe, etc. and still have the same problem on the other branch. At least with dl_debug I can get some more detailed info although I'm still not quite sure what's going on with Jingle. The dns names are present due to the fact that ext_rtp_ip and ext_sip_ip are set to host:pbxdomain.com which resolves to the IP address of the switch. This allows us to easily change the IP if there's a network problem, etc. It has been configured this way for quite some time, there have been no recent changes. Here are a few snippets of what seems to be relevant in case you or anyone else has any ideas, trying to keep it short. I also tried changing the dialplan to get rid of the preceding '1' with no success, hadn't tried removing the '+': EXECUTE sofia/internal/102 at 192.168.1.6:5060 bridge(dingaling/gtalk/+1410969xxxx at voice.google.com) 2012-10-14 01:53:12.428295 [DEBUG] switch_channel.c:1072 sofia/internal/102 at 192.168.1.6:5060 EXPORTING[export_vars] [domain_name]=[192.168.1.6] to event 2012-10-14 01:53:12.428295 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:990 Set Local Key [1 AES_CM_128_HMAC_SHA1_80 inline:bXRH7.........(removed)............dJMcb] 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:990 Set Local Key [1 AES_CM_128_HMAC_SHA1_80 inline:gGOh1.........(removed)............xpywl] 2012-10-14 01:53:12.428295 [NOTICE] switch_channel.c:951 New Channel dingaling/gtalk/+1410969xxxx at voice.google.com [686c8d6b-6838-4491-8058-b133afe1d8f3] 2012-10-14 01:53:12.428295 [CRIT] libdingaling.c:363 Created Session 0021454872 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:2595 (dingaling/gtalk/+1410969xxxx at voice.google.com) State Change CS_NEW -> CS_INIT 2012-10-14 01:53:12.428295 [DEBUG] switch_core_session.c:1210 Send signal dingaling/gtalk/+1410969xxxx at voice.google.com [BREAK] 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:2024 dingaling/gtalk/+1410969xxxx at voice.google.com CHANNEL KILL 2012-10-14 01:53:12.428295 [DEBUG] switch_core_session.c:905 Send signal sofia/internal/102 at 192.168.1.6:5060 [BREAK] 2012-10-14 01:53:12.448460 [DEBUG] switch_core_state_machine.c:398 (dingaling/gtalk/+1410969xxxx at voice.google.com) Running State Change CS_INIT 2012-10-14 01:53:12.448460 [DEBUG] switch_core_state_machine.c:437 (dingaling/gtalk/+1410969xxxx at voice.google.com) State INIT 2012-10-14 01:53:12.448460 [NOTICE] mod_dingaling.c:1753 Ring-Ready dingaling/gtalk/+1410969xxxx at voice.google.com! 2012-10-14 01:53:12.448460 [DEBUG] sofia.c:6282 Channel sofia/internal/102 at 192.168.1.6:5060 entering state [early][180] 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1629 Don't have my audio codec yet here's one 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1675 Don't have video codec. 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1686 Send Describe [PCMU at 8000] 2012-10-14 01:53:13.388338 [CRIT] libdingaling.c:1830 Processing 1 packets in retry queue 2012-10-14 01:53:13.388338 [CRIT] libdingaling.c:1847 Sending packet 366 (2 left) 2012-10-14 01:53:13.388338 [NOTICE] libdingaling.c:1745 SecSEND: ------------------------------------------------------------------------------- 2012-10-14 01:53:13.608318 [INFO] libdingaling.c:1743 SecRECV: ------------------------------------------------------------------------------- xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE= xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE= 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1305 Cancel packet 366 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:391 Message for Session 0021454872 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:4055 using Existing session for 0021454872 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:1675 Don't have video codec. 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:1686 Send Describe [PCMU at 8000] 2012-10-14 01:53:13.608318 [NOTICE] libdingaling.c:1745 SecSEND: ------------------------------------------------------------------------------- 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1830 Processing 2 packets in retry queue 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1856 Discarding packet 366 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1847 Sending packet 367 (2 left) 2012-10-14 01:53:13.608318 [NOTICE] libdingaling.c:1745 SecSEND: ------------------------------------------------------------------------------- 2012-10-14 01:53:14.168342 [INFO] libdingaling.c:1743 SecRECV: ------------------------------------------------------------------------------- 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1305 Cancel packet 367 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1830 Processing 1 packets in retry queue 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1856 Discarding packet 367 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send rtp Candidate voip.mypbxdomain.com:24480 [DTfQI2DAbBjxcPVQ] 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send rtcp Candidate voip.mypbxdomain.com:24481 [LwTkpnKqOUNRAzyt] 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send video_rtp Candidate voip.mypbxdomain.com:24482 [DIQSWr9AbNhCdFVW] 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send video_rtcp Candidate voip.mypbxdomain.com:24483 [8vBUMBkOeshiY24v] 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1565 Accepted 0 of 0 rtp candidates. 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1567 Accepted 0 of 0 rtcp candidates. 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1570 Accepted 0 of 0 video_rtp candidates 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1573 Accepted 0 of 0 video_rctp candidates 2012-10-14 01:53:22.968198 [CRIT] libdingaling.c:1830 Processing 4 packets in retry queue Then a bit further down, we appear to have some sort of session timeout and a recipient unavailable message: 2012-10-14 01:53:23.368270 [INFO] libdingaling.c:1743 SecRECV: ------------------------------------------------------------------------------- 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1305 Cancel packet 371 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1830 Processing 1 packets in retry queue 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1856 Discarding packet 371 2012-10-14 01:53:29.168109 [INFO] libdingaling.c:1743 SecRECV: ------------------------------------------------------------------------------- Session timed out 2012-10-14 01:53:29.168109 [CRIT] libdingaling.c:391 Message for Session 0021454872 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:4055 using Existing session for 0021454872 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:4373 hungup dingaling/gtalk/+1410969xxxx at voice.google.com 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:801 Terminate called from line 4374 state=CS_INIT 2012-10-14 01:53:29.168109 [DEBUG] switch_channel.c:2950 (dingaling/gtalk/+1410969xxxx at voice.google.com) Callstate Change DOWN -> HANGUP -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583610.html Sent from the freeswitch-users mailing list archive at Nabble.com. From krice at freeswitch.org Sun Oct 14 23:07:16 2012 From: krice at freeswitch.org (Ken Rice) Date: Sun, 14 Oct 2012 14:07:16 -0500 Subject: [Freeswitch-users] Freeswitch + Python - request for paid advice In-Reply-To: Message-ID: Hey Cal, Email consulting at freeswitch.org they will get you lined up with someone to help you out On 10/14/12 1:10 PM, "Cal Leeming [Simplicity Media Ltd]" wrote: > Hello all, > > I'm currently looking for someone who can offer a few hours (4-6?) of paid > advice over Skype relating to architectural design of using Freeswitch and > Python. > > I felt it would be unfair to expect the community to answer so many questions > such detail, hence why I'm more than happy to pay for the advice. > > I have around 8 years solid Python development experience, and have spent a > week or so reading through the masses of wikis/documentation/mailing lists > relating to Freeswitch. Prior to this I spent a considerable amount of time > comparing other platforms to FS, and reading various articles about the > technical differences between them as well, before coming to the conclusion > that FS was the way forward. > > Some of the questions I would be asking are; > > * Are there any?surprising?'gotchas' when using Python with FS? > > * Is there a preferred way of integrating Python into FS?? > ?- For example, a call queue system, should I have a bunch of external scripts > generating the XML config on the fly, or should I have FS call a Python method > which calls a database and then returns a chunk of XML on the fly > (xml_fetch?), or is there other ways? > > * There are various projects relating to integrating Event Socket with > Python/Twisted.. what are the pros/cons of the most popular ones (such > as?fiorix/eventsocket on gh). > > * Some real world examples of why you would use Event Socket, and the correct > way of doing so.. Do you really have to use Twisted, or can you use eventlet > instead? > > * Any unexpected 'gotchas' when using Django with python+fs (I saw the bugs > relating to sockets not being closed, which appears to now be fixed?) > > * The correct way to provide dual redundancy (i.e. I'm assuming you can't run > two freeswitch instances in active<>active mode, so you'd have them in > active<>passive mode and then have your load balancer fail over in the event > of a problem? But this raises questions about how you keep both instances up > to date with the same config, what would happen to the existing calls, etc > etc). > > There are only a few caveats to this; > > * The person should have a lot of prior experience with integrating Python > with Freeswitch, and be able to demonstrate this in some way. > * Any information given would be?summarized?and sent onto this mailing list > (and my own blog) so that it may benefit others in the future - you can chose > whether or not to have your credits included. > * The person should?ideally?speak reasonably good English > > If you (or anyone you know) would be interested in something like this, please > feel free to hit me up directly. > > Thanks in advance to everyone > > Cal > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/85311455/attachment.html From cal.leeming at simplicitymedialtd.co.uk Sun Oct 14 23:12:55 2012 From: cal.leeming at simplicitymedialtd.co.uk (Cal Leeming [Simplicity Media Ltd]) Date: Sun, 14 Oct 2012 20:12:55 +0100 Subject: [Freeswitch-users] Freeswitch + Python - request for paid advice In-Reply-To: References: Message-ID: Thank you for the heads up! On Sun, Oct 14, 2012 at 8:07 PM, Ken Rice wrote: > Hey Cal, > > Email consulting at freeswitch.org they will get you lined up with someone > to help you out > > > > On 10/14/12 1:10 PM, "Cal Leeming [Simplicity Media Ltd]" < > cal.leeming at simplicitymedialtd.co.uk> wrote: > > Hello all, > > I'm currently looking for someone who can offer a few hours (4-6?) of paid > advice over Skype relating to architectural design of using Freeswitch and > Python. > > I felt it would be unfair to expect the community to answer so many > questions such detail, hence why I'm more than happy to pay for the advice. > > I have around 8 years solid Python development experience, and have spent > a week or so reading through the masses of wikis/documentation/mailing > lists relating to Freeswitch. Prior to this I spent a considerable amount > of time comparing other platforms to FS, and reading various articles about > the technical differences between them as well, before coming to the > conclusion that FS was the way forward. > > Some of the questions I would be asking are; > > * Are there any surprising 'gotchas' when using Python with FS? > > * Is there a preferred way of integrating Python into FS? > - For example, a call queue system, should I have a bunch of external > scripts generating the XML config on the fly, or should I have FS call a > Python method which calls a database and then returns a chunk of XML on the > fly (xml_fetch?) > , or is there other ways? > > > * There are various projects relating to integrating Event Socket with > Python/Twisted.. what are the pros/cons of the most popular ones (such > as fiorix/eventsocket on gh). > > * Some real world examples of why you would use Event Socket, and the > correct way of doing so.. Do you really have to use Twisted, or can you use > eventlet instead? > > * Any unexpected 'gotchas' when using Django with python+fs (I saw the > bugs relating to sockets not being closed, which appears to now be fixed?) > > * The correct way to provide dual redundancy (i.e. I'm assuming you can't > run two freeswitch instances in active<>active mode, so you'd have them in > active<>passive mode and then have your load balancer fail over in the > event of a problem? But this raises questions about how you keep both > instances up to date with the same config, what would happen to the > existing calls, etc etc). > > There are only a few caveats to this; > > * The person should have a lot of prior experience with integrating Python > with Freeswitch, and be able to demonstrate this in some way. > * Any information given would be summarized and sent onto this mailing > list (and my own blog) so that it may benefit others in the future - you > can chose whether or not to have your credits included. > * The person should ideally speak reasonably good English > > If you (or anyone you know) would be interested in something like this, > please feel free to hit me up directly. > > Thanks in advance to everyone > > Cal > > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121014/9868da02/attachment-0001.html From mthakershi at gmail.com Mon Oct 15 06:31:35 2012 From: mthakershi at gmail.com (Malay Thakershi) Date: Sun, 14 Oct 2012 21:31:35 -0500 Subject: [Freeswitch-users] Different DTMF behavior??? Message-ID: Hello, I have a toll-free number (877 area code) hosted @ WindStream and is simply getting forwarded to a local number hosted @ Vitelity (214 area code). Call 877 number from T-mobile or Vonage ==> digits get recognized fine (normal behavior) Call 877 number from Google voice/Verizon/ATT/certain area codes ==> digits are not recognized / garbled (almost 100% failure) Call 214 number form Google voice ==> digits get recognized fine (normal behavior) I had everything working fine when the 877 number was hosted with Vitelity. But we moved it to WindStream as we bought lines from them to our server. Something is going wrong in DTMF process. Can someone guide me regarding this? Where to look? I did try "dtmf-type=rfc.." setting and "liberal-dtmf=true" setting. But didn't work. Thanks for help. Malay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121014/aaffcfcf/attachment.html From william at xofap.com Mon Oct 15 08:29:03 2012 From: william at xofap.com (William Alianto) Date: Mon, 15 Oct 2012 11:29:03 +0700 Subject: [Freeswitch-users] FreeTDM DTMF generation not stable. Message-ID: <507B910F.30507@xofap.com> Hi, I have setup a FS box and added OpenVox A800E cards for FXO ports. The freetdm has been configured properly. But when I tried to dial out from the FXO ports, the call always fail. It seems like the system didn't send out the DTMF properly. Sometimes it's not even generating any DTMF. http://pastebin.com/ZSzyX7id Have anybody experienced this before? Regards, William From peter.olsson at visionutveckling.se Mon Oct 15 10:14:39 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Mon, 15 Oct 2012 06:14:39 +0000 Subject: [Freeswitch-users] Compiling mod_h323 on Windows In-Reply-To: References: <1FFF97C269757C458224B7C895F35F15179815@cantor.std.visionutv.se>, Message-ID: That's good news! If you have the time, could you please also put this informaton on the wiki, under mod_h323 module? /Peter 14 okt 2012 kl. 20:56 skrev "Shishko" : > Hi Peter, > > I successfully built mod_h323 following your advice, thank you very much! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > !DSPAM:507b071832768010178904! > From peter.olsson at visionutveckling.se Mon Oct 15 10:17:57 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Mon, 15 Oct 2012 06:17:57 +0000 Subject: [Freeswitch-users] Local vs external IP In-Reply-To: References: , Message-ID: <79FDBD50-46C7-407E-B2AE-84E0E44EEB28@visionutveckling.se> No, DTMF won't affect such things. Please read through the ACL stuff I mentioned. This is to tell FS what networks are local or remote. /Peter 14 okt 2012 kl. 18:00 skrev "Malay Thakershi" >: Can this be due to DTMF settings? Will it help if I put In my profile? On Sun, Oct 14, 2012 at 2:45 AM, Peter Olsson > wrote: This should work by default. It's handled by the sofia profile parameter, local-network-acl, which should be set to localnet.auto by default. You will find more info on the wiki, search for ACL's and sofia profile parameters. /Peter 14 okt 2012 kl. 07:15 skrev "Malay Thakershi" >>: Hello, How do I make FreeSwitch treat certain IP as local network IP address? The freeswitch server seems to not understand that 10.25.20.x is an internal network. >From what I read, FreeSwitch has settings for local addresses and external addresses. When it talks to non-local hosts it should tell them to reply to the external addresses. In my configuration, it does this just fine. When it talks to hosts on internal networks it should use its internal address. Instead it is telling internal hosts to communicate with it via its external address. This is causing a call setup failure. My network IP config: Ethernet adapter Local Area Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 10.25.20.202 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.25.20.1 Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : xxxxxxxxxxxxxxxxxxxx IPv4 Address. . . . . . . . . . . : 192.168.56.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Thanks for help. Malay Thakershi _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org> http://www.freeswitchsolutions.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 !DSPAM:507a46b332765484538074! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:507addbf32761434516599! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:507addbf32761434516599! From lohchab1 at gmail.com Mon Oct 15 05:30:04 2012 From: lohchab1 at gmail.com (Nitin) Date: Mon, 15 Oct 2012 01:30:04 +0000 (UTC) Subject: [Freeswitch-users] incoming DID, small talk with operator then transfer/forward call to extension References: Message-ID: Tomasz Szuster writes: > > > Hi Mahesh, > > Thank you for answer. > I've attached requested files. > > > Regards > Tom. > On Fri, Oct 12, 2012 at 8:59 PM, mahesh katta wrote: > Dear tom, > Send the configuration and dialplan. > > On Oct 12, 2012 10:18 PM, "Tomasz Szuster" wrote: > > > > Hello. > > I've searched wiki and other websites but unfortunatelly did not find info or pointers how to resolve this issue. > > I want to achieve below solution. > > > > > > When incoming DID call occur person assigned to this line can pick a call and speak with customer, then she can forward/transfer call to another local extension or to GSM number. > I've found solutions when I can forward call without answering it by operator but this is not the case. > > > > > > I've sucessfullly implemented gsm_open but sadly didn't find any information about transfering active call to next extension. > > Would you be so kind and show me the way how to get this working ? > > > > > > Thank you. > > -- RegardsTom > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting freeswitch.orghttp://www.freeswitchsolutions.com > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com > FreeSWITCH-users mailing listFreeSWITCH-users- PD4FTy7X32k3T7AR8gHRW2D2FQJk+8+b at public.gmane.orghttp://lists.freeswitch.org/ma ilman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- usershttp://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting- YF8E+gPBBv73h3GqohbjpQ at public.gmane.orghttp://www.freeswitchsolutions.com > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com > FreeSWITCH-users mailing listFreeSWITCH-users lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch- users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- usershttp://www.freeswitch.org > > > -- PozdrawiamTomasz > > > > Attachment (dialplan.tar.bz2): application/x-bzip2, 8 KiB > Attachment (vars.xml): text/xml, 3764 bytes > Attachment (freeswitch.xml): text/xml, 3014 bytes > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at ... > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at ... > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > Hi Tom, You need to use the Bind_Digit_Action Application in your Dial Plan to get this work see the below example. In Above, 101 Extension is Incoming DID as soon as call comes bridge application rings 102 Extension and if 102 extension answers the call and after some talking with the customer and press *1 key in the telephone the Customer will start getting hold message and call will start ringing at 103 extension and if 103 extension answers the call 103 extension will be able to talk to the 102 extension (Operator) after some talking with operator if 103 wish to get the customer call the Operator on 102 can simply disconnect the call and after that hold message to customer (caller) will stop and it will be bridged with 103 extension. So, in Above case Call First Connected to Receptionist at 102 and after that 102 start talking with the caller if caller wish to talk to 103 the operator can press *1 key while conversation then call will be connected to 103 extension so, the call has to go through the operator if customer wish to talk to 103 extension. From gerald.weber at besharp.at Mon Oct 15 12:16:48 2012 From: gerald.weber at besharp.at (Gerald Weber) Date: Mon, 15 Oct 2012 08:16:48 +0000 Subject: [Freeswitch-users] sip_presence Table Message-ID: Hi all, playing around with the sip presence feature, i noticed that the sip_presence table in share_presence.db is always empty. I've set the following parameters in my internal.xml : My dialplan contains: When i make a call from 2001 to 2000, i see 2 rows in sip_dialogs. So i think presence is basically working. But whats the purpose of sip_presence ? Where, for example, does a "presence in 2000 at 192.168.20.73 away Away" go ? would i see this in any table ? thanks®ards, gw -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/ccd159d3/attachment-0001.html From jalsot at gmail.com Mon Oct 15 14:11:48 2012 From: jalsot at gmail.com (Tamas Jalsovszky) Date: Mon, 15 Oct 2012 12:11:48 +0200 Subject: [Freeswitch-users] H.323 Message-ID: Hello, Is mod_h323 or mod_opal stable enough to use it in production? (just voice calls, h323v2, no fax) If yes, which one is proven to work well? Maybe is FS(sip)+yate(sip-h323) a better way to go? Thanks in advance, Jalsot -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/93ed6fbd/attachment.html From junkmail at lone.ath.cx Mon Oct 15 15:59:23 2012 From: junkmail at lone.ath.cx (junkmail) Date: Mon, 15 Oct 2012 05:59:23 -0600 Subject: [Freeswitch-users] Java.conf.xml question Message-ID: <81fd62cdec5b423888acd980e804714d@www.djrance.com> Hello. I have a question about the java.conf.xml and how it is to be used. specifically the tag I thought it would operate much like the lua.conf.xml, but maybe it doesn't. I created a class and had it run like this. But unless the class returns(exits) it will hang freeswitch till freeswitch kills itself or kill the mod_java module. I was looking in how to get a java process to "back ground itself" like forking in other languages it seems that this is not commonly done or at least in the same sense. So here I am just wondering if I am trying to make this do something that it was not meant to do? Also if you would be able to explain what the purpose is. ;) thanks From Chad.Engler at patlive.com Mon Oct 15 16:47:40 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Mon, 15 Oct 2012 08:47:40 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121015/4fee8776/attachment.html From Chad.Engler at patlive.com Mon Oct 15 16:48:53 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Mon, 15 Oct 2012 08:48:53 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script References: Message-ID: It would also be nice to see your config.json in the root of the chatty directory. -Chad From: Chad Engler Sent: Monday, October 15, 2012 8:48 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] How to send sip MESSAGE from script Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121015/dba63f78/attachment-0001.html From khuenm at vega.com.vn Mon Oct 15 17:42:48 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Mon, 15 Oct 2012 20:42:48 +0700 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Hi Chad, I used node version 0.9.3-pre. This is config.json: { "fsw": { "host": "192.168.0.24", "port": 8021, "password": "ClueCon" }, "server": { "host": "192.168.0.24", "port": 8181, "provider": "sms-proxy.yourprovider.com", "from": "from_number at from_host", "profile": "external" } } and chatplan: Brs, Khue. 2012/10/15 Chad Engler > It would also be nice to see your config.json in the root of the chatty > directory.**** > > ** ** > > -Chad**** > > ** ** > > *From:* Chad Engler > *Sent:* Monday, October 15, 2012 8:48 AM > *To:* FreeSWITCH Users Help > *Subject:* RE: [Freeswitch-users] How to send sip MESSAGE from script**** > > ** ** > > Khue,**** > > ** ** > > What version of node are you running? Can I also see your chatplan?**** > > ** ** > > Thanks,**** > > Chad**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 11:44 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > ** ** > > Hi Chad,**** > > ** ** > > I installed node-esl and tried it. But, I have some error:**** > > 1. When I enter url: http://my_ip:8181, chatty stopped immediately > with error:**** > > http.js:650**** > > throw new Error('Can\'t set headers after they are sent.');**** > > ^**** > > Error: Can't set headers after they are sent.**** > > at ServerResponse.OutgoingMessage.setHeader (http.js:650:11)**** > > at ServerResponse.res.setHeader > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/lib/patch.js:59:22) > **** > > at SendStream.type > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:444:7) > **** > > at SendStream.send > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:343:8) > **** > > at > /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:319:10 > **** > > at Object.oncomplete (fs.js:308:15)**** > > at process._makeCallback (node.js:248:20)**** > > > 1. In fs_cli have error:**** > > 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to > local box for 9910 at 192.168.0.24**** > > 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip]**** > > from ["1000" ;tag=7700467a]**** > > to [9910 at 192.168.0.24]**** > > how are you?**** > > Nobody to send to: Profile internal**** > > please help me fix it.**** > > ** ** > > Thanks& Best regards,**** > > Khue**** > > ** ** > > ** ** > > 2012/10/12 Chad Engler **** > > Hello,**** > > **** > > Check out https://github.com/englercj/node-esl**** > > **** > > Thanks,**** > > **** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 5:01 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi all,**** > > **** > > I want send message "MESSAGE" to caller from javascript. How I can do it, > please guide me?**** > > **** > > Brs,**** > > Khue.**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121015/8813451e/attachment.html From Chad.Engler at patlive.com Mon Oct 15 17:57:29 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Mon, 15 Oct 2012 09:57:29 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: I haven't tried the module on anything above v0.8.11, I am installing v0.9.2 and will try some testing (I wouldn't recommend, nor be able to support, an unreleased version). Is there a specific reason you need the bleeding edge? -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 9:43 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I used node version 0.9.3-pre. This is config.json: { "fsw": { "host": "192.168.0.24", "port": 8021, "password": "ClueCon" }, "server": { "host": "192.168.0.24", "port": 8181, "provider": "sms-proxy.yourprovider.com", "from": "from_number at from_host", "profile": "external" } } and chatplan: Brs, Khue. 2012/10/15 Chad Engler It would also be nice to see your config.json in the root of the chatty directory. -Chad From: Chad Engler Sent: Monday, October 15, 2012 8:48 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] How to send sip MESSAGE from script Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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/20121015/7e675aa3/attachment-0001.html From Chad.Engler at patlive.com Mon Oct 15 18:09:27 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Mon, 15 Oct 2012 10:09:27 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: After some research it looks like Expressjs and Socket.IO have some issues working together on node v0.9+. For now if you can use v0.8 that will fix your issue, but I am looking into a solution for v0.9+ and track some bugs. Thanks for the heads up! -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 9:43 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I used node version 0.9.3-pre. This is config.json: { "fsw": { "host": "192.168.0.24", "port": 8021, "password": "ClueCon" }, "server": { "host": "192.168.0.24", "port": 8181, "provider": "sms-proxy.yourprovider.com", "from": "from_number at from_host", "profile": "external" } } and chatplan: Brs, Khue. 2012/10/15 Chad Engler It would also be nice to see your config.json in the root of the chatty directory. -Chad From: Chad Engler Sent: Monday, October 15, 2012 8:48 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] How to send sip MESSAGE from script Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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/20121015/92996200/attachment-0001.html From spencer at 5ninesolutions.com Mon Oct 15 19:03:05 2012 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Mon, 15 Oct 2012 20:03:05 +0500 Subject: [Freeswitch-users] Linux Kernel Options Message-ID: <65E4E707-7665-4E41-B224-BB79F8EBDBE2@5ninesolutions.com> Hello, I'm working on recompiling a custom kernel for our FreeSWITH installations. Are there any recommendations in regard to the options that should or should not be set for optimum performance. This is based on Linux Kernel 2.6.32. Is disabling the tickless feature and building a 1000hz timer still a recommendation? Is there any recommendation as to the preemption model for the CFS scheduler in this version? Thanks, Spencer From KEN.KELLY-TURNER at adtran.com Mon Oct 15 19:07:58 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Mon, 15 Oct 2012 15:07:58 +0000 Subject: [Freeswitch-users] enhanced BLF on polycom Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A1A95@ex-mb2.corp.adtran.com> Hi all, I'm trying to get enhanced BLF behaviour working on my polycom 550 and 670 with firmware 4.0.2. I've set it up as described in http://wiki.freeswitch.org/wiki/Polycom_Presence_Setup but I'm finding the behaviour to be highly inconsistent. The phone that is listening doesn't detect ringing at all and only successfully picks up the first time the other phone is connected on another call. After that the only way to make it register that the line is busy is to toggle hold repeatedly until the listening phone recognises a change. Any idea what is causing these problems or a possible solution? Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/8195a7b3/attachment.html From vipkilla at gmail.com Mon Oct 15 19:22:52 2012 From: vipkilla at gmail.com (Vik Killa) Date: Mon, 15 Oct 2012 11:22:52 -0400 Subject: [Freeswitch-users] enhanced BLF on polycom In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB54A1A95@ex-mb2.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB54A1A95@ex-mb2.corp.adtran.com> Message-ID: Could you post your XML polycom configuration? On Mon, Oct 15, 2012 at 11:07 AM, KEN KELLY-TURNER wrote: > Hi all, > > > > I?m trying to get enhanced BLF behaviour working on my polycom 550 and 670 > with firmware 4.0.2. I?ve set it up as described in > http://wiki.freeswitch.org/wiki/Polycom_Presence_Setup but I?m finding the > behaviour to be highly inconsistent. The phone that is listening doesn?t > detect ringing at all and only successfully picks up the first time the > other phone is connected on another call. After that the only way to make > it register that the line is busy is to toggle hold repeatedly until the > listening phone recognises a change. Any idea what is causing these > problems or a possible solution? > > > > Thanks, > > Ken > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From KEN.KELLY-TURNER at adtran.com Mon Oct 15 19:25:59 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Mon, 15 Oct 2012 15:25:59 +0000 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: enhanced BLF on polycom In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A1A95@ex-mb2.corp.adtran.com> Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A1EAC@ex-mb2.corp.adtran.com> Sure, I just copy-pasted from the wiki -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Vik Killa Sent: October-15-12 11:23 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] enhanced BLF on polycom Could you post your XML polycom configuration? On Mon, Oct 15, 2012 at 11:07 AM, KEN KELLY-TURNER wrote: > Hi all, > > > > I'm trying to get enhanced BLF behaviour working on my polycom 550 and > 670 with firmware 4.0.2. I've set it up as described in > http://wiki.freeswitch.org/wiki/Polycom_Presence_Setup but I'm finding > the behaviour to be highly inconsistent. The phone that is listening > doesn't detect ringing at all and only successfully picks up the first > time the other phone is connected on another call. After that the > only way to make it register that the line is busy is to toggle hold > repeatedly until the listening phone recognises a change. Any idea > what is causing these problems or a possible solution? > > > > Thanks, > > Ken > > > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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-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://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 From anthony.minessale at gmail.com Mon Oct 15 19:26:22 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Oct 2012 10:26:22 -0500 Subject: [Freeswitch-users] Linux Kernel Options In-Reply-To: <65E4E707-7665-4E41-B224-BB79F8EBDBE2@5ninesolutions.com> References: <65E4E707-7665-4E41-B224-BB79F8EBDBE2@5ninesolutions.com> Message-ID: What Hardware is it? One note is that the 3.2 kernel has drastically improved support for the sandybridge so if you have an i-series intel, you might want to give it a try. We have run into issues with the kernel going wonky for minutes at a time on a 2.6.28 build. At late 2.6 or greater, you don't need to worry about tickless or hz because it supports timerfd which replaces the need for those. I think preemption is a good choice but it works either way. On Mon, Oct 15, 2012 at 10:03 AM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > Hello, > I'm working on recompiling a custom kernel for our FreeSWITH > installations. Are there any recommendations in regard to the options that > should or should not be set for optimum performance. This is based on > Linux Kernel 2.6.32. Is disabling the tickless feature and building a > 1000hz timer still a recommendation? Is there any recommendation as to the > preemption model for the CFS scheduler in this version? > > Thanks, > Spencer > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/a20d00c2/attachment.html From mbodbg at gmx.net Mon Oct 15 19:29:58 2012 From: mbodbg at gmx.net (mbo) Date: Mon, 15 Oct 2012 17:29:58 +0200 Subject: [Freeswitch-users] How to set destination_number_ton when originating a call with bgapi References: Message-ID: We are running freeswitch connected with a sangoma A101 card to the PSTN. We have an application that is connected to the event socket to control incoming calls. When bridging a call to an external number, I set the profile variable "destination_number_ton" and put it also as option to the bridge command to have the variable filled in all channel events. sendmsg call-command: execute execute-app-name: set_profile_var execute-app-arg: destination_number_ton=1 event-lock: true sendmsg call-command: execute execute-app-name: bridge execute-app-arg: {calltype=FORWARD,destination_number_ton=1}freetdm/1/a/XXXXXX event-lock: true In this scenario everything works fine, the type for the Called Party Number is set correctly to "international". Prot Disc:Q.931/I.451 (0x08) Call Ref:007C (Originating side) Type:SETUP (0x5) Sending complete: Bearer Capability:Coding:ITU-T(0) TransferCap:Speech(0) TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3) Channel Id:No:1 Type:B-chans(3) Exclusive/Implicit Calling Party Number:XXXXX(l:11) plan:isdn(1) type:national(2)scr:user, passed(1) pres:allowed(0) Called Party Number:XXXX(l:15) plan:isdn(1) type:international(1) <<<----------------- OK [ 08 02 00 7c 05 a1 04 03 80 90 a3 18 03 a9 83 81 6c 0d 21 81 32 32 31 35 35 34 30 30 33 31 38 70 10 91 34 39 32 32 31 34 30 30 36 37 38 33 31 30 33 ] For another scenario I need to originate calls with bgapi function like: bgapi originate {origination_caller_id_number=XXXX,originate_timeout=20,origination_uuid=7a1093b5-4225-4a99-b3dc-bb4254217e4,destination_number_ton=1}freetdm/1/a/XXXX &park event if I set the profile_var destination_number_ton, it's not "transported" to the ISDN layer. In the ISDN trace I can see that the number type of the Called Party Number is always "unknown". Prot Disc:Q.931/I.451 (0x08) Call Ref:007A (Originating side) Type:SETUP (0x5) Sending complete: Bearer Capability:Coding:ITU-T(0) TransferCap:Speech(0) TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3) Channel Id:No:1 Type:B-chans(3) Exclusive/Implicit Calling Party Number:XXXXX(l:12) plan:isdn(1) type:national(2)scr:user, passed(1) pres:allowed(0) Called Party Number:XXXXX(l:15) plan:isdn(1) type:unknown(0) <<<----------------- NOT OK [ 08 02 00 7a 05 a1 04 03 80 90 a3 18 03 a9 83 81 6c 0e 21 81 30 32 32 31 35 35 34 30 30 33 31 38 70 10 81 34 39 32 32 31 34 30 30 36 37 38 33 31 30 31 ] How to can the destination_number_ton be set when originating a call via bgapi? Thanks Markus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/39cf63c1/attachment-0001.html From spencer at 5ninesolutions.com Mon Oct 15 19:42:03 2012 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Mon, 15 Oct 2012 20:42:03 +0500 Subject: [Freeswitch-users] Linux Kernel Options In-Reply-To: References: <65E4E707-7665-4E41-B224-BB79F8EBDBE2@5ninesolutions.com> Message-ID: This machine is a Sun x4100 m2 w/ 2 x Quad Core Opteron 2356 and 32GB ram. We're not expecting enough traffic to make it even blink but I was just curious :-). On Oct 15, 2012, at 8:26 PM, Anthony Minessale wrote: > What Hardware is it? > > One note is that the 3.2 kernel has drastically improved support for the sandybridge so if you have an i-series intel, you might want to give it a try. We have run into issues with the kernel going wonky for minutes at a time on a 2.6.28 build. > > At late 2.6 or greater, you don't need to worry about tickless or hz because it supports timerfd which replaces the need for those. > I think preemption is a good choice but it works either way. > > > > > On Mon, Oct 15, 2012 at 10:03 AM, Spencer Thomason wrote: > Hello, > I'm working on recompiling a custom kernel for our FreeSWITH installations. Are there any recommendations in regard to the options that should or should not be set for optimum performance. This is based on Linux Kernel 2.6.32. Is disabling the tickless feature and building a 1000hz timer still a recommendation? Is there any recommendation as to the preemption model for the CFS scheduler in this version? > > Thanks, > Spencer > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121015/c718c690/attachment.html From yehavi.bourvine at gmail.com Mon Oct 15 19:44:04 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Mon, 15 Oct 2012 17:44:04 +0200 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: enhanced BLF on polycom In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB54A1EAC@ex-mb2.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB54A1A95@ex-mb2.corp.adtran.com> <1AE08964ECCEE4448E6705DBF66FFAB54A1EAC@ex-mb2.corp.adtran.com> Message-ID: I think you need the productivity license for that. __Yehavi: 2012/10/15 KEN KELLY-TURNER > Sure, I just copy-pasted from the wiki > > > attendant.behaviors.display.spontaneousCallAppearances.normal="1" > attendant.behaviors.display.spontaneousCallAppearances.automata="1" > attendant.behaviors.display.remoteCallerID.normal="1" > attendant.behaviors.display.remoteCallerID.automata="1" > attendant.resourceList.1.type="normal" > attendant.resourceList.1.address="3003" > attendant.resourceList.1.label="3003" /> > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Vik Killa > Sent: October-15-12 11:23 AM > To: FreeSWITCH Users Help > Subject: Suspicious URL:Re: [Freeswitch-users] enhanced BLF on polycom > > Could you post your XML polycom configuration? > > On Mon, Oct 15, 2012 at 11:07 AM, KEN KELLY-TURNER < > KEN.KELLY-TURNER at adtran.com> wrote: > > Hi all, > > > > > > > > I'm trying to get enhanced BLF behaviour working on my polycom 550 and > > 670 with firmware 4.0.2. I've set it up as described in > > http://wiki.freeswitch.org/wiki/Polycom_Presence_Setup but I'm finding > > the behaviour to be highly inconsistent. The phone that is listening > > doesn't detect ringing at all and only successfully picks up the first > > time the other phone is connected on another call. After that the > > only way to make it register that the line is busy is to toggle hold > > repeatedly until the listening phone recognises a change. Any idea > > what is causing these problems or a possible solution? > > > > > > > > Thanks, > > > > Ken > > > > > > > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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-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://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://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/20121015/f9a85477/attachment.html From anthony.minessale at gmail.com Mon Oct 15 19:45:07 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 15 Oct 2012 10:45:07 -0500 Subject: [Freeswitch-users] Linux Kernel Options In-Reply-To: References: <65E4E707-7665-4E41-B224-BB79F8EBDBE2@5ninesolutions.com> Message-ID: Ok so then i'd say leave the defaults. On Mon, Oct 15, 2012 at 10:42 AM, Spencer Thomason < spencer at 5ninesolutions.com> wrote: > This machine is a Sun x4100 m2 w/ 2 x Quad Core Opteron 2356 and 32GB ram. > We're not expecting enough traffic to make it even blink but I was just > curious :-). > > On Oct 15, 2012, at 8:26 PM, Anthony Minessale wrote: > > What Hardware is it? > > One note is that the 3.2 kernel has drastically improved support for the > sandybridge so if you have an i-series intel, you might want to give it a > try. We have run into issues with the kernel going wonky for minutes at a > time on a 2.6.28 build. > > At late 2.6 or greater, you don't need to worry about tickless or hz > because it supports timerfd which replaces the need for those. > I think preemption is a good choice but it works either way. > > > > > On Mon, Oct 15, 2012 at 10:03 AM, Spencer Thomason < > spencer at 5ninesolutions.com> wrote: > >> Hello, >> I'm working on recompiling a custom kernel for our FreeSWITH >> installations. Are there any recommendations in regard to the options that >> should or should not be set for optimum performance. This is based on >> Linux Kernel 2.6.32. Is disabling the tickless feature and building a >> 1000hz timer still a recommendation? Is there any recommendation as to the >> preemption model for the CFS scheduler in this version? >> >> Thanks, >> Spencer >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/60140a3b/attachment-0001.html From msc at freeswitch.org Mon Oct 15 19:47:42 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Oct 2012 08:47:42 -0700 Subject: [Freeswitch-users] is there any variable to set in directory user variables to execute an application on every channel In-Reply-To: References: Message-ID: There's nothing automatic, however you can do this with some dialplan magic. You'll need to handle calls from the user differently than calls to the user. For calls to the user you can add a condition to the Local_Extension. For calls from the user you can just add something near the top of the dialplan. Try something like this: Note the two conditions. The first checks to see if the user is SIP authorized and the second checks to see if there's a value in the chan var named "execute_on_any_channel". If both conditions evaluate true then the dialplan tries to add an action to the task list. Just for kicks I added another pretend chan var for application data but that's totally up to you if you need any args for your app. In any case, the standard disclaimerapplies, so test and tinker before you report back. :) -MC On Fri, Oct 12, 2012 at 1:43 AM, Babak Yakhchali wrote: > hi > is there any variable to set in directory user variables so that an > application is called on every created channel for that user (or on every > channel answered)? > > > > ... > > > ... > > > > > > thanx > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/0e540b6c/attachment.html From vipkilla at gmail.com Mon Oct 15 19:55:00 2012 From: vipkilla at gmail.com (Vik Killa) Date: Mon, 15 Oct 2012 11:55:00 -0400 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: enhanced BLF on polycom In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A1A95@ex-mb2.corp.adtran.com> <1AE08964ECCEE4448E6705DBF66FFAB54A1EAC@ex-mb2.corp.adtran.com> Message-ID: I dont think you do actually: "The statically configured BLF feature is supported on SoundPoint IP 450, 550, 560, 650, and 670 desktop phones running SIP 3.2.0 or later, and VVX 500 phones running SIP 4.0.1 or later." On Mon, Oct 15, 2012 at 11:44 AM, Yehavi Bourvine wrote: > I think you need the productivity license for that. > From msc at freeswitch.org Mon Oct 15 19:55:49 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Oct 2012 08:55:49 -0700 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type In-Reply-To: <002201cda88d$302b1f80$90815e80$@com> References: <002201cda88d$302b1f80$90815e80$@com> Message-ID: Can you let me know what page of the book this came from? I'll make sure that the error is corrected. Thanks, Michael On Fri, Oct 12, 2012 at 8:20 AM, Richard Weremiuk wrote: > ** ** > > Good afternoon**** > > ** ** > > I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the > latest pre-compiled version (windows). I have a successfully configured a > SIP gateway (provider voipfone), but when I dial into the PSTN number, just > to try and route to one of the default build extensions 1000 (I also tried > the IVR) I get this error:**** > > ** ** > > 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not > locate channel type 1000 XML default**** > > 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot > create outgoing channel of type [1000 XML default] cause: > [CHAN_NOT_IMPLEMENTED]**** > > ** ** > > I've taken the code straight out of the book, and just added my SIP > username and password, so I can't understand why it won't route through? > Rather than past in code here, I have put the output from a clean startup > in a word file, and also put the external sip_profile xml, and also the > public directory xml file into the same document too.**** > > ** ** > > http://www.beyondmarathon.com/routes/freeswitch_output.docx**** > > ** ** > > voipfone was not a provider listed in the wiki, but given I have been able > to get the gateway registered then I assume it is ok, and there must be a > config issue somewhere? **** > > ** ** > > Any help would be greatly appreciated.**** > > ** ** > > Regards**** > > ** ** > > Richard Weremiuk**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/85b8fac2/attachment.html From msc at freeswitch.org Mon Oct 15 20:04:19 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Oct 2012 09:04:19 -0700 Subject: [Freeswitch-users] Different DTMF behavior??? In-Reply-To: References: Message-ID: I would get pcaps of these working and non-working calls and analyze them in Wireshark. Look for what's different between working and non-working calls. -MC On Sun, Oct 14, 2012 at 7:31 PM, Malay Thakershi wrote: > Hello, > > I have a toll-free number (877 area code) hosted @ WindStream and is > simply getting forwarded to a local number hosted @ Vitelity (214 area > code). > > Call 877 number from T-mobile or Vonage ==> digits get recognized fine > (normal behavior) > Call 877 number from Google voice/Verizon/ATT/certain area > codes ==> digits are not recognized / garbled (almost 100% failure) > Call 214 number form Google voice ==> digits get recognized fine (normal > behavior) > > I had everything working fine when the 877 number was hosted with > Vitelity. But we moved it to WindStream as we bought lines from them to our > server. > > Something is going wrong in DTMF process. > > Can someone guide me regarding this? Where to look? I did try > "dtmf-type=rfc.." setting and "liberal-dtmf=true" setting. But didn't work. > > Thanks for help. > > Malay > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/7814d55e/attachment.html From richwerem at gmail.com Mon Oct 15 19:16:07 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Mon, 15 Oct 2012 16:16:07 +0100 Subject: [Freeswitch-users] Lua IVR example script issue Message-ID: <003801cdaae8$010a01a0$031e04e0$@com> I was looking to implement a multi-level IVR menu with Lua, that could be navigated forward and back. I came across a similar request from 2009 in this thread, which received a response from Michael with example script attached. http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.ht ml#50638 This issue I found with this script is that it does not collect DTMF digits. The menu plays normally but it is not possible to navigate the menu. Is there a corrected version of this script anywhere? Thanks Richard Weremiuk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/d5b2b55b/attachment-0001.html From richwerem at gmail.com Mon Oct 15 20:07:42 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Mon, 15 Oct 2012 17:07:42 +0100 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type In-Reply-To: References: <002201cda88d$302b1f80$90815e80$@com> Message-ID: <007901cdaaef$359c3df0$a0d4b9d0$@com> It's page 78 Michael. Thanks. Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 15 October 2012 16:56 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP gateway - can't locate outgoing channel type Can you let me know what page of the book this came from? I'll make sure that the error is corrected. Thanks, Michael On Fri, Oct 12, 2012 at 8:20 AM, Richard Weremiuk wrote: Good afternoon I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the latest pre-compiled version (windows). I have a successfully configured a SIP gateway (provider voipfone), but when I dial into the PSTN number, just to try and route to one of the default build extensions 1000 (I also tried the IVR) I get this error: 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not locate channel type 1000 XML default 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot create outgoing channel of type [1000 XML default] cause: [CHAN_NOT_IMPLEMENTED] I've taken the code straight out of the book, and just added my SIP username and password, so I can't understand why it won't route through? Rather than past in code here, I have put the output from a clean startup in a word file, and also put the external sip_profile xml, and also the public directory xml file into the same document too. http://www.beyondmarathon.com/routes/freeswitch_output.docx voipfone was not a provider listed in the wiki, but given I have been able to get the gateway registered then I assume it is ok, and there must be a config issue somewhere? Any help would be greatly appreciated. Regards Richard Weremiuk _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/88670b28/attachment.html From andrew at cassidywebservices.co.uk Mon Oct 15 20:23:19 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Mon, 15 Oct 2012 17:23:19 +0100 Subject: [Freeswitch-users] Debian Packages Message-ID: Hi all, I know there are people building nightlies with CI systems, but are there any repos of current stable FreeSWITCH builds? -- *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/20121015/99c589a5/attachment.html From william.king at quentustech.com Mon Oct 15 20:27:11 2012 From: william.king at quentustech.com (William King) Date: Mon, 15 Oct 2012 09:27:11 -0700 Subject: [Freeswitch-users] Debian Packages In-Reply-To: References: Message-ID: <507C395F.3060406@quentustech.com> There were, and there will be again very soon. There will be a mailing list announcement when they are back. 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 10/15/2012 09:23 AM, Andrew Cassidy wrote: > Hi all, I know there are people building nightlies with CI systems, but > are there any repos of current stable FreeSWITCH builds? > > -- > *Andrew Cassidy BSc (Hons) MBCS SSCA* > Managing Director > > > *T *03300 100 960 *F > *03300 100 961 > *E > *andrew at cassidywebservices.co.uk > > *W *www.cassidywebservices.co.uk > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://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 From mario_fs at mgtech.com Mon Oct 15 20:48:18 2012 From: mario_fs at mgtech.com (Mario G) Date: Mon, 15 Oct 2012 09:48:18 -0700 Subject: [Freeswitch-users] Need git help - how to download a specific date version Message-ID: I need to download a fresh HEAD using git, but I need to be able to specify the rev level or date (preferably). I am trying to solve a build issue that "goes away" on the second make which is why I need a fresh reload each time. A problem was introduced between and 9/26 and I am trying to narrow down the actual date/time it happened. I was not able to find out how to do this on the web. Thanks Mario G From marketing at cluecon.com Mon Oct 15 20:50:05 2012 From: marketing at cluecon.com (Michael Collins) Date: Mon, 15 Oct 2012 09:50:05 -0700 Subject: [Freeswitch-users] FreeSWITCH Weekly News and Notes Message-ID: Greetings everyone! As you may know the FreeSWITCH team is continuing to update the project's infrastructure. Among other things this includes getting ready for IPv6. Last week Brian West finished getting several of our servers all set up to handle IPv6 traffic. These includes www.freeswitch.org and conference.freeswitch.org. Thank you to all those who did testing and gave us valuable feedback. On last week's conference callwe enjoyed our very own Ken Rice giving us some great reminders on how to gather data for troubleshooting as well as tips on opening bug reports in Jira . We had a number of users comment on how useful it was to see examples of how to do this. The audio is up in the usual locationand we have a community member who is preparing a video which will be posted as soon as it is ready. This week we have Chad Engler from Patlive coming to discuss with us his node-esl library. Chad has made the code available here on Github. He has included an interesting channel monitor example to give you an idea of what can be done by combining node.js with ESL. We look forward to hearing more about it on this week's conference call . Have a great week! -- Michael S Collins ClueCon Team http://www.cluecon.com 877-7-4ACLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/064f8c61/attachment-0001.html From avi at avimarcus.net Mon Oct 15 20:53:00 2012 From: avi at avimarcus.net (Avi Marcus) Date: Mon, 15 Oct 2012 18:53:00 +0200 Subject: [Freeswitch-users] Need git help - how to download a specific date version In-Reply-To: References: Message-ID: You can't checkout a date, only a revision number. Which you can see by date in the log. However, for this use, git bisect might be exactly what you want. http://wiki.freeswitch.org/wiki/Git_Tips#Git_Bisect_-_Tracking_down_breaks_and_bugs_extremely_fast_with_git -Avi On Mon, Oct 15, 2012 at 6:48 PM, Mario G wrote: > I need to download a fresh HEAD using git, but I need to be able to > specify the rev level or date (preferably). I am trying to solve a build > issue that "goes away" on the second make which is why I need a fresh > reload each time. A problem was introduced between and 9/26 and I am trying > to narrow down the actual date/time it happened. I was not able to find out > how to do this on the web. Thanks > Mario G > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121015/da8e05c9/attachment.html From mario_fs at mgtech.com Mon Oct 15 21:09:43 2012 From: mario_fs at mgtech.com (Mario G) Date: Mon, 15 Oct 2012 10:09:43 -0700 Subject: [Freeswitch-users] Need git help - how to download a specific date version In-Reply-To: References: Message-ID: <62CCE981-564B-4446-8F16-36F15AD1FA02@mgtech.com> Thanks! the dev on JIRA mentioned bisect but.... figures I looked everywhere on the web but the FS wiki. This will come in handy once I get the hang of it. Mario G On Oct 15, 2012, at 9:53 AM, Avi Marcus wrote: > You can't checkout a date, only a revision number. Which you can see by date in the log. > However, for this use, git bisect might be exactly what you want. > > http://wiki.freeswitch.org/wiki/Git_Tips#Git_Bisect_-_Tracking_down_breaks_and_bugs_extremely_fast_with_git > > -Avi > > > On Mon, Oct 15, 2012 at 6:48 PM, Mario G wrote: > I need to download a fresh HEAD using git, but I need to be able to specify the rev level or date (preferably). I am trying to solve a build issue that "goes away" on the second make which is why I need a fresh reload each time. A problem was introduced between and 9/26 and I am trying to narrow down the actual date/time it happened. I was not able to find out how to do this on the web. Thanks > Mario G > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121015/b0454f6c/attachment.html From mthakershi at gmail.com Mon Oct 15 21:15:02 2012 From: mthakershi at gmail.com (Malay Thakershi) Date: Mon, 15 Oct 2012 12:15:02 -0500 Subject: [Freeswitch-users] Different DTMF behavior??? In-Reply-To: References: Message-ID: Understood. I have one more suspicion. I use PlayAndGetDigits to get data. Do the timeout arguments have maximum / minimum limits that will make the system stop doing correct DTMF? E.g. Is timeout=10000 / digit-timeout=5000 valid values? I use .net managed module to handle calls. Thanks. On Mon, Oct 15, 2012 at 11:04 AM, Michael Collins wrote: > I would get pcaps of these working and non-working calls and analyze them > in Wireshark. Look for what's different between working and non-working > calls. > -MC > > On Sun, Oct 14, 2012 at 7:31 PM, Malay Thakershi wrote: > >> Hello, >> >> I have a toll-free number (877 area code) hosted @ WindStream and is >> simply getting forwarded to a local number hosted @ Vitelity (214 area >> code). >> >> Call 877 number from T-mobile or Vonage ==> digits get recognized fine >> (normal behavior) >> Call 877 number from Google voice/Verizon/ATT/certain area >> codes ==> digits are not recognized / garbled (almost 100% failure) >> Call 214 number form Google voice ==> digits get recognized fine (normal >> behavior) >> >> I had everything working fine when the 877 number was hosted with >> Vitelity. But we moved it to WindStream as we bought lines from them to our >> server. >> >> Something is going wrong in DTMF process. >> >> Can someone guide me regarding this? Where to look? I did try >> "dtmf-type=rfc.." setting and "liberal-dtmf=true" setting. But didn't work. >> >> Thanks for help. >> >> Malay >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121015/0af758aa/attachment.html From chad at apartmentlines.com Mon Oct 15 21:57:24 2012 From: chad at apartmentlines.com (Chad Phillips) Date: Mon, 15 Oct 2012 10:57:24 -0700 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: <003801cdaae8$010a01a0$031e04e0$@com> References: <003801cdaae8$010a01a0$031e04e0$@com> Message-ID: <27477B244A384E66A70D0536D5BADFC1@gmail.com> you might be interested in looking at Jester for something like this: http://wiki.freeswitch.org/wiki/Jester chad On Monday, October 15, 2012 at 8:16 AM, Richard Weremiuk wrote: > I was looking to implement a multi-level IVR menu with Lua, that could be navigated forward and back. I came across a similar request from 2009 in this thread, which received a response from Michael with example script attached. > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.html#50638 > > This issue I found with this script is that it does not collect DTMF digits. The menu plays normally but it is not possible to navigate the menu. Is there a corrected version of this script anywhere? > > Thanks > > Richard Weremiuk > > > > > _________________________________________________________________________ > 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://wiki.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/20121015/03ccc391/attachment-0001.html From KEN.KELLY-TURNER at adtran.com Mon Oct 15 23:41:34 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Mon, 15 Oct 2012 19:41:34 +0000 Subject: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A1FCE@ex-mb2.corp.adtran.com> Hi all, I've cross compiled freeswitch 1.2.3 for ppc and I'm trying to get SLA and BLF working on my polycom phones. I tested both features on a Ubuntu build of freeswitch 1.2.3 and they work perfectly. If I use the same configuration and phones on my powerpc version I get the following error: send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372: ------------------------------------------------------------------------ NOTIFY sip:1003 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB Max-Forwards: 70 From: ;tag=0KH1Bj6SVsLd To: "free3" ;tag=739B1DFC-3CEB89D3 Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 CSeq: 4052937957 NOTIFY Contact: User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: presence Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3572 Content-Type: application/xpidf+xml Content-Length: 430 Registered(UDP)
------------------------------------------------------------------------ recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB From: ;tag=0KH1Bj6SVsLd To: "free3" ;tag=739B1DFC-3CEB89D3 CSeq: 2147483647 NOTIFY Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 Event: presence User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Anybody else encounter this or have any suggestions on how to resolve? Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/f9bd669f/attachment.html From gabe at gundy.org Mon Oct 15 23:41:46 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 15 Oct 2012 13:41:46 -0600 Subject: [Freeswitch-users] Debian Packages In-Reply-To: References: Message-ID: On Mon, Oct 15, 2012 at 10:23 AM, Andrew Cassidy < andrew at cassidywebservices.co.uk> wrote: > Hi all, I know there are people building nightlies with CI systems, but > are there any repos of current stable FreeSWITCH builds? I have some scripts for Ubuntu if that helps. I usually like to have a set of scripts that I can trust to work on clean installs. I had some before the big 1.2 push, but couldn't find any after that time. Anyway, it should be as simple as bashing these (thanks to the excellent work of the core FS team). Try this on a fresh box (not the one you'll be running in production). It will spit out a ton of DEBs: https://github.com/gabegundy/ParselTONE/blob/master/misc/build/build-fs-1.2.sh And this to install (you wouldn't need this if these were hosted in a repo): https://github.com/gabegundy/ParselTONE/blob/master/misc/build/install-fs-1.2.sh They're a little rough. I got them working and then haven't looked at them since. Hope they work for you. Best, Gabe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/01752604/attachment.html From freeswitch at peely.com Tue Oct 16 00:02:39 2012 From: freeswitch at peely.com (peely) Date: Mon, 15 Oct 2012 13:02:39 -0700 (PDT) Subject: [Freeswitch-users] Can't use dtmf_type=rfc2833 in a dial plan Message-ID: <1350331359199-7583652.post@n2.nabble.com> Hi, I recently moved up to FS 1.2 (FreeSWITCH Version 1.2.2+git~20120911T185917Z~3fd1a57902) and since then can't seem to be able to enable RFC2833 termination in the dialplan. I receive 2833 fine from the inbound: 2012-10-15 20:53:38.311883 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 0:1200 2012-10-15 20:53:40.131884 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 1:1200 2012-10-15 20:53:40.731885 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1200 2012-10-15 20:53:41.031885 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 3:1200 But on the outbound I am always receiving DTMF as SIP INFO. I have tried various combinations in the dialplan of adding dtmf_type=rfc2833 in the bridge options, and setting dtmf_type=rfc2833, export dtmf_type=rfc2833, but I always receive DTMF as SIP INFO! The fact that I am receiving SIP INFO with the correct DTMF suggests that FS is identifying the RFC2833 from the inbound, but I just can't switch the DTMF mode to 2833 at will. I don't have any dtmf_type setting on the profile. Any ideas? I have currently had to fall back to pass-rfc2833=true which is OK but I would rather FS generated them so I can play with the minimum durations. Thanks, Neil. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Can-t-use-dtmf-type-rfc2833-in-a-dial-plan-tp7583652.html Sent from the freeswitch-users mailing list archive at Nabble.com. From msc at freeswitch.org Tue Oct 16 01:01:58 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Oct 2012 14:01:58 -0700 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: <003801cdaae8$010a01a0$031e04e0$@com> References: <003801cdaae8$010a01a0$031e04e0$@com> Message-ID: I've not actually tried this method since I posted that nearly 3 years ago (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by looking at the console while you're navigating the menu? Anything interesting on the console at all? -MC On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk wrote: > I was looking to implement a multi-level IVR menu with Lua, that could be > navigated forward and back. I came across a similar request from 2009 in > this thread, which received a response from Michael with example script > attached.**** > > ** ** > > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.html#50638 > **** > > ** ** > > This issue I found with this script is that it does not collect DTMF > digits. The menu plays normally but it is not possible to navigate the > menu. Is there a corrected version of this script anywhere?**** > > ** ** > > Thanks**** > > ** ** > > Richard Weremiuk**** > > ** ** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/8dd7ec78/attachment.html From msc at freeswitch.org Tue Oct 16 01:08:29 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Oct 2012 14:08:29 -0700 Subject: [Freeswitch-users] SIP gateway - can't locate outgoing channel type In-Reply-To: <007901cdaaef$359c3df0$a0d4b9d0$@com> References: <002201cda88d$302b1f80$90815e80$@com> <007901cdaaef$359c3df0$a0d4b9d0$@com> Message-ID: Awesome, thanks! Sure enough, I had "bridge" in there when I should have had "transfer". I've updated the text and sample code for the second edition of the book. Thanks for reporting back - this is absolutely invaluable help when trying to write a book. :) -Michael On Mon, Oct 15, 2012 at 9:07 AM, Richard Weremiuk wrote: > It's page 78 Michael. Thanks.**** > > ** ** > > Richard**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 15 October 2012 16:56 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] SIP gateway - can't locate outgoing > channel type**** > > ** ** > > Can you let me know what page of the book this came from? I'll make sure > that the error is corrected. > Thanks, > Michael**** > > On Fri, Oct 12, 2012 at 8:20 AM, Richard Weremiuk > wrote:**** > > **** > > Good afternoon**** > > **** > > I'm new to freeSWITCH and have setup my freeSWITCH successfully, from the > latest pre-compiled version (windows). I have a successfully configured a > SIP gateway (provider voipfone), but when I dial into the PSTN number, just > to try and route to one of the default build extensions 1000 (I also tried > the IVR) I get this error:**** > > **** > > 2012-10-12 15:41:16.997549 [ERR] switch_core_session.c:408 Could not > locate channel type 1000 XML default**** > > 2012-10-12 15:41:16.997549 [NOTICE] switch_ivr_originate.c:2599 Cannot > create outgoing channel of type [1000 XML default] cause: > [CHAN_NOT_IMPLEMENTED]**** > > **** > > I've taken the code straight out of the book, and just added my SIP > username and password, so I can't understand why it won't route through? > Rather than past in code here, I have put the output from a clean startup > in a word file, and also put the external sip_profile xml, and also the > public directory xml file into the same document too.**** > > **** > > http://www.beyondmarathon.com/routes/freeswitch_output.docx**** > > **** > > voipfone was not a provider listed in the wiki, but given I have been able > to get the gateway registered then I assume it is ok, and there must be a > config issue somewhere? **** > > **** > > Any help would be greatly appreciated.**** > > **** > > Regards**** > > **** > > Richard Weremiuk**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > **** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/598595cd/attachment-0001.html From richwerem at gmail.com Tue Oct 16 01:18:09 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Mon, 15 Oct 2012 22:18:09 +0100 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: References: <003801cdaae8$010a01a0$031e04e0$@com> Message-ID: <002101cdab1a$9423dc90$bc6b95b0$@com> Hi Michael No, nothing on the console when DTMF entered. It does however feature this several times: 2012-10-15 22:12:57.740634 [DEBUG] switch_rtp.c:915 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=10 then says this later on. 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp engine]: WARNING! HELLO Max retransmissi ons count reached (20 retries). ID=10 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp]: Stream ID=10 CLEAR switching ---> . Best Regards Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 15 October 2012 22:02 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua IVR example script issue I've not actually tried this method since I posted that nearly 3 years ago (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by looking at the console while you're navigating the menu? Anything interesting on the console at all? -MC On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk wrote: I was looking to implement a multi-level IVR menu with Lua, that could be navigated forward and back. I came across a similar request from 2009 in this thread, which received a response from Michael with example script attached. http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.ht ml#50638 This issue I found with this script is that it does not collect DTMF digits. The menu plays normally but it is not possible to navigate the menu. Is there a corrected version of this script anywhere? Thanks Richard Weremiuk _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/7bf09e9d/attachment.html From msc at freeswitch.org Tue Oct 16 01:51:24 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 15 Oct 2012 14:51:24 -0700 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: <002101cdab1a$9423dc90$bc6b95b0$@com> References: <003801cdaae8$010a01a0$031e04e0$@com> <002101cdab1a$9423dc90$bc6b95b0$@com> Message-ID: How about if you just call test IVR 5000? Can you enter digits there? -MC On Mon, Oct 15, 2012 at 2:18 PM, Richard Weremiuk wrote: > Hi Michael**** > > ** ** > > No, nothing on the console when DTMF entered.**** > > ** ** > > It does however feature this several times:**** > > ** ** > > 2012-10-15 22:12:57.740634 [DEBUG] switch_rtp.c:915 [ zrtp engine]: > WARNING! HELLO have been resent**** > > 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=10* > *** > > ** ** > > then says this later on.**** > > ** ** > > 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp engine]: > WARNING! HELLO Max retransmissi**** > > ons count reached (20 retries). ID=10**** > > 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp]: > Stream ID=10 CLEAR switching**** > > ---> .**** > > ** ** > > Best Regards**** > > ** ** > > Richard**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 15 October 2012 22:02 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Lua IVR example script issue**** > > ** ** > > I've not actually tried this method since I posted that nearly 3 years ago > (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by > looking at the console while you're navigating the menu? Anything > interesting on the console at all? > > -MC**** > > On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk > wrote:**** > > I was looking to implement a multi-level IVR menu with Lua, that could be > navigated forward and back. I came across a similar request from 2009 in > this thread, which received a response from Michael with example script > attached.**** > > **** > > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.html#50638 > **** > > **** > > This issue I found with this script is that it does not collect DTMF > digits. The menu plays normally but it is not possible to navigate the > menu. Is there a corrected version of this script anywhere?**** > > **** > > Thanks**** > > **** > > Richard Weremiuk**** > > **** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > **** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/7d74d7ff/attachment.html From paul at cupis.co.uk Tue Oct 16 02:15:18 2012 From: paul at cupis.co.uk (Paul Cupis) Date: Mon, 15 Oct 2012 23:15:18 +0100 Subject: [Freeswitch-users] Can't use dtmf_type=rfc2833 in a dial plan In-Reply-To: <1350331359199-7583652.post@n2.nabble.com> References: <1350331359199-7583652.post@n2.nabble.com> Message-ID: <507C8AF6.7040108@cupis.co.uk> On 15/10/12 21:02, peely wrote: > I recently moved up to FS 1.2 (FreeSWITCH Version > 1.2.2+git~20120911T185917Z~3fd1a57902) and since then can't seem to be able > to enable RFC2833 termination in the dialplan. > > I receive 2833 fine from the inbound: > > 2012-10-15 20:53:38.311883 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 0:1200 > 2012-10-15 20:53:40.131884 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 1:1200 > 2012-10-15 20:53:40.731885 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 2:1200 > 2012-10-15 20:53:41.031885 [DEBUG] switch_rtp.c:3797 RTP RECV DTMF 3:1200 > > But on the outbound I am always receiving DTMF as SIP INFO. Is the outbound leg of the call negotiating RFC2833 support? Can you show us the SDP offer+accept for the outbound leg? Regards, From gabe at gundy.org Tue Oct 16 06:19:23 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 15 Oct 2012 20:19:23 -0600 Subject: [Freeswitch-users] Allowing open SIP access to my users In-Reply-To: <20121011170426.6362804a@dilbert> References: <20121011170426.6362804a@dilbert> Message-ID: On Thu, Oct 11, 2012 at 3:04 PM, D'Arcy J.M. Cain wrote: > Is there some sort of hack program that can look security holes? I > could run that from my machine here to test it. http://c.sipvicious.org/webcasts/sipvicious-0.2-intro/web.html From khuenm at vega.com.vn Tue Oct 16 07:08:25 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Tue, 16 Oct 2012 10:08:25 +0700 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Hi Chad, Thanks you very much. It work fine. Now, I can send "Instant Message" from softphone (eyebeam) and receive it in website. But, softphone cannot receive anything that sent from website. How I can receive message that sent from website? Thanks & Best regards, Khue. 2012/10/15 Chad Engler > After some research it looks like Expressjs and Socket.IO have some issues > working together on node v0.9+. For now if you can use v0.8 that will fix > your issue, but I am looking into a solution for v0.9+ and track some bugs. > **** > > ** ** > > Thanks for the heads up!**** > > ** ** > > -Chad**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Monday, October 15, 2012 9:43 AM > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > ** ** > > Hi Chad,**** > > ** ** > > I used node version 0.9.3-pre. This is config.json:**** > > {**** > > "fsw": {**** > > "host": "192.168.0.24",**** > > "port": 8021,**** > > "password": "ClueCon"**** > > },**** > > "server": {**** > > "host": "192.168.0.24",**** > > "port": 8181,**** > > "provider": "sms-proxy.yourprovider.com",**** > > "from": "from_number at from_host",**** > > "profile": "external"**** > > }**** > > }**** > > ** ** > > and chatplan:**** > > **** > > **** > > **** > > ** ** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > ** ** > > **** > > **** > > ** ** > > Brs,**** > > Khue.**** > > ** ** > > 2012/10/15 Chad Engler **** > > It would also be nice to see your config.json in the root of the chatty > directory.**** > > **** > > -Chad**** > > **** > > *From:* Chad Engler > *Sent:* Monday, October 15, 2012 8:48 AM > *To:* FreeSWITCH Users Help > *Subject:* RE: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Khue,**** > > **** > > What version of node are you running? Can I also see your chatplan?**** > > **** > > Thanks,**** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 11:44 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi Chad,**** > > **** > > I installed node-esl and tried it. But, I have some error:**** > > 1. When I enter url: http://my_ip:8181, chatty stopped immediately > with error:**** > > http.js:650**** > > throw new Error('Can\'t set headers after they are sent.');**** > > ^**** > > Error: Can't set headers after they are sent.**** > > at ServerResponse.OutgoingMessage.setHeader (http.js:650:11)**** > > at ServerResponse.res.setHeader > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/lib/patch.js:59:22) > **** > > at SendStream.type > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:444:7) > **** > > at SendStream.send > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:343:8) > **** > > at > /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:319:10 > **** > > at Object.oncomplete (fs.js:308:15)**** > > at process._makeCallback (node.js:248:20)**** > > > 1. In fs_cli have error:**** > > 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to > local box for 9910 at 192.168.0.24**** > > 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip]**** > > from ["1000" ;tag=7700467a]**** > > to [9910 at 192.168.0.24]**** > > how are you?**** > > Nobody to send to: Profile internal**** > > please help me fix it.**** > > **** > > Thanks& Best regards,**** > > Khue**** > > **** > > **** > > 2012/10/12 Chad Engler **** > > Hello,**** > > **** > > Check out https://github.com/englercj/node-esl**** > > **** > > Thanks,**** > > **** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 5:01 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi all,**** > > **** > > I want send message "MESSAGE" to caller from javascript. How I can do it, > please guide me?**** > > **** > > Brs,**** > > Khue.**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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://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/20121016/a023bb63/attachment-0001.html From noreply+1117481447 at badoo.com Tue Oct 16 13:20:24 2012 From: noreply+1117481447 at badoo.com (Badoo) Date: Tue, 16 Oct 2012 09:20:24 +0000 Subject: [Freeswitch-users] =?utf-8?q?=E2=98=85_Freeswitch_Users=2C_Ian_Bo?= =?utf-8?q?nham_left_a_message_for_you?= Message-ID: Ian Bonham left a message for you Only you can see the sender and content of your message, and you can delete it anytime. You can instantly reply using our message exchange system: http://eu1.badoo.com/bon5/in/RFmzm3kNWOM/?lang_id=3&m=21&mid=507d26d50000000000030000008d93d503d965c500fc If the link in this message does not work, try copying and pasting it into your browser. This email is part of our delivery procedure for the message sent by Ian Bonham. If you have received this email by mistake, please ignore it. The message will be deleted soon. Have fun! The Badoo Team You have received this email from Badoo Trading Limited (postal address below). http://eu1.badoo.com/impersonation.phtml?lang_id=3&email=freeswitch-users%40lists.freeswitch.org&block_code=902a8a&m=21&mid=507d26d50000000000030000008d93d503d965c500fc Badoo Trading Limited is a limited company registered in England and Wales under CRN 7540255 with its registered office at 44a The Green, Warlingham, Surrey, CR6 9NA. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/23f9445c/attachment.html From mbodbg at gmx.net Tue Oct 16 13:28:51 2012 From: mbodbg at gmx.net (mbo) Date: Tue, 16 Oct 2012 02:28:51 -0700 (PDT) Subject: [Freeswitch-users] How to set destination_number_ton when originating a call with bgapi In-Reply-To: References: Message-ID: <1350379731442-7583666.post@n2.nabble.com> After some research in the code, I found out that instead of setting destination_number_ton the variable "freetdm_outbound_ton" has to be set on originate. Valid values are "national", "international", "local" and "unknown". So in my case the following command will work: bgapi originate {origination_caller_id_number=XXXX,originate_timeout=20,origination_uuid=7a1093b5-4225-4a99-b3dc-bb4254217e4,freetdm_outbound_ton=international}freetdm/1/a/XXXX &park -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-set-destination-number-ton-when-originating-a-call-with-bgapi-tp7583632p7583666.html Sent from the freeswitch-users mailing list archive at Nabble.com. From Chad.Engler at patlive.com Tue Oct 16 17:23:13 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 16 Oct 2012 09:23:13 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: So the chatty application will use the "provider" specified in its configuration as the "to host" for the message: self.fsw.message(num + '@' + self.provider, self.from, self.profile, msg, function(evt) { So if you have "sms-proxy.yourprovider.com" as your provider in the config (which is the default example) then that is the domain it is trying to send the message to. Try changing provider in the configuration to the host that your softphone is on and restarting the app. If it still isn't working attach a dump of the output of the chatty application and I will try and see what is happening. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 11:08 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, Thanks you very much. It work fine. Now, I can send "Instant Message" from softphone (eyebeam) and receive it in website. But, softphone cannot receive anything that sent from website. How I can receive message that sent from website? Thanks & Best regards, Khue. 2012/10/15 Chad Engler After some research it looks like Expressjs and Socket.IO have some issues working together on node v0.9+. For now if you can use v0.8 that will fix your issue, but I am looking into a solution for v0.9+ and track some bugs. Thanks for the heads up! -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 9:43 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I used node version 0.9.3-pre. This is config.json: { "fsw": { "host": "192.168.0.24", "port": 8021, "password": "ClueCon" }, "server": { "host": "192.168.0.24", "port": 8181, "provider": "sms-proxy.yourprovider.com", "from": "from_number at from_host", "profile": "external" } } and chatplan: Brs, Khue. 2012/10/15 Chad Engler It would also be nice to see your config.json in the root of the chatty directory. -Chad From: Chad Engler Sent: Monday, October 15, 2012 8:48 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] How to send sip MESSAGE from script Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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://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/20121016/2b1bcb11/attachment-0001.html From anthony.minessale at gmail.com Tue Oct 16 17:34:10 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Oct 2012 08:34:10 -0500 Subject: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB54A1FCE@ex-mb2.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB54A1FCE@ex-mb2.corp.adtran.com> Message-ID: When you are working on debugging stuff its best to use GIT HEAD and not frozen releases. Did you enable the logging on your phone to see what it may have to say? 4.0.x is still a buggy firmware on polycom so you might want to try the last 3.5 or 4.0.3, it may be a simple as a race condition based on the performance of the 2 boxes. We made some changes to accommodate such a situation in GIT HEAD last week. BTW, Couldn't help notice your domain name. Are you doing something on behalf of Adtran or you just happen to have an email addr there? On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER < KEN.KELLY-TURNER at adtran.com> wrote: > Hi all,**** > > ** ** > > I?ve cross compiled freeswitch 1.2.3 for ppc and I?m trying to get SLA and > BLF working on my polycom phones. I tested both features on a Ubuntu build > of freeswitch 1.2.3 and they work perfectly. If I use the same > configuration and phones on my powerpc version I get the following error:* > *** > > ** ** > > send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372:**** > > ------------------------------------------------------------------------ > **** > > NOTIFY sip:1003 at 10.10.8.81 SIP/2.0**** > > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB**** > > Max-Forwards: 70**** > > From: ;tag=0KH1Bj6SVsLd**** > > To: "free3" ;tag=739B1DFC-3CEB89D3**** > > Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81**** > > CSeq: 4052937957 NOTIFY**** > > Contact: **** > > User-Agent: FreeSWITCH-mod_sofia/1.2.3**** > > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, > REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE**** > > Supported: timer, precondition, path, replaces**** > > Event: presence**** > > Allow-Events: talk, hold, conference, presence, dialog, line-seize, > call-info, sla, include-session-description, presence.winfo, > message-summary, refer**** > > Subscription-State: active;expires=3572**** > > Content-Type: application/xpidf+xml**** > > Content-Length: 430**** > > **** > > **** > > "xpidf.dtd">**** > > **** > > **** > > Registered(UDP)**** > > **** > > **** > > **** > >
priority="0.800000">**** > > **** > > **** > >
**** > >
**** > >
**** > > ------------------------------------------------------------------------ > **** > > recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912:**** > > ------------------------------------------------------------------------ > **** > > SIP/2.0 482 Loop Detected**** > > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB**** > > From: ;tag=0KH1Bj6SVsLd**** > > To: "free3" ;tag=739B1DFC-3CEB89D3**** > > CSeq: 2147483647 NOTIFY**** > > Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81**** > > Event: presence**** > > User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566**** > > Accept-Language: en**** > > Content-Length: 0**** > > ------------------------------------------------------------------------ > **** > > ** ** > > Anybody else encounter this or have any suggestions on how to resolve?**** > > ** ** > > Thanks,**** > > Ken**** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/a70f7d82/attachment.html From juanito1982 at gmail.com Tue Oct 16 18:32:56 2012 From: juanito1982 at gmail.com (=?ISO-8859-1?Q?Juan_Antonio_Iba=F1ez_Santorum?=) Date: Tue, 16 Oct 2012 16:32:56 +0200 Subject: [Freeswitch-users] mod_event_zmq reload problem Message-ID: Hello, I am doing some tests with mod_event_zmq and all works fine exept reloading the module once compiled after any change in module source code. Once made 'make mod_event_zmq-install" reloading the module from CLI get the older version, not the new compiled one. Reload API command still works after deleting mod_event_zmq.so and mod_event_zmq.la (wow). I don't know how FS can reload the module if it has been deleted. The unique way to get the module reloaded is shutting and starting FS. I have not get this problem with other modules. Any idea? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/9af1fb45/attachment.html From msc at freeswitch.org Tue Oct 16 18:55:12 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Oct 2012 07:55:12 -0700 Subject: [Freeswitch-users] How to set destination_number_ton when originating a call with bgapi In-Reply-To: <1350379731442-7583666.post@n2.nabble.com> References: <1350379731442-7583666.post@n2.nabble.com> Message-ID: Thank you for doing the research here. Any chance you could add this to the FreeTDM page on the wiki? -MC On Tue, Oct 16, 2012 at 2:28 AM, mbo wrote: > After some research in the code, I found out that instead of setting > destination_number_ton the variable "freetdm_outbound_ton" has to be set on > originate. Valid values are "national", "international", "local" and > "unknown". So in my case the following command will work: > > bgapi originate > > {origination_caller_id_number=XXXX,originate_timeout=20,origination_uuid=7a1093b5-4225-4a99-b3dc-bb4254217e4,freetdm_outbound_ton=international}freetdm/1/a/XXXX > &park > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/How-to-set-destination-number-ton-when-originating-a-call-with-bgapi-tp7583632p7583666.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://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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/9d1f2828/attachment.html From yehavi.bourvine at gmail.com Tue Oct 16 18:57:36 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 16 Oct 2012 16:57:36 +0200 Subject: [Freeswitch-users] How to see which LUA processes are running? Message-ID: Hello, Is there a wayto see whether there are LUA processes running which has been created with LUARUN api command? I am using these processes to do auto-redial for busy extensions, and would like to know whether the process is still running or died. Thanks! __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/314f9801/attachment.html From khuenm at vega.com.vn Tue Oct 16 19:15:28 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Tue, 16 Oct 2012 22:15:28 +0700 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Hi Chad, I was changed my config as you guide but I still isn't work. Please see attack file, it is log of chatty application. I explain my test: EyeBeam run on ip: 192.168.0.35 and registered to FreeSWITCH with number: 0984713985 FreeSWITCH and Chatty run on ip: 192.168.0.24 1. I used softphone to send a instant message "hello" to extension 9910, >From website, I can receive it. 2. From chat window on website, I send "how are you", softphone don't receive it. Brs, Khue. 2012/10/16 Chad Engler > So the chatty application will use the ?provider? specified in its > configuration as the ?to host? for the message:**** > > ** ** > > self.fsw.message(num + '@' + self.provider, self.from, > self.profile, msg, function(evt) {**** > > ** ** > > So if you have ?sms-proxy.yourprovider.com? as your provider in the > config (which is the default example) then that is the domain it is trying > to send the message to. Try changing provider in the configuration to the > host that your softphone is on and restarting the app. If it still isn?t > working attach a dump of the output of the chatty application and I will > try and see what is happening.**** > > ** ** > > -Chad**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Monday, October 15, 2012 11:08 PM > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > ** ** > > Hi Chad,**** > > ** ** > > Thanks you very much. It work fine.**** > > ** ** > > Now, I can send "Instant Message" from softphone (eyebeam) and receive it > in website. But, softphone cannot receive anything that sent from website. > How I can receive message that sent from website? **** > > ** ** > > Thanks & Best regards,**** > > Khue.**** > > 2012/10/15 Chad Engler **** > > After some research it looks like Expressjs and Socket.IO have some issues > working together on node v0.9+. For now if you can use v0.8 that will fix > your issue, but I am looking into a solution for v0.9+ and track some bugs. > **** > > **** > > Thanks for the heads up!**** > > **** > > -Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Monday, October 15, 2012 9:43 AM > *To:* FreeSWITCH Users Help**** > > > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi Chad,**** > > **** > > I used node version 0.9.3-pre. This is config.json:**** > > {**** > > "fsw": {**** > > "host": "192.168.0.24",**** > > "port": 8021,**** > > "password": "ClueCon"**** > > },**** > > "server": {**** > > "host": "192.168.0.24",**** > > "port": 8181,**** > > "provider": "sms-proxy.yourprovider.com",**** > > "from": "from_number at from_host",**** > > "profile": "external"**** > > }**** > > }**** > > **** > > and chatplan:**** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > Brs,**** > > Khue.**** > > **** > > 2012/10/15 Chad Engler **** > > It would also be nice to see your config.json in the root of the chatty > directory.**** > > **** > > -Chad**** > > **** > > *From:* Chad Engler > *Sent:* Monday, October 15, 2012 8:48 AM > *To:* FreeSWITCH Users Help > *Subject:* RE: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Khue,**** > > **** > > What version of node are you running? Can I also see your chatplan?**** > > **** > > Thanks,**** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 11:44 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi Chad,**** > > **** > > I installed node-esl and tried it. But, I have some error:**** > > 1. When I enter url: http://my_ip:8181, chatty stopped immediately > with error:**** > > http.js:650**** > > throw new Error('Can\'t set headers after they are sent.');**** > > ^**** > > Error: Can't set headers after they are sent.**** > > at ServerResponse.OutgoingMessage.setHeader (http.js:650:11)**** > > at ServerResponse.res.setHeader > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/lib/patch.js:59:22) > **** > > at SendStream.type > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:444:7) > **** > > at SendStream.send > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:343:8) > **** > > at > /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:319:10 > **** > > at Object.oncomplete (fs.js:308:15)**** > > at process._makeCallback (node.js:248:20)**** > > > 1. In fs_cli have error:**** > > 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to > local box for 9910 at 192.168.0.24**** > > 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip]**** > > from ["1000" ;tag=7700467a]**** > > to [9910 at 192.168.0.24]**** > > how are you?**** > > Nobody to send to: Profile internal**** > > please help me fix it.**** > > **** > > Thanks& Best regards,**** > > Khue**** > > **** > > **** > > 2012/10/12 Chad Engler **** > > Hello,**** > > **** > > Check out https://github.com/englercj/node-esl**** > > **** > > Thanks,**** > > **** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 5:01 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi all,**** > > **** > > I want send message "MESSAGE" to caller from javascript. How I can do it, > please guide me?**** > > **** > > Brs,**** > > Khue.**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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://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://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/20121016/38049363/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: chatty.rtf Type: application/rtf Size: 6372 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/38049363/attachment-0001.rtf From KEN.KELLY-TURNER at adtran.com Tue Oct 16 19:20:35 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Tue, 16 Oct 2012 15:20:35 +0000 Subject: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> Hi Anthony, I upgraded to the git head, the problem persisted. I'm updating my phones to 4.0.3 now but I just noticed an additional warning that is produced on my ppc build when I attempt to make a call to my SLA line: [WARNING] sofia.c:8906 Auto-Fixing Broken SLA [sip:10.10.11.1;appearance-index=1] Any thoughts? And I am a co-op student for adtran, I'm just trying to determine functionality of freeswitch in a linux-powerpc environment. Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 9:34 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build When you are working on debugging stuff its best to use GIT HEAD and not frozen releases. Did you enable the logging on your phone to see what it may have to say? 4.0.x is still a buggy firmware on polycom so you might want to try the last 3.5 or 4.0.3, it may be a simple as a race condition based on the performance of the 2 boxes. We made some changes to accommodate such a situation in GIT HEAD last week. BTW, Couldn't help notice your domain name. Are you doing something on behalf of Adtran or you just happen to have an email addr there? On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER > wrote: Hi all, I've cross compiled freeswitch 1.2.3 for ppc and I'm trying to get SLA and BLF working on my polycom phones. I tested both features on a Ubuntu build of freeswitch 1.2.3 and they work perfectly. If I use the same configuration and phones on my powerpc version I get the following error: send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372: ------------------------------------------------------------------------ NOTIFY sip:1003 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB Max-Forwards: 70 From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 CSeq: 4052937957 NOTIFY Contact: User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: presence Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3572 Content-Type: application/xpidf+xml Content-Length: 430 Registered(UDP)
------------------------------------------------------------------------ recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 CSeq: 2147483647 NOTIFY Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 Event: presence User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Anybody else encounter this or have any suggestions on how to resolve? Thanks, Ken _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/c1e77017/attachment.html From anthony.minessale at gmail.com Tue Oct 16 19:48:51 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Oct 2012 10:48:51 -0500 Subject: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> Message-ID: That is what it does when a line is supposed to be SLA and it does not contain the appearance-index in the call-info header. On Tue, Oct 16, 2012 at 10:20 AM, KEN KELLY-TURNER < KEN.KELLY-TURNER at adtran.com> wrote: > Hi Anthony,**** > > ** ** > > I upgraded to the git head, the problem persisted. I?m updating my phones > to 4.0.3 now but I just noticed an additional warning that is produced on > my ppc build when I attempt to make a call to my SLA line:**** > > ** ** > > [WARNING] sofia.c:8906 Auto-Fixing Broken SLA [sip:10.10.11.1 > ;appearance-index=1]**** > > ** ** > > Any thoughts?**** > > ** ** > > And I am a co-op student for adtran, I?m just trying to determine > functionality of freeswitch in a linux-powerpc environment.**** > > ** ** > > Thanks,**** > > Ken**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* October-16-12 9:34 AM > *To:* FreeSWITCH Users Help > *Subject:* Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop > detected errors on powerpc build**** > > ** ** > > When you are working on debugging stuff its best to use GIT HEAD and not > frozen releases.**** > > Did you enable the logging on your phone to see what it may have to say? > 4.0.x is still a buggy firmware on polycom so you might want to try the > last 3.5 or 4.0.3, it may be a simple as a race condition based on the > performance of the 2 boxes. We made some changes to accommodate such a > situation in GIT HEAD last week.**** > > ** ** > > BTW,**** > > ** ** > > Couldn't help notice your domain name. Are you doing something on behalf > of Adtran or you just happen to have an email addr there?**** > > ** ** > > ** ** > > ** ** > > On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER < > KEN.KELLY-TURNER at adtran.com> wrote:**** > > Hi all,**** > > **** > > I?ve cross compiled freeswitch 1.2.3 for ppc and I?m trying to get SLA and > BLF working on my polycom phones. I tested both features on a Ubuntu build > of freeswitch 1.2.3 and they work perfectly. If I use the same > configuration and phones on my powerpc version I get the following error:* > *** > > **** > > send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372:**** > > ------------------------------------------------------------------------ > **** > > NOTIFY sip:1003 at 10.10.8.81 SIP/2.0**** > > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB**** > > Max-Forwards: 70**** > > From: ;tag=0KH1Bj6SVsLd**** > > To: "free3" ;tag=739B1DFC-3CEB89D3**** > > Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81**** > > CSeq: 4052937957 NOTIFY**** > > Contact: **** > > User-Agent: FreeSWITCH-mod_sofia/1.2.3**** > > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, > REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE**** > > Supported: timer, precondition, path, replaces**** > > Event: presence**** > > Allow-Events: talk, hold, conference, presence, dialog, line-seize, > call-info, sla, include-session-description, presence.winfo, > message-summary, refer**** > > Subscription-State: active;expires=3572**** > > Content-Type: application/xpidf+xml**** > > Content-Length: 430**** > > **** > > **** > > "xpidf.dtd">**** > > **** > > **** > > Registered(UDP)**** > > **** > > **** > > **** > >
priority="0.800000">**** > > **** > > **** > >
**** > >
**** > >
**** > > ------------------------------------------------------------------------ > **** > > recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912:**** > > ------------------------------------------------------------------------ > **** > > SIP/2.0 482 Loop Detected**** > > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB**** > > From: ;tag=0KH1Bj6SVsLd**** > > To: "free3" ;tag=739B1DFC-3CEB89D3**** > > CSeq: 2147483647 NOTIFY**** > > Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81**** > > Event: presence**** > > User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566**** > > Accept-Language: en**** > > Content-Length: 0**** > > ------------------------------------------------------------------------ > **** > > **** > > Anybody else encounter this or have any suggestions on how to resolve?**** > > **** > > Thanks,**** > > Ken**** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > **** > > ** ** > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/f2e60c35/attachment-0001.html From Chad.Engler at patlive.com Tue Oct 16 19:56:59 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 16 Oct 2012 11:56:59 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Try using `/debug 7` in `fs_cli` and see what errors it gives you. The module is doing its job, the SIP MESSAGE is being sent, but it is not reaching your software probably due to a network/configuration error. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Tuesday, October 16, 2012 11:15 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I was changed my config as you guide but I still isn't work. Please see attack file, it is log of chatty application. I explain my test: EyeBeam run on ip: 192.168.0.35 and registered to FreeSWITCH with number: 0984713985 FreeSWITCH and Chatty run on ip: 192.168.0.24 1. I used softphone to send a instant message "hello" to extension 9910, >From website, I can receive it. 2. From chat window on website, I send "how are you", softphone don't receive it. Brs, Khue. 2012/10/16 Chad Engler So the chatty application will use the "provider" specified in its configuration as the "to host" for the message: self.fsw.message(num + '@' + self.provider, self.from, self.profile, msg, function(evt) { So if you have "sms-proxy.yourprovider.com" as your provider in the config (which is the default example) then that is the domain it is trying to send the message to. Try changing provider in the configuration to the host that your softphone is on and restarting the app. If it still isn't working attach a dump of the output of the chatty application and I will try and see what is happening. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 11:08 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, Thanks you very much. It work fine. Now, I can send "Instant Message" from softphone (eyebeam) and receive it in website. But, softphone cannot receive anything that sent from website. How I can receive message that sent from website? Thanks & Best regards, Khue. 2012/10/15 Chad Engler After some research it looks like Expressjs and Socket.IO have some issues working together on node v0.9+. For now if you can use v0.8 that will fix your issue, but I am looking into a solution for v0.9+ and track some bugs. Thanks for the heads up! -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 9:43 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I used node version 0.9.3-pre. This is config.json: { "fsw": { "host": "192.168.0.24", "port": 8021, "password": "ClueCon" }, "server": { "host": "192.168.0.24", "port": 8181, "provider": "sms-proxy.yourprovider.com", "from": "from_number at from_host", "profile": "external" } } and chatplan: Brs, Khue. 2012/10/15 Chad Engler It would also be nice to see your config.json in the root of the chatty directory. -Chad From: Chad Engler Sent: Monday, October 15, 2012 8:48 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] How to send sip MESSAGE from script Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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://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://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/20121016/3b80169e/attachment-0001.html From khuenm at vega.com.vn Tue Oct 16 20:18:33 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Tue, 16 Oct 2012 23:18:33 +0700 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: When I send message from website, I don't see anything in fs_cli. I was set log level to 7. If I send sip MESSAGE from soft phone, have some error: *2012-10-16 20:12:45.256306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24* *freeswitch at 192.168.0.24@internal> [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Content-Type] = [log/data]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Content-Length] = [220]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-Level] = [3]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Text-Channel] = [0]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-File] = [sofia_presence.c]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-Func] = [sofia_presence_chat_send]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-Line] = [253]* *[DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [User-Data] = []* *[DEBUG] esl.c:1412 esl_recv_event() RECV MESSAGE* *Event-Name: SOCKET_DATA* *Content-Type: log/data* *Content-Length: 220* *Log-Level: 3* *Text-Channel: 0* *Log-File: sofia_presence.c* *Log-Func: sofia_presence_chat_send* *Log-Line: 253* *Content-Length: 220* * * *2012-10-16 20:12:45.256306 [ERR] sofia_presence.c:253 Chat proto [sip]* *from ["0984713985" ;tag=0779873085E5A6EA048CDC208A05DE19]* *to [9910 at 192.168.0.24]* *hi* *Nobody to send to: Profile internal* Brs, Khue. 2012-10-16 20:12:45.256306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["0984713985" ;tag=0779873085E5A6EA048CDC208A05DE19] to [9910 at 192.168.0.24] hi Nobody to send to: Profile internal freeswitch at 192.168.0.24@internal> 2012/10/16 Chad Engler > Try using `/debug 7` in `fs_cli` and see what errors it gives you. The > module is doing its job, the SIP MESSAGE is being sent, but it is not > reaching your software probably due to a network/configuration error.**** > > ** ** > > -Chad **** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Tuesday, October 16, 2012 11:15 AM > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > ** ** > > Hi Chad,**** > > ** ** > > I was changed my config as you guide but I still isn't work. Please see > attack file, it is log of chatty application. I explain my test:**** > > ** ** > > EyeBeam run on ip: 192.168.0.35 and registered to FreeSWITCH with number: > 0984713985**** > > FreeSWITCH and Chatty run on ip: 192.168.0.24**** > > ** ** > > 1. I used softphone to send a instant message "hello" to extension 9910, > From website, I can receive it.**** > > 2. From chat window on website, I send "how are you", softphone don't > receive it.**** > > ** ** > > Brs,**** > > Khue.**** > > ** ** > > 2012/10/16 Chad Engler **** > > So the chatty application will use the ?provider? specified in its > configuration as the ?to host? for the message:**** > > **** > > self.fsw.message(num + '@' + self.provider, self.from, > self.profile, msg, function(evt) {**** > > **** > > So if you have ?sms-proxy.yourprovider.com? as your provider in the > config (which is the default example) then that is the domain it is trying > to send the message to. Try changing provider in the configuration to the > host that your softphone is on and restarting the app. If it still isn?t > working attach a dump of the output of the chatty application and I will > try and see what is happening.**** > > **** > > -Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Monday, October 15, 2012 11:08 PM**** > > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi Chad,**** > > **** > > Thanks you very much. It work fine.**** > > **** > > Now, I can send "Instant Message" from softphone (eyebeam) and receive it > in website. But, softphone cannot receive anything that sent from website. > How I can receive message that sent from website? **** > > **** > > Thanks & Best regards,**** > > Khue.**** > > 2012/10/15 Chad Engler **** > > After some research it looks like Expressjs and Socket.IO have some issues > working together on node v0.9+. For now if you can use v0.8 that will fix > your issue, but I am looking into a solution for v0.9+ and track some bugs. > **** > > **** > > Thanks for the heads up!**** > > **** > > -Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Monday, October 15, 2012 9:43 AM > *To:* FreeSWITCH Users Help**** > > > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi Chad,**** > > **** > > I used node version 0.9.3-pre. This is config.json:**** > > {**** > > "fsw": {**** > > "host": "192.168.0.24",**** > > "port": 8021,**** > > "password": "ClueCon"**** > > },**** > > "server": {**** > > "host": "192.168.0.24",**** > > "port": 8181,**** > > "provider": "sms-proxy.yourprovider.com",**** > > "from": "from_number at from_host",**** > > "profile": "external"**** > > }**** > > }**** > > **** > > and chatplan:**** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > **** > > Brs,**** > > Khue.**** > > **** > > 2012/10/15 Chad Engler **** > > It would also be nice to see your config.json in the root of the chatty > directory.**** > > **** > > -Chad**** > > **** > > *From:* Chad Engler > *Sent:* Monday, October 15, 2012 8:48 AM > *To:* FreeSWITCH Users Help > *Subject:* RE: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Khue,**** > > **** > > What version of node are you running? Can I also see your chatplan?**** > > **** > > Thanks,**** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 11:44 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi Chad,**** > > **** > > I installed node-esl and tried it. But, I have some error:**** > > 1. When I enter url: http://my_ip:8181, chatty stopped immediately > with error:**** > > http.js:650**** > > throw new Error('Can\'t set headers after they are sent.');**** > > ^**** > > Error: Can't set headers after they are sent.**** > > at ServerResponse.OutgoingMessage.setHeader (http.js:650:11)**** > > at ServerResponse.res.setHeader > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/lib/patch.js:59:22) > **** > > at SendStream.type > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:444:7) > **** > > at SendStream.send > (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:343:8) > **** > > at > /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:319:10 > **** > > at Object.oncomplete (fs.js:308:15)**** > > at process._makeCallback (node.js:248:20)**** > > > 1. In fs_cli have error:**** > > 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to > local box for 9910 at 192.168.0.24**** > > 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip]**** > > from ["1000" ;tag=7700467a]**** > > to [9910 at 192.168.0.24]**** > > how are you?**** > > Nobody to send to: Profile internal**** > > please help me fix it.**** > > **** > > Thanks& Best regards,**** > > Khue**** > > **** > > **** > > 2012/10/12 Chad Engler **** > > Hello,**** > > **** > > Check out https://github.com/englercj/node-esl**** > > **** > > Thanks,**** > > **** > > Chad**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Khue Nguyen > Minh > *Sent:* Friday, October 12, 2012 5:01 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] How to send sip MESSAGE from script**** > > **** > > Hi all,**** > > **** > > I want send message "MESSAGE" to caller from javascript. How I can do it, > please guide me?**** > > **** > > Brs,**** > > Khue.**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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://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://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://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/20121016/263e96cb/attachment-0001.html From Chad.Engler at patlive.com Tue Oct 16 20:38:19 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 16 Oct 2012 12:38:19 -0400 Subject: [Freeswitch-users] How to send sip MESSAGE from script In-Reply-To: References: Message-ID: Don't specify a port in the provider option of the configuration, use freeswitch configuration to route the messages to different ports based on profile. I notice that I am unable to send a message through my provider if I set the port in the provider option (even though it is the right port) but if I leave it off it works fine. I believe internal default port is 5060, so leave off the port of provider in your config.json file. And ensure your softphone is listening to the correct port for use with your sip profile. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Tuesday, October 16, 2012 12:19 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script When I send message from website, I don't see anything in fs_cli. I was set log level to 7. If I send sip MESSAGE from soft phone, have some error: 2012-10-16 20:12:45.256306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 freeswitch at 192.168.0.24@internal> [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Content-Type] = [log/data] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Content-Length] = [220] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-Level] = [3] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Text-Channel] = [0] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-File] = [sofia_presence.c] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-Func] = [sofia_presence_chat_send] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [Log-Line] = [253] [DEBUG] esl.c:1242 esl_recv_event() RECV HEADER [User-Data] = [] [DEBUG] esl.c:1412 esl_recv_event() RECV MESSAGE Event-Name: SOCKET_DATA Content-Type: log/data Content-Length: 220 Log-Level: 3 Text-Channel: 0 Log-File: sofia_presence.c Log-Func: sofia_presence_chat_send Log-Line: 253 Content-Length: 220 2012-10-16 20:12:45.256306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["0984713985" >;tag=0779873085E5A6EA048CDC208A05DE19] to [9910 at 192.168.0.24] hi Nobody to send to: Profile internal Brs, Khue. 2012-10-16 20:12:45.256306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["0984713985" >;tag=0779873085E5A6EA048CDC208A05DE19] to [9910 at 192.168.0.24] hi Nobody to send to: Profile internal freeswitch at 192.168.0.24@internal> 2012/10/16 Chad Engler Try using `/debug 7` in `fs_cli` and see what errors it gives you. The module is doing its job, the SIP MESSAGE is being sent, but it is not reaching your software probably due to a network/configuration error. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Tuesday, October 16, 2012 11:15 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I was changed my config as you guide but I still isn't work. Please see attack file, it is log of chatty application. I explain my test: EyeBeam run on ip: 192.168.0.35 and registered to FreeSWITCH with number: 0984713985 FreeSWITCH and Chatty run on ip: 192.168.0.24 1. I used softphone to send a instant message "hello" to extension 9910, >From website, I can receive it. 2. From chat window on website, I send "how are you", softphone don't receive it. Brs, Khue. 2012/10/16 Chad Engler So the chatty application will use the "provider" specified in its configuration as the "to host" for the message: self.fsw.message(num + '@' + self.provider, self.from, self.profile, msg, function(evt) { So if you have "sms-proxy.yourprovider.com" as your provider in the config (which is the default example) then that is the domain it is trying to send the message to. Try changing provider in the configuration to the host that your softphone is on and restarting the app. If it still isn't working attach a dump of the output of the chatty application and I will try and see what is happening. -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 11:08 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, Thanks you very much. It work fine. Now, I can send "Instant Message" from softphone (eyebeam) and receive it in website. But, softphone cannot receive anything that sent from website. How I can receive message that sent from website? Thanks & Best regards, Khue. 2012/10/15 Chad Engler After some research it looks like Expressjs and Socket.IO have some issues working together on node v0.9+. For now if you can use v0.8 that will fix your issue, but I am looking into a solution for v0.9+ and track some bugs. Thanks for the heads up! -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Monday, October 15, 2012 9:43 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I used node version 0.9.3-pre. This is config.json: { "fsw": { "host": "192.168.0.24", "port": 8021, "password": "ClueCon" }, "server": { "host": "192.168.0.24", "port": 8181, "provider": "sms-proxy.yourprovider.com", "from": "from_number at from_host", "profile": "external" } } and chatplan: Brs, Khue. 2012/10/15 Chad Engler It would also be nice to see your config.json in the root of the chatty directory. -Chad From: Chad Engler Sent: Monday, October 15, 2012 8:48 AM To: FreeSWITCH Users Help Subject: RE: [Freeswitch-users] How to send sip MESSAGE from script Khue, What version of node are you running? Can I also see your chatplan? Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 11:44 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to send sip MESSAGE from script Hi Chad, I installed node-esl and tried it. But, I have some error: 1. When I enter url: http://my_ip:8181, chatty stopped immediately with error: http.js:650 throw new Error('Can\'t set headers after they are sent.'); ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:650:11) at ServerResponse.res.setHeader (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/lib/patch.js:59:22) at SendStream.type (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:444:7) at SendStream.send (/opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/nod e_modules/connect/node_modules/send/lib/send.js:343:8) at /opt/englercj-node-esl-50aba9e/examples/chatty/node_modules/express/node _modules/connect/node_modules/send/lib/send.js:319:10 at Object.oncomplete (fs.js:308:15) at process._makeCallback (node.js:248:20) 1. In fs_cli have error: 2012-10-13 06:56:01.476306 [WARNING] sofia_presence.c:204 Not sending to local box for 9910 at 192.168.0.24 2012-10-13 06:56:01.476306 [ERR] sofia_presence.c:253 Chat proto [sip] from ["1000" >;tag=7700467a] to [9910 at 192.168.0.24] how are you? Nobody to send to: Profile internal please help me fix it. Thanks& Best regards, Khue 2012/10/12 Chad Engler Hello, Check out https://github.com/englercj/node-esl Thanks, Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Khue Nguyen Minh Sent: Friday, October 12, 2012 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] How to send sip MESSAGE from script Hi all, I want send message "MESSAGE" to caller from javascript. How I can do it, please guide me? Brs, Khue. ________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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://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://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://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/20121016/f40a806c/attachment-0001.html From krice at freeswitch.org Tue Oct 16 21:14:11 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 16 Oct 2012 12:14:11 -0500 Subject: [Freeswitch-users] REMINDER Message-ID: Please DO NOT reference a pastebin for information in Jira... Do Not assume the pastebing keeps things forever... It is subject to be reset at any time... If the pastebin is reset your ticket is now useless... Please upload traces, logs, backtraces whatever as a .txt file if its text to be read... Patches should be some_fix.patch or some_fix.patch.txt ... Easiest way to make a patch? ?git diff? committed it to your local tree already? ?git log ?p ?1 ${HASH}? where ${HASH} is the has of the commit git log... Help us out guys.... -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/f866de28/attachment.html From mario_fs at mgtech.com Tue Oct 16 21:53:05 2012 From: mario_fs at mgtech.com (Mario G) Date: Tue, 16 Oct 2012 10:53:05 -0700 Subject: [Freeswitch-users] Help with Asterisk vs FreeSwitch keywords Message-ID: My ITSO sent an asterisk setup but I cannot find an asterisk to freeSwitch cross ref for keywords. Can someone show the equivalent in FreeSwitch? FreeSwitch has realm, from-domain, etc. but I am having problems and want to make sure I code it right. Thanks Mario G srvlookup = yes <- Cannot find in FS domain = itspit.com <- realm? host = _SERVER_ <- realm or proxy? outboundproxy = _SERVER_ <- outbound-proxy register => 1234XXXXID:SUPERSECRET at _SERVER_ <- username/from-user -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/6280364f/attachment.html From richwerem at gmail.com Tue Oct 16 22:06:57 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Tue, 16 Oct 2012 19:06:57 +0100 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: References: <003801cdaae8$010a01a0$031e04e0$@com> <002101cdab1a$9423dc90$bc6b95b0$@com> Message-ID: <007e01cdabc9$09297320$1b7c5960$@com> Yes if I test call 5000 that works fine. The lua script just doesn't seem to collect. You can enter DMF while the announcement plays and it just ignores it, it doesn't stop playing. Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 15 October 2012 22:51 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua IVR example script issue How about if you just call test IVR 5000? Can you enter digits there? -MC On Mon, Oct 15, 2012 at 2:18 PM, Richard Weremiuk wrote: Hi Michael No, nothing on the console when DTMF entered. It does however feature this several times: 2012-10-15 22:12:57.740634 [DEBUG] switch_rtp.c:915 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=10 then says this later on. 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp engine]: WARNING! HELLO Max retransmissi ons count reached (20 retries). ID=10 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp]: Stream ID=10 CLEAR switching ---> . Best Regards Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 15 October 2012 22:02 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua IVR example script issue I've not actually tried this method since I posted that nearly 3 years ago (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by looking at the console while you're navigating the menu? Anything interesting on the console at all? -MC On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk wrote: I was looking to implement a multi-level IVR menu with Lua, that could be navigated forward and back. I came across a similar request from 2009 in this thread, which received a response from Michael with example script attached. http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.ht ml#50638 This issue I found with this script is that it does not collect DTMF digits. The menu plays normally but it is not possible to navigate the menu. Is there a corrected version of this script anywhere? Thanks Richard Weremiuk _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/595ef4d2/attachment.html From msc at freeswitch.org Tue Oct 16 22:46:39 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Oct 2012 11:46:39 -0700 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: <007e01cdabc9$09297320$1b7c5960$@com> References: <003801cdaae8$010a01a0$031e04e0$@com> <002101cdab1a$9423dc90$bc6b95b0$@com> <007e01cdabc9$09297320$1b7c5960$@com> Message-ID: Can you pastebin the Lua script that has the issue? It might be good to have some others test it out. -MC On Tue, Oct 16, 2012 at 11:06 AM, Richard Weremiuk wrote: > Yes if I test call 5000 that works fine. The lua script just doesn't seem > to collect. You can enter DMF while the announcement plays and it just > ignores it, it doesn't stop playing.**** > > > Richard**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 15 October 2012 22:51 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Lua IVR example script issue**** > > ** ** > > How about if you just call test IVR 5000? Can you enter digits there? > -MC**** > > On Mon, Oct 15, 2012 at 2:18 PM, Richard Weremiuk > wrote:**** > > Hi Michael**** > > **** > > No, nothing on the console when DTMF entered.**** > > **** > > It does however feature this several times:**** > > **** > > 2012-10-15 22:12:57.740634 [DEBUG] switch_rtp.c:915 [ zrtp engine]: > WARNING! HELLO have been resent**** > > 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=10* > *** > > **** > > then says this later on.**** > > **** > > 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp engine]: > WARNING! HELLO Max retransmissi**** > > ons count reached (20 retries). ID=10**** > > 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp]: > Stream ID=10 CLEAR switching**** > > ---> .**** > > **** > > Best Regards**** > > **** > > Richard**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 15 October 2012 22:02 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Lua IVR example script issue**** > > **** > > I've not actually tried this method since I posted that nearly 3 years ago > (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by > looking at the console while you're navigating the menu? Anything > interesting on the console at all? > > -MC**** > > On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk > wrote:**** > > I was looking to implement a multi-level IVR menu with Lua, that could be > navigated forward and back. I came across a similar request from 2009 in > this thread, which received a response from Michael with example script > attached.**** > > **** > > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.html#50638 > **** > > **** > > This issue I found with this script is that it does not collect DTMF > digits. The menu plays normally but it is not possible to navigate the > menu. Is there a corrected version of this script anywhere?**** > > **** > > Thanks**** > > **** > > Richard Weremiuk**** > > **** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > **** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/a5a96f90/attachment-0001.html From richwerem at gmail.com Tue Oct 16 23:21:08 2012 From: richwerem at gmail.com (Richard Weremiuk) Date: Tue, 16 Oct 2012 20:21:08 +0100 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: References: <003801cdaae8$010a01a0$031e04e0$@com> <002101cdab1a$9423dc90$bc6b95b0$@com> <007e01cdabc9$09297320$1b7c5960$@com> Message-ID: <00a301cdabd3$65e99b30$31bcd190$@com> I have not modified it from the script in the post from 09, but here is the pastebin. http://pastebin.com/tKpLTFAq Regards Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 16 October 2012 19:47 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua IVR example script issue Can you pastebin the Lua script that has the issue? It might be good to have some others test it out. -MC On Tue, Oct 16, 2012 at 11:06 AM, Richard Weremiuk wrote: Yes if I test call 5000 that works fine. The lua script just doesn't seem to collect. You can enter DMF while the announcement plays and it just ignores it, it doesn't stop playing. Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 15 October 2012 22:51 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua IVR example script issue How about if you just call test IVR 5000? Can you enter digits there? -MC On Mon, Oct 15, 2012 at 2:18 PM, Richard Weremiuk wrote: Hi Michael No, nothing on the console when DTMF entered. It does however feature this several times: 2012-10-15 22:12:57.740634 [DEBUG] switch_rtp.c:915 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=10 then says this later on. 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp engine]: WARNING! HELLO Max retransmissi ons count reached (20 retries). ID=10 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp]: Stream ID=10 CLEAR switching ---> . Best Regards Richard From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins Sent: 15 October 2012 22:02 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Lua IVR example script issue I've not actually tried this method since I posted that nearly 3 years ago (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by looking at the console while you're navigating the menu? Anything interesting on the console at all? -MC On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk wrote: I was looking to implement a multi-level IVR menu with Lua, that could be navigated forward and back. I came across a similar request from 2009 in this thread, which received a response from Michael with example script attached. http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.ht ml#50638 This issue I found with this script is that it does not collect DTMF digits. The menu plays normally but it is not possible to navigate the menu. Is there a corrected version of this script anywhere? Thanks Richard Weremiuk _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/7ed63865/attachment.html From mthakershi at gmail.com Tue Oct 16 23:26:43 2012 From: mthakershi at gmail.com (Malay Thakershi) Date: Tue, 16 Oct 2012 14:26:43 -0500 Subject: [Freeswitch-users] Different DTMF behavior??? In-Reply-To: References: Message-ID: Any ideas on where to look / how to address DTMF not working from various lines? 1. 877 number gets forwarded to 214 number = DTMF doesn't work 2. Call 214 directly from anywhere, DTMF works 3. 877 and 214 are on different companies (WindStream - Vitelity respectively) 4. No one is taking responsibility for this behavior Can someone point me to some material that I can use to tell them what could be done? Thanks for help. Malay On Mon, Oct 15, 2012 at 12:15 PM, Malay Thakershi wrote: > Understood. I have one more suspicion. > > I use PlayAndGetDigits to get data. > > Do the timeout arguments have maximum / minimum limits that will make the > system stop doing correct DTMF? > > E.g. Is timeout=10000 / digit-timeout=5000 valid values? > > I use .net managed module to handle calls. > > Thanks. > > > On Mon, Oct 15, 2012 at 11:04 AM, Michael Collins wrote: > >> I would get pcaps of these working and non-working calls and analyze them >> in Wireshark. Look for what's different between working and non-working >> calls. >> -MC >> >> On Sun, Oct 14, 2012 at 7:31 PM, Malay Thakershi wrote: >> >>> Hello, >>> >>> I have a toll-free number (877 area code) hosted @ WindStream and is >>> simply getting forwarded to a local number hosted @ Vitelity (214 area >>> code). >>> >>> Call 877 number from T-mobile or Vonage ==> digits get recognized fine >>> (normal behavior) >>> Call 877 number from Google voice/Verizon/ATT/certain area >>> codes ==> digits are not recognized / garbled (almost 100% failure) >>> Call 214 number form Google voice ==> digits get recognized fine (normal >>> behavior) >>> >>> I had everything working fine when the 877 number was hosted with >>> Vitelity. But we moved it to WindStream as we bought lines from them to our >>> server. >>> >>> Something is going wrong in DTMF process. >>> >>> Can someone guide me regarding this? Where to look? I did try >>> "dtmf-type=rfc.." setting and "liberal-dtmf=true" setting. But didn't work. >>> >>> Thanks for help. >>> >>> Malay >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >>> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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/20121016/81bebf45/attachment-0001.html From Chad.Engler at patlive.com Wed Oct 17 00:37:53 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Tue, 16 Oct 2012 16:37:53 -0400 Subject: [Freeswitch-users] SMS (chat) CDR logging Message-ID: There are multiple ways to log CDRs in FreeSWITCH; is there a similar mechanism for chat and mod_sms? Incoming chat messages seem to not generate CDRs, is this truly the case? Currently to log chat messages I am using ESL to listen for "MESSAGE" events and logging the relevant information to MongoDB, however I was wondering if there was a more "standard" way I could accomplish this in the FreeSWITCH configs. Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/aa7a5035/attachment.html From anthony.minessale at gmail.com Wed Oct 17 01:32:41 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Oct 2012 16:32:41 -0500 Subject: [Freeswitch-users] SMS (chat) CDR logging In-Reply-To: References: Message-ID: Not currently. You could open a feature request and/or post a bounty to catch someone's attn. On Tue, Oct 16, 2012 at 3:37 PM, Chad Engler wrote: > There are multiple ways to log CDRs in FreeSWITCH; is there a similar > mechanism for chat and mod_sms? Incoming chat messages seem to not generate > CDRs, is this truly the case?**** > > ** ** > > Currently to log chat messages I am using ESL to listen for ?MESSAGE? > events and logging the relevant information to MongoDB, however I was > wondering if there was a more ?standard? way I could accomplish this in the > FreeSWITCH configs.**** > > ** ** > > Thanks,**** > > ** ** > > *Chad Engler***** > > Web Programmer**** > > PATLive**** > > 1.800.775.7790 x746**** > > Chad.Engler at patlive.com**** > > ** ** > > Hosted Communications | Friendly Service www.patlive.com**** > > ** ** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/8a6133c4/attachment.html From tomasz.szuster at gmail.com Wed Oct 17 00:34:09 2012 From: tomasz.szuster at gmail.com (Tomasz Szuster) Date: Tue, 16 Oct 2012 22:34:09 +0200 Subject: [Freeswitch-users] incoming DID, small talk with operator then transfer/forward call to extension In-Reply-To: References: Message-ID: Thank you very much Mahesh. On Mon, Oct 15, 2012 at 3:30 AM, Nitin wrote: > Tomasz Szuster writes: > > > > > > > Hi Mahesh, > > > > Thank you for answer. > > I've attached requested files. > > > > > > Regards > > Tom. > > On Fri, Oct 12, 2012 at 8:59 PM, mahesh katta tjrDknoOMXcS+FvcfC7Uqw at public.gmane.org> wrote: > > Dear tom, > > Send the configuration and dialplan. > > > > On Oct 12, 2012 10:18 PM, "Tomasz Szuster" Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote: > > > > > > > > Hello. > > > > I've searched wiki and other websites but unfortunatelly did not find > info > or pointers how to resolve this issue. > > > > I want to achieve below solution. > > > > > > > > > > > > When incoming DID call occur person assigned to this line can pick a call > and speak with customer, then she can forward/transfer call to another > local > extension or to GSM number. > > I've found solutions when I can forward call without answering it by > operator but this is not the case. > > > > > > > > > > > > I've sucessfullly implemented gsm_open but sadly didn't find any > information > about transfering active call to next extension. > > > > Would you be so kind and show me the way how to get this working ? > > > > > > > > > > > > Thank you. > > > > -- RegardsTom > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services:consulting > freeswitch.orghttp://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication > Server > > Official FreeSWITCH > Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp:// > www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users- > PD4FTy7X32k3T7AR8gHRW2D2FQJk+8+b at public.gmane.orghttp:// > lists.freeswitch.org/ma > ilman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > usershttp://www.freeswitch.org > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services:consulting- > YF8E+gPBBv73h3GqohbjpQ at public.gmane.orghttp://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication > Server > > Official FreeSWITCH > Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp:// > www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users > lists.freeswitch.orghttp:// > lists.freeswitch.org/mailman/listinfo/freeswitch- > users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > usershttp://www.freeswitch.org > > > > > > -- PozdrawiamTomasz > > > > > > > > Attachment (dialplan.tar.bz2): application/x-bzip2, 8 KiB > > Attachment (vars.xml): text/xml, 3764 bytes > > Attachment (freeswitch.xml): text/xml, 3014 bytes > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at ... > > http://www.freeswitchsolutions.com > > > > > > > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://wiki.freeswitch.org > > http://www.cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at ... > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > Hi Tom, > > You need to use the Bind_Digit_Action Application in your Dial Plan to get > this work see the below example. > > > > > > > > > > In Above, 101 Extension is Incoming DID as soon as call comes bridge > application rings 102 Extension and if 102 extension answers the call and > after some talking with the customer and press *1 key in the telephone the > Customer will start getting hold message and call will start ringing at 103 > extension and if 103 extension answers the call 103 extension will be able > to > talk to the 102 extension (Operator) after some talking with operator if > 103 > wish to get the customer call the Operator on 102 can simply disconnect the > call and after that hold message to customer (caller) will stop and it > will be > bridged with 103 extension. > > So, in Above case Call First Connected to Receptionist at 102 and after > that > 102 start talking with the caller if caller wish to talk to 103 the > operator > can press *1 key while conversation then call will be connected to 103 > extension so, the call has to go through the operator if customer wish to > talk > to 103 extension. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Pozdrawiam Tomasz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/91172df1/attachment-0001.html From anthony.minessale at gmail.com Wed Oct 17 02:57:31 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 16 Oct 2012 17:57:31 -0500 Subject: [Freeswitch-users] How to see which LUA processes are running? In-Reply-To: References: Message-ID: We don't have anything to do that. On Tue, Oct 16, 2012 at 9:57 AM, Yehavi Bourvine wrote: > Hello, > > Is there a wayto see whether there are LUA processes running which has > been created with LUARUN api command? > > I am using these processes to do auto-redial for busy extensions, and > would like to know whether the process is still running or died. > > Thanks! __Yehavi: > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/f5ca871c/attachment.html From msc at freeswitch.org Wed Oct 17 03:08:47 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Oct 2012 16:08:47 -0700 Subject: [Freeswitch-users] Lua IVR example script issue In-Reply-To: <00a301cdabd3$65e99b30$31bcd190$@com> References: <003801cdaae8$010a01a0$031e04e0$@com> <002101cdab1a$9423dc90$bc6b95b0$@com> <007e01cdabc9$09297320$1b7c5960$@com> <00a301cdabd3$65e99b30$31bcd190$@com> Message-ID: Okay, I cleaned it up and updated a few things. It totally worked for me: http://pastebin.freeswitch.org/20084 HtH, MC On Tue, Oct 16, 2012 at 12:21 PM, Richard Weremiuk wrote: > I have not modified it from the script in the post from 09, but here is > the pastebin.**** > > ** ** > > http://pastebin.com/tKpLTFAq**** > > ** ** > > Regards**** > > ** ** > > Richard**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 16 October 2012 19:47 > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Lua IVR example script issue**** > > ** ** > > Can you pastebin the Lua script that has the issue? It might be good to > have some others test it out. > -MC**** > > On Tue, Oct 16, 2012 at 11:06 AM, Richard Weremiuk > wrote:**** > > Yes if I test call 5000 that works fine. The lua script just doesn't seem > to collect. You can enter DMF while the announcement plays and it just > ignores it, it doesn't stop playing.**** > > > Richard**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 15 October 2012 22:51 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Lua IVR example script issue**** > > **** > > How about if you just call test IVR 5000? Can you enter digits there? > -MC**** > > On Mon, Oct 15, 2012 at 2:18 PM, Richard Weremiuk > wrote:**** > > Hi Michael**** > > **** > > No, nothing on the console when DTMF entered.**** > > **** > > It does however feature this several times:**** > > **** > > 2012-10-15 22:12:57.740634 [DEBUG] switch_rtp.c:915 [ zrtp engine]: > WARNING! HELLO have been resent**** > > 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=10* > *** > > **** > > then says this later on.**** > > **** > > 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp engine]: > WARNING! HELLO Max retransmissi**** > > ons count reached (20 retries). ID=10**** > > 2012-10-15 22:13:00.741015 [DEBUG] switch_rtp.c:915 [ zrtp]: > Stream ID=10 CLEAR switching**** > > ---> .**** > > **** > > Best Regards**** > > **** > > Richard**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael > Collins > *Sent:* 15 October 2012 22:02 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Lua IVR example script issue**** > > **** > > I've not actually tried this method since I posted that nearly 3 years ago > (yikes!). Question: do you see the DTMFs coming in to the system, i.e. by > looking at the console while you're navigating the menu? Anything > interesting on the console at all? > > -MC**** > > On Mon, Oct 15, 2012 at 8:16 AM, Richard Weremiuk > wrote:**** > > I was looking to implement a multi-level IVR menu with Lua, that could be > navigated forward and back. I came across a similar request from 2009 in > this thread, which received a response from Michael with example script > attached.**** > > **** > > > http://lists.freeswitch.org/pipermail/freeswitch-users/2009-December/date.html#50638 > **** > > **** > > This issue I found with this script is that it does not collect DTMF > digits. The menu plays normally but it is not possible to navigate the > menu. Is there a corrected version of this script anywhere?**** > > **** > > Thanks**** > > **** > > Richard Weremiuk**** > > **** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > **** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/e296a276/attachment-0001.html From msc at freeswitch.org Wed Oct 17 03:11:27 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 16 Oct 2012 16:11:27 -0700 Subject: [Freeswitch-users] Different DTMF behavior??? In-Reply-To: References: Message-ID: Do you have pcaps of the traffic for working and non-working DTMFs? Until you do you won't have a clear picture of what is actually happening. You'll want to check the SDP that's negotiated as well as look at the RTP stream for DTMFs. If they send RFC2833 you'll actually see them show up in Wireshark's "flow" diagram. If they're in the audio then you'll need to use the "player" tool and listen to the audio streams - assuming you're using g.711, of course. (Wireshark only does g.711...) -MC On Tue, Oct 16, 2012 at 12:26 PM, Malay Thakershi wrote: > Any ideas on where to look / how to address DTMF not working from various > lines? > > 1. 877 number gets forwarded to 214 number = DTMF doesn't work > 2. Call 214 directly from anywhere, DTMF works > 3. 877 and 214 are on different companies (WindStream - Vitelity > respectively) > 4. No one is taking responsibility for this behavior > > Can someone point me to some material that I can use to tell them what > could be done? > > Thanks for help. > > Malay > > On Mon, Oct 15, 2012 at 12:15 PM, Malay Thakershi wrote: > >> Understood. I have one more suspicion. >> >> I use PlayAndGetDigits to get data. >> >> Do the timeout arguments have maximum / minimum limits that will make the >> system stop doing correct DTMF? >> >> E.g. Is timeout=10000 / digit-timeout=5000 valid values? >> >> I use .net managed module to handle calls. >> >> Thanks. >> >> >> On Mon, Oct 15, 2012 at 11:04 AM, Michael Collins wrote: >> >>> I would get pcaps of these working and non-working calls and analyze >>> them in Wireshark. Look for what's different between working and >>> non-working calls. >>> -MC >>> >>> On Sun, Oct 14, 2012 at 7:31 PM, Malay Thakershi wrote: >>> >>>> Hello, >>>> >>>> I have a toll-free number (877 area code) hosted @ WindStream and is >>>> simply getting forwarded to a local number hosted @ Vitelity (214 area >>>> code). >>>> >>>> Call 877 number from T-mobile or Vonage ==> digits get recognized fine >>>> (normal behavior) >>>> Call 877 number from Google voice/Verizon/ATT/certain area >>>> codes ==> digits are not recognized / garbled (almost 100% failure) >>>> Call 214 number form Google voice ==> digits get recognized >>>> fine (normal behavior) >>>> >>>> I had everything working fine when the 877 number was hosted with >>>> Vitelity. But we moved it to WindStream as we bought lines from them to our >>>> server. >>>> >>>> Something is going wrong in DTMF process. >>>> >>>> Can someone guide me regarding this? Where to look? I did try >>>> "dtmf-type=rfc.." setting and "liberal-dtmf=true" setting. But didn't work. >>>> >>>> Thanks for help. >>>> >>>> Malay >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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 >>>> >>>> >>> >>> >>> -- >>> Michael S Collins >>> Twitter: @mercutioviz >>> http://www.FreeSWITCH.org >>> http://www.ClueCon.com >>> http://www.OSTAG.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/d5ece573/attachment.html From luis.daniel.lucio at gmail.com Wed Oct 17 03:48:44 2012 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Tue, 16 Oct 2012 18:48:44 -0500 Subject: [Freeswitch-users] Scripts for SNMP Message-ID: Helo I-ve already read http://wiki.freeswitch.org/wiki/Snmp but it doesn answers my question, i need to know current inbound and outbound calls splited not in total numbers. I did this line but im not sure it is returning correect data. Can you give me yoru opinnion? /usr/local/freeswitch/bin/fs_cli -x "show calls " | grep inbound | wc -l|awk {'print $1'} /usr/local/freeswitch/bin/fs_cli -x "show calls " | grep outbound | wc -l|awk {'print $1'} Regards, LD From tomasz.szuster at gmail.com Wed Oct 17 11:47:43 2012 From: tomasz.szuster at gmail.com (Tomasz Szuster) Date: Wed, 17 Oct 2012 09:47:43 +0200 Subject: [Freeswitch-users] Atcom AX-400P Message-ID: Hello. I want to buy Atcom AX-400P. Have any of you using this card ? Any issues, problems with configuration or operation of the device ? -- Regards Tomasz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/11824a0f/attachment.html From curriegrad2004 at gmail.com Wed Oct 17 11:56:55 2012 From: curriegrad2004 at gmail.com (curriegrad2004) Date: Wed, 17 Oct 2012 00:56:55 -0700 Subject: [Freeswitch-users] Atcom AX-400P In-Reply-To: References: Message-ID: As long as this card uses the FreeTDM as the interfacing software, I don't think there would be any issues with this card. If this card is a digium clone, I think it should work just fine. On Wed, Oct 17, 2012 at 12:47 AM, Tomasz Szuster wrote: > Hello. > > I want to buy Atcom AX-400P. > Have any of you using this card ? > Any issues, problems with configuration or operation of the device ? > > -- > Regards > > Tomasz > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From tomasz.szuster at gmail.com Wed Oct 17 12:03:45 2012 From: tomasz.szuster at gmail.com (Tomasz Szuster) Date: Wed, 17 Oct 2012 10:03:45 +0200 Subject: [Freeswitch-users] Atcom AX-400P In-Reply-To: References: Message-ID: Thank you Curriegrad . On Wed, Oct 17, 2012 at 9:56 AM, curriegrad2004 wrote: > As long as this card uses the FreeTDM as the interfacing software, I > don't think there would be any issues with this card. If this card is > a digium clone, I think it should work just fine. > > On Wed, Oct 17, 2012 at 12:47 AM, Tomasz Szuster > wrote: > > Hello. > > > > I want to buy Atcom AX-400P. > > Have any of you using this card ? > > Any issues, problems with configuration or operation of the device ? > > > > -- > > Regards > > > > Tomasz > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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 > -- Pozdrawiam Tomasz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/c9a74ad0/attachment-0001.html From th982a at googlemail.com Wed Oct 17 15:37:34 2012 From: th982a at googlemail.com (Tamer Higazi) Date: Wed, 17 Oct 2012 13:37:34 +0200 Subject: [Freeswitch-users] freetdm, DAHDI and isdn HFC-S in NT Mode?! Message-ID: <507E987E.3060001@googlemail.com> Hi people! I am asking myself if freetdm works with DAHDI that far, that I can connect a ISDN Phone directly at a HFC board, and run it in NT-Mode. I did it in asterisk, and it works. Will it work on with wanpipe (dahdi enabled) freetdm on freeswitch too? For a short reply I would thank you Tamer From megahohol at gmail.com Wed Oct 17 17:25:35 2012 From: megahohol at gmail.com (Grygoriy Dobrovolskyy) Date: Wed, 17 Oct 2012 15:25:35 +0200 Subject: [Freeswitch-users] Wrong presented number in FROM Message-ID: Good day dear list, i would like to get you help, i am facing very simple issue i am not able to resolve: I receive incoming call from my provider which i forward to URI with the following Dialplan For whatever reason FS replace the FROM field when he does bridge, the one i receive from the provider is FROM "+33637" when FS do the invite he does: FROM "+33637 I have tried to do this: Same result, when opensips send the invite, the end user sees the number un Caller_id_name, but still FREESWITCH in caller_id_number Please help me replace the FROM "+33637 By FROM "+33637 !! Thank you dear list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/47fc219f/attachment.html From avi at avimarcus.net Wed Oct 17 17:32:52 2012 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 17 Oct 2012 15:32:52 +0200 Subject: [Freeswitch-users] Wrong presented number in FROM In-Reply-To: References: Message-ID: I think you need caller-id-in-from to be true in the opinsips gateway. -Avi On Wed, Oct 17, 2012 at 3:25 PM, Grygoriy Dobrovolskyy wrote: > Good day dear list, i would like to get you help, i am facing very simple > issue i am not able to resolve: > > > I receive incoming call from my provider which i forward to URI with the > following Dialplan > > > break="on-false"> > > data="effective_caller_id_name=${sip_to_user}"/> > data="effective_caller_id_number=${sip_to_user}"/> > data="{absolute_codec_string=PCMA}sofia/gateway/opensips/999999 at 1.2.2.5"/> > > For whatever reason FS replace the FROM field when he does bridge, the one > i receive from the provider is FROM "+33637" when FS > do the invite he does: FROM "+33637 > > I have tried to do this: > > data="origination_caller_id_number=${sip_to_user}"/> > > Same result, when opensips send the invite, the end user sees the number > un Caller_id_name, but still FREESWITCH in caller_id_number > > Please help me replace the FROM "+33637 > By FROM "+33637 !! > > Thank you dear list > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121017/5e194b23/attachment.html From eagle.antonio at gmail.com Wed Oct 17 17:34:21 2012 From: eagle.antonio at gmail.com (Antonio Teixeira) Date: Wed, 17 Oct 2012 13:34:21 +0000 Subject: [Freeswitch-users] Wrong presented number in FROM In-Reply-To: References: Message-ID: http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number You can't use SET, origination caller id should be used on the dial string. Like : {absolute_codec_string=PCMA,origination_caller_id_name=3312231212,origination_caller_id_number=3312231212}sofia /blahblahblah Regards A/T 2012/10/17 Grygoriy Dobrovolskyy > Good day dear list, i would like to get you help, i am facing very simple > issue i am not able to resolve: > > > I receive incoming call from my provider which i forward to URI with the > following Dialplan > > > break="on-false"> > > data="effective_caller_id_name=${sip_to_user}"/> > data="effective_caller_id_number=${sip_to_user}"/> > data="{absolute_codec_string=PCMA}sofia/gateway/opensips/999999 at 1.2.2.5"/> > > For whatever reason FS replace the FROM field when he does bridge, the one > i receive from the provider is FROM "+33637" when FS > do the invite he does: FROM "+33637 > > I have tried to do this: > > data="origination_caller_id_number=${sip_to_user}"/> > > Same result, when opensips send the invite, the end user sees the number > un Caller_id_name, but still FREESWITCH in caller_id_number > > Please help me replace the FROM "+33637 > By FROM "+33637 !! > > Thank you dear list > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121017/8f6eb9db/attachment.html From gozdal at gmail.com Wed Oct 17 18:02:21 2012 From: gozdal at gmail.com (Marcin Gozdalik) Date: Wed, 17 Oct 2012 16:02:21 +0200 Subject: [Freeswitch-users] T.38/fax problem Message-ID: Hi I'm trying to send a fax from FreeSWITCH using T.38 (via Cisco SIP gateway) to a remote fax. It fails with some cryptic messages: 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 T4A expired in phase T30_PHASE_D_RX, state 27. An HDLC frame lasted too long. 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Status changing to 'The HDLC carrier did not stop in a timely manne r' 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Disconnecting 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Changing from phase T30_PHASE_D_RX to T30_PHASE_E I do have full SIP/RTP dump of such a call if it is of any interest. It seems to be a peculiar interoperability issue, as this setup is used as a email2fax/fax2email gateway and it works quite well. Could anybody recommend any steps I could try to debug/fix the issue? Best regards -- Marcin Gozdalik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/14585033/attachment.html From nghiaem at gmail.com Wed Oct 17 14:07:22 2012 From: nghiaem at gmail.com (emnvn) Date: Wed, 17 Oct 2012 03:07:22 -0700 (PDT) Subject: [Freeswitch-users] PD: SIP -> XMPP calls In-Reply-To: <964C8735B9EC444A99C4EC298B1BA0AB0207BF59@OPEXCN07.tp.gk.corp.tepenet> References: <964C8735B9EC444A99C4EC298B1BA0AB0207BF59@OPEXCN07.tp.gk.corp.tepenet> Message-ID: <1350468442322-7583696.post@n2.nabble.com> Hi, I have the similar problem. I want to make conversation between SIP and XMPP user, I have configured that they can see together, I can initialize and stop the call betweens two these users. This is my context: - Caller: A, a freeSWITCH SIP user - Called: B, a openfire XMPP user. - Client tools: Jitsi 1. A initialize a call to B 2. A's status is connecting 3. B's status is incoming call 4. B accept the call 5. B's status is connected 6. A's status is still connecting... I have the same problem if B initialize call to A I tried to change the openfire xmpp user by google account, there are two results: 1. If A still use jitsi, B use google web, the result are very good. I work both voice and video. 2. If A still user jitsi, B user google talk, the result are the same as openfire user. I tried to configured the codec. FreeSwitch media mode but it still happened. If i make call between two SIP accounts or two XMPP account, it work well with jitsi. Anyone understands the problems? Thanks in advance! My Server: Linux localhost.localdomain 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux. My FS version: FreeSWITCH Version 1.3.0+git~20120911T090940Z~a478a5de04 (1.3.0; git at commit a478a5de04 on Tue, 11 Sep 2012 09:09:40 Z) -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/PD-SIP-XMPP-calls-tp5966636p7583696.html Sent from the freeswitch-users mailing list archive at Nabble.com. From luis.azedo at factorlusitano.com Wed Oct 17 18:22:42 2012 From: luis.azedo at factorlusitano.com (Luis Azedo) Date: Wed, 17 Oct 2012 15:22:42 +0100 Subject: [Freeswitch-users] mod_skyopen question/clarification Message-ID: Hello, i am using mod_skyopen and i have a question about codecs. does mod_skypopen work with silk codec at 16khz ? i have a softswitch with several users using AMR-NB codec. i have a dialing plan to make calls to skype through feeswitch/mod_skypopen with G711U. the softswitch does transcoding from AMR-NB to G711U. does freeswitch do transcoding from G711U to SILK? the softswitch can also do transcoding from AMR-NB to SILK before going to frreeswitch. would this be better ? thank you very much for your attention. -- Luis Azedo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/c887c27d/attachment.html From mario_fs at mgtech.com Wed Oct 17 18:29:17 2012 From: mario_fs at mgtech.com (Mario G) Date: Wed, 17 Oct 2012 07:29:17 -0700 Subject: [Freeswitch-users] Help with Asterisk vs FreeSwitch keywords In-Reply-To: References: Message-ID: Anyone? the ITSP was attacked again with DDoS, I could use the help since this affected all my main lines. On Oct 16, 2012, at 10:53 AM, Mario G wrote: > My ITSO sent an asterisk setup but I cannot find an asterisk to freeSwitch cross ref for keywords. Can someone show the equivalent in FreeSwitch? FreeSwitch has realm, from-domain, etc. but I am having problems and want to make sure I code it right. Thanks > Mario G > > srvlookup = yes <- Cannot find in FS > domain = itspit.com <- realm? > host = _SERVER_ <- realm or proxy? > outboundproxy = _SERVER_ <- outbound-proxy > register => 1234XXXXID:SUPERSECRET at _SERVER_ <- username/from-user > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121017/f5b04cc5/attachment.html From KEN.KELLY-TURNER at adtran.com Wed Oct 17 18:30:19 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Wed, 17 Oct 2012 14:30:19 +0000 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A5632@ex-mb1.corp.adtran.com> Why would I only be getting that warning on my PPC freeswitch with the same phones and configurations? Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 11:49 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build That is what it does when a line is supposed to be SLA and it does not contain the appearance-index in the call-info header. On Tue, Oct 16, 2012 at 10:20 AM, KEN KELLY-TURNER > wrote: Hi Anthony, I upgraded to the git head, the problem persisted. I'm updating my phones to 4.0.3 now but I just noticed an additional warning that is produced on my ppc build when I attempt to make a call to my SLA line: [WARNING] sofia.c:8906 Auto-Fixing Broken SLA [sip:10.10.11.1;appearance-index=1] Any thoughts? And I am a co-op student for adtran, I'm just trying to determine functionality of freeswitch in a linux-powerpc environment. Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 9:34 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build When you are working on debugging stuff its best to use GIT HEAD and not frozen releases. Did you enable the logging on your phone to see what it may have to say? 4.0.x is still a buggy firmware on polycom so you might want to try the last 3.5 or 4.0.3, it may be a simple as a race condition based on the performance of the 2 boxes. We made some changes to accommodate such a situation in GIT HEAD last week. BTW, Couldn't help notice your domain name. Are you doing something on behalf of Adtran or you just happen to have an email addr there? On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER > wrote: Hi all, I've cross compiled freeswitch 1.2.3 for ppc and I'm trying to get SLA and BLF working on my polycom phones. I tested both features on a Ubuntu build of freeswitch 1.2.3 and they work perfectly. If I use the same configuration and phones on my powerpc version I get the following error: send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372: ------------------------------------------------------------------------ NOTIFY sip:1003 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB Max-Forwards: 70 From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 CSeq: 4052937957 NOTIFY Contact: User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: presence Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3572 Content-Type: application/xpidf+xml Content-Length: 430 Registered(UDP)
------------------------------------------------------------------------ recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 CSeq: 2147483647 NOTIFY Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 Event: presence User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Anybody else encounter this or have any suggestions on how to resolve? Thanks, Ken _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/bc37f834/attachment-0001.html From jefersonparanaense at gmail.com Wed Oct 17 18:38:59 2012 From: jefersonparanaense at gmail.com (Jeferson Rodrigo Almeida) Date: Wed, 17 Oct 2012 11:38:59 -0300 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 76, Issue 108 In-Reply-To: References: Message-ID: Hi guys, I'm trying to use the fs_ivrd daemon, to execute a php script, that is called by the dialplan. It works like a charm, if not for the fact that the daemon (fs_ivrd) ends once the script (php) ends. In a system, I'll have to execute this script many times, and the daemon have to stay up. I think that it is wrong, right? I've already tryed to connect direct to a nc, simulating the deamon, and worked fine. I've already executed the script direct from de shell, and there's no sintax errors. *Here is my dialplan extension:* *Here is how I call the deamon:* (from the freeswitch bin dir) ./fs_ivrd -h 127.0.0.1 -p 9099 *Here is my PHP script:* #!/usr/local/eox/programas/php/bin/php -q I'll be grateful for any help. Thanks, and sorry for any error in my english. -- Jeferson Rodrigo Almeida Engenheiro de Computa??o jefersonparanaense at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/16911ffc/attachment.html From gmaruzz at gmail.com Wed Oct 17 18:46:20 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 17 Oct 2012 16:46:20 +0200 Subject: [Freeswitch-users] mod_skyopen question/clarification In-Reply-To: References: Message-ID: On Wed, Oct 17, 2012 at 4:22 PM, Luis Azedo wrote: > does mod_skypopen work with silk codec at 16khz ? > > i have a softswitch with several users using AMR-NB codec. i have a > dialing plan to make calls to skype through feeswitch/mod_skypopen with > G711U. > the softswitch does transcoding from AMR-NB to G711U. does freeswitch do > transcoding from G711U to SILK? > > the softswitch can also do transcoding from AMR-NB to SILK before going to > frreeswitch. would this be better ? > Hello Luis, mod_skypopen connect to the skype client through a tcp socket and exchange with it a signed linear (SL) 16khz stream. So, for what the skype client and FreeSWITCH are concerned, all is just signed linear, 16khz. FreeSWITCH internally works with signed linear data. So, the best you can do is to exchange signed linear stream (a "raw", native, non codified stream) between your softswitch and FreeSWITCH-skypopen. The second best would be to use a codec that is very light on cpu and that do 16khz. The third best would be to use G711(u|a) that do 8khz, but is very light on cpu. All trancoding and resampling (eg: from g711 to SL and SL to g711, but also between 8khz and 16khz) are done internally and automatically by FreeSWITCH. Not sure if I was able to clarify the issue, feel free to ask again. -giovanni Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/ea8ff888/attachment.html From dgarcia at anew.com.ve Wed Oct 17 18:49:02 2012 From: dgarcia at anew.com.ve (Saugort Dario Garcia Tovar) Date: Wed, 17 Oct 2012 10:19:02 -0430 Subject: [Freeswitch-users] Help with Asterisk vs FreeSwitch keywords In-Reply-To: References: Message-ID: <507EC55E.1060900@anew.com.ve> Hi, About srvlookup, check this: http://wiki.freeswitch.org/wiki/Provider_Configuration:_Broadvox http://wiki.freeswitch.org/wiki/Provider_Configuration:_Callcentric about domain.... http://wiki.freeswitch.org/wiki/Clarification:gateways domain = realm host = ip/fqdn fs host On 10/16/2012 1:23 PM, Mario G wrote: > My ITSO sent an asterisk setup but I cannot find an asterisk to > freeSwitch cross ref for keywords. Can someone show the equivalent in > FreeSwitch? FreeSwitch has realm, from-domain, etc. but I am having > problems and want to make sure I code it right. Thanks > Mario G > > srvlookup = yes<- Cannot find in FS > domain = itspit.com <- realm? > host = _SERVER_<- realm or proxy? > outboundproxy = _SERVER_<- outbound-proxy > register => 1234XXXXID:SUPERSECRET at _SERVER_ <- username/from-user > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.2221 / Virus Database: 2441/5333 - Release Date: 10/15/12 > -- Atentamente, *Dario Garc?a* Consultor. CCCT, Nivel C2, Sector Yarey, Mz, Ofc. MZ03a. Caracas-Venezuela. Tel?fono: +58 212 9081842 Cel: +58 412 2221515 dgarcia at anew.com.ve http://www.anew.com.ve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/5800f549/attachment.html From peter.olsson at visionutveckling.se Wed Oct 17 18:51:59 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Wed, 17 Oct 2012 14:51:59 +0000 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 76, Issue 108 Message-ID: <1FFF97C269757C458224B7C895F35F1517FAD4@cantor.std.visionutv.se> As far as I know fs_ivrd listens on a specific port, and then forks another process (script) when something connects there, so only the forked process should be stopped when the script ends, but the main daemon should continue to run. /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Jeferson Rodrigo Almeida Skickat: den 17 oktober 2012 16:39 Till: freeswitch-users at lists.freeswitch.org Kopia: Daniel Romaniuk ?mne: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 76, Issue 108 Hi guys, I'm trying to use the fs_ivrd daemon, to execute a php script, that is called by the dialplan. It works like a charm, if not for the fact that the daemon (fs_ivrd) ends once the script (php) ends. In a system, I'll have to execute this script many times, and the daemon have to stay up. I think that it is wrong, right? I've already tryed to connect direct to a nc, simulating the deamon, and worked fine. I've already executed the script direct from de shell, and there's no sintax errors. Here is my dialplan extension: Here is how I call the deamon: (from the freeswitch bin dir) ./fs_ivrd -h 127.0.0.1 -p 9099 Here is my PHP script: #!/usr/local/eox/programas/php/bin/php -q I'll be grateful for any help. Thanks, and sorry for any error in my english. -- Jeferson Rodrigo Almeida Engenheiro de Computa??o jefersonparanaense at gmail.com !DSPAM:507ec04a32769025299678! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/7f0ba7d4/attachment-0001.html From msc at freeswitch.org Wed Oct 17 20:03:11 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 17 Oct 2012 09:03:11 -0700 Subject: [Freeswitch-users] FreeSWITCH Conference Call Message-ID: Hello folks! Our weekly conference call is starting in about one hour. The agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2012_10_17 We look forward to hearing some information from two different Chads: Chad Philips and Chad Engler. The former will be giving us a brief heads up on migrating a project over to github and the latter will be discussing node-esl, a node.js + ESL library. Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/16a682d3/attachment.html From mario_fs at mgtech.com Wed Oct 17 20:32:35 2012 From: mario_fs at mgtech.com (Mario G) Date: Wed, 17 Oct 2012 09:32:35 -0700 Subject: [Freeswitch-users] Help with Asterisk vs FreeSwitch keywords In-Reply-To: <507EC55E.1060900@anew.com.ve> References: <507EC55E.1060900@anew.com.ve> Message-ID: <7A108CED-2732-441C-9E5E-EC3D7F112880@mgtech.com> Thanks, I saw that but it does not indicate show the asterisk "domain" and "host" to freeswitch keywords. It seems FS always has srvlookup on by default. On Oct 17, 2012, at 7:49 AM, Saugort Dario Garcia Tovar wrote: > Hi, > > About srvlookup, check this: > http://wiki.freeswitch.org/wiki/Provider_Configuration:_Broadvox > http://wiki.freeswitch.org/wiki/Provider_Configuration:_Callcentric > > about domain.... > http://wiki.freeswitch.org/wiki/Clarification:gateways > domain = realm > host = ip/fqdn fs host > > On 10/16/2012 1:23 PM, Mario G wrote: >> My ITSO sent an asterisk setup but I cannot find an asterisk to freeSwitch cross ref for keywords. Can someone show the equivalent in FreeSwitch? FreeSwitch has realm, from-domain, etc. but I am having problems and want to make sure I code it right. Thanks >> Mario G >> >> srvlookup = yes <- Cannot find in FS >> domain = itspit.com <- realm? >> host = _SERVER_ <- realm or proxy? >> outboundproxy = _SERVER_ <- outbound-proxy >> register => 1234XXXXID:SUPERSECRET at _SERVER_ <- username/from-user >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2012.0.2221 / Virus Database: 2441/5333 - Release Date: 10/15/12 >> > > > -- > Atentamente, > Dario Garc?a > Consultor. > > CCCT, Nivel C2, Sector Yarey, Mz, > Ofc. MZ03a. > Caracas-Venezuela. > Tel?fono: +58 212 9081842 > Cel: +58 412 2221515 > dgarcia at anew.com.ve > http://www.anew.com.ve > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121017/d5ddcb20/attachment.html From anthony.minessale at gmail.com Wed Oct 17 20:56:02 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 17 Oct 2012 11:56:02 -0500 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB54A5632@ex-mb1.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> <1AE08964ECCEE4448E6705DBF66FFAB54A5632@ex-mb1.corp.adtran.com> Message-ID: Maybe its not the same? Look at the sip messages and the configs again? On Wed, Oct 17, 2012 at 9:30 AM, KEN KELLY-TURNER < KEN.KELLY-TURNER at adtran.com> wrote: > Why would I only be getting that warning on my PPC freeswitch with the > same phones and configurations?**** > > ** ** > > Thanks,**** > > Ken**** > > ** ** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* October-16-12 11:49 AM > *To:* FreeSWITCH Users Help > *Subject:* Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop > detected errors on powerpc build**** > > ** ** > > That is what it does when a line is supposed to be SLA and it does not > contain the appearance-index in the call-info header.**** > > ** ** > > On Tue, Oct 16, 2012 at 10:20 AM, KEN KELLY-TURNER < > KEN.KELLY-TURNER at adtran.com> wrote:**** > > Hi Anthony,**** > > **** > > I upgraded to the git head, the problem persisted. I?m updating my phones > to 4.0.3 now but I just noticed an additional warning that is produced on > my ppc build when I attempt to make a call to my SLA line:**** > > **** > > [WARNING] sofia.c:8906 Auto-Fixing Broken SLA > [sip:10.10.11.1;appearance-index=1]**** > > **** > > Any thoughts?**** > > **** > > And I am a co-op student for adtran, I?m just trying to determine > functionality of freeswitch in a linux-powerpc environment.**** > > **** > > Thanks,**** > > Ken**** > > **** > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Anthony > Minessale > *Sent:* October-16-12 9:34 AM > *To:* FreeSWITCH Users Help > *Subject:* Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop > detected errors on powerpc build**** > > **** > > When you are working on debugging stuff its best to use GIT HEAD and not > frozen releases.**** > > Did you enable the logging on your phone to see what it may have to say? > 4.0.x is still a buggy firmware on polycom so you might want to try the > last 3.5 or 4.0.3, it may be a simple as a race condition based on the > performance of the 2 boxes. We made some changes to accommodate such a > situation in GIT HEAD last week.**** > > **** > > BTW,**** > > **** > > Couldn't help notice your domain name. Are you doing something on behalf > of Adtran or you just happen to have an email addr there?**** > > **** > > **** > > **** > > On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER < > KEN.KELLY-TURNER at adtran.com> wrote:**** > > Hi all,**** > > **** > > I?ve cross compiled freeswitch 1.2.3 for ppc and I?m trying to get SLA and > BLF working on my polycom phones. I tested both features on a Ubuntu build > of freeswitch 1.2.3 and they work perfectly. If I use the same > configuration and phones on my powerpc version I get the following error:* > *** > > **** > > send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372:**** > > ------------------------------------------------------------------------ > **** > > NOTIFY sip:1003 at 10.10.8.81 SIP/2.0**** > > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB**** > > Max-Forwards: 70**** > > From: ;tag=0KH1Bj6SVsLd**** > > To: "free3" ;tag=739B1DFC-3CEB89D3**** > > Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81**** > > CSeq: 4052937957 NOTIFY**** > > Contact: **** > > User-Agent: FreeSWITCH-mod_sofia/1.2.3**** > > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, > REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE**** > > Supported: timer, precondition, path, replaces**** > > Event: presence**** > > Allow-Events: talk, hold, conference, presence, dialog, line-seize, > call-info, sla, include-session-description, presence.winfo, > message-summary, refer**** > > Subscription-State: active;expires=3572**** > > Content-Type: application/xpidf+xml**** > > Content-Length: 430**** > > **** > > **** > > "xpidf.dtd">**** > > **** > > **** > > Registered(UDP)**** > > **** > > **** > > **** > >
priority="0.800000">**** > > **** > > **** > >
**** > >
**** > >
**** > > ------------------------------------------------------------------------ > **** > > recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912:**** > > ------------------------------------------------------------------------ > **** > > SIP/2.0 482 Loop Detected**** > > Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB**** > > From: ;tag=0KH1Bj6SVsLd**** > > To: "free3" ;tag=739B1DFC-3CEB89D3**** > > CSeq: 2147483647 NOTIFY**** > > Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81**** > > Event: presence**** > > User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566**** > > Accept-Language: en**** > > Content-Length: 0**** > > ------------------------------------------------------------------------ > **** > > **** > > Anybody else encounter this or have any suggestions on how to resolve?**** > > **** > > Thanks,**** > > Ken**** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > **** > > **** > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900**** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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**** > > > > **** > > ** ** > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/ec6e270e/attachment-0001.html From KEN.KELLY-TURNER at adtran.com Wed Oct 17 21:05:24 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Wed, 17 Oct 2012 17:05:24 +0000 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> <1AE08964ECCEE4448E6705DBF66FFAB54A5632@ex-mb1.corp.adtran.com> Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A56A1@ex-mb1.corp.adtran.com> Having looked through it again, the only notable difference I can find between my two freeswitch builds is that my powerpc board is not synced to current time and instead defaults to linux's t=0 (1970-01-01) resulting in the timestamp on the freeswitch messages to have a time 40 years in the past. This may be a stupid question but could that have anything to do with it? Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-17-12 12:56 PM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build Maybe its not the same? Look at the sip messages and the configs again? On Wed, Oct 17, 2012 at 9:30 AM, KEN KELLY-TURNER > wrote: Why would I only be getting that warning on my PPC freeswitch with the same phones and configurations? Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 11:49 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build That is what it does when a line is supposed to be SLA and it does not contain the appearance-index in the call-info header. On Tue, Oct 16, 2012 at 10:20 AM, KEN KELLY-TURNER > wrote: Hi Anthony, I upgraded to the git head, the problem persisted. I'm updating my phones to 4.0.3 now but I just noticed an additional warning that is produced on my ppc build when I attempt to make a call to my SLA line: [WARNING] sofia.c:8906 Auto-Fixing Broken SLA [sip:10.10.11.1;appearance-index=1] Any thoughts? And I am a co-op student for adtran, I'm just trying to determine functionality of freeswitch in a linux-powerpc environment. Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 9:34 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build When you are working on debugging stuff its best to use GIT HEAD and not frozen releases. Did you enable the logging on your phone to see what it may have to say? 4.0.x is still a buggy firmware on polycom so you might want to try the last 3.5 or 4.0.3, it may be a simple as a race condition based on the performance of the 2 boxes. We made some changes to accommodate such a situation in GIT HEAD last week. BTW, Couldn't help notice your domain name. Are you doing something on behalf of Adtran or you just happen to have an email addr there? On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER > wrote: Hi all, I've cross compiled freeswitch 1.2.3 for ppc and I'm trying to get SLA and BLF working on my polycom phones. I tested both features on a Ubuntu build of freeswitch 1.2.3 and they work perfectly. If I use the same configuration and phones on my powerpc version I get the following error: send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372: ------------------------------------------------------------------------ NOTIFY sip:1003 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB Max-Forwards: 70 From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 CSeq: 4052937957 NOTIFY Contact: User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: presence Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3572 Content-Type: application/xpidf+xml Content-Length: 430 Registered(UDP)
------------------------------------------------------------------------ recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 CSeq: 2147483647 NOTIFY Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 Event: presence User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Anybody else encounter this or have any suggestions on how to resolve? Thanks, Ken _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/f189d908/attachment-0001.html From KEN.KELLY-TURNER at adtran.com Wed Oct 17 21:25:48 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Wed, 17 Oct 2012 17:25:48 +0000 Subject: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A4476@ex-mb1.corp.adtran.com> <1AE08964ECCEE4448E6705DBF66FFAB54A5632@ex-mb1.corp.adtran.com> Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A56AE@ex-mb1.corp.adtran.com> I also just realised it is producing the message for both, I just wasn't seeing it on the working version of SLA because it was running outside of my scrolling range as soon as I picked up the call with TPORT_LOG=9 set From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-17-12 12:56 PM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build Maybe its not the same? Look at the sip messages and the configs again? On Wed, Oct 17, 2012 at 9:30 AM, KEN KELLY-TURNER > wrote: Why would I only be getting that warning on my PPC freeswitch with the same phones and configurations? Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 11:49 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build That is what it does when a line is supposed to be SLA and it does not contain the appearance-index in the call-info header. On Tue, Oct 16, 2012 at 10:20 AM, KEN KELLY-TURNER > wrote: Hi Anthony, I upgraded to the git head, the problem persisted. I'm updating my phones to 4.0.3 now but I just noticed an additional warning that is produced on my ppc build when I attempt to make a call to my SLA line: [WARNING] sofia.c:8906 Auto-Fixing Broken SLA [sip:10.10.11.1;appearance-index=1] Any thoughts? And I am a co-op student for adtran, I'm just trying to determine functionality of freeswitch in a linux-powerpc environment. Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 9:34 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build When you are working on debugging stuff its best to use GIT HEAD and not frozen releases. Did you enable the logging on your phone to see what it may have to say? 4.0.x is still a buggy firmware on polycom so you might want to try the last 3.5 or 4.0.3, it may be a simple as a race condition based on the performance of the 2 boxes. We made some changes to accommodate such a situation in GIT HEAD last week. BTW, Couldn't help notice your domain name. Are you doing something on behalf of Adtran or you just happen to have an email addr there? On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER > wrote: Hi all, I've cross compiled freeswitch 1.2.3 for ppc and I'm trying to get SLA and BLF working on my polycom phones. I tested both features on a Ubuntu build of freeswitch 1.2.3 and they work perfectly. If I use the same configuration and phones on my powerpc version I get the following error: send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372: ------------------------------------------------------------------------ NOTIFY sip:1003 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB Max-Forwards: 70 From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 CSeq: 4052937957 NOTIFY Contact: User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: presence Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3572 Content-Type: application/xpidf+xml Content-Length: 430 Registered(UDP)
------------------------------------------------------------------------ recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 CSeq: 2147483647 NOTIFY Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 Event: presence User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Anybody else encounter this or have any suggestions on how to resolve? Thanks, Ken _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/57388367/attachment-0001.html From KEN.KELLY-TURNER at adtran.com Wed Oct 17 21:42:54 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Wed, 17 Oct 2012 17:42:54 +0000 Subject: [Freeswitch-users] Suspicious URL:RE: Re: SLA/BLF causing 482 loop detected errors on powerpc build Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A56CD@ex-mb1.corp.adtran.com> Resolved, the timestamp was what was giving me the trouble. Works flawlessly now From: KEN KELLY-TURNER Sent: October-17-12 1:05 PM To: 'FreeSWITCH Users Help' Subject: RE: Suspicious URL:Re: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build Having looked through it again, the only notable difference I can find between my two freeswitch builds is that my powerpc board is not synced to current time and instead defaults to linux's t=0 (1970-01-01) resulting in the timestamp on the freeswitch messages to have a time 40 years in the past. This may be a stupid question but could that have anything to do with it? Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-17-12 12:56 PM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] Suspicious URL:RE: Suspicious URL:Re: SLA/BLF causing 482 loop detected errors on powerpc build Maybe its not the same? Look at the sip messages and the configs again? On Wed, Oct 17, 2012 at 9:30 AM, KEN KELLY-TURNER > wrote: Why would I only be getting that warning on my PPC freeswitch with the same phones and configurations? Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 11:49 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build That is what it does when a line is supposed to be SLA and it does not contain the appearance-index in the call-info header. On Tue, Oct 16, 2012 at 10:20 AM, KEN KELLY-TURNER > wrote: Hi Anthony, I upgraded to the git head, the problem persisted. I'm updating my phones to 4.0.3 now but I just noticed an additional warning that is produced on my ppc build when I attempt to make a call to my SLA line: [WARNING] sofia.c:8906 Auto-Fixing Broken SLA [sip:10.10.11.1;appearance-index=1] Any thoughts? And I am a co-op student for adtran, I'm just trying to determine functionality of freeswitch in a linux-powerpc environment. Thanks, Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: October-16-12 9:34 AM To: FreeSWITCH Users Help Subject: Suspicious URL:Re: [Freeswitch-users] SLA/BLF causing 482 loop detected errors on powerpc build When you are working on debugging stuff its best to use GIT HEAD and not frozen releases. Did you enable the logging on your phone to see what it may have to say? 4.0.x is still a buggy firmware on polycom so you might want to try the last 3.5 or 4.0.3, it may be a simple as a race condition based on the performance of the 2 boxes. We made some changes to accommodate such a situation in GIT HEAD last week. BTW, Couldn't help notice your domain name. Are you doing something on behalf of Adtran or you just happen to have an email addr there? On Mon, Oct 15, 2012 at 2:41 PM, KEN KELLY-TURNER > wrote: Hi all, I've cross compiled freeswitch 1.2.3 for ppc and I'm trying to get SLA and BLF working on my polycom phones. I tested both features on a Ubuntu build of freeswitch 1.2.3 and they work perfectly. If I use the same configuration and phones on my powerpc version I get the following error: send 1243 bytes to udp/[10.10.8.81]:5060 at 00:28:17.493372: ------------------------------------------------------------------------ NOTIFY sip:1003 at 10.10.8.81 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB Max-Forwards: 70 From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 CSeq: 4052937957 NOTIFY Contact: User-Agent: FreeSWITCH-mod_sofia/1.2.3 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: presence Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: active;expires=3572 Content-Type: application/xpidf+xml Content-Length: 430 Registered(UDP)
------------------------------------------------------------------------ recv 395 bytes from udp/[10.10.8.81]:5060 at 00:28:17.513912: ------------------------------------------------------------------------ SIP/2.0 482 Loop Detected Via: SIP/2.0/UDP 10.10.11.1;rport;branch=z9hG4bKX2crS8D8HQtaB From: >;tag=0KH1Bj6SVsLd To: "free3" >;tag=739B1DFC-3CEB89D3 CSeq: 2147483647 NOTIFY Call-ID: 4a84c5e6-67b90e1d-2a96ef64 at 10.10.8.81 Event: presence User-Agent: PolycomSoundPointIP-SPIP_550-UA/4.0.2.11307_0004f2149566 Accept-Language: en Content-Length: 0 ------------------------------------------------------------------------ Anybody else encounter this or have any suggestions on how to resolve? Thanks, Ken _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/d3015852/attachment-0001.html From yannick.lecoent at nexcom.fr Wed Oct 17 18:41:19 2012 From: yannick.lecoent at nexcom.fr (Yannick LE COENT) Date: Wed, 17 Oct 2012 16:41:19 +0200 Subject: [Freeswitch-users] Add Route header with extra parameters Message-ID: <859C22491C6D43A4AE1D2A15766D8002@pcyannick> Hello, I would like to add a Route to the outgoing request. According to http://wiki.freeswitch.org/wiki/Variable_sip_network_destination, sip_route_uri should add a Route header, but it is not the case. The SIP request is routed as specified with sip_route_uri, but the Route header is not inserted. This is a copy of what I have done: I have tried fs_path which inserts the Route header but without the extra parameters. Thanks for any help, Yannick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/ba3ff989/attachment.html From msc at freeswitch.org Wed Oct 17 23:03:21 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 17 Oct 2012 12:03:21 -0700 Subject: [Freeswitch-users] T.38/fax problem In-Reply-To: References: Message-ID: Can you get a pcap of this and open in wireshark? I think it might give you a bigger picture of what's happening. -MC On Wed, Oct 17, 2012 at 7:02 AM, Marcin Gozdalik wrote: > Hi > > I'm trying to send a fax from FreeSWITCH using T.38 (via Cisco SIP > gateway) to a remote fax. It fails with some cryptic messages: > > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 T4A > expired in phase T30_PHASE_D_RX, state 27. An HDLC frame lasted > too long. > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Status > changing to 'The HDLC carrier did not stop in a timely manne > r' > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Disconnecting > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Changing from phase T30_PHASE_D_RX to T30_PHASE_E > > I do have full SIP/RTP dump of such a call if it is of any interest. It > seems to be a peculiar interoperability issue, as this setup is used as a > email2fax/fax2email gateway and it works quite well. > > Could anybody recommend any steps I could try to debug/fix the issue? > > Best regards > > -- > Marcin Gozdalik > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/be8c3625/attachment.html From fs-list at communicatefreely.net Wed Oct 17 23:26:42 2012 From: fs-list at communicatefreely.net (Tim St. Pierre) Date: Wed, 17 Oct 2012 15:26:42 -0400 Subject: [Freeswitch-users] Explicit MWI notify only works on first registration Message-ID: <507F0672.5090200@communicatefreely.net> Hello, I'm trying to upgrade to 1.2.3 and I'm running into a few issues with MWI. We use the explicit-mwi-notify, because the voice mail account is usually different than the account the phone registers to. On the Aastra phones we have, subscribing to MWI always uses the same username and domain as the SIP subscription. If there are no registrations, I get a notify and correct status when the phone boots up and registers. If a new message is left or deleted, the update is very fast. Where I run into trouble is if a phone gets rebooted, or a second phone registers. It is fairly common on our system for a user to have two endpoints registered to the same username (which we allow). Is there a trick to making the MWI notify happen on EVERY registration? I have: in my internal profile. I'm using FreeSWITCH Version 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) Running on FreeBSD 8.3-RELEASE AMD64 Thanks for any suggestions! From msc at freeswitch.org Thu Oct 18 01:25:31 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 17 Oct 2012 14:25:31 -0700 Subject: [Freeswitch-users] Technical Reviewers Needed For New FreeSWITCH Book Message-ID: Hello! Most of you know that we are re-doing the FreeSWITCH book to freshen things up and add a lot of new content. If you would like to be an official technical reviewer for Packt Publishing for this new FreeSWITCH book then please contact me off list. Please note that this is a real responsibility that will require some time and effort, however the results are well worth it. You can help us get the latest and greatest FreeSWITCH book published and possibly even get your name in the credits. Let me know if you are interested and I'll get you in touch with the publisher. Thanks! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/a26e014d/attachment.html From trel.nadal at gmail.com Thu Oct 18 01:27:49 2012 From: trel.nadal at gmail.com (Trel) Date: Wed, 17 Oct 2012 14:27:49 -0700 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <1350241326640-7583610.post@n2.nabble.com> References: <008a01cda6a0$a9c80a90$fd581fb0$@com> <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> Message-ID: +1 on this issue, identical logs. i believed it to be a google voice issue and mitigated it by dialing out through a secondary provider =) On Sun, Oct 14, 2012 at 12:02 PM, PhilQ wrote: > Thanks Anthony. > > Understood on the Jira... > > I'm thinking that this problem is limited to me since I switched to HEAD, > did git clean, reset, modwipe, etc. and still have the same problem on the > other branch. > > At least with dl_debug I can get some more detailed info although I'm still > not quite sure what's going on with Jingle. > > The dns names are present due to the fact that ext_rtp_ip and ext_sip_ip are > set to host:pbxdomain.com which resolves to the IP address of the switch. > This allows us to easily change the IP if there's a network problem, etc. > It has been configured this way for quite some time, there have been no > recent changes. > > Here are a few snippets of what seems to be relevant in case you or anyone > else has any ideas, trying to keep it short. I also tried changing the > dialplan to get rid of the preceding '1' with no success, hadn't tried > removing the '+': > > EXECUTE sofia/internal/102 at 192.168.1.6:5060 > bridge(dingaling/gtalk/+1410969xxxx at voice.google.com) > 2012-10-14 01:53:12.428295 [DEBUG] switch_channel.c:1072 > sofia/internal/102 at 192.168.1.6:5060 EXPORTING[export_vars] > [domain_name]=[192.168.1.6] to event > 2012-10-14 01:53:12.428295 [DEBUG] switch_ivr_originate.c:2005 Parsing > global variables > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:990 Set Local Key [1 > AES_CM_128_HMAC_SHA1_80 inline:bXRH7.........(removed)............dJMcb] > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:990 Set Local Key [1 > AES_CM_128_HMAC_SHA1_80 inline:gGOh1.........(removed)............xpywl] > 2012-10-14 01:53:12.428295 [NOTICE] switch_channel.c:951 New Channel > dingaling/gtalk/+1410969xxxx at voice.google.com > [686c8d6b-6838-4491-8058-b133afe1d8f3] > 2012-10-14 01:53:12.428295 [CRIT] libdingaling.c:363 Created Session > 0021454872 > > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:2595 > (dingaling/gtalk/+1410969xxxx at voice.google.com) State Change CS_NEW -> > CS_INIT > 2012-10-14 01:53:12.428295 [DEBUG] switch_core_session.c:1210 Send signal > dingaling/gtalk/+1410969xxxx at voice.google.com [BREAK] > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:2024 > dingaling/gtalk/+1410969xxxx at voice.google.com CHANNEL KILL > 2012-10-14 01:53:12.428295 [DEBUG] switch_core_session.c:905 Send signal > sofia/internal/102 at 192.168.1.6:5060 [BREAK] > 2012-10-14 01:53:12.448460 [DEBUG] switch_core_state_machine.c:398 > (dingaling/gtalk/+1410969xxxx at voice.google.com) Running State Change CS_INIT > 2012-10-14 01:53:12.448460 [DEBUG] switch_core_state_machine.c:437 > (dingaling/gtalk/+1410969xxxx at voice.google.com) State INIT > 2012-10-14 01:53:12.448460 [NOTICE] mod_dingaling.c:1753 Ring-Ready > dingaling/gtalk/+1410969xxxx at voice.google.com! > 2012-10-14 01:53:12.448460 [DEBUG] sofia.c:6282 Channel > sofia/internal/102 at 192.168.1.6:5060 entering state [early][180] > 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1629 Don't have my audio > codec yet here's one > 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1675 Don't have video > codec. > 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1686 Send Describe > [PCMU at 8000] > 2012-10-14 01:53:13.388338 [CRIT] libdingaling.c:1830 Processing 1 packets > in retry queue > > 2012-10-14 01:53:13.388338 [CRIT] libdingaling.c:1847 Sending packet 366 (2 > left) > > 2012-10-14 01:53:13.388338 [NOTICE] libdingaling.c:1745 SecSEND: > ------------------------------------------------------------------------------- > to="+1410969xxxx at voice.google.com" type="set" id="366"> > id="0021454872" initiator="gvusername at gmail.com/talk271AA90D"> > > xmlns:pho="http://www.google.com/session/phone"> > > > > > 2012-10-14 01:53:13.608318 [INFO] libdingaling.c:1743 SecRECV: > ------------------------------------------------------------------------------- > to="gvusername at gmail.com/talk271AA90D" type="error" id="366"> > initiator="gvusername at gmail.com/talk271AA90D" > xmlns:ses="http://www.google.com/session"> > > bitrate="64000"> > > > > xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE= > xmlns:ses="http://www.google.com/session">xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE= > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1305 Cancel packet 366 > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:391 Message for Session > 0021454872 > > 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:4055 using Existing > session for 0021454872 > 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:1675 Don't have video > codec. > 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:1686 Send Describe > [PCMU at 8000] > 2012-10-14 01:53:13.608318 [NOTICE] libdingaling.c:1745 SecSEND: > ------------------------------------------------------------------------------- > from="xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" > id="366"> > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1830 Processing 2 packets > in retry queue > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1856 Discarding packet 366 > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1847 Sending packet 367 (2 > left) > > 2012-10-14 01:53:13.608318 [NOTICE] libdingaling.c:1745 SecSEND: > ------------------------------------------------------------------------------- > to="+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" type="set" > id="367"> > id="0021454872" initiator="gvusername at gmail.com/talk271AA90D"> > > xmlns:pho="http://www.google.com/session/phone"> > > > > > 2012-10-14 01:53:14.168342 [INFO] libdingaling.c:1743 SecRECV: > ------------------------------------------------------------------------------- > from="+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" id="367" > type="result"> > > 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1305 Cancel packet 367 > > 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1830 Processing 1 packets > in retry queue > > 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1856 Discarding packet 367 > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send rtp Candidate > voip.mypbxdomain.com:24480 [DTfQI2DAbBjxcPVQ] > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send rtcp Candidate > voip.mypbxdomain.com:24481 [LwTkpnKqOUNRAzyt] > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send video_rtp > Candidate voip.mypbxdomain.com:24482 [DIQSWr9AbNhCdFVW] > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send video_rtcp > Candidate voip.mypbxdomain.com:24483 [8vBUMBkOeshiY24v] > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1565 Accepted 0 of 0 rtp > candidates. > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1567 Accepted 0 of 0 rtcp > candidates. > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1570 Accepted 0 of 0 > video_rtp candidates > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1573 Accepted 0 of 0 > video_rctp candidates > 2012-10-14 01:53:22.968198 [CRIT] libdingaling.c:1830 Processing 4 packets > in retry queue > > > Then a bit further down, we appear to have some sort of session timeout and > a recipient unavailable message: > > > 2012-10-14 01:53:23.368270 [INFO] libdingaling.c:1743 SecRECV: > ------------------------------------------------------------------------------- > from="+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" id="371" > type="result"> > > 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1305 Cancel packet 371 > > 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1830 Processing 1 packets > in retry queue > > 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1856 Discarding packet 371 > > 2012-10-14 01:53:29.168109 [INFO] libdingaling.c:1743 SecRECV: > ------------------------------------------------------------------------------- > to="gvusername at gmail.com/talk271AA90D" > id="jingle:10.68.8.3-10726399:1:41658523" type="set"> > initiator="gvusername at gmail.com/talk271AA90D" > xmlns:ses="http://www.google.com/session"> > > > Session timed out > > xmlns:pho="http://www.google.com/session/phone"> > > > > 2012-10-14 01:53:29.168109 [CRIT] libdingaling.c:391 Message for Session > 0021454872 > > 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:4055 using Existing > session for 0021454872 > 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:4373 hungup > dingaling/gtalk/+1410969xxxx at voice.google.com > 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:801 Terminate called from > line 4374 state=CS_INIT > 2012-10-14 01:53:29.168109 [DEBUG] switch_channel.c:2950 > (dingaling/gtalk/+1410969xxxx at voice.google.com) Callstate Change DOWN -> > HANGUP > > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583610.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://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 From gozdal at gmail.com Thu Oct 18 01:30:42 2012 From: gozdal at gmail.com (Marcin Gozdalik) Date: Wed, 17 Oct 2012 23:30:42 +0200 Subject: [Freeswitch-users] T.38/fax problem In-Reply-To: References: Message-ID: I have a pcap and can open in Wireshark. Starts with PCMU, switches to T.38. Wireshark (newest, 1.8.3) has trouble dissecting some packets (lots of UNKNOWN PER) and unfortunately I am no expert to tell if there is anything wrong. Would anybody be able to help in debugging the issue having the PCAP? I can post it somewhere to download. Best regards 2012/10/17 Michael Collins > Can you get a pcap of this and open in wireshark? I think it might give > you a bigger picture of what's happening. > -MC > > On Wed, Oct 17, 2012 at 7:02 AM, Marcin Gozdalik wrote: > >> Hi >> >> I'm trying to send a fax from FreeSWITCH using T.38 (via Cisco SIP >> gateway) to a remote fax. It fails with some cryptic messages: >> >> 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 T4A >> expired in phase T30_PHASE_D_RX, state 27. An HDLC frame lasted >> too long. >> 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Status >> changing to 'The HDLC carrier did not stop in a timely manne >> r' >> 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Disconnecting >> 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 >> Changing from phase T30_PHASE_D_RX to T30_PHASE_E >> >> I do have full SIP/RTP dump of such a call if it is of any interest. It >> seems to be a peculiar interoperability issue, as this setup is used as a >> email2fax/fax2email gateway and it works quite well. >> >> Could anybody recommend any steps I could try to debug/fix the issue? >> >> Best regards >> >> -- >> Marcin Gozdalik >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Marcin Gozdalik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/8f675c34/attachment.html From brian.wiese.freeswitch at gmail.com Thu Oct 18 02:53:38 2012 From: brian.wiese.freeswitch at gmail.com (Brian Wiese) Date: Wed, 17 Oct 2012 17:53:38 -0500 Subject: [Freeswitch-users] Sangoma/FreeTDM FXS Loop Current Disconnect Message-ID: A stumper of a question... hopefully not for someone here though! I have a Sangoma A200 card with FXS modules and an emergency telephone (Rath Microtech SmartPhone II - http://www.rathmicrotech.com/smiviiise.html) that requires loop current disconnect signaling to indicate that the call has terminated. I tried everything that I could think of and been in touch with Sangoma's support but we cannot figure out what configuration option(s) I need to enable to send loop current disconnect. We tried setting answer-polarity-reverse and hangup-polarity-reverse to true in freetdm.conf.xml but that didn't seem to make any impact at all (based on the name I was guessing it wouldn't, but I'm willing to try anything!). Do you know what I'm missing? Any help/pointers/hints appreciated! Thanks. ~Brian From ljjimenez at gmail.com Thu Oct 18 02:55:44 2012 From: ljjimenez at gmail.com (Luis Jimenez) Date: Wed, 17 Oct 2012 18:55:44 -0400 Subject: [Freeswitch-users] 503 Response with ISUP content Message-ID: Hello, devs, i have this situation. if FS sends an INVITE to a Nortel switch and the Nortel answer is SIP 503, FS does not send the ACK to the Nortel, any guidance please. Here is a trace of the Nortel answer. SIP/2.0 503 Service Unavailable. Via: SIP/2.0/UDP 67.220.147.141;received=67.220.147.141;branch=z9hG4bK5Q6g5UjNZeQZr;rport=5060. From: "9143345048" ;tag=5maaU2Sa3gNHH. To: ;tag=f1b31366541302012101718172. Call-ID: 37e5bc92-934b-1230-4986-782bcb61be68. CSeq: 34920047 INVITE. Server: CS2000_NGSS/9.0. k: 100rel. Allow: ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK,UPDATE. Content-Disposition: signal;handling=optional. c: application/ISUP;version=. Content-Length: 6. ...... Thanks in advance for your help. Luis Jim?nez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/084f4805/attachment.html From gabe at gundy.org Thu Oct 18 03:13:16 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Wed, 17 Oct 2012 17:13:16 -0600 Subject: [Freeswitch-users] FreeSWITCH-users Digest, Vol 76, Issue 108 In-Reply-To: References: Message-ID: On Wed, Oct 17, 2012 at 8:38 AM, Jeferson Rodrigo Almeida wrote: > I'll be grateful for any help. You'll get more help if you use a proper subject in your emails (rather than replying to an existing email thread with an existing subject). > Thanks, and sorry for any error in my english. Your English was pretty good! Best, Gabe From krice at freeswitch.org Thu Oct 18 03:17:45 2012 From: krice at freeswitch.org (Ken Rice) Date: Wed, 17 Oct 2012 18:17:45 -0500 Subject: [Freeswitch-users] 503 Response with ISUP content In-Reply-To: Message-ID: How about a proper debug log... See the wiki for debugging info On 10/17/12 5:55 PM, "Luis Jimenez" wrote: > Hello, devs, i have this situation. > if FS sends an INVITE to a Nortel switch and the Nortel answer is SIP 503, FS > does not send the ACK to the Nortel, any guidance please. > > Here is a trace of the Nortel answer. > > > SIP/2.0 503 Service Unavailable. > Via: SIP/2.0/UDP > 67.220.147.141;received=67.220.147.141;branch=z9hG4bK5Q6g5UjNZeQZr;rport=5060. > From: "9143345048" ;tag=5maaU2Sa3gNHH. > To: > ;tag=f1b31366541302012101718172. > Call-ID: 37e5bc92-934b-1230-4986-782bcb61be68. > CSeq: 34920047 INVITE. > Server: CS2000_NGSS/9.0. > k: 100rel. > Allow: ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK,UPDATE. > Content-Disposition: signal;handling=optional. > c: application/ISUP;version=. > Content-Length: 6. > ...... > > Thanks in advance for your help. > > > Luis Jim?nez > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121017/20191d2b/attachment-0001.html From errotan at elder.hu Thu Oct 18 12:34:30 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Thu, 18 Oct 2012 10:34:30 +0200 Subject: [Freeswitch-users] freetdm, DAHDI and isdn HFC-S in NT Mode?! In-Reply-To: <507E987E.3060001@googlemail.com> References: <507E987E.3060001@googlemail.com> Message-ID: <507FBF16.2060002@elder.hu> Hi! NT mode works with libpri & freetdm. I connected two boxes with openvox cards ( TE, NT mode ) and tested it for a long time. Works pretty well and should work with an ISDN phone too if the card can supply power to the phone. 2012-10-17 13:37 keltez?ssel, Tamer Higazi ?rta: > Hi people! > I am asking myself if freetdm works with DAHDI that far, that I can > connect a ISDN Phone directly at a HFC board, and run it in NT-Mode. I > did it in asterisk, and it works. > > Will it work on with wanpipe (dahdi enabled) freetdm on freeswitch too? > > > For a short reply I would thank you > > > Tamer > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From stargray at bigmir.net Thu Oct 18 14:20:38 2012 From: stargray at bigmir.net (antonvoylenko) Date: Thu, 18 Oct 2012 03:20:38 -0700 (PDT) Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: References: Message-ID: <1350555638053-7583728.post@n2.nabble.com> Im using FS 1.2.3 installed from rpm repo and have same problem with mod_skypopen. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-skypopen-not-generating-inbound-A-leg-CDR-tp7580648p7583728.html Sent from the freeswitch-users mailing list archive at Nabble.com. From gmaruzz at gmail.com Thu Oct 18 15:39:09 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 18 Oct 2012 13:39:09 +0200 Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: <1350555638053-7583728.post@n2.nabble.com> References: <1350555638053-7583728.post@n2.nabble.com> Message-ID: Anton and or Damian, can you please open a Jira issue on this, with full details and info on how to replicate it, expected behavior? The most info you put in the jira issue, also repeating all that can be obvious for you, the sooner the issue will be fixed. IF you open a jira issue :). -giovanni On Thu, Oct 18, 2012 at 12:20 PM, antonvoylenko wrote: > Im using FS 1.2.3 installed from rpm repo and have same problem with > mod_skypopen. > > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-skypopen-not-generating-inbound-A-leg-CDR-tp7580648p7583728.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://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 -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From steveu at coppice.org Thu Oct 18 15:48:23 2012 From: steveu at coppice.org (Steve Underwood) Date: Thu, 18 Oct 2012 19:48:23 +0800 Subject: [Freeswitch-users] T.38/fax problem In-Reply-To: References: Message-ID: <507FEC87.4040206@coppice.org> Hi Marcin, Post it somewhere, and I will take a look. Steve On 10/18/2012 05:30 AM, Marcin Gozdalik wrote: > I have a pcap and can open in Wireshark. Starts with PCMU, switches to > T.38. Wireshark (newest, 1.8.3) has trouble dissecting some packets > (lots of UNKNOWN PER) and unfortunately I am no expert to tell if > there is anything wrong. > > Would anybody be able to help in debugging the issue having the PCAP? > I can post it somewhere to download. > > Best regards > > 2012/10/17 Michael Collins > > > Can you get a pcap of this and open in wireshark? I think it might > give you a bigger picture of what's happening. > -MC > > On Wed, Oct 17, 2012 at 7:02 AM, Marcin Gozdalik > wrote: > > Hi > > I'm trying to send a fax from FreeSWITCH using T.38 (via Cisco > SIP gateway) to a remote fax. It fails with some cryptic messages: > > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW > T.30 T4A expired in phase T30_PHASE_D_RX, state 27. An HDLC > frame lasted > too long. > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW > T.30 Status changing to 'The HDLC carrier did not stop in a > timely manne > r' > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW > T.30 Disconnecting > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW > T.30 Changing from phase T30_PHASE_D_RX to T30_PHASE_E > > I do have full SIP/RTP dump of such a call if it is of any > interest. It seems to be a peculiar interoperability issue, as > this setup is used as a email2fax/fax2email gateway and it > works quite well. > > Could anybody recommend any steps I could try to debug/fix the > issue? > > Best regards > > -- > Marcin Gozdalik > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Marcin Gozdalik > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From asilva at wirelessmundi.com Thu Oct 18 16:53:54 2012 From: asilva at wirelessmundi.com (Antonio) Date: Thu, 18 Oct 2012 14:53:54 +0200 Subject: [Freeswitch-users] the wiki is down... Message-ID: <1350564834.1602.196.camel@marces.madrid.commsmundi.com> Hi, I can't access the wiki. http://wiki.freeswitch.org ... i was navigating... and one minute later no access... I have tried from another internet conection and the same problema occurs... no access... keeps loading... -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/71ca53c4/attachment.html From jkomar at jbox.ca Thu Oct 18 16:59:16 2012 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 18 Oct 2012 06:59:16 -0600 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: <1350564834.1602.196.camel@marces.madrid.commsmundi.com> References: <1350564834.1602.196.camel@marces.madrid.commsmundi.com> Message-ID: I can't get it either. Jason Komar jkomar at jbox.ca On Oct 18, 2012 6:54 AM, "Antonio" wrote: > ** > Hi, > > I can't access the wiki. http://wiki.freeswitch.org ... i was > navigating... and one minute later no access... > > I have tried from another internet conection and the same problema > occurs... no access... keeps loading... > > > > > > -- > > Un cordial saludo / Best regards, > > _________________________ > > Ant?nio Silva > > E-mail:asilva at wirelessmundi.com > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121018/53609bb8/attachment.html From nasida at live.ru Thu Oct 18 17:49:02 2012 From: nasida at live.ru (Yuriy Nasida) Date: Thu, 18 Oct 2012 17:49:02 +0400 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: References: <1350564834.1602.196.camel@marces.madrid.commsmundi.com>, Message-ID: Yes I have not access too. Date: Thu, 18 Oct 2012 06:59:16 -0600 From: jkomar at jbox.ca To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] the wiki is down... I can't get it either. Jason Komar jkomar at jbox.ca On Oct 18, 2012 6:54 AM, "Antonio" wrote: Hi, I can't access the wiki. http://wiki.freeswitch.org ... i was navigating... and one minute later no access... I have tried from another internet conection and the same problema occurs... no access... keeps loading... -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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/20121018/051a2e60/attachment-0001.html From KEN.KELLY-TURNER at adtran.com Thu Oct 18 17:56:35 2012 From: KEN.KELLY-TURNER at adtran.com (KEN KELLY-TURNER) Date: Thu, 18 Oct 2012 13:56:35 +0000 Subject: [Freeswitch-users] the wiki is down... Message-ID: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> I?ve got access now, it?s just very slow --Ken From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Antonio Sent: October-18-12 8:54 AM To: FreeSWITCH Subject: Suspicious URL:[Freeswitch-users] the wiki is down... Hi, I can't access the wiki. http://wiki.freeswitch.org ... i was navigating... and one minute later no access... I have tried from another internet conection and the same problema occurs... no access... keeps loading... -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/ea98693f/attachment.html From jmesquita at freeswitch.org Thu Oct 18 18:19:17 2012 From: jmesquita at freeswitch.org (=?utf-8?Q?Jo=C3=A3o_Mesquita?=) Date: Thu, 18 Oct 2012 11:19:17 -0300 Subject: [Freeswitch-users] mod_event_zmq reload problem In-Reply-To: References: Message-ID: <30A9A6CB-5798-4194-8AD8-449F915387C8@freeswitch.org> Be careful! Because of the threading model you will get random asserts that are not easy to reproduce. Be warned. Sent from my iPhone On Oct 16, 2012, at 11:32 AM, Juan Antonio Iba?ez Santorum wrote: > Hello, > > I am doing some tests with mod_event_zmq and all works fine exept reloading the module once compiled after any change in module source code. Once made 'make mod_event_zmq-install" reloading the module from CLI get the older version, not the new compiled one. Reload API command still works after deleting mod_event_zmq.so and mod_event_zmq.la (wow). I don't know how FS can reload the module if it has been deleted. > > The unique way to get the module reloaded is shutting and starting FS. > > I have not get this problem with other modules. > > Any idea? > > Regards > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121018/e1c8f5aa/attachment.html From brian at freeswitch.org Thu Oct 18 18:56:45 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 18 Oct 2012 09:56:45 -0500 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> References: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> Message-ID: <908B3EFE-2418-47BD-988A-A23315C5FE71@freeswitch.org> My spidy sense tells me you're all on networks with broke ipv6 or really badly cached DNS... we recently added ipv6 AAAA records for all our sites and moved to a new Data Center. Can you tell me what your resolver returns? /b On Oct 18, 2012, at 8:56 AM, KEN KELLY-TURNER wrote: > I?ve got access now, it?s just very slow > > --Ken > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Antonio > Sent: October-18-12 8:54 AM > To: FreeSWITCH > Subject: Suspicious URL:[Freeswitch-users] the wiki is down... > > Hi, > > I can't access the wiki. http://wiki.freeswitch.org ... i was navigating... and one minute later no access... > > I have tried from another internet conection and the same problema occurs... no access... keeps loading... > > > > > > > -- > > > > Un cordial saludo / Best regards, > > > > _________________________ > > > > Ant?nio Silva > > > > E-mail:asilva at wirelessmundi.com > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/b1784db9/attachment.html From brian at freeswitch.org Thu Oct 18 18:59:13 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 18 Oct 2012 09:59:13 -0500 Subject: [Freeswitch-users] T.38/fax problem In-Reply-To: References: Message-ID: You forgot some of the most critical parts of the info needed. Its a Cisco, but What model? What firmware? What rev of freeswitch? On Oct 17, 2012, at 9:02 AM, Marcin Gozdalik wrote: > Hi > > I'm trying to send a fax from FreeSWITCH using T.38 (via Cisco SIP gateway) > to a remote fax. It fails with some cryptic messages: > > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 T4A > expired in phase T30_PHASE_D_RX, state 27. An HDLC frame lasted > too long. > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Status > changing to 'The HDLC carrier did not stop in a timely manne > r' > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Disconnecting > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Changing > from phase T30_PHASE_D_RX to T30_PHASE_E > > I do have full SIP/RTP dump of such a call if it is of any interest. It > seems to be a peculiar interoperability issue, as this setup is used as a > email2fax/fax2email gateway and it works quite well. > > Could anybody recommend any steps I could try to debug/fix the issue? > > Best regards > > -- > Marcin Gozdalik -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/09fdcd79/attachment-0001.html From msc at freeswitch.org Thu Oct 18 19:00:30 2012 From: msc at freeswitch.org (Michael Collins) Date: Thu, 18 Oct 2012 08:00:30 -0700 Subject: [Freeswitch-users] Technical Reviewers Needed For New FreeSWITCH Book In-Reply-To: References: Message-ID: Thank you so much for your overwhelming response! We now have quite a large contingent of technical reviewer candidates. Packt is the final arbiter of who will serve as a tech reviewer for the book. I've submitted all your names to Packt. Thanks! -Michael On Wed, Oct 17, 2012 at 2:25 PM, Michael Collins wrote: > Hello! > > Most of you know that we are re-doing the FreeSWITCH book to freshen > things up and add a lot of new content. If you would like to be an official > technical reviewer for Packt Publishing for this new FreeSWITCH book then > please contact me off list. Please note that this is a real responsibility > that will require some time and effort, however the results are well worth > it. You can help us get the latest and greatest FreeSWITCH book published > and possibly even get your name in the credits. Let me know if you are > interested and I'll get you in touch with the publisher. > > Thanks! > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/7885f2e4/attachment.html From jkomar at jbox.ca Thu Oct 18 19:03:40 2012 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 18 Oct 2012 09:03:40 -0600 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: <908B3EFE-2418-47BD-988A-A23315C5FE71@freeswitch.org> References: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> <908B3EFE-2418-47BD-988A-A23315C5FE71@freeswitch.org> Message-ID: wiki.freeswitch.org 2606:d900:0:24:2fa:faff:fefa:fefe Jason Komar jkomar at jbox.ca On Thu, Oct 18, 2012 at 8:56 AM, Brian West wrote: > My spidy sense tells me you're all on networks with broke ipv6 or really > badly cached DNS... we recently added ipv6 AAAA records for all our sites > and moved to a new Data Center. Can you tell me what your resolver > returns? > > /b > > On Oct 18, 2012, at 8:56 AM, KEN KELLY-TURNER wrote: > > I?ve got access now, it?s just very slow > > --Ken > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Antonio > Sent: October-18-12 8:54 AM > To: FreeSWITCH > Subject: Suspicious URL:[Freeswitch-users] the wiki is down... > > Hi, > > I can't access the wiki. http://wiki.freeswitch.org ... i was > navigating... and one minute later no access... > > I have tried from another internet conection and the same problema > occurs... no access... keeps loading... > > > > > > > -- > > > > Un cordial saludo / Best regards, > > > > _________________________ > > > > Ant?nio Silva > > > > E-mail:asilva at wirelessmundi.com > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST > iNUM: +883 5100 1286 0410 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121018/4614b4a6/attachment.html From jkomar at jbox.ca Thu Oct 18 19:05:29 2012 From: jkomar at jbox.ca (Komar, Jason) Date: Thu, 18 Oct 2012 09:05:29 -0600 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> <908B3EFE-2418-47BD-988A-A23315C5FE71@freeswitch.org> Message-ID: Just as a note, I checked after I just sent that IPv6 address and it is working fine for me now. Could be my DNS provider has caught up with the change. Jason Komar jkomar at jbox.ca On Thu, Oct 18, 2012 at 9:03 AM, Komar, Jason wrote: > wiki.freeswitch.org 2606:d900:0:24:2fa:faff:fefa:fefe > > Jason Komar > jkomar at jbox.ca > > > On Thu, Oct 18, 2012 at 8:56 AM, Brian West wrote: > >> My spidy sense tells me you're all on networks with broke ipv6 or really >> badly cached DNS... we recently added ipv6 AAAA records for all our sites >> and moved to a new Data Center. Can you tell me what your resolver >> returns? >> >> /b >> >> On Oct 18, 2012, at 8:56 AM, KEN KELLY-TURNER wrote: >> >> I?ve got access now, it?s just very slow >> >> --Ken >> >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Antonio >> Sent: October-18-12 8:54 AM >> To: FreeSWITCH >> Subject: Suspicious URL:[Freeswitch-users] the wiki is down... >> >> Hi, >> >> I can't access the wiki. http://wiki.freeswitch.org ... i was >> navigating... and one minute later no access... >> >> I have tried from another internet conection and the same problema >> occurs... no access... keeps loading... >> >> >> >> >> >> >> -- >> >> >> >> Un cordial saludo / Best regards, >> >> >> >> _________________________ >> >> >> >> Ant?nio Silva >> >> >> >> E-mail:asilva at wirelessmundi.com >> > >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> -- >> Brian West >> brian at freeswitch.org >> FreeSWITCH Solutions, LLC >> PO BOX PO BOX 2531 >> Brookfield, WI 53008-2531 >> >> Twitter: @FreeSWITCH_Wire >> http://freeswitchcookbook.com >> http://freeswitchbook.com >> >> T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST >> iNUM: +883 5100 1286 0410 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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/20121018/c7714b09/attachment-0001.html From gozdal at gmail.com Thu Oct 18 19:27:17 2012 From: gozdal at gmail.com (Marcin Gozdalik) Date: Thu, 18 Oct 2012 17:27:17 +0200 Subject: [Freeswitch-users] T.38/fax problem In-Reply-To: References: Message-ID: FreeSWITCH is fairly old (2012-05-30), though I haven't seen many fax-related changes lately. I'd love to try git HEAD but it's fairly hard given tat new Debian packages complately change filesystem structure. The Cisco uses User-Agent Cisco-SIPGateway/IOS-12.x, no idea what model it is. Hope there is any way to debug this without upgrading to git HEAD. 2012/10/18 Brian West > You forgot some of the most critical parts of the info needed. Its a > Cisco, but What model? What firmware? What rev of freeswitch? > > > > On Oct 17, 2012, at 9:02 AM, Marcin Gozdalik wrote: > > Hi > > I'm trying to send a fax from FreeSWITCH using T.38 (via Cisco SIP gateway) > to a remote fax. It fails with some cryptic messages: > > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 T4A > expired in phase T30_PHASE_D_RX, state 27. An HDLC frame lasted > too long. > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Status > changing to 'The HDLC carrier did not stop in a timely manne > r' > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 > Disconnecting > 2012-10-17 15:51:30.467990 [DEBUG] mod_spandsp_fax.c:286 FLOW T.30 Changing > from phase T30_PHASE_D_RX to T30_PHASE_E > > I do have full SIP/RTP dump of such a call if it is of any interest. It > seems to be a peculiar interoperability issue, as this setup is used as a > email2fax/fax2email gateway and it works quite well. > > Could anybody recommend any steps I could try to debug/fix the issue? > > Best regards > > -- > Marcin Gozdalik > > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST > iNUM: +883 5100 1286 0410 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Marcin Gozdalik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/e314ecba/attachment.html From fdelawarde at wirelessmundi.com Thu Oct 18 19:51:28 2012 From: fdelawarde at wirelessmundi.com (=?ISO-8859-1?Q?Fran=E7ois?= Delawarde) Date: Thu, 18 Oct 2012 17:51:28 +0200 Subject: [Freeswitch-users] MWI sent without subscriptions (SIP) Message-ID: <1350575488.452.90.camel@luna.madrid.commsmundi.com> Hi, It appears that FS sends MWI ("message_summary") NOTIFYs to registered devices even tho they do not SUBSCRIBE for it. Some SIP devices (*cough* ZTE *cough*) just don't like MWI NOTIFYs (leds start blinking like a christmas tree before dying miserably), and my workaround to disable those is to set "MWI-Account" to something invalid like: Is there a better way to disable unsolicited MWI NOTIFYs (without disabling presence)? Thanks, Fran?ois. From anthony.minessale at gmail.com Thu Oct 18 20:16:27 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Oct 2012 11:16:27 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <008a01cda6a0$a9c80a90$fd581fb0$@com> <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> Message-ID: Try latest HEAD. I re-arranged a few lines of code that might speed it up. On Wed, Oct 17, 2012 at 4:27 PM, Trel wrote: > +1 on this issue, identical logs. i believed it to be a google voice > issue and mitigated it by dialing out through a secondary provider =) > > > On Sun, Oct 14, 2012 at 12:02 PM, PhilQ > wrote: > > Thanks Anthony. > > > > Understood on the Jira... > > > > I'm thinking that this problem is limited to me since I switched to HEAD, > > did git clean, reset, modwipe, etc. and still have the same problem on > the > > other branch. > > > > At least with dl_debug I can get some more detailed info although I'm > still > > not quite sure what's going on with Jingle. > > > > The dns names are present due to the fact that ext_rtp_ip and ext_sip_ip > are > > set to host:pbxdomain.com which resolves to the IP address of the > switch. > > This allows us to easily change the IP if there's a network problem, etc. > > It has been configured this way for quite some time, there have been no > > recent changes. > > > > Here are a few snippets of what seems to be relevant in case you or > anyone > > else has any ideas, trying to keep it short. I also tried changing the > > dialplan to get rid of the preceding '1' with no success, hadn't tried > > removing the '+': > > > > EXECUTE sofia/internal/102 at 192.168.1.6:5060 > > bridge(dingaling/gtalk/+1410969xxxx at voice.google.com) > > 2012-10-14 01:53:12.428295 [DEBUG] switch_channel.c:1072 > > sofia/internal/102 at 192.168.1.6:5060 EXPORTING[export_vars] > > [domain_name]=[192.168.1.6] to event > > 2012-10-14 01:53:12.428295 [DEBUG] switch_ivr_originate.c:2005 Parsing > > global variables > > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:990 Set Local Key [1 > > AES_CM_128_HMAC_SHA1_80 inline:bXRH7.........(removed)............dJMcb] > > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:990 Set Local Key [1 > > AES_CM_128_HMAC_SHA1_80 inline:gGOh1.........(removed)............xpywl] > > 2012-10-14 01:53:12.428295 [NOTICE] switch_channel.c:951 New Channel > > dingaling/gtalk/+1410969xxxx at voice.google.com > > [686c8d6b-6838-4491-8058-b133afe1d8f3] > > 2012-10-14 01:53:12.428295 [CRIT] libdingaling.c:363 Created Session > > 0021454872 > > > > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:2595 > > (dingaling/gtalk/+1410969xxxx at voice.google.com) State Change CS_NEW -> > > CS_INIT > > 2012-10-14 01:53:12.428295 [DEBUG] switch_core_session.c:1210 Send signal > > dingaling/gtalk/+1410969xxxx at voice.google.com [BREAK] > > 2012-10-14 01:53:12.428295 [DEBUG] mod_dingaling.c:2024 > > dingaling/gtalk/+1410969xxxx at voice.google.com CHANNEL KILL > > 2012-10-14 01:53:12.428295 [DEBUG] switch_core_session.c:905 Send signal > > sofia/internal/102 at 192.168.1.6:5060 [BREAK] > > 2012-10-14 01:53:12.448460 [DEBUG] switch_core_state_machine.c:398 > > (dingaling/gtalk/+1410969xxxx at voice.google.com) Running State Change > CS_INIT > > 2012-10-14 01:53:12.448460 [DEBUG] switch_core_state_machine.c:437 > > (dingaling/gtalk/+1410969xxxx at voice.google.com) State INIT > > 2012-10-14 01:53:12.448460 [NOTICE] mod_dingaling.c:1753 Ring-Ready > > dingaling/gtalk/+1410969xxxx at voice.google.com! > > 2012-10-14 01:53:12.448460 [DEBUG] sofia.c:6282 Channel > > sofia/internal/102 at 192.168.1.6:5060 entering state [early][180] > > 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1629 Don't have my > audio > > codec yet here's one > > 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1675 Don't have video > > codec. > > 2012-10-14 01:53:12.448460 [DEBUG] mod_dingaling.c:1686 Send Describe > > [PCMU at 8000] > > 2012-10-14 01:53:13.388338 [CRIT] libdingaling.c:1830 Processing 1 > packets > > in retry queue > > > > 2012-10-14 01:53:13.388338 [CRIT] libdingaling.c:1847 Sending packet 366 > (2 > > left) > > > > 2012-10-14 01:53:13.388338 [NOTICE] libdingaling.c:1745 SecSEND: > > > ------------------------------------------------------------------------------- > > > to="+1410969xxxx at voice.google.com" type="set" id="366"> > > > id="0021454872" initiator="gvusername at gmail.com/talk271AA90D"> > > > > bitrate="64000" > > xmlns:pho="http://www.google.com/session/phone"> > > > > > > > > > > 2012-10-14 01:53:13.608318 [INFO] libdingaling.c:1743 SecRECV: > > > ------------------------------------------------------------------------------- > > > to="gvusername at gmail.com/talk271AA90D" type="error" id="366"> > > > initiator="gvusername at gmail.com/talk271AA90D" > > xmlns:ses="http://www.google.com/session"> > > > > > bitrate="64000"> > > > > > > > > > xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"> > xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE= > > > xmlns:ses="http://www.google.com/session"> > xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE= > > > > > > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1305 Cancel packet 366 > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:391 Message for Session > > 0021454872 > > > > 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:4055 using Existing > > session for 0021454872 > > 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:1675 Don't have video > > codec. > > 2012-10-14 01:53:13.608318 [DEBUG] mod_dingaling.c:1686 Send Describe > > [PCMU at 8000] > > 2012-10-14 01:53:13.608318 [NOTICE] libdingaling.c:1745 SecSEND: > > > ------------------------------------------------------------------------------- > > > from="xmpp:+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" > > id="366"> > > > > > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1830 Processing 2 > packets > > in retry queue > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1856 Discarding packet > 366 > > > > 2012-10-14 01:53:13.608318 [CRIT] libdingaling.c:1847 Sending packet 367 > (2 > > left) > > > > 2012-10-14 01:53:13.608318 [NOTICE] libdingaling.c:1745 SecSEND: > > > ------------------------------------------------------------------------------- > > > to="+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" > type="set" > > id="367"> > > > id="0021454872" initiator="gvusername at gmail.com/talk271AA90D"> > > > > bitrate="64000" > > xmlns:pho="http://www.google.com/session/phone"> > > > > > > > > > > 2012-10-14 01:53:14.168342 [INFO] libdingaling.c:1743 SecRECV: > > > ------------------------------------------------------------------------------- > > > from="+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" > id="367" > > type="result"> > > > > 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1305 Cancel packet 367 > > > > 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1830 Processing 1 > packets > > in retry queue > > > > 2012-10-14 01:53:14.168342 [CRIT] libdingaling.c:1856 Discarding packet > 367 > > > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send rtp > Candidate > > voip.mypbxdomain.com:24480 [DTfQI2DAbBjxcPVQ] > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send rtcp > Candidate > > voip.mypbxdomain.com:24481 [LwTkpnKqOUNRAzyt] > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send video_rtp > > Candidate voip.mypbxdomain.com:24482 [DIQSWr9AbNhCdFVW] > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1525 Send video_rtcp > > Candidate voip.mypbxdomain.com:24483 [8vBUMBkOeshiY24v] > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1565 Accepted 0 of 0 > rtp > > candidates. > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1567 Accepted 0 of 0 > rtcp > > candidates. > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1570 Accepted 0 of 0 > > video_rtp candidates > > 2012-10-14 01:53:22.468199 [DEBUG] mod_dingaling.c:1573 Accepted 0 of 0 > > video_rctp candidates > > 2012-10-14 01:53:22.968198 [CRIT] libdingaling.c:1830 Processing 4 > packets > > in retry queue > > > > > > Then a bit further down, we appear to have some sort of session timeout > and > > a recipient unavailable message: > > > > > > 2012-10-14 01:53:23.368270 [INFO] libdingaling.c:1743 SecRECV: > > > ------------------------------------------------------------------------------- > > > from="+1410969xxxx at voice.google.com/srvres-MTAuNjguOC4zOjk4OTE=" > id="371" > > type="result"> > > > > 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1305 Cancel packet 371 > > > > 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1830 Processing 1 > packets > > in retry queue > > > > 2012-10-14 01:53:23.368270 [CRIT] libdingaling.c:1856 Discarding packet > 371 > > > > 2012-10-14 01:53:29.168109 [INFO] libdingaling.c:1743 SecRECV: > > > ------------------------------------------------------------------------------- > > > to="gvusername at gmail.com/talk271AA90D" > > id="jingle:10.68.8.3-10726399:1:41658523" type="set"> > > > initiator="gvusername at gmail.com/talk271AA90D" > > xmlns:ses="http://www.google.com/session"> > > > > > > Session timed out > > > > > xmlns:pho="http://www.google.com/session/phone > "> > > > > > > > > 2012-10-14 01:53:29.168109 [CRIT] libdingaling.c:391 Message for Session > > 0021454872 > > > > 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:4055 using Existing > > session for 0021454872 > > 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:4373 hungup > > dingaling/gtalk/+1410969xxxx at voice.google.com > > 2012-10-14 01:53:29.168109 [DEBUG] mod_dingaling.c:801 Terminate called > from > > line 4374 state=CS_INIT > > 2012-10-14 01:53:29.168109 [DEBUG] switch_channel.c:2950 > > (dingaling/gtalk/+1410969xxxx at voice.google.com) Callstate Change DOWN -> > > HANGUP > > > > > > > > > > -- > > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583610.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://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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/8eb990bc/attachment-0001.html From anthony.minessale at gmail.com Thu Oct 18 20:17:33 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Oct 2012 11:17:33 -0500 Subject: [Freeswitch-users] MWI sent without subscriptions (SIP) In-Reply-To: <1350575488.452.90.camel@luna.madrid.commsmundi.com> References: <1350575488.452.90.camel@luna.madrid.commsmundi.com> Message-ID: send-message-query-on-register=false in sofia profile On Thu, Oct 18, 2012 at 10:51 AM, Fran?ois Delawarde < fdelawarde at wirelessmundi.com> wrote: > Hi, > > It appears that FS sends MWI ("message_summary") NOTIFYs to registered > devices even tho they do not SUBSCRIBE for it. > > Some SIP devices (*cough* ZTE *cough*) just don't like MWI NOTIFYs (leds > start blinking like a christmas tree before dying miserably), and my > workaround to disable those is to set "MWI-Account" to something invalid > like: > > > > Is there a better way to disable unsolicited MWI NOTIFYs (without > disabling presence)? > > Thanks, > Fran?ois. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/b02ad654/attachment.html From nasida at live.ru Thu Oct 18 20:21:17 2012 From: nasida at live.ru (Yuriy Nasida) Date: Thu, 18 Oct 2012 20:21:17 +0400 Subject: [Freeswitch-users] freeswitch_licence_server spikes with cpu usage Message-ID: Hi guys, I have strange spikes with cpu usage which happens once in 2,5 hours. Looks like that it may be the freeswitch_licence_server process but don't sure. Please see 'strace' output of PID of freeswitch_licence_server process in the moment of spike. % time seconds usecs/call calls errors syscall------ ----------- ----------- --------- --------- ----------------100.00 0.000144 144 1 read0.00 0.000000 0 2 write0.00 0.000000 0 1 select Please adviceThanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/cbe5ef21/attachment.html From asilva at wirelessmundi.com Thu Oct 18 20:25:04 2012 From: asilva at wirelessmundi.com (Antonio) Date: Thu, 18 Oct 2012 18:25:04 +0200 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> <908B3EFE-2418-47BD-988A-A23315C5FE71@freeswitch.org> Message-ID: <1350577504.1602.206.camel@marces.madrid.commsmundi.com> for me is working already too. it could be as you say. On Thu, 2012-10-18 at 09:05 -0600, Komar, Jason wrote: > Just as a note, I checked after I just sent that IPv6 address and it > is working fine for me now. Could be my DNS provider has caught up > with the change. > > > Jason Komar > jkomar at jbox.ca > > > On Thu, Oct 18, 2012 at 9:03 AM, Komar, Jason wrote: > > wiki.freeswitch.org 2606:d900:0:24:2fa:faff:fefa:fefe > > > Jason Komar > jkomar at jbox.ca > > > On Thu, Oct 18, 2012 at 8:56 AM, Brian West > wrote: > > My spidy sense tells me you're all on networks with > broke ipv6 or really badly cached DNS... we recently > added ipv6 AAAA records for all our sites and moved to > a new Data Center. Can you tell me what your resolver > returns? > > > /b > > On Oct 18, 2012, at 8:56 AM, KEN KELLY-TURNER wrote: > > > > > I?ve got access now, it?s just very slow > > > > --Ken > > > > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Antonio > > Sent: October-18-12 8:54 AM > > To: FreeSWITCH > > Subject: Suspicious URL:[Freeswitch-users] the wiki > > is down... > > > > Hi, > > > > I can't access the wiki. http://wiki.freeswitch.org > > ... i was navigating... and one minute later no > > access... > > > > I have tried from another internet conection and the > > same problema occurs... no access... keeps > > loading... > > > > > > > > > > > > > > -- > > > > > > > > Un cordial saludo / Best regards, > > > > > > > > _________________________ > > > > > > > > Ant?nio Silva > > > > > > > > > > E-mail:asilva at wirelessmundi.com > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.com > > > > FreeSWITCH-powered IP PBX: The CudaTel Communication > > Server > > > > > > 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 > > > > > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > > > Twitter: @FreeSWITCH_Wire > http://freeswitchcookbook.com > http://freeswitchbook.com > > > T: +1.213.286.0410 | F: +1.213.286.0401 | M: > +1.918.424.WEST > iNUM: +883 5100 1286 0410 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication > Server > > > 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://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 -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/3376b870/attachment.html From fdelawarde at wirelessmundi.com Thu Oct 18 20:30:28 2012 From: fdelawarde at wirelessmundi.com (=?ISO-8859-1?Q?Fran=E7ois?= Delawarde) Date: Thu, 18 Oct 2012 18:30:28 +0200 Subject: [Freeswitch-users] MWI sent without subscriptions (SIP) In-Reply-To: References: <1350575488.452.90.camel@luna.madrid.commsmundi.com> Message-ID: <1350577828.452.98.camel@luna.madrid.commsmundi.com> This is to send a NOTIFY right after REGISTER, I'm talking about when a new message is received (SWITCH_EVENT_MESSAGE_WAITING). Digging deeper, on function "actual_sofia_presence_mwi_event_handler" of sofia_presence.c, we can see that a NOTIFY is sent to subscribed devices (around lines 568-590), but also to registered devices (around lines 592-607). Fran?ois. On Thu, 2012-10-18 at 11:17 -0500, Anthony Minessale wrote: > send-message-query-on-register=false > in sofia profile > > > On Thu, Oct 18, 2012 at 10:51 AM, Fran?ois Delawarde > wrote: > Hi, > > It appears that FS sends MWI ("message_summary") NOTIFYs to > registered > devices even tho they do not SUBSCRIBE for it. > > Some SIP devices (*cough* ZTE *cough*) just don't like MWI > NOTIFYs (leds > start blinking like a christmas tree before dying miserably), > and my > workaround to disable those is to set "MWI-Account" to > something invalid > like: > > > > Is there a better way to disable unsolicited MWI NOTIFYs > (without > disabling presence)? > > Thanks, > Fran?ois. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From abaci64 at gmail.com Thu Oct 18 22:09:43 2012 From: abaci64 at gmail.com (Abaci) Date: Thu, 18 Oct 2012 14:09:43 -0400 Subject: [Freeswitch-users] Voicemail problem when using ODBC Message-ID: <508045E7.1070300@gmail.com> I have voicemail set up and working fine with sqlite, however when I tried using ODBC things where not working. I finally figured out that since I had an id (integer, unique id) as the first column in my voicemail_msgs table, and FreeSWITCH does a 'select * from voicemail_msgs...' and uses the fields in order. my question is if it would make sense to only select the fields we need so that we don't have issue with extra columns in the table or if the columns are not in the same order as FreeSWITCH expects. From anthony.minessale at gmail.com Thu Oct 18 22:17:15 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Oct 2012 13:17:15 -0500 Subject: [Freeswitch-users] Voicemail problem when using ODBC In-Reply-To: <508045E7.1070300@gmail.com> References: <508045E7.1070300@gmail.com> Message-ID: yes, it should be using the named fields. If its not you should open a jira and hopefully attach a patch. On Thu, Oct 18, 2012 at 1:09 PM, Abaci wrote: > I have voicemail set up and working fine with sqlite, however when I > tried using ODBC things where not working. I finally figured out that > since I had an id (integer, unique id) as the first column in my > voicemail_msgs table, and FreeSWITCH does a 'select * from > voicemail_msgs...' and uses the fields in order. > my question is if it would make sense to only select the fields we need > so that we don't have issue with extra columns in the table or if the > columns are not in the same order as FreeSWITCH expects. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/a32eee91/attachment.html From roland at callrica.co.za Thu Oct 18 16:22:23 2012 From: roland at callrica.co.za (roland at callrica.co.za) Date: Thu, 18 Oct 2012 14:22:23 +0200 Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch? Message-ID: <003701cdad2b$3c6826b0$b5387410$@callrica.co.za> Hi Freeswitch Team, I'm looking for advice on how to pass CRM related information from a FSClient to a Freeswitch server and use that data to customise the voice recording file name and CDR The use case is like this: 1. User starts softphone and dials a contact from his contact list e.g. John Smith 2. Softphone passes CRM Data e.g. "John Smith" with call into Freeswitch 3. Freeswitch switches the call and records the conversation 4. Freeswitch labels the recording filename as "John Smith_SomeDateTime.wav" 5. Freeswitch tags the CDR with "John Smith" and call duration, start time etc... I would like all the voice recordings and CDRs to be stored on the FS Server. Is it possible for the FSClient to embed the CRM data in the SIP message, and the FS server extract it into variables for use in the dial plan? Very new to all this, so any pointers would be much appreciated. Rgds From yannick.lecoent at nexcom.fr Thu Oct 18 21:34:40 2012 From: yannick.lecoent at nexcom.fr (Yannick LE COENT) Date: Thu, 18 Oct 2012 19:34:40 +0200 Subject: [Freeswitch-users] How to add a display name to the To header Message-ID: Hello, Is it possible to add a display name to the To header? Thanks, Yannick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/6d22b97d/attachment.html From abaci64 at gmail.com Thu Oct 18 23:30:30 2012 From: abaci64 at gmail.com (Abaci) Date: Thu, 18 Oct 2012 15:30:30 -0400 Subject: [Freeswitch-users] Voicemail problem when using ODBC In-Reply-To: References: <508045E7.1070300@gmail.com> Message-ID: <508058D6.3080002@gmail.com> Jira opened. http://jira.freeswitch.org/browse/FS-4728 On 10/18/2012 2:17 PM, Anthony Minessale wrote: > yes, it should be using the named fields. If its not you should open > a jira and hopefully attach a patch. > > > On Thu, Oct 18, 2012 at 1:09 PM, Abaci > wrote: > > I have voicemail set up and working fine with sqlite, however when I > tried using ODBC things where not working. I finally figured out that > since I had an id (integer, unique id) as the first column in my > voicemail_msgs table, and FreeSWITCH does a 'select * from > voicemail_msgs...' and uses the fields in order. > my question is if it would make sense to only select the fields we > need > so that we don't have issue with extra columns in the table or if the > columns are not in the same order as FreeSWITCH expects. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121018/c67eef15/attachment-0001.html From kenkellyturner at gmail.com Thu Oct 18 23:30:41 2012 From: kenkellyturner at gmail.com (Ken Kelly-Turner) Date: Thu, 18 Oct 2012 15:30:41 -0400 Subject: [Freeswitch-users] setting up basic call center using mod_fifo Message-ID: Hi all, I'm trying to set up a very basic call center using mod_fifo and I was wondering if there was a way to control which agent the next call on the queue gets sent to as well as a way to monitor the behaviour of the each agent (tell when they've logged in/out, number of calls rejected, record calls etc.) Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/7885c1eb/attachment.html From abaci64 at gmail.com Thu Oct 18 23:32:59 2012 From: abaci64 at gmail.com (Abaci) Date: Thu, 18 Oct 2012 15:32:59 -0400 Subject: [Freeswitch-users] Voicemail problem when using ODBC In-Reply-To: <508058D6.3080002@gmail.com> References: <508045E7.1070300@gmail.com> <508058D6.3080002@gmail.com> Message-ID: <5080596B.6000700@gmail.com> Sorry, it's http://jira.freeswitch.org/browse/FS-4735 On 10/18/2012 3:30 PM, Abaci wrote: > Jira opened. > http://jira.freeswitch.org/browse/FS-4728 > > On 10/18/2012 2:17 PM, Anthony Minessale wrote: >> yes, it should be using the named fields. If its not you should open >> a jira and hopefully attach a patch. >> >> >> On Thu, Oct 18, 2012 at 1:09 PM, Abaci > > wrote: >> >> I have voicemail set up and working fine with sqlite, however when I >> tried using ODBC things where not working. I finally figured out that >> since I had an id (integer, unique id) as the first column in my >> voicemail_msgs table, and FreeSWITCH does a 'select * from >> voicemail_msgs...' and uses the fields in order. >> my question is if it would make sense to only select the fields >> we need >> so that we don't have issue with extra columns in the table or if the >> columns are not in the same order as FreeSWITCH expects. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> >> googletalk:conf+888 at conference.freeswitch.org >> >> pstn:+19193869900 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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/20121018/da3a0881/attachment.html From anthony.minessale at gmail.com Thu Oct 18 23:33:12 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Oct 2012 14:33:12 -0500 Subject: [Freeswitch-users] MWI sent without subscriptions (SIP) In-Reply-To: <1350577828.452.98.camel@luna.madrid.commsmundi.com> References: <1350575488.452.90.camel@luna.madrid.commsmundi.com> <1350577828.452.98.camel@luna.madrid.commsmundi.com> Message-ID: in that case PATCHES WELCOME On Thu, Oct 18, 2012 at 11:30 AM, Fran?ois Delawarde < fdelawarde at wirelessmundi.com> wrote: > This is to send a NOTIFY right after REGISTER, I'm talking about when a > new message is received (SWITCH_EVENT_MESSAGE_WAITING). > > Digging deeper, on function "actual_sofia_presence_mwi_event_handler" of > sofia_presence.c, we can see that a NOTIFY is sent to subscribed devices > (around lines 568-590), but also to registered devices (around lines > 592-607). > > Fran?ois. > > On Thu, 2012-10-18 at 11:17 -0500, Anthony Minessale wrote: > > send-message-query-on-register=false > > in sofia profile > > > > > > On Thu, Oct 18, 2012 at 10:51 AM, Fran?ois Delawarde > > wrote: > > Hi, > > > > It appears that FS sends MWI ("message_summary") NOTIFYs to > > registered > > devices even tho they do not SUBSCRIBE for it. > > > > Some SIP devices (*cough* ZTE *cough*) just don't like MWI > > NOTIFYs (leds > > start blinking like a christmas tree before dying miserably), > > and my > > workaround to disable those is to set "MWI-Account" to > > something invalid > > like: > > > > > > > > Is there a better way to disable unsolicited MWI NOTIFYs > > (without > > disabling presence)? > > > > Thanks, > > Fran?ois. > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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 > > > > > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/8277d465/attachment-0001.html From anthony.minessale at gmail.com Thu Oct 18 23:35:35 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 18 Oct 2012 14:35:35 -0500 Subject: [Freeswitch-users] Voicemail problem when using ODBC In-Reply-To: <508058D6.3080002@gmail.com> References: <508045E7.1070300@gmail.com> <508058D6.3080002@gmail.com> Message-ID: applied On Thu, Oct 18, 2012 at 2:30 PM, Abaci wrote: > Jira opened. > http://jira.freeswitch.org/browse/FS-4728 > > > On 10/18/2012 2:17 PM, Anthony Minessale wrote: > > yes, it should be using the named fields. If its not you should open a > jira and hopefully attach a patch. > > > On Thu, Oct 18, 2012 at 1:09 PM, Abaci wrote: > >> I have voicemail set up and working fine with sqlite, however when I >> tried using ODBC things where not working. I finally figured out that >> since I had an id (integer, unique id) as the first column in my >> voicemail_msgs table, and FreeSWITCH does a 'select * from >> voicemail_msgs...' and uses the fields in order. >> my question is if it would make sense to only select the fields we need >> so that we don't have issue with extra columns in the table or if the >> columns are not in the same order as FreeSWITCH expects. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/eff01975/attachment.html From brian at freeswitch.org Fri Oct 19 02:33:20 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 18 Oct 2012 17:33:20 -0500 Subject: [Freeswitch-users] the wiki is down... In-Reply-To: References: <1AE08964ECCEE4448E6705DBF66FFAB54A57A1@ex-mb1.corp.adtran.com> <908B3EFE-2418-47BD-988A-A23315C5FE71@freeswitch.org> Message-ID: <9C242243-B981-4055-AB32-5984E0845C98@freeswitch.org> I suspect its very much related to me making freeswitch.net and freeswitch.com point at our site also this past week. It seems to be getting spidered like crazy right now.. We are investigating it. (Oh and ipv6 addition this past week too.) On Oct 18, 2012, at 10:05 AM, Komar, Jason wrote: > Just as a note, I checked after I just sent that IPv6 address and it is > working fine for me now. Could be my DNS provider has caught up with the > change. > > Jason Komar > jkomar at jbox.ca -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/97d8df32/attachment.html From brian at freeswitch.org Fri Oct 19 02:55:24 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 18 Oct 2012 17:55:24 -0500 Subject: [Freeswitch-users] How to add a display name to the To header In-Reply-To: References: Message-ID: sip_invite_full_to But look in sofia_glue.c at do_invite at all the stuff you can set, WARNING YOU CAN BREAK THE INVITE if you take it too far! ;) /b On Oct 18, 2012, at 12:34 PM, Yannick LE COENT wrote: > Hello, > > > > Is it possible to add a display name to the To header? > > > > Thanks, > > Yannick > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/658db394/attachment-0001.html From brian at freeswitch.org Fri Oct 19 02:56:33 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 18 Oct 2012 17:56:33 -0500 Subject: [Freeswitch-users] T.38/fax problem In-Reply-To: References: Message-ID: <6AD91480-520B-4413-9812-3CE5AB0FD048@freeswitch.org> I would highly recommend upgrading because we had a few bad bugs in and around that timeframe. /b On Oct 18, 2012, at 10:27 AM, Marcin Gozdalik wrote: > FreeSWITCH is fairly old (2012-05-30), though I haven't seen many > fax-related changes lately. > I'd love to try git HEAD but it's fairly hard given tat new Debian packages > complately change filesystem structure. > The Cisco uses User-Agent Cisco-SIPGateway/IOS-12.x, no idea what model it > is. > > Hope there is any way to debug this without upgrading to git HEAD. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/6a09f501/attachment.html From darcyp at voice2net.ca Fri Oct 19 06:34:54 2012 From: darcyp at voice2net.ca (Darcy Primrose) Date: Thu, 18 Oct 2012 22:34:54 -0400 Subject: [Freeswitch-users] valet park Message-ID: <50058C9A690B4A0ABA34615BF8BDEAC7@owner397fa27d2> I wonder if anyone is having this problem. I just started using valet park using the autoselect parking stall It selects the correct parking stall, but it plays the message to the caller instead of the user putting the call in the parking stall. The call can be retrieved by dialing the number, so that all works. Would be handy if the person parking the call knew where it was going. Do I have a wrong setting somewhere , using the following in the dialplan. Using git 1.2.3, 20th of september. Darcy Primrose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/8426cc88/attachment.html From th982a at googlemail.com Fri Oct 19 08:02:29 2012 From: th982a at googlemail.com (Tamer Higazi) Date: Fri, 19 Oct 2012 06:02:29 +0200 Subject: [Freeswitch-users] freetdm, DAHDI and isdn HFC-S in NT Mode?! In-Reply-To: <507FBF16.2060002@elder.hu> References: <507E987E.3060001@googlemail.com> <507FBF16.2060002@elder.hu> Message-ID: <5080D0D5.7030307@googlemail.com> Hi Pusk?s! Thank you for your short reply. That helped me really a lot. The ISDN phone from Siemens has an external power supply and and analog converter builtin that I can easily connect my fax within. Tamer Am 18.10.2012 10:34, schrieb Pusk?s Zsolt: > Hi! > > NT mode works with libpri & freetdm. I connected two boxes with openvox > cards ( TE, NT mode ) and tested it for a long time. Works pretty well > and should work with an ISDN phone too if the card can supply power to > the phone. > > > 2012-10-17 13:37 keltez?ssel, Tamer Higazi ?rta: >> Hi people! >> I am asking myself if freetdm works with DAHDI that far, that I can >> connect a ISDN Phone directly at a HFC board, and run it in NT-Mode. I >> did it in asterisk, and it works. >> >> Will it work on with wanpipe (dahdi enabled) freetdm on freeswitch too? >> >> >> For a short reply I would thank you >> >> >> Tamer >> >> _ From juanito1982 at gmail.com Fri Oct 19 09:52:32 2012 From: juanito1982 at gmail.com (=?ISO-8859-1?Q?Juan_Antonio_Iba=F1ez_Santorum?=) Date: Fri, 19 Oct 2012 07:52:32 +0200 Subject: [Freeswitch-users] mod_event_zmq reload problem In-Reply-To: <30A9A6CB-5798-4194-8AD8-449F915387C8@freeswitch.org> References: <30A9A6CB-5798-4194-8AD8-449F915387C8@freeswitch.org> Message-ID: Ok, thank you! 2012/10/18 Jo?o Mesquita > Be careful! Because of the threading model you will get random asserts > that are not easy to reproduce. Be warned. > > Sent from my iPhone > > On Oct 16, 2012, at 11:32 AM, Juan Antonio Iba?ez Santorum < > juanito1982 at gmail.com> wrote: > > Hello, > > I am doing some tests with mod_event_zmq and all works fine exept > reloading the module once compiled after any change in module source code. > Once made 'make mod_event_zmq-install" reloading the module from CLI get > the older version, not the new compiled one. Reload API command still works > after deleting mod_event_zmq.so and mod_event_zmq.la (wow). I don't know > how FS can reload the module if it has been deleted. > > The unique way to get the module reloaded is shutting and starting FS. > > I have not get this problem with other modules. > > Any idea? > > Regards > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121019/13329308/attachment.html From 8f27e956 at gmail.com Fri Oct 19 06:08:28 2012 From: 8f27e956 at gmail.com (Scott) Date: Thu, 18 Oct 2012 22:08:28 -0400 Subject: [Freeswitch-users] ATOM D500 Message-ID: Hello fs_users. New to the list and to fs We're migrating to fs. (1) Is an Atom(TM) CPU D525 @ 1.80GHz (Dual-core, with hyper-threading) with 4GB of DDR2 (albeit locked at 800MHz FSB) motherboard adequate for a small legal office. Eight (8) desk sets and in use pretty hard throughout the day. As well, there's often a 6-8 session inbound teleconference. This low watt board is presently running 'the other guy,' but the without the conferencing. Desk sets 'prefer' G722 (g711 fallback) and our vsp, voicenetwork, supports g722 on the registered 'trunk.' (2) Target OS is CENTOS 6.3 x86_64 (unless repsonce here persuades otherwise). For optimum fs+os performance, should the mobo BIOS leave the hyper-threading enabled or should hyper-threading be disabled Also, (2) should we build fs native 64-bit or native 32-bit for this mobo setup? (heard unsupported /stories/ that some apps run better as 32-bit on this gen of ATOM) Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/b24c3288/attachment-0001.html From nghiaem at gmail.com Fri Oct 19 08:40:46 2012 From: nghiaem at gmail.com (emnvn) Date: Thu, 18 Oct 2012 21:40:46 -0700 (PDT) Subject: [Freeswitch-users] Problem with make call between FS SIP account and Openfire XMPP account/google account Message-ID: <1350621646082-7583762.post@n2.nabble.com> Hi, I have the following problem.: I want to make conversation between SIP and XMPP user, I have configured that they can see together, I can initialize and stop the call betweens two these users. This is my context: - Caller: A, a freeSWITCH SIP user - Called: B, a openfire XMPP user. - Client tools: Jitsi 1. A initialize a call to B 2. A's status is connecting 3. B's status is incoming call 4. B accept the call 5. B's status is connected 6. A's status is still connecting... I have the same problem if B initialize call to A I tried to change the openfire xmpp user by google account, there are two results: 1. If A still use jitsi, B use google web, the result are very good. I work both voice and video. 2. If A still user jitsi, B user google talk, the result are the same as openfire user. I tried to configured the codec. FreeSwitch media mode but it still happened. If i make call between two SIP accounts or two XMPP account, it work well with jitsi. Anyone understands the problems? Thanks in advance! My Server: Linux localhost.localdomain 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux. My FS version: FreeSWITCH Version 1.3.0+git~20120911T090940Z~a478a5de04 (1.3.0; git at commit a478a5de04 on Tue, 11 Sep 2012 09:09:40 Z) -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-make-call-between-FS-SIP-account-and-Openfire-XMPP-account-google-account-tp7583762.html Sent from the freeswitch-users mailing list archive at Nabble.com. From erik.dekkers at certhon.com Fri Oct 19 10:56:28 2012 From: erik.dekkers at certhon.com (Erik Dekkers) Date: Fri, 19 Oct 2012 08:56:28 +0200 Subject: [Freeswitch-users] ATOM D500 In-Reply-To: References: Message-ID: Hi Scott, I?m running Freeswitch on a Atom N270 with 2 GB RAM and a 120GB Solid State Disk on a industrial computer (no fans, no moving parts). This box easily can handle 70 users with basic pbx functions. One thing to notice: avoid transcoding! This is way too much for a Atom. One channel transcoding causes 40% CPU usage. We use G729 as the default codec. Im running FreeBSD 8.1 x86 on that box. No need for 64bit imho. Regards, Erik Van: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Namens Scott Verzonden: vrijdag 19 oktober 2012 4:08 Aan: FreeSWITCH-users at lists.freeswitch.org Onderwerp: [Freeswitch-users] ATOM D500 Hello fs_users. New to the list and to fs We're migrating to fs. (1) Is an Atom(TM) CPU D525 @ 1.80GHz (Dual-core, with hyper-threading) with 4GB of DDR2 (albeit locked at 800MHz FSB) motherboard adequate for a small legal office. Eight (8) desk sets and in use pretty hard throughout the day. As well, there's often a 6-8 session inbound teleconference. This low watt board is presently running 'the other guy,' but the without the conferencing. Desk sets 'prefer' G722 (g711 fallback) and our vsp, voicenetwork, supports g722 on the registered 'trunk.' (2) Target OS is CENTOS 6.3 x86_64 (unless repsonce here persuades otherwise). For optimum fs+os performance, should the mobo BIOS leave the hyper-threading enabled or should hyper-threading be disabled Also, (2) should we build fs native 64-bit or native 32-bit for this mobo setup? (heard unsupported /stories/ that some apps run better as 32-bit on this gen of ATOM) Thanks, [cid:image1a5c44.PNG at 294c740e.4783480e] Experience our latest innovations at the Hortifair. Register for free tickets Beleef onze nieuwste innovaties op de Hortifair. Schrijf u in voor gratis kaarten [cid:imageb07bfb.PNG at 5efd9bd8.43b7103c] ABC Westland 555 Tel: +31 174 22 50 80 P.O. Box 90 Fax: +31 174 22 50 81 Mob: +31 624 423 009 2685 ZH Poeldijk erik.dekkers at certhon.com The Netherlands www.certhon.com DISCLAIMER All our quotations, all orders and all contracts are subject to the AVAG-CONDITIONS. Op alle offertes, opdrachten en overeenkomsten zijn de AVAG-verkoopvoorwaarden van toepassing. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/55013fce/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image1a5c44.PNG Type: image/png Size: 6458 bytes Desc: image1a5c44.PNG Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/55013fce/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: imageb07bfb.PNG Type: image/png Size: 8794 bytes Desc: imageb07bfb.PNG Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/55013fce/attachment-0003.png From nandy1925 at gmail.com Fri Oct 19 11:06:07 2012 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Fri, 19 Oct 2012 15:06:07 +0800 Subject: [Freeswitch-users] ATOM D500 In-Reply-To: References: Message-ID: Hi Scott, I'm not going to say it's adequate or not. But just an experience of an installation with D945GCLF2 w/ 2GB RAM. It was running as an outbound contact center PABX serving 10-seats. But voice recording is done to all calls 100%. So, this load somehow could be allocated to call conferencing. It was running almost 2 years without any major problem. To minimize the archive space, a script compresses them to OGG format after 2 days during off-shift. We would be glad to hear your result. Cheers! /Nandy On Fri, Oct 19, 2012 at 10:08 AM, Scott <8f27e956 at gmail.com> wrote: > Hello fs_users. New to the list and to fs We're migrating to fs. > > (1) Is an Atom(TM) CPU D525 @ 1.80GHz (Dual-core, with hyper-threading) > with 4GB of DDR2 (albeit locked at 800MHz FSB) motherboard adequate for a > small legal office. Eight (8) desk sets and in use pretty hard throughout > the day. As well, there's often a 6-8 session inbound teleconference. > This low watt board is presently running 'the other guy,' but the without > the conferencing. Desk sets 'prefer' G722 (g711 fallback) and our vsp, > voicenetwork, supports g722 on the registered 'trunk.' > > (2) Target OS is CENTOS 6.3 x86_64 (unless repsonce here persuades > otherwise). For optimum fs+os performance, should the mobo BIOS leave the > hyper-threading enabled or should hyper-threading be disabled > > Also, > > (2) should we build fs native 64-bit or native 32-bit for this mobo > setup? (heard unsupported /stories/ that some apps run better as 32-bit on > this gen of ATOM) > > Thanks, > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121019/a88169ab/attachment.html From nghiaem at gmail.com Fri Oct 19 11:02:18 2012 From: nghiaem at gmail.com (emnvn) Date: Fri, 19 Oct 2012 00:02:18 -0700 (PDT) Subject: [Freeswitch-users] xmpp In-Reply-To: <5DB766894EBF4C7A9D6F0CD26E32B35F@voztovoice> References: <4A21127A.2000006@gmx.net> <5DB766894EBF4C7A9D6F0CD26E32B35F@voztovoice> Message-ID: <1350630138562-7583766.post@n2.nabble.com> Hi, do you understand how to solve my problem? http://freeswitch-users.2379917.n2.nabble.com/Problem-with-make-call-between-FS-SIP-account-and-Openfire-XMPP-account-google-account-td7583762.html Thanks -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/xmpp-tp2998302p7583766.html Sent from the freeswitch-users mailing list archive at Nabble.com. From nghiaem at gmail.com Fri Oct 19 11:06:47 2012 From: nghiaem at gmail.com (emnvn) Date: Fri, 19 Oct 2012 00:06:47 -0700 (PDT) Subject: [Freeswitch-users] XMPP Presence? In-Reply-To: References: Message-ID: <1350630407387-7583767.post@n2.nabble.com> Hi, Are you still interesting this topic? If it is right, we can discuss more about it. Thanks, -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/XMPP-Presence-tp7580571p7583767.html Sent from the freeswitch-users mailing list archive at Nabble.com. From andrew at cassidywebservices.co.uk Fri Oct 19 12:40:29 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Fri, 19 Oct 2012 09:40:29 +0100 Subject: [Freeswitch-users] valet park In-Reply-To: <50058C9A690B4A0ABA34615BF8BDEAC7@owner397fa27d2> References: <50058C9A690B4A0ABA34615BF8BDEAC7@owner397fa27d2> Message-ID: By any chance are you blind transferring rather than attended transfer? On 19 October 2012 03:34, Darcy Primrose wrote: > ** > I wonder if anyone is having this problem. I just started using valet > park using the autoselect parking stall > > It selects the correct parking stall, but it plays the message to the > caller instead of the user putting the call in the parking stall. The call > can be retrieved by dialing the number, so that all works. Would be handy > if the person parking the call knew where it was going. Do I have a wrong > setting somewhere , using the following in the dialplan. Using git 1.2.3, > 20th of september. > > > > > > ****** > > **** > > **** > > **** > Darcy Primrose > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- *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/20121019/b0f5bdec/attachment.html From darcyp at voice2net.ca Fri Oct 19 16:31:31 2012 From: darcyp at voice2net.ca (Darcy Primrose) Date: Fri, 19 Oct 2012 05:31:31 -0700 (PDT) Subject: [Freeswitch-users] valet park In-Reply-To: References: <50058C9A690B4A0ABA34615BF8BDEAC7@owner397fa27d2> Message-ID: <1350649891320-7583771.post@n2.nabble.com> Yes, I see what you are saying. I missed that, spent to many years selling hosted voip on pbxnsip and naturally assumed this would be the same. Thanks Darcy -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/valet-park-tp7583760p7583771.html Sent from the freeswitch-users mailing list archive at Nabble.com. From Chad.Engler at patlive.com Fri Oct 19 17:07:40 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Fri, 19 Oct 2012 09:07:40 -0400 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 Message-ID: Anyone else getting 404s when trying to download the weekly call recording torrents? http://wiki.freeswitch.org/wiki/Weekly_Conference_Call Looks like 10/10 and 10/17 both 404 for me. http://torrents.freeswitch.org/conf_call_2012-10-17.torrent http://torrents.freeswitch.org/conf_call_2012-10-10.torrent Any ideas? Thanks, Chad Engler Web Programmer PATLive 1.800.775.7790 x746 Chad.Engler at patlive.com Hosted Communications | Friendly Service www.patlive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/322b3045/attachment-0001.html From miha at softnet.si Fri Oct 19 17:09:49 2012 From: miha at softnet.si (Miha) Date: Fri, 19 Oct 2012 15:09:49 +0200 Subject: [Freeswitch-users] fail2ban stop working Message-ID: <5081511D.7010003@softnet.si> Hi, I was running fail2ban now for about one year. Suddenly it stopped working. Does anyone know what could be a reason? I tried to restart it but the same. I tried to stop iptables and than stop fail2ban, that start fail2ban. In log everything is fine. [root at fs1 log]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-freeswitch-tcp all -- anywhere anywhere fail2ban-freeswitch-udp all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-freeswitch-tcp (1 references) target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-freeswitch-udp (1 references) target prot opt source destination RETURN all -- anywhere anywhere [root at fs1 log]# 2012-10-19 14:59:46,009 fail2ban.server : INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.4 2012-10-19 14:59:46,010 fail2ban.jail : INFO Creating new jail 'freeswitch-udp' 2012-10-19 14:59:46,011 fail2ban.jail : INFO Jail 'freeswitch-udp' uses Gamin 2012-10-19 14:59:46,026 fail2ban.filter : INFO Added logfile = /usr/local/freeswitch/log/freeswitch.log 2012-10-19 14:59:46,026 fail2ban.filter : INFO Set maxRetry = 3 2012-10-19 14:59:46,027 fail2ban.filter : INFO Set findtime = 600 2012-10-19 14:59:46,028 fail2ban.actions: INFO Set banTime = 600 2012-10-19 14:59:46,038 fail2ban.jail : INFO Creating new jail 'freeswitch-tcp' 2012-10-19 14:59:46,038 fail2ban.jail : INFO Jail 'freeswitch-tcp' uses Gamin 2012-10-19 14:59:46,039 fail2ban.filter : INFO Added logfile = /usr/local/freeswitch/log/freeswitch.log 2012-10-19 14:59:46,039 fail2ban.filter : INFO Set maxRetry = 3 2012-10-19 14:59:46,040 fail2ban.filter : INFO Set findtime = 600 2012-10-19 14:59:46,041 fail2ban.actions: INFO Set banTime = 600 2012-10-19 14:59:46,051 fail2ban.jail : INFO Jail 'freeswitch-udp' started 2012-10-19 14:59:46,054 fail2ban.jail : INFO Jail 'freeswitch-tcp' started 2012-10-19 15:06:10,585 fail2ban.filter : INFO Log rotation detected for /usr/local/freeswitch/log/freeswitch.log 2012-10-19 15:06:10,608 fail2ban.filter : INFO Log rotation detected for /usr/local/freeswitch/log/freeswitch.log I tried with wrong pass but fail2ban does not ban ip (I also look in white liste, but there is no problem). Thanks! Miha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/1e8b644e/attachment.html From dujinfang at gmail.com Fri Oct 19 18:51:42 2012 From: dujinfang at gmail.com (Seven Du) Date: Fri, 19 Oct 2012 22:51:42 +0800 Subject: [Freeswitch-users] video recording, ask for test Message-ID: <551BBECE1FA3487B959B3590C2111BAA@gmail.com> Hi, If you are interesting video recording, check http://wiki.freeswitch.org/wiki/Video-recording The code is currently in video-media-bug branch. so a git checkout video-media-bug and recompile is needed. it is possible to record a conference, a single legged and bridged call etc. Feedbacks are welcome. Thanks. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/f9f7c525/attachment.html From david at styleflare.com Fri Oct 19 19:04:47 2012 From: david at styleflare.com (David | StyleFlare) Date: Fri, 19 Oct 2012 11:04:47 -0400 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: References: Message-ID: <50816C0F.5090207@styleflare.com> Yes, this is giving me 404 too. I wanted to hear the talk form the other day. Thanks. On 10/19/12 9:07 AM, Chad Engler wrote: > > Anyone else getting 404s when trying to download the weekly call > recording torrents? > > http://wiki.freeswitch.org/wiki/Weekly_Conference_Call > > Looks like 10/10 and 10/17 both 404 for me. > > http://torrents.freeswitch.org/conf_call_2012-10-17.torrent > > http://torrents.freeswitch.org/conf_call_2012-10-10.torrent > > Any ideas? > > Thanks, > > *Chad Engler* > > Web Programmer > > PATLive > > 1.800.775.7790 x746 > > Chad.Engler at patlive.com > > Hosted Communications | Friendly Service www.patlive.com > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121019/3c67c4a1/attachment.html From krice at freeswitch.org Fri Oct 19 19:24:48 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 19 Oct 2012 10:24:48 -0500 Subject: [Freeswitch-users] Fridays My Favorite Day... Oh and Friday Free For All Message-ID: Hey Guys, Don?t forget Friday Free For All.... Join as http://conference.freeswitch.org GTALK: conf+888 at conference.freeswitch.org? SIP:888 at conference.freeswitch.org? H323:888 at conference.freeswitch.org? PSTN:?+1.919.386.9900 http://www.youtube.com/watch?v=kfVsfOSbJY0 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/7e1a19fd/attachment.html From darcy at Vex.Net Fri Oct 19 20:33:07 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Fri, 19 Oct 2012 12:33:07 -0400 Subject: [Freeswitch-users] Allowing open SIP access to my users In-Reply-To: <20121011170426.6362804a@dilbert> References: <20121011170426.6362804a@dilbert> Message-ID: <20121019123307.497bf2e1@dilbert> On Thu, 11 Oct 2012 17:04:26 -0400 "D'Arcy J.M. Cain" wrote: > On to my next challenge. Now I want to allow anyone to call my users > with sip:5555551212 at example.com but naturally I want to keep my system > secure. I opened up my server to my home system (I have a static IP) > in the ACL file and it seems like I can, without registering, call > users on my system but not external ones. Does this mean that it is > safe to allow any server (modulus blacklists of course) to call my > users? I have removed all the sample extensions from the configs. Is > there anything else I should check? Just following up with what I have learned. I created a new SIP profile for registered users. This profile is mostly the same as internal.xml. The critical difference is to remove the acl line. This forced everyone on that port to register. Then I had all my users use that port. Now my registered users can call out and anyone can call my internal clients. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From mario_fs at mgtech.com Fri Oct 19 22:15:15 2012 From: mario_fs at mgtech.com (Mario G) Date: Fri, 19 Oct 2012 11:15:15 -0700 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch Message-ID: This is a critical request for help.... All 6 lines are out again today. I am forwarding inbound calls to a land lines but no one can make any outbound calls. Thanks for any suggestions. DDos Attacks have targeted Callcentric again, their instructions to me are for Asterisk not FreeSwitch (their info page for FreeSwitch does not help). I already researched the web for a week with no success. It may be buried in the wiki but I have not been able to find it. The parms they sent are below, can someone tell me what FreeSwitch equivalents are so I can get let them know it's right and possibly get back up? Mario G We have discovered new information for Asterisk users. In order to get DNS SRV working properly you will need to set the following in your /etc/asterisk/dnsmgr.conf file: [general] enable=yes refreshinterval=3600 And for your Callcentric trunk: [callcentric] srvlookup = yes domain = callcentric.com host = callcentric.com outboundproxy = callcentric.com register => 1234MYCCID:SUPERSECRET at callcentric.com Besides user and password all I have is: They suggested changing 2 lines but then I get the error below: ERR] sofia_reg.c:2039 userid Registration Failed with status DNS Error [503]. failure #82 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/ecf4ed25/attachment.html From gabe at gundy.org Fri Oct 19 23:17:23 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Fri, 19 Oct 2012 13:17:23 -0600 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch In-Reply-To: References: Message-ID: On Fri, Oct 19, 2012 at 12:15 PM, Mario G wrote: > This is a critical request for help.... All 6 lines are out again today. I > am forwarding inbound calls to a land lines but no one can make any outbound > calls. Thanks for any suggestions. If it's urgent, I'd recommend spending a little money and calling these guys: Professional FreeSWITCH Consulting Services: consulting at freeswitch.org We could sit here and tinker with SIP settings, but when you need to get it done, you need to get it done. Best of luck! Best, Gabe From ga at steadfasttelecom.com Fri Oct 19 23:27:50 2012 From: ga at steadfasttelecom.com (Gilad Abada) Date: Fri, 19 Oct 2012 15:27:50 -0400 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch In-Reply-To: References: Message-ID: Why not switch to Flowroute if callcentric is so unreliable? On Fri, Oct 19, 2012 at 2:15 PM, Mario G wrote: > This is a critical request for help.... All 6 lines are out again today. I > am forwarding inbound calls to a land lines but no one can make any > outbound calls. Thanks for any suggestions. > > DDos Attacks have targeted Callcentric again, their instructions to me are > for Asterisk not FreeSwitch (their info page for FreeSwitch does not help). > I already researched the web for a week with no success. It may be buried > in the wiki but I have not been able to find it. The parms they sent are > below, can someone tell me what FreeSwitch equivalents are so I can get let > them know it's right and possibly get back up? > Mario G > > We have discovered new information for Asterisk users. In order to get DNS > SRV working properly you will need to set the following in your > /etc/asterisk/dnsmgr.conf file: > > [general] > enable=yes > refreshinterval=3600 > > And for your Callcentric trunk: > > [callcentric] > srvlookup = yes > domain = callcentric.com > host = callcentric.com > outboundproxy = callcentric.com > register => 1234MYCCID:SUPERSECRET at callcentric.com > > > Besides user and password all I have is: > > > > > > They suggested changing 2 lines but then I get the error below: > > > > ERR] sofia_reg.c:2039 userid Registration Failed with status DNS Error > [503]. failure #82 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121019/802e3d09/attachment-0001.html From freeswitch-list at puzzled.xs4all.nl Fri Oct 19 23:38:09 2012 From: freeswitch-list at puzzled.xs4all.nl (Patrick Lists) Date: Fri, 19 Oct 2012 21:38:09 +0200 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch In-Reply-To: References: Message-ID: <5081AC21.2000806@puzzled.xs4all.nl> On 10/19/2012 08:15 PM, Mario G wrote: > This is a critical request for help.... All 6 lines are out again today. Can't be of any help here other than to suggest to contact consulting at freeswitch.org +1-213-286-0400 or +1-877-742-2583. If it's really critical then I guess solving your continuing problem validates spending some money. Regards, Patrick From nghiaem at gmail.com Fri Oct 19 11:30:59 2012 From: nghiaem at gmail.com (emnvn) Date: Fri, 19 Oct 2012 00:30:59 -0700 (PDT) Subject: [Freeswitch-users] Freeswitch in server mode with OpenFire In-Reply-To: <1314096956460-6715666.post@n2.nabble.com> References: <1314096956460-6715666.post@n2.nabble.com> Message-ID: <1350631859474-7583769.post@n2.nabble.com> Hi, I have the same problem with you! I tried very much but I can't resolve it. Did you resolve successfully that problem? Regards, -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-in-server-mode-with-OpenFire-tp6715666p7583769.html Sent from the freeswitch-users mailing list archive at Nabble.com. From regis.freeswitch.org at tornad.net Fri Oct 19 11:37:33 2012 From: regis.freeswitch.org at tornad.net (=?ISO-8859-1?Q?R=E9gis_MARTIN?=) Date: Fri, 19 Oct 2012 09:37:33 +0200 Subject: [Freeswitch-users] XMPP Presence? In-Reply-To: <1350630407387-7583767.post@n2.nabble.com> References: <1350630407387-7583767.post@n2.nabble.com> Message-ID: Yes,. Il want for example to connect FS with xmpp server or conferencexmpp, but I don't know where to begin. I had ejabber server and FS serveur. The both working well. Could the both could be joinned together ? to do what ? thx 2012/10/19 emnvn > Hi, > > Are you still interesting this topic? > > If it is right, we can discuss more about it. > > Thanks, > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/XMPP-Presence-tp7580571p7583767.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://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/20121019/dad3667d/attachment.html From shishko69 at gmail.com Fri Oct 19 14:55:19 2012 From: shishko69 at gmail.com (Shishko) Date: Fri, 19 Oct 2012 12:55:19 +0200 Subject: [Freeswitch-users] Gateway authentication Message-ID: <50813197.9040301@gmail.com> Hi, does anybody know if it's possible to authenticate to external SIP gateway using NTLM authentication? There's parameter mentioned in wiki called "scheme", but I'm not sure how to use it... Thanks From stuart.gilbertson at considerit.co.uk Fri Oct 19 17:12:15 2012 From: stuart.gilbertson at considerit.co.uk (Stuart Gilbertson | Consider IT Limited) Date: Fri, 19 Oct 2012 14:12:15 +0100 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: References: Message-ID: I get 404's for those two torrent links. Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121019/9d09dfd1/attachment.html From belsarepankaj at gmail.com Sat Oct 20 00:32:23 2012 From: belsarepankaj at gmail.com (Pankaj Belsare) Date: Sat, 20 Oct 2012 02:02:23 +0530 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen Message-ID: Hi, I am trying to use mod callcenter for my FS installation with skypopen, the problem is when then incoming call from skype gets hangup as soon as it is answered by agent on queue, Can any body help me understand why this is happening. here is my console log. 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel [sofia/internal/ sip:100 at 192.168.0.254:30977] has been answered 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 Updated tier: Agent 100 at 192.168.0.102 in Queue support at 192.168.0.102 set state = Active Inbound 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 Updated Agent 100 at 192.168.0.102 set state = In a queue call 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 Agent 100 at 192.168.0.102 answered "jeojit" from queue support at 192.168.0.102 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 sofia/internal/ sip:100 at 192.168.0.254:30977 Flipping CID from "jeojit" to "Outbound Call" <100> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal skypopen/skype102 [BREAK] 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 (sofia/internal/ sip:100 at 192.168.0.254:30977) State Change CS_CONSUME_MEDIA -> CS_HIBERNATE 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal skypopen/skype102 [BREAK] 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change CS_HIBERNATE 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 sofia/internal/ sip:100 at 192.168.0.254:30977 SOFIA HIBERNATE 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 (sofia/internal/ sip:100 at 192.168.0.254:30977) State Change CS_HIBERNATE -> CS_RESET 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE going to sleep 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change CS_RESET 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 sofia/internal/ sip:100 at 192.168.0.254:30977 SOFIA RESET 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 sofia/internal/ sip:100 at 192.168.0.254:30977 CUSTOM RESET 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:106 sofia/internal/sip:100 at 192.168.0.254:30977 Standard RESET 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET going to sleep 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:902 [464155c|07bc7ba] [DEBUG_SKYPE 902 ][skype102 ][UP,INPROGRS] CHANNEL READ FRAME goto CNG 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_play_say.c:1682 done playing file local_stream://moh 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 Member jeojit is answered by an agent in queue support at 192.168.0.102 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:1209 [464155c|07bc7ba] [DEBUG_SKYPE 1209 ][skype102 ][UP,INPROGRS] MSG_ID=27 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:453 (skypopen/skype102) State EXECUTE going to sleep 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 (skypopen/skype102) Running State Change CS_HIBERNATE 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 (skypopen/skype102) State HIBERNATE 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal skypopen/skype102 [BREAK] 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 (skypopen/skype102) State HIBERNATE going to sleep 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 (skypopen/skype102) Running State Change CS_RESET 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 (skypopen/skype102) State RESET 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:774 [464155c|07bc7ba] [DEBUG_SKYPE 774 ][skype102 ][UP,INPROGRS] skype102 CHANNEL RESET 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 (skypopen/skype102) State Change CS_RESET -> CS_HANGUP 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal skypopen/skype102 [BREAK] 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 skypopen/skype102 CUSTOM RESET 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 (skypopen/skype102) State RESET going to sleep 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 (skypopen/skype102) Running State Change CS_HANGUP 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:638 (skypopen/skype102) State HANGUP 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:623 [464155c|07bc7ba] [DEBUG_SKYPE 623 ][skype102 ][HANG_RQ,INPROGRS] hanging up skype call: 119 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] SENDING: |||ALTER CALL 119 END HANGUP|||| 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] SENDING: |||ALTER CALL 119 HANGUP|||| 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:629 [464155c|07bc7ba] [DEBUG_SKYPE 629 ][skype102 ][HANG_RQ,INPROGRS] skype102 CHANNEL HANGUP 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 (skypopen/skype102) State Change CS_HANGUP -> CS_DESTROY 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal skypopen Pankaj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121020/8e8dcf95/attachment-0001.html From saysen at hotmail.com Sat Oct 20 02:00:45 2012 From: saysen at hotmail.com (safiye duman) Date: Fri, 19 Oct 2012 22:00:45 +0000 (UTC) Subject: [Freeswitch-users] Voicemail skip greeting References: <4F0BE3CE.1020903@exemail.com.au> <4F0CDB78.3010407@exemail.com.au> Message-ID: Michael Collins writes: > > > On Tue, Jan 10, 2012 at 4:44 PM, Ryan How exemail.com.au> wrote: > > > > > > Hi, > I have tried both skip_greeting and skip_instructions and both seem > to have no effect. (Or they are doing something different to what I > think they should be doing) > Perhaps I am not using it right? > It looks like you're using loopback to call voicemail which means you probably need to set skip_xx=true in the dialstring to make sure the right channel picks it up. Try this and let us know: > -MC > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at ... > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at ... > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > I have the same problem , I tried but its not working , could you help ? From nghiaem at gmail.com Sat Oct 20 05:38:14 2012 From: nghiaem at gmail.com (emnvn) Date: Fri, 19 Oct 2012 18:38:14 -0700 (PDT) Subject: [Freeswitch-users] XMPP Presence? In-Reply-To: References: <1350630407387-7583767.post@n2.nabble.com> Message-ID: <1350697094856-7583786.post@n2.nabble.com> Hi, http://wiki.freeswitch.org/wiki/Mod_dingaling You can see this document. I have configured successfully, two server can communicate together. But it is not success all cases. In my case two client (xmpp and sip) can initialize the call but the media stream can't be transmitted between two clients. If i use google and the xmpp client is google web i can voice and video call between two accounts. others client are not success. I have not jut ejabberd, if you can test on it please show me the results. Thanks -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/XMPP-Presence-tp7580571p7583786.html Sent from the freeswitch-users mailing list archive at Nabble.com. From 8f27e956 at gmail.com Sat Oct 20 08:06:22 2012 From: 8f27e956 at gmail.com (S. Scott) Date: Sat, 20 Oct 2012 00:06:22 -0400 Subject: [Freeswitch-users] Gateway authentication In-Reply-To: <50813197.9040301@gmail.com> References: <50813197.9040301@gmail.com> Message-ID: <2674393828342590224@unknownmsgid> I'm new to fs but not the windows authentication game. FS supports LDAP and LDAP can be tied to NTLM directly (depending on the code base) or via a Kerberos-eques manor. Not sure if that's the best answer, though. ????? On 2012-10-19, at 16:07, Shishko wrote: > Hi, > > does anybody know if it's possible to authenticate to external SIP > gateway using NTLM authentication? > There's parameter mentioned in wiki called "scheme", but I'm not sure > how to use it... > > Thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From errotan at elder.hu Sat Oct 20 12:03:34 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Sat, 20 Oct 2012 10:03:34 +0200 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen In-Reply-To: References: Message-ID: <50825AD6.1080805@elder.hu> Hi. Please use pastebin to upload your full console log from call start to end and all config files. Which FS and skype version are you using ? 2012-10-19 22:32 keltez?ssel, Pankaj Belsare ?rta: > Hi, > > I am trying to use mod callcenter for my FS installation with > skypopen, the problem is when then incoming call from skype gets > hangup as soon as it is answered by agent on queue, Can any body help > me understand why this is happening. here is my console log. > > 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel > [sofia/internal/sip:100 at 192.168.0.254:30977 > ] has been answered > 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 > Originate Resulted in Success: > [sofia/internal/sip:100 at 192.168.0.254:30977 > ] > 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 > Originate Resulted in Success: > [sofia/internal/sip:100 at 192.168.0.254:30977 > ] > 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 Updated tier: > Agent 100 at 192.168.0.102 in Queue > support at 192.168.0.102 set state = > Active Inbound > 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 Updated Agent > 100 at 192.168.0.102 set state = In a queue call > 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 Agent > 100 at 192.168.0.102 answered "jeojit" > from queue support at 192.168.0.102 > 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 > sofia/internal/sip:100 at 192.168.0.254:30977 > Flipping CID from "jeojit" > to "Outbound Call" <100> > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 > (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send > signal skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) State Change CS_CONSUME_MEDIA -> > CS_HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send > signal sofia/internal/sip:100 at 192.168.0.254:30977 > [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send > signal sofia/internal/sip:100 at 192.168.0.254:30977 > [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send > signal skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) Running State Change CS_HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) State HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 > sofia/internal/sip:100 at 192.168.0.254:30977 > SOFIA HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) State Change CS_HIBERNATE -> > CS_RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send > signal sofia/internal/sip:100 at 192.168.0.254:30977 > [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) State HIBERNATE going to sleep > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) Running State Change CS_RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) State RESET > 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 > sofia/internal/sip:100 at 192.168.0.254:30977 > SOFIA RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 > sofia/internal/sip:100 at 192.168.0.254:30977 > CUSTOM RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:106 > sofia/internal/sip:100 at 192.168.0.254:30977 > Standard RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 > (sofia/internal/sip:100 at 192.168.0.254:30977 > ) State RESET going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:902 > [464155c|07bc7ba] [DEBUG_SKYPE 902 ][skype102 ][UP,INPROGRS] > CHANNEL READ FRAME goto CNG > 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_play_say.c:1682 done > playing file local_stream://moh > 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 Member jeojit > is answered by an agent in queue support at 192.168.0.102 > > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:1209 > [464155c|07bc7ba] [DEBUG_SKYPE 1209 ][skype102 ][UP,INPROGRS] > MSG_ID=27 > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:453 > (skypopen/skype102) State EXECUTE going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 > (skypopen/skype102) Running State Change CS_HIBERNATE > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 > (skypopen/skype102) State HIBERNATE > 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 > (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send > signal skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 > (skypopen/skype102) State HIBERNATE going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 > (skypopen/skype102) Running State Change CS_RESET > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 > (skypopen/skype102) State RESET > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:774 > [464155c|07bc7ba] [DEBUG_SKYPE 774 ][skype102 ][UP,INPROGRS] > skype102 CHANNEL RESET > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 > (skypopen/skype102) State Change CS_RESET -> CS_HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send > signal skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 > skypopen/skype102 CUSTOM RESET > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 > (skypopen/skype102) State RESET going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 > (skypopen/skype102) Running State Change CS_HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:638 > (skypopen/skype102) State HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:623 > [464155c|07bc7ba] [DEBUG_SKYPE 623 ][skype102 > ][HANG_RQ,INPROGRS] hanging up skype call: 119 > 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 > [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 > ][HANG_RQ,INPROGRS] SENDING: |||ALTER CALL 119 END HANGUP|||| > 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 > [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 > ][HANG_RQ,INPROGRS] SENDING: |||ALTER CALL 119 HANGUP|||| > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:629 > [464155c|07bc7ba] [DEBUG_SKYPE 629 ][skype102 > ][HANG_RQ,INPROGRS] skype102 CHANNEL HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 > (skypopen/skype102) State Change CS_HANGUP -> CS_DESTROY > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send > signal skypopen > > Pankaj > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121020/ca2348b0/attachment-0001.html From andrew at cassidywebservices.co.uk Sat Oct 20 12:12:54 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Sat, 20 Oct 2012 09:12:54 +0100 Subject: [Freeswitch-users] XMPP Presence? In-Reply-To: <1350697094856-7583786.post@n2.nabble.com> References: <1350630407387-7583767.post@n2.nabble.com> <1350697094856-7583786.post@n2.nabble.com> Message-ID: I'm also interested in this, but not sure when I'll get a free window to play with it. On 20 October 2012 02:38, emnvn wrote: > Hi, > > http://wiki.freeswitch.org/wiki/Mod_dingaling > > You can see this document. I have configured successfully, two server can > communicate together. But it is not success all cases. In my case two > client > (xmpp and sip) can initialize the call but the media stream can't be > transmitted between two clients. > > If i use google and the xmpp client is google web i can voice and video > call > between two accounts. others client are not success. > > I have not jut ejabberd, if you can test on it please show me the results. > > Thanks > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/XMPP-Presence-tp7580571p7583786.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://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 > -- *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/20121020/aa9503d0/attachment.html From belsarepankaj at gmail.com Sat Oct 20 13:34:38 2012 From: belsarepankaj at gmail.com (Pankaj Belsare) Date: Sat, 20 Oct 2012 15:04:38 +0530 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen In-Reply-To: <50825AD6.1080805@elder.hu> References: <50825AD6.1080805@elder.hu> Message-ID: Hi, Thanks for responding to my query. I am using Ubuntu 10.04 LTS freeswitch version 1.2.3 used interactive skype installer for mod_skypopen http://pastebin.freeswitch.org/20102 Thank you Pankaj On Sat, Oct 20, 2012 at 1:33 PM, Pusk?s Zsolt wrote: > Hi. > > Please use pastebin to upload your full console log from call start to end > and all config files. Which FS and skype version are you using ? > > > > 2012-10-19 22:32 keltez?ssel, Pankaj Belsare ?rta: > > Hi, > > I am trying to use mod callcenter for my FS installation with skypopen, > the problem is when then incoming call from skype gets hangup as soon as it > is answered by agent on queue, Can any body help me understand why this is > happening. here is my console log. > > 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel [sofia/internal/ > sip:100 at 192.168.0.254:30977] has been answered > 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate > Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] > 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate > Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] > 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 Updated tier: > Agent 100 at 192.168.0.102 in Queue support at 192.168.0.102 set state = Active > Inbound > 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 Updated Agent > 100 at 192.168.0.102 set state = In a queue call > 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 Agent > 100 at 192.168.0.102 answered "jeojit" from queue > support at 192.168.0.102 > 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 sofia/internal/ > sip:100 at 192.168.0.254:30977 Flipping CID from "jeojit" to > "Outbound Call" <100> > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 > (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal > skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 > (sofia/internal/sip:100 at 192.168.0.254:30977) State Change > CS_CONSUME_MEDIA -> CS_HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal > sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal > sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal > skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 > (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change > CS_HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 > (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 sofia/internal/ > sip:100 at 192.168.0.254:30977 SOFIA HIBERNATE > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 (sofia/internal/ > sip:100 at 192.168.0.254:30977) State Change CS_HIBERNATE -> CS_RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal > sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 > (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE going to > sleep > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 > (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change CS_RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 > (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET > 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 sofia/internal/ > sip:100 at 192.168.0.254:30977 SOFIA RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 sofia/internal/ > sip:100 at 192.168.0.254:30977 CUSTOM RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:106 > sofia/internal/sip:100 at 192.168.0.254:30977 Standard RESET > 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 > (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:902 > [464155c|07bc7ba] [DEBUG_SKYPE 902 ][skype102 ][UP,INPROGRS] > CHANNEL READ FRAME goto CNG > 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_play_say.c:1682 done playing > file local_stream://moh > 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 Member jeojit > is answered by an agent in queue support at 192.168.0.102 > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:1209 > [464155c|07bc7ba] [DEBUG_SKYPE 1209 ][skype102 ][UP,INPROGRS] > MSG_ID=27 > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:453 > (skypopen/skype102) State EXECUTE going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 > (skypopen/skype102) Running State Change CS_HIBERNATE > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 > (skypopen/skype102) State HIBERNATE > 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 > (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal > skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 > (skypopen/skype102) State HIBERNATE going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 > (skypopen/skype102) Running State Change CS_RESET > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 > (skypopen/skype102) State RESET > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:774 > [464155c|07bc7ba] [DEBUG_SKYPE 774 ][skype102 ][UP,INPROGRS] > skype102 CHANNEL RESET > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 (skypopen/skype102) > State Change CS_RESET -> CS_HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal > skypopen/skype102 [BREAK] > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] > skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK > 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 > skypopen/skype102 CUSTOM RESET > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 > (skypopen/skype102) State RESET going to sleep > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 > (skypopen/skype102) Running State Change CS_HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:638 > (skypopen/skype102) State HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:623 > [464155c|07bc7ba] [DEBUG_SKYPE 623 ][skype102 ][HANG_RQ,INPROGRS] > hanging up skype call: 119 > 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 > [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] > SENDING: |||ALTER CALL 119 END HANGUP|||| > 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 > [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] > SENDING: |||ALTER CALL 119 HANGUP|||| > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:629 > [464155c|07bc7ba] [DEBUG_SKYPE 629 ][skype102 ][HANG_RQ,INPROGRS] > skype102 CHANNEL HANGUP > 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 (skypopen/skype102) > State Change CS_HANGUP -> CS_DESTROY > 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal > skypopen > > Pankaj > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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/20121020/d27a611e/attachment-0001.html From errotan at elder.hu Sat Oct 20 14:14:24 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Sat, 20 Oct 2012 12:14:24 +0200 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen In-Reply-To: References: <50825AD6.1080805@elder.hu> Message-ID: <50827980.4050504@elder.hu> Interesting, this config should work AFAIK. Have you tried just bridging the incoming call to an X-Lite extension for testing ? 2012-10-20 11:34 keltez?ssel, Pankaj Belsare ?rta: > Hi, > Thanks for responding to my query. I am using Ubuntu 10.04 LTS > freeswitch version 1.2.3 used interactive skype installer for > mod_skypopen > > http://pastebin.freeswitch.org/20102 > > Thank you > Pankaj > > > > > On Sat, Oct 20, 2012 at 1:33 PM, Pusk?s Zsolt > wrote: > > Hi. > > Please use pastebin to upload your full console log from call > start to end and all config files. Which FS and skype version are > you using ? > > > > 2012-10-19 22:32 keltez?ssel, Pankaj Belsare ?rta: >> Hi, >> >> I am trying to use mod callcenter for my FS installation with >> skypopen, the problem is when then incoming call from skype gets >> hangup as soon as it is answered by agent on queue, Can any body >> help me understand why this is happening. here is my console log. >> >> 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel >> [sofia/internal/sip:100 at 192.168.0.254:30977 >> ] has been answered >> 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 >> Originate Resulted in Success: >> [sofia/internal/sip:100 at 192.168.0.254:30977 >> ] >> 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 >> Originate Resulted in Success: >> [sofia/internal/sip:100 at 192.168.0.254:30977 >> ] >> 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 Updated >> tier: Agent 100 at 192.168.0.102 in Queue >> support at 192.168.0.102 set state = >> Active Inbound >> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 Updated >> Agent 100 at 192.168.0.102 set state = In >> a queue call >> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 Agent >> 100 at 192.168.0.102 answered "jeojit" >> from queue support at 192.168.0.102 >> >> 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 >> sofia/internal/sip:100 at 192.168.0.254:30977 >> Flipping CID from "jeojit" >> to "Outbound Call" <100> >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 >> (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 >> Send signal skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 >> ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) State Change >> CS_CONSUME_MEDIA -> CS_HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 >> Send signal sofia/internal/sip:100 at 192.168.0.254:30977 >> [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send >> signal sofia/internal/sip:100 at 192.168.0.254:30977 >> [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send >> signal skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 >> ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:398 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) Running State Change >> CS_HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:468 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) State HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 >> sofia/internal/sip:100 at 192.168.0.254:30977 >> SOFIA HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) State Change CS_HIBERNATE >> -> CS_RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 >> Send signal sofia/internal/sip:100 at 192.168.0.254:30977 >> [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:468 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) State HIBERNATE going to sleep >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:398 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) Running State Change CS_RESET >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:449 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) State RESET >> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 >> sofia/internal/sip:100 at 192.168.0.254:30977 >> SOFIA RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 >> sofia/internal/sip:100 at 192.168.0.254:30977 >> CUSTOM RESET >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:106 >> sofia/internal/sip:100 at 192.168.0.254:30977 >> Standard RESET >> 2012-10-20 01:44:52.945894 [DEBUG] >> switch_core_state_machine.c:449 >> (sofia/internal/sip:100 at 192.168.0.254:30977 >> ) State RESET going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:902 >> [464155c|07bc7ba] [DEBUG_SKYPE 902 ][skype102 >> ][UP,INPROGRS] CHANNEL READ FRAME goto CNG >> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_play_say.c:1682 >> done playing file local_stream://moh >> 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 Member >> jeojit is answered by an agent in queue >> support at 192.168.0.102 >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:1209 >> [464155c|07bc7ba] [DEBUG_SKYPE 1209 ][skype102 >> ][UP,INPROGRS] MSG_ID=27 >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:453 (skypopen/skype102) State EXECUTE >> going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:398 (skypopen/skype102) Running State >> Change CS_HIBERNATE >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:468 (skypopen/skype102) State HIBERNATE >> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 >> (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 >> Send signal skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 >> ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:468 (skypopen/skype102) State >> HIBERNATE going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:398 (skypopen/skype102) Running State >> Change CS_RESET >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:449 (skypopen/skype102) State RESET >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:774 >> [464155c|07bc7ba] [DEBUG_SKYPE 774 ][skype102 >> ][UP,INPROGRS] skype102 CHANNEL RESET >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 >> (skypopen/skype102) State Change CS_RESET -> CS_HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 >> Send signal skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 >> ][UP,INPROGRS] skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 >> skypopen/skype102 CUSTOM RESET >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:449 (skypopen/skype102) State RESET >> going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:398 (skypopen/skype102) Running State >> Change CS_HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] >> switch_core_state_machine.c:638 (skypopen/skype102) State HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:623 >> [464155c|07bc7ba] [DEBUG_SKYPE 623 ][skype102 >> ][HANG_RQ,INPROGRS] hanging up skype call: 119 >> 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 >> [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 >> ][HANG_RQ,INPROGRS] SENDING: |||ALTER CALL 119 END HANGUP|||| >> 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 >> [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 >> ][HANG_RQ,INPROGRS] SENDING: |||ALTER CALL 119 HANGUP|||| >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:629 >> [464155c|07bc7ba] [DEBUG_SKYPE 629 ][skype102 >> ][HANG_RQ,INPROGRS] skype102 CHANNEL HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 >> (skypopen/skype102) State Change CS_HANGUP -> CS_DESTROY >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 >> Send signal skypopen >> >> Pankaj >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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/20121020/cee086a0/attachment-0001.html From belsarepankaj at gmail.com Sat Oct 20 15:14:57 2012 From: belsarepankaj at gmail.com (Pankaj Belsare) Date: Sat, 20 Oct 2012 16:44:57 +0530 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen In-Reply-To: <50827980.4050504@elder.hu> References: <50825AD6.1080805@elder.hu> <50827980.4050504@elder.hu> Message-ID: Hi, Yes i just want the call to be bridged to the xlite extensions a.k.a agent which are in the mod callcenter queue but the skype call hangs up, It works fine when even i transfer the active call while waiting on queue to any xlite extension (via usionpbx ) or even an test ivr bridging works charm. Its only when in the queue the call is answered the problem occurs even i have tried with net4india sip account it went through with out any issue. I am not able to figure out is there any option or variable to be set that i am missing. Thanks Pankaj On Sat, Oct 20, 2012 at 3:44 PM, Pusk?s Zsolt wrote: > > > Interesting, this config should work AFAIK. Have you tried just bridging > the incoming call to an X-Lite extension for testing ? > > > 2012-10-20 11:34 keltez?ssel, Pankaj Belsare ?rta: > > Hi, > Thanks for responding to my query. I am using Ubuntu 10.04 LTS freeswitch > version 1.2.3 used interactive skype installer for mod_skypopen > > http://pastebin.freeswitch.org/20102 > > Thank you > Pankaj > > > > > On Sat, Oct 20, 2012 at 1:33 PM, Pusk?s Zsolt wrote: > >> Hi. >> >> Please use pastebin to upload your full console log from call start to >> end and all config files. Which FS and skype version are you using ? >> >> >> >> 2012-10-19 22:32 keltez?ssel, Pankaj Belsare ?rta: >> >> Hi, >> >> I am trying to use mod callcenter for my FS installation with skypopen, >> the problem is when then incoming call from skype gets hangup as soon as it >> is answered by agent on queue, Can any body help me understand why this is >> happening. here is my console log. >> >> 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel [sofia/internal/ >> sip:100 at 192.168.0.254:30977] has been answered >> 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate >> Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] >> 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate >> Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] >> 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 Updated tier: >> Agent 100 at 192.168.0.102 in Queue support at 192.168.0.102 set state = >> Active Inbound >> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 Updated Agent >> 100 at 192.168.0.102 set state = In a queue call >> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 Agent >> 100 at 192.168.0.102 answered "jeojit" from queue >> support at 192.168.0.102 >> 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 sofia/internal/ >> sip:100 at 192.168.0.254:30977 Flipping CID from "jeojit" to >> "Outbound Call" <100> >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 >> (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal >> skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 >> (sofia/internal/sip:100 at 192.168.0.254:30977) State Change >> CS_CONSUME_MEDIA -> CS_HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal >> sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal >> sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal >> skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 >> (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change >> CS_HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 >> (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 sofia/internal/ >> sip:100 at 192.168.0.254:30977 SOFIA HIBERNATE >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 >> (sofia/internal/sip:100 at 192.168.0.254:30977) State Change CS_HIBERNATE >> -> CS_RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send signal >> sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 >> (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE going to >> sleep >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 >> (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change >> CS_RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 >> (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET >> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 sofia/internal/ >> sip:100 at 192.168.0.254:30977 SOFIA RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 sofia/internal/ >> sip:100 at 192.168.0.254:30977 CUSTOM RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:106 >> sofia/internal/sip:100 at 192.168.0.254:30977 Standard RESET >> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 >> (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:902 >> [464155c|07bc7ba] [DEBUG_SKYPE 902 ][skype102 ][UP,INPROGRS] >> CHANNEL READ FRAME goto CNG >> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_play_say.c:1682 done >> playing file local_stream://moh >> 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 Member jeojit >> is answered by an agent in queue support at 192.168.0.102 >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:1209 >> [464155c|07bc7ba] [DEBUG_SKYPE 1209 ][skype102 ][UP,INPROGRS] >> MSG_ID=27 >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:453 >> (skypopen/skype102) State EXECUTE going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 >> (skypopen/skype102) Running State Change CS_HIBERNATE >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 >> (skypopen/skype102) State HIBERNATE >> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 >> (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal >> skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 >> (skypopen/skype102) State HIBERNATE going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 >> (skypopen/skype102) Running State Change CS_RESET >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 >> (skypopen/skype102) State RESET >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:774 >> [464155c|07bc7ba] [DEBUG_SKYPE 774 ][skype102 ][UP,INPROGRS] >> skype102 CHANNEL RESET >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 (skypopen/skype102) >> State Change CS_RESET -> CS_HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal >> skypopen/skype102 [BREAK] >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 >> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 >> skypopen/skype102 CUSTOM RESET >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 >> (skypopen/skype102) State RESET going to sleep >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 >> (skypopen/skype102) Running State Change CS_HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:638 >> (skypopen/skype102) State HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:623 >> [464155c|07bc7ba] [DEBUG_SKYPE 623 ][skype102 ][HANG_RQ,INPROGRS] >> hanging up skype call: 119 >> 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 >> [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] >> SENDING: |||ALTER CALL 119 END HANGUP|||| >> 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 >> [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] >> SENDING: |||ALTER CALL 119 HANGUP|||| >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:629 >> [464155c|07bc7ba] [DEBUG_SKYPE 629 ][skype102 ][HANG_RQ,INPROGRS] >> skype102 CHANNEL HANGUP >> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 (skypopen/skype102) >> State Change CS_HANGUP -> CS_DESTROY >> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send signal >> skypopen >> >> Pankaj >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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/20121020/30897399/attachment-0001.html From saysen at hotmail.com Sat Oct 20 18:47:35 2012 From: saysen at hotmail.com (safiye duman) Date: Sat, 20 Oct 2012 14:47:35 +0000 (UTC) Subject: [Freeswitch-users] Voicemail skip greeting References: <4F0BE3CE.1020903@exemail.com.au> <4F0CDB78.3010407@exemail.com.au> Message-ID: Michael Collins writes: > > > On Tue, Jan 10, 2012 at 4:44 PM, Ryan How exemail.com.au> wrote: > > > > > > Hi, > I have tried both skip_greeting and skip_instructions and both seem > to have no effect. (Or they are doing something different to what I > think they should be doing) > Perhaps I am not using it right? > It looks like you're using loopback to call voicemail which means you probably need to set skip_xx=true in the dialstring to make sure the right channel picks it up. Try this and let us know: > -MC > > > Hi, I have the same problem and tried , but it's not working , could you help? From errotan at elder.hu Sat Oct 20 22:30:42 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Sat, 20 Oct 2012 20:30:42 +0200 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen In-Reply-To: References: <50825AD6.1080805@elder.hu> <50827980.4050504@elder.hu> Message-ID: <5082EDD2.30408@elder.hu> This is a bug indeed. I compiled the latest sources on my debian test box and using the sample config from the wiki I made some test calls. Calls coming from sofia users ( eg. softphone ) to the queue are good ( can answer and talk ) but calls coming from skypopen is dropping as soon as I answer the call on my desk ( Linksys SPA921 ). Please post a bug report on JIRA. I will dig into the source tomorrow and hope to find some clue on this one :) 2012-10-20 13:14 keltez?ssel, Pankaj Belsare ?rta: > Hi, > > Yes i just want the call to be bridged to the xlite extensions a.k.a > agent which are in the mod callcenter queue but the skype call hangs up, > > It works fine when even i transfer the active call while waiting on > queue to any xlite extension (via usionpbx ) or even an test ivr > bridging works charm. > > Its only when in the queue the call is answered the problem occurs > even i have tried with net4india sip account it went through with out > any issue. > > I am not able to figure out is there any option or variable to be set > that i am missing. > > Thanks > Pankaj > > On Sat, Oct 20, 2012 at 3:44 PM, Pusk?s Zsolt > wrote: > > > > Interesting, this config should work AFAIK. Have you tried just > bridging the incoming call to an X-Lite extension for testing ? > > > 2012-10-20 11:34 keltez?ssel, Pankaj Belsare ?rta: >> Hi, >> Thanks for responding to my query. I am using Ubuntu 10.04 LTS >> freeswitch version 1.2.3 used interactive skype installer for >> mod_skypopen >> >> http://pastebin.freeswitch.org/20102 >> >> Thank you >> Pankaj >> >> >> >> >> On Sat, Oct 20, 2012 at 1:33 PM, Pusk?s Zsolt > > wrote: >> >> Hi. >> >> Please use pastebin to upload your full console log from call >> start to end and all config files. Which FS and skype version >> are you using ? >> >> >> >> 2012-10-19 22:32 keltez?ssel, Pankaj Belsare ?rta: >>> Hi, >>> >>> I am trying to use mod callcenter for my FS installation >>> with skypopen, the problem is when then incoming call from >>> skype gets hangup as soon as it is answered by agent on >>> queue, Can any body help me understand why this is >>> happening. here is my console log. >>> >>> 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel >>> [sofia/internal/sip:100 at 192.168.0.254:30977 >>> ] has been answered >>> 2012-10-20 01:44:52.925614 [DEBUG] >>> switch_ivr_originate.c:3418 Originate Resulted in Success: >>> [sofia/internal/sip:100 at 192.168.0.254:30977 >>> ] >>> 2012-10-20 01:44:52.925614 [DEBUG] >>> switch_ivr_originate.c:3418 Originate Resulted in Success: >>> [sofia/internal/sip:100 at 192.168.0.254:30977 >>> ] >>> 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 >>> Updated tier: Agent 100 at 192.168.0.102 >>> in Queue support at 192.168.0.102 >>> set state = Active Inbound >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 >>> Updated Agent 100 at 192.168.0.102 >>> set state = In a queue call >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 >>> Agent 100 at 192.168.0.102 answered >>> "jeojit" from queue support at 192.168.0.102 >>> >>> 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> Flipping CID from >>> "jeojit" to "Outbound Call" <100> >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 >>> (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_session.c:1210 Send signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE >>> 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 >>> CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) State Change >>> CS_CONSUME_MEDIA -> CS_HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_session.c:1210 Send signal >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 >>> Send signal sofia/internal/sip:100 at 192.168.0.254:30977 >>> [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 >>> Send signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE >>> 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 >>> CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:398 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) Running State Change >>> CS_HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:468 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) State HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> SOFIA HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) State Change >>> CS_HIBERNATE -> CS_RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_session.c:1210 Send signal >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:468 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) State HIBERNATE going >>> to sleep >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:398 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) Running State Change >>> CS_RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:449 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) State RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> SOFIA RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> CUSTOM RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:106 >>> sofia/internal/sip:100 at 192.168.0.254:30977 >>> Standard RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] >>> switch_core_state_machine.c:449 >>> (sofia/internal/sip:100 at 192.168.0.254:30977 >>> ) State RESET going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:902 [464155c|07bc7ba] [DEBUG_SKYPE >>> 902 ][skype102 ][UP,INPROGRS] CHANNEL READ FRAME goto CNG >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_ivr_play_say.c:1682 done playing file local_stream://moh >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 >>> Member jeojit is answered by an agent in queue >>> support at 192.168.0.102 >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:1209 [464155c|07bc7ba] [DEBUG_SKYPE >>> 1209 ][skype102 ][UP,INPROGRS] MSG_ID=27 >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:453 (skypopen/skype102) State >>> EXECUTE going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:398 (skypopen/skype102) Running >>> State Change CS_HIBERNATE >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:468 (skypopen/skype102) State >>> HIBERNATE >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 >>> (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_session.c:1210 Send signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE >>> 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 >>> CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:468 (skypopen/skype102) State >>> HIBERNATE going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:398 (skypopen/skype102) Running >>> State Change CS_RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:449 (skypopen/skype102) State RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:774 [464155c|07bc7ba] [DEBUG_SKYPE >>> 774 ][skype102 ][UP,INPROGRS] skype102 CHANNEL RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 >>> (skypopen/skype102) State Change CS_RESET -> CS_HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_session.c:1210 Send signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE >>> 727 ][skype102 ][UP,INPROGRS] skypopen/skype102 >>> CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 >>> skypopen/skype102 CUSTOM RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:449 (skypopen/skype102) State >>> RESET going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:398 (skypopen/skype102) Running >>> State Change CS_HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_state_machine.c:638 (skypopen/skype102) State HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:623 [464155c|07bc7ba] [DEBUG_SKYPE >>> 623 ][skype102 ][HANG_RQ,INPROGRS] hanging up skype >>> call: 119 >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> skypopen_protocol.c:1675 [464155c|07bc7ba] [DEBUG_SKYPE >>> 1675 ][skype102 ][HANG_RQ,INPROGRS] SENDING: |||ALTER >>> CALL 119 END HANGUP|||| >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> skypopen_protocol.c:1675 [464155c|07bc7ba] [DEBUG_SKYPE >>> 1675 ][skype102 ][HANG_RQ,INPROGRS] SENDING: |||ALTER >>> CALL 119 HANGUP|||| >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> mod_skypopen.c:629 [464155c|07bc7ba] [DEBUG_SKYPE >>> 629 ][skype102 ][HANG_RQ,INPROGRS] skype102 CHANNEL >>> HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 >>> (skypopen/skype102) State Change CS_HANGUP -> CS_DESTROY >>> 2012-10-20 01:44:52.965612 [DEBUG] >>> switch_core_session.c:1210 Send signal skypopen >>> >>> Pankaj >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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://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://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/20121020/604f2ccb/attachment-0001.html From krice at freeswitch.org Sun Oct 21 05:30:43 2012 From: krice at freeswitch.org (Ken Rice) Date: Sat, 20 Oct 2012 20:30:43 -0500 Subject: [Freeswitch-users] Open letter to 'kjv' on irc Message-ID: 'kjv', thanks for taking the time to notice a possible bug in FreeSWITCH and stopping by the irc channel to ask for help with it on a day where there were not plenty of people around. We actually like it when people do this. However, thats for being an incredible ass for not taking the results or your investigation and filing a Jira ticket so that the developers responsible for the ZRTP support can have all the details so that it can be properly resolved. I know your time is valuable, as is everyone elses time. Now, we have to waste time digging around trying to duplicate the issue. When the developer responsible could have read the ticket, looked at the revevant information and fixed the issue. Thank you sir for making the lives of the men, that give their lives work away for free, that much harder this coming week. Ken From yehavi.bourvine at gmail.com Sun Oct 21 18:55:34 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 21 Oct 2012 16:55:34 +0200 Subject: [Freeswitch-users] TCPdump of curl_xml connection Message-ID: Hello, I am trying to write a simple server for xcurl_xml which will do the minimal work needed and with maximum security. Hence, I do not use any existing server, but write my own one on C. Can someone please send me a TCPdump of one such transaction, so I can see what needs to be included in the reply? Thanks! __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121021/62a18bb0/attachment.html From belsarepankaj at gmail.com Sun Oct 21 14:03:48 2012 From: belsarepankaj at gmail.com (Pankaj Belsare) Date: Sun, 21 Oct 2012 15:33:48 +0530 Subject: [Freeswitch-users] Problem: call ends when answered on xlite mod callcenter skypopen In-Reply-To: <5082EDD2.30408@elder.hu> References: <50825AD6.1080805@elder.hu> <50827980.4050504@elder.hu> <5082EDD2.30408@elder.hu> Message-ID: Hi, Thankyou for your help i have posted the bug http://jira.freeswitch.org/browse/FS-4740 On Sun, Oct 21, 2012 at 12:00 AM, Pusk?s Zsolt wrote: > > This is a bug indeed. I compiled the latest sources on my debian test box > and using the sample config from the wiki I made some test calls. Calls > coming from sofia users ( eg. softphone ) to the queue are good ( can > answer and talk ) but calls coming from skypopen is dropping as soon as I > answer the call on my desk ( Linksys SPA921 ). > > Please post a bug report on JIRA. I will dig into the source tomorrow and > hope to find some clue on this one :) > > > 2012-10-20 13:14 keltez?ssel, Pankaj Belsare ?rta: > > Hi, > > Yes i just want the call to be bridged to the xlite extensions a.k.a > agent which are in the mod callcenter queue but the skype call hangs up, > > It works fine when even i transfer the active call while waiting on > queue to any xlite extension (via usionpbx ) or even an test ivr bridging > works charm. > > Its only when in the queue the call is answered the problem occurs even > i have tried with net4india sip account it went through with out any issue. > > I am not able to figure out is there any option or variable to be set > that i am missing. > > Thanks > Pankaj > > On Sat, Oct 20, 2012 at 3:44 PM, Pusk?s Zsolt wrote: > >> >> >> Interesting, this config should work AFAIK. Have you tried just bridging >> the incoming call to an X-Lite extension for testing ? >> >> >> 2012-10-20 11:34 keltez?ssel, Pankaj Belsare ?rta: >> >> Hi, >> Thanks for responding to my query. I am using Ubuntu 10.04 LTS freeswitch >> version 1.2.3 used interactive skype installer for mod_skypopen >> >> http://pastebin.freeswitch.org/20102 >> >> Thank you >> Pankaj >> >> >> >> >> On Sat, Oct 20, 2012 at 1:33 PM, Pusk?s Zsolt wrote: >> >>> Hi. >>> >>> Please use pastebin to upload your full console log from call start to >>> end and all config files. Which FS and skype version are you using ? >>> >>> >>> >>> 2012-10-19 22:32 keltez?ssel, Pankaj Belsare ?rta: >>> >>> Hi, >>> >>> I am trying to use mod callcenter for my FS installation with skypopen, >>> the problem is when then incoming call from skype gets hangup as soon as it >>> is answered by agent on queue, Can any body help me understand why this is >>> happening. here is my console log. >>> >>> 2012-10-20 01:44:52.925614 [NOTICE] sofia.c:7053 Channel [sofia/internal/ >>> sip:100 at 192.168.0.254:30977] has been answered >>> 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate >>> Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] >>> 2012-10-20 01:44:52.925614 [DEBUG] switch_ivr_originate.c:3418 Originate >>> Resulted in Success: [sofia/internal/sip:100 at 192.168.0.254:30977] >>> 2012-10-20 01:44:52.925614 [DEBUG] mod_callcenter.c:1170 Updated tier: >>> Agent 100 at 192.168.0.102 in Queue support at 192.168.0.102 set state = >>> Active Inbound >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1049 Updated Agent >>> 100 at 192.168.0.102 set state = In a queue call >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_callcenter.c:1643 Agent >>> 100 at 192.168.0.102 answered "jeojit" from queue >>> support at 192.168.0.102 >>> 2012-10-20 01:44:52.945894 [INFO] switch_channel.c:2806 sofia/internal/ >>> sip:100 at 192.168.0.254:30977 Flipping CID from "jeojit" to >>> "Outbound Call" <100> >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1674 >>> (skypopen/skype102) State Change CS_EXECUTE -> CS_HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send >>> signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 >>> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >>> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:1676 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) State Change >>> CS_CONSUME_MEDIA -> CS_HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send >>> signal sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal >>> sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:821 Send signal >>> skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_skypopen.c:727 >>> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >>> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change >>> CS_HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:223 sofia/internal/ >>> sip:100 at 192.168.0.254:30977 SOFIA HIBERNATE >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:757 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) State Change CS_HIBERNATE >>> -> CS_RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_session.c:1210 Send >>> signal sofia/internal/sip:100 at 192.168.0.254:30977 [BREAK] >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:468 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) State HIBERNATE going to >>> sleep >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:398 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) Running State Change >>> CS_RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] mod_sofia.c:167 sofia/internal/ >>> sip:100 at 192.168.0.254:30977 SOFIA RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_ivr_bridge.c:742 >>> sofia/internal/sip:100 at 192.168.0.254:30977 CUSTOM RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:106 >>> sofia/internal/sip:100 at 192.168.0.254:30977 Standard RESET >>> 2012-10-20 01:44:52.945894 [DEBUG] switch_core_state_machine.c:449 >>> (sofia/internal/sip:100 at 192.168.0.254:30977) State RESET going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:902 >>> [464155c|07bc7ba] [DEBUG_SKYPE 902 ][skype102 ][UP,INPROGRS] >>> CHANNEL READ FRAME goto CNG >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_play_say.c:1682 done >>> playing file local_stream://moh >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_callcenter.c:2684 Member jeojit >>> is answered by an agent in queue support at 192.168.0.102 >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:1209 >>> [464155c|07bc7ba] [DEBUG_SKYPE 1209 ][skype102 ][UP,INPROGRS] >>> MSG_ID=27 >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:453 >>> (skypopen/skype102) State EXECUTE going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 >>> (skypopen/skype102) Running State Change CS_HIBERNATE >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 >>> (skypopen/skype102) State HIBERNATE >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:757 >>> (skypopen/skype102) State Change CS_HIBERNATE -> CS_RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send >>> signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 >>> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >>> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:468 >>> (skypopen/skype102) State HIBERNATE going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 >>> (skypopen/skype102) Running State Change CS_RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 >>> (skypopen/skype102) State RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:774 >>> [464155c|07bc7ba] [DEBUG_SKYPE 774 ][skype102 ][UP,INPROGRS] >>> skype102 CHANNEL RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:783 >>> (skypopen/skype102) State Change CS_RESET -> CS_HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send >>> signal skypopen/skype102 [BREAK] >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:727 >>> [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype102 ][UP,INPROGRS] >>> skypopen/skype102 CHANNEL got SWITCH_SIG_BREAK >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_ivr_bridge.c:742 >>> skypopen/skype102 CUSTOM RESET >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:449 >>> (skypopen/skype102) State RESET going to sleep >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:398 >>> (skypopen/skype102) Running State Change CS_HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_state_machine.c:638 >>> (skypopen/skype102) State HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:623 >>> [464155c|07bc7ba] [DEBUG_SKYPE 623 ][skype102 ][HANG_RQ,INPROGRS] >>> hanging up skype call: 119 >>> 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 >>> [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] >>> SENDING: |||ALTER CALL 119 END HANGUP|||| >>> 2012-10-20 01:44:52.965612 [DEBUG] skypopen_protocol.c:1675 >>> [464155c|07bc7ba] [DEBUG_SKYPE 1675 ][skype102 ][HANG_RQ,INPROGRS] >>> SENDING: |||ALTER CALL 119 HANGUP|||| >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:629 >>> [464155c|07bc7ba] [DEBUG_SKYPE 629 ][skype102 ][HANG_RQ,INPROGRS] >>> skype102 CHANNEL HANGUP >>> 2012-10-20 01:44:52.965612 [DEBUG] mod_skypopen.c:648 >>> (skypopen/skype102) State Change CS_HANGUP -> CS_DESTROY >>> 2012-10-20 01:44:52.965612 [DEBUG] switch_core_session.c:1210 Send >>> signal skypopen >>> >>> Pankaj >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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.orghttp://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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/20121021/c1a75e19/attachment-0001.html From miha at softnet.si Sun Oct 21 20:28:56 2012 From: miha at softnet.si (Miha) Date: Sun, 21 Oct 2012 18:28:56 +0200 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: You should look in wiki. http://wiki.freeswitch.org/wiki/Mod_xml_curl#Reply Miha On Sun, 21 Oct 2012 16:55:34 +0200 Yehavi Bourvine wrote: > Hello, > > I am trying to write a simple server for xcurl_xml > which will do the > minimal work needed and with maximum security. Hence, I > do not use any > existing server, but write my own one on C. > > Can someone please send me a TCPdump of one such > transaction, so I can see > what needs to be included in the reply? > > Thanks! __Yehavi: From mario_fs at mgtech.com Sun Oct 21 23:28:26 2012 From: mario_fs at mgtech.com (Mario G) Date: Sun, 21 Oct 2012 12:28:26 -0700 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch In-Reply-To: References: Message-ID: <0C2DACEA-64A6-4708-B043-9BD72E4661B4@mgtech.com> Callcentric has been bulletproof for 2 years, they were not the only ITSP attacked, the attack was on the news, it was a new type not seen before and was able to bypass DDoS checks, it started against large banks Oct 6th, then to VOIP providers, the second and third attacks on CC were specific SIP, apparently a new thing. I plan to call the consultants for hard issues like my intermittent call setup/takedown issues. This was not a FreeSwitch issue, I was hoping for a quick check on Asterisk parm meanings so I could confirm to CC what I had. Would have been nice to get them, but CallCentric is back up with no changes on my part. Thanks for the suggestion, I will check them out. Mario G On Oct 19, 2012, at 12:27 PM, Gilad Abada wrote: > Why not switch to Flowroute if callcentric is so unreliable? > > On Fri, Oct 19, 2012 at 2:15 PM, Mario G wrote: > This is a critical request for help.... All 6 lines are out again today. I am forwarding inbound calls to a land lines but no one can make any outbound calls. Thanks for any suggestions. > > DDos Attacks have targeted Callcentric again, their instructions to me are for Asterisk not FreeSwitch (their info page for FreeSwitch does not help). I already researched the web for a week with no success. It may be buried in the wiki but I have not been able to find it. The parms they sent are below, can someone tell me what FreeSwitch equivalents are so I can get let them know it's right and possibly get back up? > Mario G > > We have discovered new information for Asterisk users. In order to get DNS SRV working properly you will need to set the following in your /etc/asterisk/dnsmgr.conf file: > > [general] > enable=yes > refreshinterval=3600 > > And for your Callcentric trunk: > > [callcentric] > srvlookup = yes > domain = callcentric.com > host = callcentric.com > outboundproxy = callcentric.com > register => 1234MYCCID:SUPERSECRET at callcentric.com > > > Besides user and password all I have is: > > > > > > They suggested changing 2 lines but then I get the error below: > > > > ERR] sofia_reg.c:2039 userid Registration Failed with status DNS Error [503]. failure #82 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121021/3f107566/attachment.html From sertys at gmail.com Sun Oct 21 23:40:06 2012 From: sertys at gmail.com (Daniel Ivanov) Date: Sun, 21 Oct 2012 22:40:06 +0300 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch In-Reply-To: <0C2DACEA-64A6-4708-B043-9BD72E4661B4@mgtech.com> References: <0C2DACEA-64A6-4708-B043-9BD72E4661B4@mgtech.com> Message-ID: What they have instructed you to do is enable dns srv on freeswitch, so they can use their newly-deployed loadbalancing to evade the DDOS. I have an impression that freeswitch UA supports DNS SRV out of the box. I need experts to correct me if that is wrong though. On Sun, Oct 21, 2012 at 10:28 PM, Mario G wrote: > Callcentric has been bulletproof for 2 years, they were not the only ITSP > attacked, the attack was on the news, it was a new type not seen before and > was able to bypass DDoS checks, it started against large banks Oct 6th, > then to VOIP providers, the second and third attacks on CC were specific > SIP, apparently a new thing. > > I plan to call the consultants for hard issues like my intermittent call > setup/takedown issues. This was not a FreeSwitch issue, I was hoping for a > quick check on Asterisk parm meanings so I could confirm to CC what I had. > Would have been nice to get them, but CallCentric is back up with no > changes on my part. Thanks for the suggestion, I will check them out. > Mario G > > > On Oct 19, 2012, at 12:27 PM, Gilad Abada wrote: > > Why not switch to Flowroute if callcentric is so unreliable? > > On Fri, Oct 19, 2012 at 2:15 PM, Mario G wrote: > >> This is a critical request for help.... All 6 lines are out again today. >> I am forwarding inbound calls to a land lines but no one can make any >> outbound calls. Thanks for any suggestions. >> >> DDos Attacks have targeted Callcentric again, their instructions to me >> are for Asterisk not FreeSwitch (their info page for FreeSwitch does not >> help). I already researched the web for a week with no success. It may be >> buried in the wiki but I have not been able to find it. The parms they sent >> are below, can someone tell me what FreeSwitch equivalents are so I can get >> let them know it's right and possibly get back up? >> Mario G >> >> We have discovered new information for Asterisk users. In order to get >> DNS SRV working properly you will need to set the following in your >> /etc/asterisk/dnsmgr.conf file: >> >> [general] >> enable=yes >> refreshinterval=3600 >> >> And for your Callcentric trunk: >> >> [callcentric] >> srvlookup = yes >> domain = callcentric.com >> host = callcentric.com >> outboundproxy = callcentric.com >> register => 1234MYCCID:SUPERSECRET at callcentric.com >> >> >> Besides user and password all I have is: >> >> >> >> >> >> They suggested changing 2 lines but then I get the error below: >> >> >> >> ERR] sofia_reg.c:2039 userid Registration Failed with status DNS Error >> [503]. failure #82 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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/20121021/d16e63fe/attachment-0001.html From mario_fs at mgtech.com Sun Oct 21 23:51:24 2012 From: mario_fs at mgtech.com (Mario G) Date: Sun, 21 Oct 2012 12:51:24 -0700 Subject: [Freeswitch-users] I could really use help with my ITSP outage, translate asterisk to freeswitch In-Reply-To: References: <0C2DACEA-64A6-4708-B043-9BD72E4661B4@mgtech.com> Message-ID: I agree with you, the FS wiki shows a parm to turn DNSRV off so I am pretty sure it's on by default. Anyway, we're back up. Thanks for the note! On Oct 21, 2012, at 12:40 PM, Daniel Ivanov wrote: > What they have instructed you to do is enable dns srv on freeswitch, so they can use their newly-deployed loadbalancing to evade the DDOS. > I have an impression that freeswitch UA supports DNS SRV out of the box. I need experts to correct me if that is wrong though. > > On Sun, Oct 21, 2012 at 10:28 PM, Mario G wrote: > Callcentric has been bulletproof for 2 years, they were not the only ITSP attacked, the attack was on the news, it was a new type not seen before and was able to bypass DDoS checks, it started against large banks Oct 6th, then to VOIP providers, the second and third attacks on CC were specific SIP, apparently a new thing. > > I plan to call the consultants for hard issues like my intermittent call setup/takedown issues. This was not a FreeSwitch issue, I was hoping for a quick check on Asterisk parm meanings so I could confirm to CC what I had. Would have been nice to get them, but CallCentric is back up with no changes on my part. Thanks for the suggestion, I will check them out. > Mario G > > > On Oct 19, 2012, at 12:27 PM, Gilad Abada wrote: > >> Why not switch to Flowroute if callcentric is so unreliable? >> >> On Fri, Oct 19, 2012 at 2:15 PM, Mario G wrote: >> This is a critical request for help.... All 6 lines are out again today. I am forwarding inbound calls to a land lines but no one can make any outbound calls. Thanks for any suggestions. >> >> DDos Attacks have targeted Callcentric again, their instructions to me are for Asterisk not FreeSwitch (their info page for FreeSwitch does not help). I already researched the web for a week with no success. It may be buried in the wiki but I have not been able to find it. The parms they sent are below, can someone tell me what FreeSwitch equivalents are so I can get let them know it's right and possibly get back up? >> Mario G >> >> We have discovered new information for Asterisk users. In order to get DNS SRV working properly you will need to set the following in your /etc/asterisk/dnsmgr.conf file: >> >> [general] >> enable=yes >> refreshinterval=3600 >> >> And for your Callcentric trunk: >> >> [callcentric] >> srvlookup = yes >> domain = callcentric.com >> host = callcentric.com >> outboundproxy = callcentric.com >> register => 1234MYCCID:SUPERSECRET at callcentric.com >> >> >> Besides user and password all I have is: >> >> >> >> >> >> They suggested changing 2 lines but then I get the error below: >> >> >> >> ERR] sofia_reg.c:2039 userid Registration Failed with status DNS Error [503]. failure #82 >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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://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/20121021/64b4cf2a/attachment.html From mikecpatterson at yahoo.com Sun Oct 21 21:03:16 2012 From: mikecpatterson at yahoo.com (Mike Patterson) Date: Sun, 21 Oct 2012 13:03:16 -0400 Subject: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. Message-ID: <003901cdafad$f80061b0$e8012510$@com> When using mod_skypopen we are able to route a call to the Skype user and it works great if the user is online and picks up the call. However, if the user allows the call to route to their Skype voice mail, then we receive an error - VM_PLAYING_GREETING is not recognized. The entire debug is attached. I have a complete debug if needed. Again, if the call is answered it works fine. If the call is routed to Skype voicemail we have about a minute of dead air, and then a fast busy. Using: ubuntu 11.10, FreeSWITCH Version 1.3.0+git~20120919T180633Z~d22e0caf15 (1.3.0) AMD Athlon(tm) II X3 425 Processor, 3 cores Log messages: 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:727 [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype105 ][DIALING,UNPLACD] skypopen/RR/skype105/mikec.patterson CHANNEL got SWITCH_SIG_BREAK 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:463 (skypopen/RR/skype105/mikec.patterson) State ROUTING going to sleep 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:415 (skypopen/RR/skype105/mikec.patterson) Running State Change CS_CONSUME_MEDIA 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:748 [464155c|07bc7ba] [DEBUG_SKYPE 748 ][skype105 ][DIALING,UNPLACD] skype105 CHANNEL CONSUME_MEDIA 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA going to sleep 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,UNPLACD] READING: |||CALL 56 STATUS ROUTING||| 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:758 [464155c|07bc7ba] [DEBUG_SKYPE 758 ][skype105 ][DIALING,ROUTING] skype_call: 56 is now ROUTING 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 TYPE OUTGOING||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 PARTNER_HANDLE mikec.patterson||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 PARTNER_DISPNAME Mike Patterson||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 ALLOWED_DURATION 600||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 SUBJECT ||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 TIMESTAMP 1350736374||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 0||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 STATUS UNKNOWN||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_ALLOWED_DURATION 600||| 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 0||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 STATUS BLANK||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 TYPE CUSTOM_GREETING||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 PARTNER_HANDLE mikec.patterson||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 PARTNER_DISPNAME Mike Patterson||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 ALLOWED_DURATION 60||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 SUBJECT ||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 TIMESTAMP 1350736375||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 DURATION 0||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 STATUS NOTDOWNLOADED||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 STATUS PLAYING||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 STATUS BUFFERING||| 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 STATUS VM_PLAYING_GREETING||| 2012-10-20 12:32:55.821160 [WARNING] skypopen_protocol.c:837 [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] skype_call: 56, STATUS: VM_PLAYING_GREETING is not recognized 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 DURATION 6||| 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 TYPE DEFAULT_GREETING||| 2012-10-20 12:32:56.121217 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 STATUS PLAYING||| 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 59 STATUS PLAYED||| 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 TIMESTAMP 1350736382||| 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 STATUS RECORDING||| 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 STATUS VM_RECORDING||| 2012-10-20 12:33:02.121165 [WARNING] skypopen_protocol.c:837 [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] skype_call: 56, STATUS: VM_RECORDING is not recognized 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 1||| 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 1||| 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 2||| 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 2||| 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 3||| 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 3||| 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 4||| 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 4||| 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 5||| 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 5||| 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 6||| 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 6||| 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 7||| 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 7||| 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 8||| 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 8||| 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 9||| 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 9||| 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 10||| 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 10||| 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||VOICEMAIL 58 DURATION 11||| 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] READING: |||CALL 56 VM_DURATION 11||| 2012-10-20 12:33:13.241213 [DEBUG] switch_core_session.c:969 Send signal sofia/internal/15405078003 at 38.100.174.200 [BREAK] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121021/00460143/attachment-0001.html From betterzystems at gmail.com Sun Oct 21 22:16:50 2012 From: betterzystems at gmail.com (Anders Sonderkjaer) Date: Sun, 21 Oct 2012 14:16:50 -0400 Subject: [Freeswitch-users] mod db - hostname Message-ID: Hi, I cannot get fetch the data in db_data from the dialplan. The ODBC is running and has been tested. I have not found any documentation on what the 'hostname' column in the db_data table should be - so I just put what the server has right now ('freeswitch01') - is that ok? This is what I am doing in the dialplan: 1.2.3 are the first four digits of the IP address I get the call from - this works, have tested it with a hardcoded forward. The call sent to FS has the To User set to 2000000. I use this to identify the user sending the call, and then want to look in db_data to find out which number the call should be forwarded to. So 2000000 would be the data_key and the value/data is the number to forward to. What I want to get out of it, is that a bridge is made to sofia/gateway/main_trunk/9999forward_number, where the forward_number is the value/data retrieved from db_data, and 9999 is the prefix for the termination partner (this works, has been tested). Input would really be appreciated! Thanks, A. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121021/65a10f3e/attachment.html From anton.jugatsu at gmail.com Mon Oct 22 08:09:52 2012 From: anton.jugatsu at gmail.com (Anton Kvashenkin) Date: Mon, 22 Oct 2012 08:09:52 +0400 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump. 2012/10/21 Miha > You should look in wiki. > > http://wiki.freeswitch.org/wiki/Mod_xml_curl#Reply > > Miha > > On Sun, 21 Oct 2012 16:55:34 +0200 > Yehavi Bourvine wrote: > > Hello, > > > > I am trying to write a simple server for xcurl_xml > > which will do the > > minimal work needed and with maximum security. Hence, I > > do not use any > > existing server, but write my own one on C. > > > > Can someone please send me a TCPdump of one such > > transaction, so I can see > > what needs to be included in the reply? > > > > Thanks! __Yehavi: > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121022/c0971e1e/attachment.html From avi at avimarcus.net Mon Oct 22 09:44:48 2012 From: avi at avimarcus.net (Avi Marcus) Date: Mon, 22 Oct 2012 07:44:48 +0200 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: If you are planning on writing in C, why aren't you writing a mod directly? -Avi On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" wrote: Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump. 2012/10/21 Miha > > You should look in wiki. > > http://wiki.freeswitch.org/wiki... _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121022/a76fa10d/attachment.html From qasimakhan at gmail.com Mon Oct 22 10:33:51 2012 From: qasimakhan at gmail.com (qasimakhan at gmail.com) Date: Mon, 22 Oct 2012 11:33:51 +0500 Subject: [Freeswitch-users] Fridays My Favorite Day... Oh and Friday Free For All In-Reply-To: References: Message-ID: ohh GOD why did i fall for that again [?]... On Fri, Oct 19, 2012 at 8:24 PM, Ken Rice wrote: > Hey Guys, > > Don?t forget Friday Free For All.... > > Join as > http://conference.freeswitch.org > GTALK: conf+888 at conference.freeswitch.org > SIP:888 at conference.freeswitch.org > H323:888 at conference.freeswitch.org > PSTN: +1.919.386.9900 > > > http://www.youtube.com/watch?v=kfVsfOSbJY0 > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121022/09d54d74/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 599 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/09d54d74/attachment.png From betterzystems at gmail.com Mon Oct 22 10:11:48 2012 From: betterzystems at gmail.com (Anders Sonderkjaer) Date: Mon, 22 Oct 2012 02:11:48 -0400 Subject: [Freeswitch-users] mod db - hostname In-Reply-To: References: Message-ID: I found the answer myself: The hostname has to be 'any', since something is evaluated on it. What exactly hostname it refers to I don't know, but 'any' makes it take...any. --Anders On Sun, Oct 21, 2012 at 2:16 PM, Anders Sonderkjaer wrote: > Hi, > > I cannot get fetch the data in db_data from the dialplan. The ODBC is > running and has been tested. > > I have not found any documentation on what the 'hostname' column in the > db_data table should be - so I just put what the server has right now > ('freeswitch01') - is that ok? > > This is what I am doing in the dialplan: > > > > > > data="sip_to_user=${db(select/forward/${sip_to_user})}"/> > data="sofia/gateway/main_trunk/9999$1"/> > > > > 1.2.3 are the first four digits of the IP address I get the call from - > this works, have tested it with a hardcoded forward. > > The call sent to FS has the To User set to 2000000. I use this to identify > the user sending the call, and then want to look in db_data to find out > which number the call should be forwarded to. So 2000000 would be the > data_key and the value/data is the number to forward to. > What I want to get out of it, is that a bridge is made to > sofia/gateway/main_trunk/9999forward_number, where the forward_number is > the value/data retrieved from db_data, and 9999 is the prefix for the > termination partner (this works, has been tested). > > Input would really be appreciated! > > Thanks, > A. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/8a9fb8f9/attachment-0001.html From Scelo.Mbokazi at velociti.biz Mon Oct 22 10:17:02 2012 From: Scelo.Mbokazi at velociti.biz (Scelo Mbokazi) Date: Mon, 22 Oct 2012 06:17:02 +0000 Subject: [Freeswitch-users] FSClient Message-ID: <6E257F72A1F9074EA7D77FD69E56AC4D1D05AC6E@VELDBNEXCH02.VELOCITI.NET> Hi All. I am new to Freeswitch and would like to replicate the FSClient functionality to our CRM dialler dev. on (Windows VS2010/C#) however I am battling to find the source code. I followed the instructions on the website but I'm still un able to attain the source as I get the following error. [Description: cid:image001.png at 01CDADE1.4DC55FC0] Below is the FSClient that I am trying to download. Your help will be much appreciated. [cid:image002.png at 01CDB02C.F0D198D0] Regards Scelo Please consider your environmental responsibility before printing this e-mail This e-mail and any file attachments transmitted with it are intended solelyfor the addressee(s) and may contain confidential proprietary information. Access by any other party without the express written permission of the sender is unauthorized. If you have received this e-mail in error you may not copy, distribute or use the contents, attachments or information in any way. Please delete and contact the sender. Velociti is a licensed FSP provider. FSP No 24456 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/7b485b25/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 55634 bytes Desc: image001.png Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/7b485b25/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 28390 bytes Desc: image002.png Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/7b485b25/attachment-0003.png From sertys at gmail.com Mon Oct 22 13:38:06 2012 From: sertys at gmail.com (Daniel Ivanov) Date: Mon, 22 Oct 2012 12:38:06 +0300 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: Because writing a webserver from scratch is easier than writing any module for any framework. You don't have to study the api, just the rfcs. On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus wrote: > If you are planning on writing in C, why aren't you writing a mod directly? > > -Avi > > On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" > wrote: > > Just point mod_xml_curl to lighttpd web-server with fake cgi script @ > config and dump all traffic with ngrep or tcpdump. > > > > 2012/10/21 Miha > > > > You should look in wiki. > > > > http://wiki.freeswitch.org/wiki... > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121022/31527b8c/attachment.html From stargray at bigmir.net Mon Oct 22 13:41:18 2012 From: stargray at bigmir.net (antonvoylenko) Date: Mon, 22 Oct 2012 02:41:18 -0700 (PDT) Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: References: Message-ID: <1350898878157-7583811.post@n2.nabble.com> Giovanni, must I reproduce this issue with last git before open jira report? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-skypopen-not-generating-inbound-A-leg-CDR-tp7580648p7583811.html Sent from the freeswitch-users mailing list archive at Nabble.com. From gmaruzz at gmail.com Mon Oct 22 13:58:28 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 22 Oct 2012 11:58:28 +0200 Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: <1350898878157-7583811.post@n2.nabble.com> References: <1350898878157-7583811.post@n2.nabble.com> Message-ID: On Mon, Oct 22, 2012 at 11:41 AM, antonvoylenko wrote: > Giovanni, must I reproduce this issue with last git before open jira report? that would be better, but in this particular case also a reasonably recent version (let's say, starting end of August) would be ok, because that code has not changed. -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From gmaruzz at gmail.com Mon Oct 22 13:59:56 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 22 Oct 2012 11:59:56 +0200 Subject: [Freeswitch-users] mod_skypopen not generating inbound A-leg CDR In-Reply-To: References: <1350898878157-7583811.post@n2.nabble.com> Message-ID: please add all the info requested by jira, and on top of them the infos detailed in: http://wiki.freeswitch.org/wiki/Skypopen#How_To_Report_BUGS_and_Feature_Requests -giovanni On Mon, Oct 22, 2012 at 11:58 AM, Giovanni Maruzzelli wrote: > On Mon, Oct 22, 2012 at 11:41 AM, antonvoylenko wrote: >> Giovanni, must I reproduce this issue with last git before open jira report? > > that would be better, but in this particular case also a reasonably > recent version (let's say, starting end of August) would be ok, > because that code has not changed. > > -giovanni > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From gmaruzz at gmail.com Mon Oct 22 14:04:07 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 22 Oct 2012 12:04:07 +0200 Subject: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. In-Reply-To: <003901cdafad$f80061b0$e8012510$@com> References: <003901cdafad$f80061b0$e8012510$@com> Message-ID: Hi Mike, can you please open a Jira, attach all the relevant issue? http://wiki.freeswitch.org/wiki/Skypopen#How_To_Report_BUGS_and_Feature_Requests -giovanni On Sun, Oct 21, 2012 at 7:03 PM, Mike Patterson wrote: > When using mod_skypopen we are able to route a call to the Skype user and it > works great if the user is online and picks up the call. However, if the > user allows the call to route to their Skype voice mail, then we receive an > error - VM_PLAYING_GREETING is not recognized. The entire debug is attached. > I have a complete debug if needed. Again, if the call is answered it works > fine. If the call is routed to Skype voicemail we have about a minute of > dead air, and then a fast busy. > > > > Using: > > ubuntu 11.10, FreeSWITCH Version 1.3.0+git~20120919T180633Z~d22e0caf15 > (1.3.0) > AMD Athlon(tm) II X3 425 Processor, 3 cores > > > > > > Log messages: > > > > 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype105 ][DIALING,UNPLACD] > skypopen/RR/skype105/mikec.patterson CHANNEL got SWITCH_SIG_BREAK > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:463 > (skypopen/RR/skype105/mikec.patterson) State ROUTING going to sleep > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:415 > (skypopen/RR/skype105/mikec.patterson) Running State Change CS_CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 > (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:748 > [464155c|07bc7ba] [DEBUG_SKYPE 748 ][skype105 ][DIALING,UNPLACD] > skype105 CHANNEL CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 > (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA going to sleep > > 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,UNPLACD] > READING: |||CALL 56 STATUS ROUTING||| > > 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:758 > [464155c|07bc7ba] [DEBUG_SKYPE 758 ][skype105 ][DIALING,ROUTING] > skype_call: 56 is now ROUTING > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TYPE OUTGOING||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 PARTNER_HANDLE mikec.patterson||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 PARTNER_DISPNAME Mike Patterson||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 ALLOWED_DURATION 600||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 SUBJECT ||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TIMESTAMP 1350736374||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 0||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS UNKNOWN||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_ALLOWED_DURATION 600||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 0||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS BLANK||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TYPE CUSTOM_GREETING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 PARTNER_HANDLE mikec.patterson||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 PARTNER_DISPNAME Mike Patterson||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 ALLOWED_DURATION 60||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 SUBJECT ||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TIMESTAMP 1350736375||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 DURATION 0||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS NOTDOWNLOADED||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS BUFFERING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 STATUS VM_PLAYING_GREETING||| > > 2012-10-20 12:32:55.821160 [WARNING] skypopen_protocol.c:837 > [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] > skype_call: 56, STATUS: VM_PLAYING_GREETING is not recognized > > 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 DURATION 6||| > > 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TYPE DEFAULT_GREETING||| > > 2012-10-20 12:32:56.121217 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYING||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYED||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TIMESTAMP 1350736382||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS RECORDING||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 STATUS VM_RECORDING||| > > 2012-10-20 12:33:02.121165 [WARNING] skypopen_protocol.c:837 > [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] > skype_call: 56, STATUS: VM_RECORDING is not recognized > > 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 1||| > > 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 1||| > > 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 2||| > > 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 2||| > > 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 3||| > > 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 3||| > > 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 4||| > > 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 4||| > > 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 5||| > > 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 5||| > > 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 6||| > > 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 6||| > > 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 7||| > > 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 7||| > > 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 8||| > > 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 8||| > > 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 9||| > > 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 9||| > > 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 10||| > > 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 10||| > > 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 11||| > > 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 11||| > > 2012-10-20 12:33:13.241213 [DEBUG] switch_core_session.c:969 Send signal > sofia/internal/15405078003 at 38.100.174.200 [BREAK] > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From mitch.capper at gmail.com Mon Oct 22 16:36:49 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Mon, 22 Oct 2012 05:36:49 -0700 Subject: [Freeswitch-users] FSClient In-Reply-To: <6E257F72A1F9074EA7D77FD69E56AC4D1D05AC6E@VELDBNEXCH02.VELOCITI.NET> References: <6E257F72A1F9074EA7D77FD69E56AC4D1D05AC6E@VELDBNEXCH02.VELOCITI.NET> Message-ID: you want git *clone* git://git.freeswitch.org/*freeswitch*-*contrib*.git ~mitch On Sun, Oct 21, 2012 at 11:17 PM, Scelo Mbokazi wrote: > Hi All. > > > > I am new to Freeswitch and would like to replicate the FSClient > functionality to our CRM dialler dev. on (*Windows VS2010/C#*) however I > am battling to find the source code. I followed the instructions on the > website but I'm still un able to attain the source as I get the following > error. > > > > [image: Description: cid:image001.png at 01CDADE1.4DC55FC0] > > > > Below is the FSClient that I am trying to download. Your help will be much > appreciated. > > > > > > Regards > > Scelo > > > > Please consider your environmental responsibility before printing this > e-mail > > > > This e-mail and any file attachments transmitted with it are intended > solelyfor the addressee(s) and may contain confidential proprietary > information. Access by any other party without the express written > permission of the sender is unauthorized. If you have received this > e-mail in error you may not copy, distribute or use the contents, > attachments or information in any way. Please delete and contact the > sender. Velociti is a licensed FSP provider. FSP No 24456 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121022/e3233500/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 55634 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/e3233500/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 28390 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/e3233500/attachment-0003.png From mikecpatterson at yahoo.com Mon Oct 22 16:31:37 2012 From: mikecpatterson at yahoo.com (Mike Patterson) Date: Mon, 22 Oct 2012 08:31:37 -0400 Subject: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. In-Reply-To: References: <003901cdafad$f80061b0$e8012510$@com> Message-ID: <00dd01cdb051$2ecae1e0$8c60a5a0$@com> I did open a Jira case. It was moved to Freeswitch. Thanks. http://jira.freeswitch.org/s/en_USk8cqyf/783/4/_/jira-logo-scaled.png http://jira.freeswitch.org/secure/useravatar?avatarId=10142 Jeff Lenk assigned Bug FS-4742 to Giovanni Maruzzelli mod_skypopen - when call routes to a skype voicemail there is no audio. Moved issue to proper project and reassigned to Giovanni Change By: Jeff Lenk (21/Oct/12 6:47 PM) Assignee: Michal Bielicki Giovanni Maruzzelli -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Giovanni Maruzzelli Sent: Monday, October 22, 2012 6:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. Hi Mike, can you please open a Jira, attach all the relevant issue? http://wiki.freeswitch.org/wiki/Skypopen#How_To_Report_BUGS_and_Feature_Requ ests -giovanni On Sun, Oct 21, 2012 at 7:03 PM, Mike Patterson < mikecpatterson at yahoo.com> wrote: > When using mod_skypopen we are able to route a call to the Skype user > and it works great if the user is online and picks up the call. > However, if the user allows the call to route to their Skype voice > mail, then we receive an error - VM_PLAYING_GREETING is not recognized. The entire debug is attached. > I have a complete debug if needed. Again, if the call is answered it > works fine. If the call is routed to Skype voicemail we have about a > minute of dead air, and then a fast busy. > > > > Using: > > ubuntu 11.10, FreeSWITCH Version 1.3.0+git~20120919T180633Z~d22e0caf15 > (1.3.0) > AMD Athlon(tm) II X3 425 Processor, 3 cores > > > > > > Log messages: > > > > 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype105 ][DIALING,UNPLACD] > skypopen/RR/skype105/mikec.patterson CHANNEL got SWITCH_SIG_BREAK > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:463 > (skypopen/RR/skype105/mikec.patterson) State ROUTING going to sleep > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:415 > (skypopen/RR/skype105/mikec.patterson) Running State Change > CS_CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 > (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:748 > [464155c|07bc7ba] [DEBUG_SKYPE 748 ][skype105 ][DIALING,UNPLACD] > skype105 CHANNEL CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 > (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA going to > sleep > > 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,UNPLACD] > READING: |||CALL 56 STATUS ROUTING||| > > 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:758 > [464155c|07bc7ba] [DEBUG_SKYPE 758 ][skype105 ][DIALING,ROUTING] > skype_call: 56 is now ROUTING > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TYPE OUTGOING||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 PARTNER_HANDLE mikec.patterson||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 PARTNER_DISPNAME Mike Patterson||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 ALLOWED_DURATION 600||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 SUBJECT ||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TIMESTAMP 1350736374||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 0||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS UNKNOWN||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_ALLOWED_DURATION 600||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 0||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS BLANK||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TYPE CUSTOM_GREETING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 PARTNER_HANDLE mikec.patterson||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 PARTNER_DISPNAME Mike Patterson||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 ALLOWED_DURATION 60||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 SUBJECT ||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TIMESTAMP 1350736375||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 DURATION 0||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS NOTDOWNLOADED||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS BUFFERING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 STATUS VM_PLAYING_GREETING||| > > 2012-10-20 12:32:55.821160 [WARNING] skypopen_protocol.c:837 > [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] > skype_call: 56, STATUS: VM_PLAYING_GREETING is not recognized > > 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 DURATION 6||| > > 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TYPE DEFAULT_GREETING||| > > 2012-10-20 12:32:56.121217 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYING||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYED||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TIMESTAMP 1350736382||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS RECORDING||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 STATUS VM_RECORDING||| > > 2012-10-20 12:33:02.121165 [WARNING] skypopen_protocol.c:837 > [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] > skype_call: 56, STATUS: VM_RECORDING is not recognized > > 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 1||| > > 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 1||| > > 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 2||| > > 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 2||| > > 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 3||| > > 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 3||| > > 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 4||| > > 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 4||| > > 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 5||| > > 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 5||| > > 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 6||| > > 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 6||| > > 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 7||| > > 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 7||| > > 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 8||| > > 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 8||| > > 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 9||| > > 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 9||| > > 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 10||| > > 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 10||| > > 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 11||| > > 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 11||| > > 2012-10-20 12:33:13.241213 [DEBUG] switch_core_session.c:969 Send > signal > sofia/internal/15405078003 at 38.100.174.200 [BREAK] > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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-use > rs > 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://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/20121022/1adb1e18/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 3996 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/1adb1e18/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 2998 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/1adb1e18/attachment-0003.png -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 369 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/1adb1e18/attachment-0001.gif From rmartinez at redvoiss.net Mon Oct 22 18:37:09 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 11:37:09 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes Message-ID: Hello List. I?m using a Freeswitch server as a B2BUA transcoder. I have a a HP Proliant DL380 G7 with 2 Quad Cores and 8 Gig memory. I?m using Centos 5.5 64bits [root at transcoder sngtc]# more /etc/issue CentOS release 5.5 (Final) Kernel \r on an \m [root at transcoder sngtc]# uname -a Linux transcoder.redvoiss.net 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I also have two transcoding cards Sangoma D100e. The problem is that I?m having weird spikes of ?load average? cpu every 20 minutes (aprox), without any reason, reaching near of 12.5 of load average for this machine. I have an average of 200 simultaneous calls (all doing transcoding from G711 to G729) and I don?t have any crontab job running. What could be the cause of these spikes? I have been trying to optimize the configuration but the cpu spikes persists. Can someone help me to find the problem here? Thanks in advance. * * *Ricardo Martinez.-* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/0ea84f3c/attachment.html From ben at langfeld.co.uk Mon Oct 22 19:17:12 2012 From: ben at langfeld.co.uk (Ben Langfeld) Date: Mon, 22 Oct 2012 08:17:12 -0700 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: You really think you're going to write a more secure and more efficient HTTP server than *any* of the ones already freely available under open source licences? Really? On 22 October 2012 02:38, Daniel Ivanov wrote: > Because writing a webserver from scratch is easier than writing any module > for any framework. You don't have to study the api, just the rfcs. > > > On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus wrote: > >> If you are planning on writing in C, why aren't you writing a mod >> directly? >> >> -Avi >> >> On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" >> wrote: >> >> Just point mod_xml_curl to lighttpd web-server with fake cgi script @ >> config and dump all traffic with ngrep or tcpdump. >> >> >> >> 2012/10/21 Miha >> > >> > You should look in wiki. >> > >> > http://wiki.freeswitch.org/wiki... >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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/20121022/f07305cd/attachment.html From lazyvirus at gmx.com Mon Oct 22 19:35:58 2012 From: lazyvirus at gmx.com (Bzzz) Date: Mon, 22 Oct 2012 17:35:58 +0200 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: <20121022173558.20c14d5a@anubis.defcon1> On Mon, 22 Oct 2012 08:17:12 -0700 Ben Langfeld wrote: > You really think you're going to write a more secure and more efficient > HTTP server than *any* of the ones already freely available under open > source licences? Really? Although, there's _the_ exception to what you said: g-wan :) -- Eurynome : Your family's weird! Lokan : May I remind you that you convinced your own dad to buy you a laptop 'cos it could be useful in case of zombie attack? Eurynome : ... From megahohol at gmail.com Mon Oct 22 19:43:02 2012 From: megahohol at gmail.com (Grygoriy Dobrovolskyy) Date: Mon, 22 Oct 2012 17:43:02 +0200 Subject: [Freeswitch-users] Wrong presented number in FROM In-Reply-To: References: Message-ID: Thank you everyone, i was so blind, and totally forgot that the gateway was just for testing, so i did instead of "sofia/gateway/opensips/URI" > "sofia/internal/URI" That's all folks. Thanks! 2012/10/17 Antonio Teixeira > http://wiki.freeswitch.org/wiki/Variable_origination_caller_id_number > > You can't use SET, origination caller id should be used on the dial string. > Like : > {absolute_codec_string=PCMA,origination_caller_id_name=3312231212,origination_caller_id_number=3312231212}sofia > /blahblahblah > > Regards > A/T > > 2012/10/17 Grygoriy Dobrovolskyy > >> Good day dear list, i would like to get you help, i am facing very simple >> issue i am not able to resolve: >> >> >> I receive incoming call from my provider which i forward to URI with the >> following Dialplan >> >> >> > break="on-false"> >> >> > data="effective_caller_id_name=${sip_to_user}"/> >> > data="effective_caller_id_number=${sip_to_user}"/> >> > data="{absolute_codec_string=PCMA}sofia/gateway/opensips/999999 at 1.2.2.5 >> "/> >> >> For whatever reason FS replace the FROM field when he does bridge, the >> one i receive from the provider is FROM "+33637" >> when FS do the invite he does: FROM "+33637 > > >> >> I have tried to do this: >> >> > data="origination_caller_id_number=${sip_to_user}"/> >> >> Same result, when opensips send the invite, the end user sees the number >> un Caller_id_name, but still FREESWITCH in caller_id_number >> >> Please help me replace the FROM "+33637 >> By FROM "+33637 !! >> >> Thank you dear list >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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/20121022/932a02ac/attachment-0001.html From jason.holden at start.ca Mon Oct 22 20:02:39 2012 From: jason.holden at start.ca (Jason Holden) Date: Mon, 22 Oct 2012 12:02:39 -0400 Subject: [Freeswitch-users] call centre agent statistics report Message-ID: Can anyone provide advice on being able to provide a client with a call centre statistics report? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/86da96c5/attachment.html From faisal.rehman22 at yahoo.com Mon Oct 22 18:08:53 2012 From: faisal.rehman22 at yahoo.com (Faisal Rehman) Date: Mon, 22 Oct 2012 07:08:53 -0700 (PDT) Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch Message-ID: <1350914933.70215.YahooMailNeo@web46214.mail.sp1.yahoo.com> Hello All, I have been trying to complie Freeswitch (freeswitch-1.2.3) on a CentOS box but if the module mod_vlc is enabled in the file modules.conf, I am getting the errors that you can see below, but mod_vlc being disabled results in the successful compilation of FS, so will you please share your ideas/opinions where I am missing anything. making install mod_vlc Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:46:21: error: vlc/vlc.h: No such file or directory /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: vlc/libvlc_media_player.h: No such file or directory /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:64: error: expected specifier-qualifier-list before 'libvlc_media_player_t' cc1: warnings being treated as errors /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:78: warning: struct has no members /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_auto_play_callback': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:90: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:91: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:92: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:97: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:98: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:99: error: 'vlc_file_context_t' has no member named 'started' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:101: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_imem_get_callback': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:110: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:116: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:120: error: 'vlc_file_context_t' has no member named 'samples' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:121: error: 'vlc_file_context_t' has no member named 'samples' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:126: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:134: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_open': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:150: error: 'vlc_file_context_t' has no member named 'pool' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: 'vlc_file_context_t' has no member named 'pool' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:154: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: 'vlc_file_context_t' has no member named 'pool' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: 'vlc_file_context_t' has no member named 'started' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: 'vlc_file_context_t' has no member named 'pool' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: implicit declaration of function 'libvlc_media_new_location' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'read_inst' undeclared (first use in this function) /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: (Each undeclared identifier is reported only once /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: for each function it appears in.) /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:166: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: implicit declaration of function 'libvlc_media_new_path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:169: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:172: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:175: error: 'vlc_file_context_t' has no member named 'path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:178: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:183: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:184: error: 'vlc_file_context_t' has no member named 'err' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: warning: implicit declaration of function 'libvlc_media_player_new_from_media' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:191: error: 'vlc_file_context_t' has no member named 'samplerate' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: implicit declaration of function 'libvlc_audio_set_format' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: 'vlc_file_context_t' has no member named 'samplerate' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: implicit declaration of function 'libvlc_audio_set_callbacks' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: warning: implicit declaration of function 'libvlc_media_player_play' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:209: error: 'vlc_file_context_t' has no member named 'samplerate' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:216: error: 'vlc_file_context_t' has no member named 'samplerate' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: 'vlc_file_context_t' has no member named 'inst_out' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: warning: implicit declaration of function 'libvlc_new' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: 'vlc_file_context_t' has no member named 'inst_out' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:229: error: 'vlc_file_context_t' has no member named 'samples' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:230: error: 'vlc_file_context_t' has no member named 'pts' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:231: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_read': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: 'libvlc_state_t' undeclared (first use in this function) /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: expected ';' before 'status' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:254: error: 'vlc_file_context_t' has no member named 'err' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: 'status' undeclared (first use in this function) /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: warning: implicit declaration of function 'libvlc_media_get_state' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:265: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:266: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: 'vlc_file_context_t' has no member named 'started' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:269: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:271: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:272: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:273: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_write': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:293: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:294: error: 'vlc_file_context_t' has no member named 'samples' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:295: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:296: error: 'vlc_file_context_t' has no member named 'audio_mutex' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_close': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:305: error: 'vlc_file_context_t' has no member named 'playing' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:308: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:309: error: 'vlc_file_context_t' has no member named 'audio_buffer' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:319: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: warning: implicit declaration of function 'libvlc_media_player_stop' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: 'vlc_file_context_t' has no member named 'mp' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:322: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: warning: implicit declaration of function 'libvlc_media_release' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: error: 'vlc_file_context_t' has no member named 'm' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:325: error: 'vlc_file_context_t' has no member named 'inst_out' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: warning: implicit declaration of function 'libvlc_release' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: error: 'vlc_file_context_t' has no member named 'inst_out' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_load': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: 'read_inst' undeclared (first use in this function) /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_shutdown': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:363: error: 'read_inst' undeclared (first use in this function) make[5]: *** [mod_vlc.lo] Error 1 make[4]: *** [install] Error 1 make[3]: *** [mod_vlc-install] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2 Thank you? ? Faisal Rehman -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/0295f623/attachment-0001.html From krice at freeswitch.org Mon Oct 22 20:14:20 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 22 Oct 2012 11:14:20 -0500 Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch In-Reply-To: <1350914933.70215.YahooMailNeo@web46214.mail.sp1.yahoo.com> Message-ID: Looks like you do not have the vlc libraries and header installed On 10/22/12 9:08 AM, "Faisal Rehman" wrote: > Hello All, > > I have been trying to complie Freeswitch (freeswitch-1.2.3) on a CentOS box > but if the module mod_vlc is enabled in the file modules.conf, I am getting > the errors that you can see below, but mod_vlc being disabled results in the > successful compilation of FS, so will you please share your ideas/opinions > where I am missing anything. > > > making install mod_vlc > Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... > Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:46:21: error: > vlc/vlc.h: No such file or directory > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: > vlc/libvlc_media_player.h: No such file or directory > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:61: error: > expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:64: error: > expected specifier-qualifier-list before 'libvlc_media_player_t' > cc1: warnings being treated as errors > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:78: warning: > struct has no members > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_auto_play_callback': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:90: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:91: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:92: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:97: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:98: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:99: error: > 'vlc_file_context_t' has no member named 'started' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:101: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_imem_get_callback': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:110: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:116: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:120: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:121: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:126: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:134: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_open': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:150: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:154: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: > 'vlc_file_context_t' has no member named 'started' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: > implicit declaration of function 'libvlc_media_new_location' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > 'read_inst' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: (Each > undeclared identifier is reported only once > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: for > each function it appears in.) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:166: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: > implicit declaration of function 'libvlc_media_new_path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:169: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:172: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:175: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:178: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:183: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:184: error: > 'vlc_file_context_t' has no member named 'err' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: warning: > implicit declaration of function 'libvlc_media_player_new_from_media' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:191: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: > implicit declaration of function 'libvlc_audio_set_format' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: > implicit declaration of function 'libvlc_audio_set_callbacks' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: warning: > implicit declaration of function 'libvlc_media_player_play' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:209: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:216: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: warning: > implicit declaration of function 'libvlc_new' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:229: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:230: error: > 'vlc_file_context_t' has no member named 'pts' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:231: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_read': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: > 'libvlc_state_t' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: > expected ';' before 'status' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:254: error: > 'vlc_file_context_t' has no member named 'err' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: > 'status' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: warning: > implicit declaration of function 'libvlc_media_get_state' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:265: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:266: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: > 'vlc_file_context_t' has no member named 'started' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:269: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:271: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:272: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:273: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_write': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:293: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:294: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:295: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:296: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_close': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:305: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:308: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:309: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:319: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: warning: > implicit declaration of function 'libvlc_media_player_stop' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:322: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: warning: > implicit declaration of function 'libvlc_media_release' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:325: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: warning: > implicit declaration of function 'libvlc_release' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'mod_vlc_load': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: > 'read_inst' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'mod_vlc_shutdown': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:363: error: > 'read_inst' undeclared (first use in this function) > make[5]: *** [mod_vlc.lo] Error 1 > make[4]: *** [install] Error 1 > make[3]: *** [mod_vlc-install] Error 1 > make[2]: *** [install-recursive] Error 1 > make[1]: *** [install-recursive] Error 1 > make: *** [install] Error 2 > > > > Thank you > > Faisal Rehman > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/85015a81/attachment-0001.html From darcyp at voice2net.ca Mon Oct 22 20:23:30 2012 From: darcyp at voice2net.ca (Darcy Primrose) Date: Mon, 22 Oct 2012 09:23:30 -0700 (PDT) Subject: [Freeswitch-users] session timers Message-ID: <1350923010569-7583825.post@n2.nabble.com> I am trying to extend my session timers. If I modify SOFIA_NAT_SESSION_TIMEOUT it does extend the timeout. However, the Min-SE: stays at 120. What is the relationship between the two timers as related to the freeswitch, Session-Exipires and Min-SE re calculation of time delay for the freeswitch to generate the re invite. Darcy -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/session-timers-tp7583825.html Sent from the freeswitch-users mailing list archive at Nabble.com. From lon at kickasspixels.com Mon Oct 22 20:28:35 2012 From: lon at kickasspixels.com (Lon Baker) Date: Mon, 22 Oct 2012 09:28:35 -0700 Subject: [Freeswitch-users] Sample pcaps with HEP encapsulation? Message-ID: Can anyone send me a couple sample pcaps with HEP encapsulation? I'm working with the guys over at VoIPMonitor.org to add support for Freeswitch sip-capture settings in the Sofia module. -- Lon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/9dd50c18/attachment.html From gabe at gundy.org Mon Oct 22 20:31:24 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 22 Oct 2012 10:31:24 -0600 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: Message-ID: On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I?m having weird spikes of ?load average? cpu every 20 > minutes (aprox), without any reason, reaching near of 12.5 of load average > for this machine. What have you done to verify that it happens 'without any reason'? Gabe From msc at freeswitch.org Mon Oct 22 20:37:16 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 22 Oct 2012 09:37:16 -0700 Subject: [Freeswitch-users] call centre agent statistics report In-Reply-To: References: Message-ID: Are you using mod_callcenter or mod_fifo for inbound calls? (Just curious.) I'd recommend starting with mod_cdr_xml since that will always give you the most data. -MC On Mon, Oct 22, 2012 at 9:02 AM, Jason Holden wrote: > Can anyone provide advice on being able to provide a client with a call > centre statistics report?**** > > **** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/c8c58b8c/attachment.html From vbvbrj at gmail.com Mon Oct 22 20:41:42 2012 From: vbvbrj at gmail.com (Vbvbrj) Date: Mon, 22 Oct 2012 19:41:42 +0300 Subject: [Freeswitch-users] call centre agent statistics report In-Reply-To: References: Message-ID: <50857746.60208@gmail.com> On 22.10.2012 19:37, Michael Collins wrote: > Are you using mod_callcenter or mod_fifo for inbound calls? (Just > curious.) I'd recommend starting with mod_cdr_xml since that will always > give you the most data. > -MC > > On Mon, Oct 22, 2012 at 9:02 AM, Jason Holden > wrote: > > Can anyone provide advice on being able to provide a client with a > call centre statistics report?____ I am planning to implement statistic for local mod_callcenter. I will use a DB MySQL, because I'm used with it. I will implement collecting data to the DB using agent connect and disconnect calls, and clients call and events on disconnect. The data will then be displayed using web server and php script. For now I'm stuck with compiling MySQL in Debian x64. -- Mimiko desu. From msc at freeswitch.org Mon Oct 22 20:57:03 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 22 Oct 2012 09:57:03 -0700 Subject: [Freeswitch-users] call centre agent statistics report In-Reply-To: <50857746.60208@gmail.com> References: <50857746.60208@gmail.com> Message-ID: Sounds like you're already on top of things from a data collection standpoint. Reporting on that data is going to be a hassle no matter what you do. Clients will never be pleased with the reports you give them unless they have a chance tweak and customized those reports to their own liking. Have you spoken to the client about what they expect? Hopefully you can translate what they want into various SQL queries... -MC On Mon, Oct 22, 2012 at 9:41 AM, Vbvbrj wrote: > On 22.10.2012 19:37, Michael Collins wrote: > > Are you using mod_callcenter or mod_fifo for inbound calls? (Just > > curious.) I'd recommend starting with mod_cdr_xml since that will always > > give you the most data. > > -MC > > > > On Mon, Oct 22, 2012 at 9:02 AM, Jason Holden > > wrote: > > > > Can anyone provide advice on being able to provide a client with a > > call centre statistics report?____ > > I am planning to implement statistic for local mod_callcenter. I will > use a DB MySQL, because I'm used with it. I will implement collecting > data to the DB using agent connect and disconnect calls, and clients > call and events on disconnect. The data will then be displayed using web > server and php script. For now I'm stuck with compiling MySQL in Debian > x64. > > -- > Mimiko desu. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/2bec2bcc/attachment.html From vbvbrj at gmail.com Mon Oct 22 21:06:31 2012 From: vbvbrj at gmail.com (Vbvbrj) Date: Mon, 22 Oct 2012 20:06:31 +0300 Subject: [Freeswitch-users] call centre agent statistics report In-Reply-To: References: <50857746.60208@gmail.com> Message-ID: <50857D17.9030806@gmail.com> On 22.10.2012 19:57, Michael Collins wrote: > Sounds like you're already on top of things from a data collection > standpoint. Reporting on that data is going to be a hassle no matter > what you do. Clients will never be pleased with the reports you give > them unless they have a chance tweak and customized those reports to > their own liking. Have you spoken to the client about what they expect? > Hopefully you can translate what they want into various SQL queries... > > -MC Michael, its not me who seeks reports for client. I have the department's needs for reports about agents work. I will collect all the data which mod_callcenter callects in its DB. And will use it to report data like agents log in/out, agents not responded calls, clients number who hanged-up before getting an agent. -- Mimiko desu. From faisal.rehman22 at yahoo.com Mon Oct 22 21:02:01 2012 From: faisal.rehman22 at yahoo.com (Faisal Rehman) Date: Mon, 22 Oct 2012 10:02:01 -0700 (PDT) Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch In-Reply-To: References: <1350914933.70215.YahooMailNeo@web46214.mail.sp1.yahoo.com> Message-ID: <1350925321.35594.YahooMailNeo@web46212.mail.sp1.yahoo.com> Hi Ken, Thank you for your response. Will you please refer to me any specific VLC libraries for that or should I installed any available over the net? ? Regards, Faisal Rehman ________________________________ From: Ken Rice To: FreeSWITCH Users Help Sent: Monday, October 22, 2012 9:14 PM Subject: Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch Looks like you do not have the vlc libraries and header installed On 10/22/12 9:08 AM, "Faisal Rehman" wrote: Hello All, > >I have been trying to complie Freeswitch (freeswitch-1.2.3) on a CentOS box but if the module mod_vlc is enabled in the file modules.conf, I am getting the errors that you can see below, but mod_vlc being disabled results in the successful compilation of FS, so will you please share your ideas/opinions where I am missing anything. > > >making install mod_vlc >Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... >Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:46:21: error: vlc/vlc.h: No such file or directory >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: vlc/libvlc_media_player.h: No such file or directory >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:64: error: expected specifier-qualifier-list before 'libvlc_media_player_t' >cc1: warnings being treated as errors >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:78: warning: struct has no members >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_auto_play_callback': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:90: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:91: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:92: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:97: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:98: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:99: error: 'vlc_file_context_t' has no member named 'started' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:101: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_imem_get_callback': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:110: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:116: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:120: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:121: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:126: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:134: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_open': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:150: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:154: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: 'vlc_file_context_t' has no member named 'started' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: implicit declaration of function 'libvlc_media_new_location' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'read_inst' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: (Each undeclared identifier is reported only once >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: for each function it appears in.) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:166: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: implicit declaration of function 'libvlc_media_new_path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:169: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:172: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:175: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:178: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:183: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:184: error: 'vlc_file_context_t' has no member named 'err' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: warning: implicit declaration of function 'libvlc_media_player_new_from_media' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:191: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: implicit declaration of function 'libvlc_audio_set_format' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: implicit declaration of function 'libvlc_audio_set_callbacks' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: warning: implicit declaration of function 'libvlc_media_player_play' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:209: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:216: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: warning: implicit declaration of function 'libvlc_new' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:229: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:230: error: 'vlc_file_context_t' has no member named 'pts' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:231: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_read': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: 'libvlc_state_t' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: expected ';' before 'status' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:254: error: 'vlc_file_context_t' has no member named 'err' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: 'status' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: warning: implicit declaration of function 'libvlc_media_get_state' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:265: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:266: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: 'vlc_file_context_t' has no member named 'started' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:269: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:271: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:272: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:273: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_write': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:293: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:294: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:295: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:296: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_close': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:305: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:308: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:309: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:319: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: warning: implicit declaration of function 'libvlc_media_player_stop' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:322: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: warning: implicit declaration of function 'libvlc_media_release' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:325: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: warning: implicit declaration of function 'libvlc_release' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_load': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: 'read_inst' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_shutdown': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:363: error: 'read_inst' undeclared (first use in this function) >make[5]: *** [mod_vlc.lo] Error 1 >make[4]: *** [install] Error 1 >make[3]: *** [mod_vlc-install] Error 1 >make[2]: *** [install-recursive] Error 1 >make[1]: *** [install-recursive] Error 1 >make: *** [install] Error 2 > > > >Thank you >? >Faisal Rehman > >>________________________________ >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.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 > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121022/ea905f03/attachment-0001.html From yehavi.bourvine at gmail.com Mon Oct 22 22:02:45 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Mon, 22 Oct 2012 20:02:45 +0200 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: All I need is a very simple server to do a very specific job; why use a big hammer for that?... Thanks, __Yehavi: 2012/10/22 Ben Langfeld > You really think you're going to write a more secure and more efficient > HTTP server than *any* of the ones already freely available under open > source licences? Really? > > On 22 October 2012 02:38, Daniel Ivanov wrote: > >> Because writing a webserver from scratch is easier than writing any >> module for any framework. You don't have to study the api, just the rfcs. >> >> >> On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus wrote: >> >>> If you are planning on writing in C, why aren't you writing a mod >>> directly? >>> >>> -Avi >>> >>> On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" >>> wrote: >>> >>> Just point mod_xml_curl to lighttpd web-server with fake cgi script @ >>> config and dump all traffic with ngrep or tcpdump. >>> >>> >>> >>> 2012/10/21 Miha >>> > >>> > You should look in wiki. >>> > >>> > http://wiki.freeswitch.org/wiki... >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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://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/20121022/b2f9b27d/attachment.html From krice at freeswitch.org Mon Oct 22 22:22:07 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 22 Oct 2012 13:22:07 -0500 Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch In-Reply-To: <1350925321.35594.YahooMailNeo@web46212.mail.sp1.yahoo.com> Message-ID: You should be able to install the vlc dev package from centos On 10/22/12 12:02 PM, "Faisal Rehman" wrote: > Hi Ken, > > Thank you for your response. Will you please refer to me any specific VLC > libraries for that or should I installed any available over the net? > > > Regards, > > Faisal Rehman > > > > > > From: Ken Rice > To: FreeSWITCH Users Help > Sent: Monday, October 22, 2012 9:14 PM > Subject: Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch > > > Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch > Looks like you do not have the vlc libraries and header installed > > > On 10/22/12 9:08 AM, "Faisal Rehman" wrote: > >> Hello All, >> >> I have been trying to complie Freeswitch (freeswitch-1.2.3) on a CentOS box >> but if the module mod_vlc is enabled in the file modules.conf, I am getting >> the errors that you can see below, but mod_vlc being disabled results in the >> successful compilation of FS, so will you please share your ideas/opinions >> where I am missing anything. >> >> >> making install mod_vlc >> Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... >> Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:46:21: error: >> vlc/vlc.h: No such file or directory >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: >> vlc/libvlc_media_player.h: No such file or directory >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:61: error: >> expected '=', ',', ';', 'asm' or '__attribute__' before '*' token >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:64: error: >> expected specifier-qualifier-list before 'libvlc_media_player_t' >> cc1: warnings being treated as errors >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:78: warning: >> struct has no members >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'vlc_auto_play_callback': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:90: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:91: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:92: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:97: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:98: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:99: error: >> 'vlc_file_context_t' has no member named 'started' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:101: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'vlc_imem_get_callback': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:110: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:116: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:120: error: >> 'vlc_file_context_t' has no member named 'samples' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:121: error: >> 'vlc_file_context_t' has no member named 'samples' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:126: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:134: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'vlc_file_open': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:150: error: >> 'vlc_file_context_t' has no member named 'pool' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: >> 'vlc_file_context_t' has no member named 'pool' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:154: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: >> 'vlc_file_context_t' has no member named 'pool' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: >> 'vlc_file_context_t' has no member named 'started' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: >> 'vlc_file_context_t' has no member named 'pool' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: >> implicit declaration of function 'libvlc_media_new_location' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: >> 'read_inst' undeclared (first use in this function) >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: (Each >> undeclared identifier is reported only once >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: for >> each function it appears in.) >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:166: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: >> implicit declaration of function 'libvlc_media_new_path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:169: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:172: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:175: error: >> 'vlc_file_context_t' has no member named 'path' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:178: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:183: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:184: error: >> 'vlc_file_context_t' has no member named 'err' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: warning: >> implicit declaration of function 'libvlc_media_player_new_from_media' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:191: error: >> 'vlc_file_context_t' has no member named 'samplerate' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: >> implicit declaration of function 'libvlc_audio_set_format' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: >> 'vlc_file_context_t' has no member named 'samplerate' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: >> implicit declaration of function 'libvlc_audio_set_callbacks' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: warning: >> implicit declaration of function 'libvlc_media_player_play' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:209: error: >> 'vlc_file_context_t' has no member named 'samplerate' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:216: error: >> 'vlc_file_context_t' has no member named 'samplerate' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: >> 'vlc_file_context_t' has no member named 'inst_out' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: warning: >> implicit declaration of function 'libvlc_new' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: >> 'vlc_file_context_t' has no member named 'inst_out' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:229: error: >> 'vlc_file_context_t' has no member named 'samples' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:230: error: >> 'vlc_file_context_t' has no member named 'pts' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:231: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'vlc_file_read': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: >> 'libvlc_state_t' undeclared (first use in this function) >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: >> expected ';' before 'status' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:254: error: >> 'vlc_file_context_t' has no member named 'err' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: >> 'status' undeclared (first use in this function) >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: warning: >> implicit declaration of function 'libvlc_media_get_state' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:265: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:266: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: >> 'vlc_file_context_t' has no member named 'started' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:269: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:271: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:272: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:273: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'vlc_file_write': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:293: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:294: error: >> 'vlc_file_context_t' has no member named 'samples' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:295: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:296: error: >> 'vlc_file_context_t' has no member named 'audio_mutex' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'vlc_file_close': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:305: error: >> 'vlc_file_context_t' has no member named 'playing' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:308: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:309: error: >> 'vlc_file_context_t' has no member named 'audio_buffer' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:319: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: warning: >> implicit declaration of function 'libvlc_media_player_stop' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: >> 'vlc_file_context_t' has no member named 'mp' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:322: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: warning: >> implicit declaration of function 'libvlc_media_release' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: error: >> 'vlc_file_context_t' has no member named 'm' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:325: error: >> 'vlc_file_context_t' has no member named 'inst_out' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: warning: >> implicit declaration of function 'libvlc_release' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: error: >> 'vlc_file_context_t' has no member named 'inst_out' >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'mod_vlc_load': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: >> 'read_inst' undeclared (first use in this function) >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function >> 'mod_vlc_shutdown': >> /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:363: error: >> 'read_inst' undeclared (first use in this function) >> make[5]: *** [mod_vlc.lo] Error 1 >> make[4]: *** [install] Error 1 >> make[3]: *** [mod_vlc-install] Error 1 >> make[2]: *** [install-recursive] Error 1 >> make[1]: *** [install-recursive] Error 1 >> make: *** [install] Error 2 >> >> >> >> Thank you >> >> Faisal Rehman >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/26a71ec3/attachment-0001.html From rmartinez at redvoiss.net Mon Oct 22 22:29:50 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 15:29:50 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: Message-ID: <776cb577785c4da7bd65596e08cade4e@mail.gmail.com> Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 From grcamauer at gmail.com Mon Oct 22 22:38:28 2012 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Mon, 22 Oct 2012 15:38:28 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: <776cb577785c4da7bd65596e08cade4e@mail.gmail.com> References: <776cb577785c4da7bd65596e08cade4e@mail.gmail.com> Message-ID: Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: > > The problem is that I'm having weird spikes of "load average" cpu > > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/c5a17d3a/attachment.html From ben at langfeld.co.uk Mon Oct 22 22:38:31 2012 From: ben at langfeld.co.uk (Ben Langfeld) Date: Mon, 22 Oct 2012 11:38:31 -0700 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: Because that "big hammer" has a million eyeballs on it and is probably going to be far more stable than what you write, and is highly unlikely to be your bottleneck anyway, so you're fairly likely to be wasting your time which you could be using on more interesting unsolved problems ;) Regards, Ben Langfeld On 22 October 2012 11:02, Yehavi Bourvine wrote: > All I need is a very simple server to do a very specific job; why use a > big hammer for that?... > > Thanks, __Yehavi: > > 2012/10/22 Ben Langfeld > >> You really think you're going to write a more secure and more efficient >> HTTP server than *any* of the ones already freely available under open >> source licences? Really? >> >> On 22 October 2012 02:38, Daniel Ivanov wrote: >> >>> Because writing a webserver from scratch is easier than writing any >>> module for any framework. You don't have to study the api, just the rfcs. >>> >>> >>> On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus wrote: >>> >>>> If you are planning on writing in C, why aren't you writing a mod >>>> directly? >>>> >>>> -Avi >>>> >>>> On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" >>>> wrote: >>>> >>>> Just point mod_xml_curl to lighttpd web-server with fake cgi script @ >>>> config and dump all traffic with ngrep or tcpdump. >>>> >>>> >>>> >>>> 2012/10/21 Miha >>>> > >>>> > You should look in wiki. >>>> > >>>> > http://wiki.freeswitch.org/wiki... >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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://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://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://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/20121022/a03ac803/attachment-0001.html From rmartinez at redvoiss.net Mon Oct 22 22:50:27 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 15:50:27 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <776cb577785c4da7bd65596e08cade4e@mail.gmail.com> Message-ID: <483a027289094608d0608b957cb1045b@mail.gmail.com> AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/4898f045/attachment.html From rmartinez at redvoiss.net Mon Oct 22 22:52:28 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 15:52:28 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: 483a027289094608d0608b957cb1045b@mail.gmail.com References: <776cb577785c4da7bd65596e08cade4e@mail.gmail.com> 483a027289094608d0608b957cb1045b@mail.gmail.com Message-ID: <770ee61c15afefb4447d5bd3c98816c6@mail.gmail.com> This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/e5de8b41/attachment-0001.html From msc at freeswitch.org Mon Oct 22 22:54:57 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 22 Oct 2012 11:54:57 -0700 Subject: [Freeswitch-users] setting up basic call center using mod_fifo In-Reply-To: References: Message-ID: Ken, Just curious - what kind of control are you hoping to have over the next agent receiving the call? The general operation is that whoever has been available the longest gets the next call. You can poll for information about queues using the "fifo list" or "fifo list_verbose" API commands. There are some events that get thrown but usually those have to do with calls entering/exiting the queue and/or getting connected to agents. If you want to see what those look like then set up a FIFO queue and then do this from fs_cli: /log 0 /events plain all /filter Event-Name CUSTOM You'll see all custom events (including stuff from mod_conference) but I kinda like that view. You can also do a filter like this: /filter Event-Subclass fifo::info That will narrow it down only to FIFO-related events. HTH, MC On Thu, Oct 18, 2012 at 12:30 PM, Ken Kelly-Turner wrote: > Hi all, > > I'm trying to set up a very basic call center using mod_fifo and I was > wondering if there was a way to control which agent the next call on the > queue gets sent to as well as a way to monitor the behaviour of the each > agent (tell when they've logged in/out, number of calls rejected, record > calls etc.) > > Thanks, > Ken > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/3e8c6972/attachment.html From andrew at cassidywebservices.co.uk Mon Oct 22 22:55:58 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Mon, 22 Oct 2012 19:55:58 +0100 Subject: [Freeswitch-users] TCPdump of curl_xml connection In-Reply-To: References: Message-ID: use lighttpd or nginx with all the options you don't need disabled if weight is an issue for you. On 22 October 2012 19:02, Yehavi Bourvine wrote: > All I need is a very simple server to do a very specific job; why use a > big hammer for that?... > > Thanks, __Yehavi: > > 2012/10/22 Ben Langfeld > >> You really think you're going to write a more secure and more efficient >> HTTP server than *any* of the ones already freely available under open >> source licences? Really? >> >> On 22 October 2012 02:38, Daniel Ivanov wrote: >> >>> Because writing a webserver from scratch is easier than writing any >>> module for any framework. You don't have to study the api, just the rfcs. >>> >>> >>> On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus wrote: >>> >>>> If you are planning on writing in C, why aren't you writing a mod >>>> directly? >>>> >>>> -Avi >>>> >>>> On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" >>>> wrote: >>>> >>>> Just point mod_xml_curl to lighttpd web-server with fake cgi script @ >>>> config and dump all traffic with ngrep or tcpdump. >>>> >>>> >>>> >>>> 2012/10/21 Miha >>>> > >>>> > You should look in wiki. >>>> > >>>> > http://wiki.freeswitch.org/wiki... >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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://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://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://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 > > -- *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/20121022/ea7d4a29/attachment.html From rhuddleston at gmail.com Mon Oct 22 23:00:43 2012 From: rhuddleston at gmail.com (Robert) Date: Mon, 22 Oct 2012 15:00:43 -0400 Subject: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. In-Reply-To: <00dd01cdb051$2ecae1e0$8c60a5a0$@com> Message-ID: Giovanni ? I sent you an offline email.. If you think it best I should code a patch to handle calls ringing to Skype voicemail ? let me know ? as this would be a simple hack for the time being From: Mike Patterson Reply-To: FreeSWITCH Users Help Date: Mon, 22 Oct 2012 08:31:37 -0400 To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. I did open a Jira case. It was moved to Freeswitch. Thanks. Jeff Lenk assigned FS-4742 to Giovanni Maruzzelli mod_skypopen - when call routes to a skype voicemail there is no audio. Moved issue to proper project and reassigned to Giovanni Change By: Jeff Lenk (21/Oct/12 6:47 PM) Assignee: Michal Bielicki Giovanni Maruzzelli -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Giovanni Maruzzelli Sent: Monday, October 22, 2012 6:04 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_skypopen - when call routes to a skype voicemail there is no audio. Hi Mike, can you please open a Jira, attach all the relevant issue? http://wiki.freeswitch.org/wiki/Skypopen#How_To_Report_BUGS_and_Feature_Requ ests -giovanni On Sun, Oct 21, 2012 at 7:03 PM, Mike Patterson > wrote: > When using mod_skypopen we are able to route a call to the Skype user > and it works great if the user is online and picks up the call. > However, if the user allows the call to route to their Skype voice > mail, then we receive an error - VM_PLAYING_GREETING is not recognized. The entire debug is attached. > I have a complete debug if needed. Again, if the call is answered it > works fine. If the call is routed to Skype voicemail we have about a > minute of dead air, and then a fast busy. > > > > Using: > > ubuntu 11.10, FreeSWITCH Version 1.3.0+git~20120919T180633Z~d22e0caf15 > (1.3.0) > AMD Athlon(tm) II X3 425 Processor, 3 cores > > > > > > Log messages: > > > > 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:727 > [464155c|07bc7ba] [DEBUG_SKYPE 727 ][skype105 ][DIALING,UNPLACD] > skypopen/RR/skype105/mikec.patterson CHANNEL got SWITCH_SIG_BREAK > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:463 > (skypopen/RR/skype105/mikec.patterson) State ROUTING going to sleep > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:415 > (skypopen/RR/skype105/mikec.patterson) Running State Change > CS_CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 > (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] mod_skypopen.c:748 > [464155c|07bc7ba] [DEBUG_SKYPE 748 ][skype105 ][DIALING,UNPLACD] > skype105 CHANNEL CONSUME_MEDIA > > 2012-10-20 12:32:53.281306 [DEBUG] switch_core_state_machine.c:482 > (skypopen/RR/skype105/mikec.patterson) State CONSUME_MEDIA going to > sleep > > 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,UNPLACD] > READING: |||CALL 56 STATUS ROUTING||| > > 2012-10-20 12:32:53.341169 [DEBUG] skypopen_protocol.c:758 > [464155c|07bc7ba] [DEBUG_SKYPE 758 ][skype105 ][DIALING,ROUTING] > skype_call: 56 is now ROUTING > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TYPE OUTGOING||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 PARTNER_HANDLE mikec.patterson||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 PARTNER_DISPNAME Mike Patterson||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 ALLOWED_DURATION 600||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 SUBJECT ||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TIMESTAMP 1350736374||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 0||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS UNKNOWN||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_ALLOWED_DURATION 600||| > > 2012-10-20 12:32:54.921176 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 0||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS BLANK||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TYPE CUSTOM_GREETING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 PARTNER_HANDLE mikec.patterson||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 PARTNER_DISPNAME Mike Patterson||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 ALLOWED_DURATION 60||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 SUBJECT ||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TIMESTAMP 1350736375||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 DURATION 0||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS NOTDOWNLOADED||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS BUFFERING||| > > 2012-10-20 12:32:55.821160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 STATUS VM_PLAYING_GREETING||| > > 2012-10-20 12:32:55.821160 [WARNING] skypopen_protocol.c:837 > [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] > skype_call: 56, STATUS: VM_PLAYING_GREETING is not recognized > > 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 DURATION 6||| > > 2012-10-20 12:32:56.021190 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 TYPE DEFAULT_GREETING||| > > 2012-10-20 12:32:56.121217 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYING||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 59 STATUS PLAYED||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 TIMESTAMP 1350736382||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 STATUS RECORDING||| > > 2012-10-20 12:33:02.121165 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 STATUS VM_RECORDING||| > > 2012-10-20 12:33:02.121165 [WARNING] skypopen_protocol.c:837 > [464155c|07bc7ba] [WARNINGA 837 ][skype105 ][DIALING,ROUTING] > skype_call: 56, STATUS: VM_RECORDING is not recognized > > 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 1||| > > 2012-10-20 12:33:03.421160 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 1||| > > 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 2||| > > 2012-10-20 12:33:03.821173 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 2||| > > 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 3||| > > 2012-10-20 12:33:04.821174 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 3||| > > 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 4||| > > 2012-10-20 12:33:05.821172 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 4||| > > 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 5||| > > 2012-10-20 12:33:06.921168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 5||| > > 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 6||| > > 2012-10-20 12:33:07.821196 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 6||| > > 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 7||| > > 2012-10-20 12:33:08.821167 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 7||| > > 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 8||| > > 2012-10-20 12:33:09.821168 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 8||| > > 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 9||| > > 2012-10-20 12:33:10.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 9||| > > 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 10||| > > 2012-10-20 12:33:11.821166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 10||| > > 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||VOICEMAIL 58 DURATION 11||| > > 2012-10-20 12:33:12.921166 [DEBUG] skypopen_protocol.c:207 > [464155c|07bc7ba] [DEBUG_SKYPE 207 ][skype105 ][DIALING,ROUTING] > READING: |||CALL 56 VM_DURATION 11||| > > 2012-10-20 12:33:13.241213 [DEBUG] switch_core_session.c:969 Send > signal > sofia/internal/15405078003 at 38.100.174.200 [BREAK] > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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-use > rs > 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://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 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/20121022/cdfb270e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3996 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/cdfb270e/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 2998 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/cdfb270e/attachment-0003.png -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 369 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/cdfb270e/attachment-0001.gif From krice at freeswitch.org Mon Oct 22 23:18:12 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 22 Oct 2012 14:18:12 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: <770ee61c15afefb4447d5bd3c98816c6@mail.gmail.com> Message-ID: Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > ? > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0? 0x0000003c03c0e047 in fsync () from > /lib64/libpthread.so.0 > (gdb) bt > #0? 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1? 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2? 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 > #3? 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, > nTrunc=0) at ./src/pager.c:3770 > #4? 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5? 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6? 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7? 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8? sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9? 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > ??? at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > ??? at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > ??? at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > ????sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and > hostname='transcoder.red.net ';\ndelete from calls > where (call"..., retries=1) > ??? at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > ??? at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > ? > > De: Ricardo Martinez [mailto:rmartinez at redvoiss.net] > Enviado el: lunes, 22 de octubre de 2012 15:50 > Para: 'FreeSWITCH Users Help' > Asunto: RE: [Freeswitch-users] CPU Spikes every 20 minutes > ? > AS far as i can see there is no java running. > This is the top at the moment of the spike : > ? > top - 15:48:29 up 17 days, 14:55,? 3 users,? load average: 14.07, 8.87, 6.48 > Tasks: 158 total,?? 1 running, 157 sleeping,?? 0 stopped,?? 0 zombie > Cpu(s): 12.6%us,? 9.0%sy,? 0.0%ni, 66.1%id,? 2.7%wa,? 0.3%hi,? 9.2%si,? 0.0%st > Mem:?? 8171500k total,? 8041556k used,?? 129944k free,?? 177688k buffers > Swap: 10223608k total,??????? 0k used, 10223608k free,? 6951988k cached > ? > ? PID USER????? PR? NI? VIRT? RES? SHR S %CPU %MEM??? TIME+? > COMMAND?????????????????????????????????????????????????????? ????????? > 31772 root????? 15?? 0? 870m 481m 6880 S 212.4? 6.0?? 9523:51 > freeswitch??????????????????????????????????????????????????????????? > ?4210 root????? 19?? 0 36344 2940 1444 S? 1.0? 0.0? 56:21.08 > sngtc_server??????????????????????????????????????? ??????????????????? > 29586 root????? 15?? 0 12740 1132? 808 R? 0.3? 0.0?? 0:00.02 > top??????????????????????????????????????????????????????????????????? > ????1 root????? 15?? 0 10348? 704? 588 S? 0.0? 0.0?? 0:01.13 > init????????????????????????????????????? ????????????????????????????? > ????2 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.41 > migration/0??????????????????????????????????????????????????????????? > ????3 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/0???????????????????? ??????????????????????????????????????? > ????4 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/0???????????????????????????????????????????????????????????? > ????5 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.83 > migration/1?????????? ????????????????????????????????????????????????? > ????6 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/1??????????????????????????????????????????????????????????? > ????7 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 watchdog/1? > ??????????????????????????????????????????????????????????? > ????8 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.14 > migration/2??????????????????????????????????????????????????????????? > ????9 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/2??????????????????????????????????????????????????????????? > ???10 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/2???????????????????????????????????????????????????????????? > ???11 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/3??????????????????????????????????????????????????????????? > ???12 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/3??????????????????????????????????????????????????????????? > ???13 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/3???????????????????????????????????????????????????????????? > ???14 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/4??????????????????????????????????????????????????????????? > ???15 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/4??????????????????????????????????????????????????????????? > ???16 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/4???????????????????????????????????????????????????????????? > ???17 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/5??????????????????????????????????????????????????????????? > ???18 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/5?????????????????????????????????????????????????? ????????? > ???19 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/5???????????????????????????????????????????????????????????? > ???20 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/6??????? > ? > ? > Regards, > Ricardo.-?????????????????????? > ? > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Guillermo > Ruiz Camauer > Enviado el: lunes, 22 de octubre de 2012 15:38 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Do you have anything like Java running that could be doing garbage collection? > > ? > > What other processes are running on the machine? ?Does TOP show which process > is causing the spike? > > ? > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. ?So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: >> > The problem is that I'm having weird spikes of ?"load average" cpu >> > every 20 minutes (aprox), without any reason, reaching near of 12.5 of >> > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > ? -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/e4bb1554/attachment-0001.html From rmartinez at redvoiss.net Mon Oct 22 23:30:53 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 16:30:53 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <770ee61c15afefb4447d5bd3c98816c6@mail.gmail.com> Message-ID: Re: [Freeswitch-users] CPU Spikes every 20 minutes Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/856f86a7/attachment-0001.html From kenkellyturner at gmail.com Mon Oct 22 23:18:39 2012 From: kenkellyturner at gmail.com (Ken Kelly-Turner) Date: Mon, 22 Oct 2012 15:18:39 -0400 Subject: [Freeswitch-users] setting up basic call center using mod_fifo In-Reply-To: References: Message-ID: Hi Michael, I was playing around with the default dialplan, and the fifo queue built in seems to dial every agent logged to a queue simultaneously. I was just trying to find more control than that. I couldn't find in the wiki where it describe how to set up that behaviour (or possibly I just misunderstood it, i'm new to queuing, and freeswitch in general). I've started playing around with mod_callcenter and that seems to support a much larger variety of behaviour, so ot may be better suited for my purposes. And I was actually looking to be able to log a database of the actions performed by the agents as opposed to monitoring the events at runtime, again, mod_callcenter seems to have more of that functionality built in. There was another mail thread on here about someone trying to do something similar. You suggested mod_xml_cdr, so I'm looking into that as well. Thanks, Ken On Mon, Oct 22, 2012 at 2:54 PM, Michael Collins wrote: > Ken, > > Just curious - what kind of control are you hoping to have over the next > agent receiving the call? The general operation is that whoever has been > available the longest gets the next call. You can poll for information > about queues using the "fifo list" or "fifo list_verbose" API commands. > There are some events that get thrown but usually those have to do with > calls entering/exiting the queue and/or getting connected to agents. If you > want to see what those look like then set up a FIFO queue and then do this > from fs_cli: > > /log 0 > /events plain all > /filter Event-Name CUSTOM > > You'll see all custom events (including stuff from mod_conference) but I > kinda like that view. You can also do a filter like this: > > /filter Event-Subclass fifo::info > > That will narrow it down only to FIFO-related events. > > HTH, > MC > > On Thu, Oct 18, 2012 at 12:30 PM, Ken Kelly-Turner < > kenkellyturner at gmail.com> wrote: > >> Hi all, >> >> I'm trying to set up a very basic call center using mod_fifo and I was >> wondering if there was a way to control which agent the next call on the >> queue gets sent to as well as a way to monitor the behaviour of the each >> agent (tell when they've logged in/out, number of calls rejected, record >> calls etc.) >> >> Thanks, >> Ken >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121022/1cbc391a/attachment.html From grcamauer at gmail.com Mon Oct 22 23:35:05 2012 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Mon, 22 Oct 2012 16:35:05 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <770ee61c15afefb4447d5bd3c98816c6@mail.gmail.com> Message-ID: Try this out if is not already configured this way: http://wiki.freeswitch.org/index.php?title=FreeSWITCH_DB_In_RAMdrive&redirect=no Guillermo On Mon, Oct 22, 2012 at 4:30 PM, Ricardo Martinez wrote: > Hi Ken. > > Maybe that is the problem. I was sure that the ?load average? can?t go > more than #cores in your system. In my case I have 8 cores, so a ?load > average? of 12 is high from my point of view. Where did you get the number > 100 for this parameter? > > Anyway, what is running a sqlite in freeswitch. Does this have to do with > the core.db file? Or with the cdr_sqlite module?. > > > > Thanks > > Ricardo.- > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:18 > > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt > anything to really worry about. Due to the number of threads that?s > possible with FS (ie: 1 per call leg) its not unusual to see a box humming > along and the load avg well above 100 in my experience... This is due to > the number of threads waiting in the run queue when it was sampled... Now, > that?s not saying that this is not specifically indicative or a problem but > something else to think about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > > This is the gdb from the proccess consuming more cpu : > > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () > from /lib64/libpthread.so.0 > (gdb) bt > #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at > ./src/pager.c:2229 > #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, > zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 > #4 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' > transcoder.red.net ';\ndelete from calls > where (call"..., retries=1) > at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > > > *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] > > *Enviado el:* lunes, 22 de octubre de 2012 15:50 > *Para:* 'FreeSWITCH Users Help' > *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes > > AS far as i can see there is no java running. > This is the top at the moment of the spike : > > top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, > 6.48 > Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie > Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, > 0.0%st > Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers > Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 > freeswitch > 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 > sngtc_server > 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 > top > 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 > init > 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 > migration/0 > 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/0 > 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/0 > 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 > migration/1 > 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/1 > 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 > > 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 > migration/2 > 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/2 > 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/2 > 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/3 > 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/3 > 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/3 > 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/4 > 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/4 > 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/4 > 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/5 > 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/5 > 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/5 > 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/6 > > > Regards, > Ricardo.- > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Guillermo Ruiz Camauer > *Enviado el:* lunes, 22 de octubre de 2012 15:38 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Do you have anything like Java running that could be doing garbage > collection? > > > > What other processes are running on the machine? Does TOP show which > process is causing the spike? > > > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] > En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: > > The problem is that I'm having weird spikes of "load average" cpu > > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/64c6fda9/attachment-0001.html From rmartinez at redvoiss.net Mon Oct 22 23:40:55 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 16:40:55 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <770ee61c15afefb4447d5bd3c98816c6@mail.gmail.com> Message-ID: HI Guillero, I will try that and let you know the results. One final question, the link you gave me says : 1) In /etc/fstab, add a mountpoint and save. tmpfs /usr/local/freeswitch/ramdb tmpfs defaults 0 0 2) Make sure you also create the directory. mkdir /usr/local/freeswitch/ramdisk mount -a 3) Then, in freeswitch/conf/autoload_configs/switch.conf.xml uncomment core-db-name and set it to the path you created in fstab. 4) Restart FreeSWITCH The directory for the fstab file is : /usr/local/freeswitch/ramdb The directory to mount is : /usr/local/freeswitch/ramdisk Is this a typo error ? or it is ok? Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 16:35 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Try this out if is not already configured this way: http://wiki.freeswitch.org/index.php?title=FreeSWITCH_DB_In_RAMdrive&redirect=no Guillermo On Mon, Oct 22, 2012 at 4:30 PM, Ricardo Martinez wrote: Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/303c62c5/attachment-0001.html From krice at freeswitch.org Mon Oct 22 23:50:08 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 22 Oct 2012 14:50:08 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: Message-ID: Load Average is the number of threads/processes waiting in the kernel?s run queue at sample time... Supposedly number of cores is the how much your load avg can get to before your boxes is exhausted but this isnt exactly true on modern hardware with highly multi-threaded software like FreeSWITCH... Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see what the current load avg is... Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything in between.... When you type ?show channels? from fs_cli it doesn?t query the structures in RAM to show you that output, it pulls it from the sqlite db... That being said, you can test quickly to see if sqlite is hammering the disk at some point by shifting freeswitch/db dir to a ram drive. Example code for linux such as Centos or Debian assuming freeswitch is installed to /usr/local/freeswitch Shutdown freeswitch rm ?rf /usr/local/freeswitch/db/* mount ?t tmpfs tmpfs /usr/local/freeswitch/db Startup freeswitch Once you have done that stick it back in rotation... Note this will not affect anything but voicemail if you have voicemail running on that box and not using an external DB via mod_voicemail?s DSN settings you?ll lose the voicemail DB... (I would assume this is not the case since you are using this primarily as a Transcoder) K On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: > Hi Ken. > Maybe that is the problem.? I was sure that the ?load average? can?t go more > than #cores in your system.? In my case I have 8 cores, so a ?load average? of > 12 is high from my point of view.? Where did you get the number 100 for this > parameter? > Anyway, what is running a sqlite in freeswitch.? Does this have to do with the > core.db file? Or with the cdr_sqlite module?. > ? > Thanks > Ricardo.- > ? > > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Ken Rice > Enviado el: lunes, 22 de octubre de 2012 16:18 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt anything > to really worry about. Due to the number of threads that?s possible with FS > (ie: 1 per call leg) its not unusual to see a box humming along and the load > avg well above 100 in my experience... This is due to the number of threads > waiting in the run queue when it was sampled... Now, that?s not saying that > this is not specifically indicative or a problem but something else to think > about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > ? > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0? 0x0000003c03c0e047 in fsync () from > /lib64/libpthread.so.0 > (gdb) bt > #0? 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1? 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2? 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 > #3? 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, > nTrunc=0) at ./src/pager.c:3770 > #4? 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5? 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6? 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7? 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8? sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9? 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > ??? at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > ??? at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > ??? at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > ????sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and > hostname='transcoder.red.net > ';\ndelete from calls where (call"..., retries=1) > ??? at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > ??? at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > ? > > De: Ricardo Martinez [mailto:rmartinez at redvoiss.net] > Enviado el: lunes, 22 de octubre de 2012 15:50 > Para: 'FreeSWITCH Users Help' > Asunto: RE: [Freeswitch-users] CPU Spikes every 20 minutes > ? > AS far as i can see there is no java running. > This is the top at the moment of the spike : > ? > top - 15:48:29 up 17 days, 14:55,? 3 users,? load average: 14.07, 8.87, 6.48 > Tasks: 158 total,?? 1 running, 157 sleeping,?? 0 stopped,?? 0 zombie > Cpu(s): 12.6%us,? 9.0%sy,? 0.0%ni, 66.1%id,? 2.7%wa,? 0.3%hi,? 9.2%si,? 0.0%st > Mem:?? 8171500k total,? 8041556k used,?? 129944k free,?? 177688k buffers > Swap: 10223608k total,??????? 0k used, 10223608k free,? 6951988k cached > ? > ? PID USER????? PR? NI? VIRT? RES? SHR S %CPU %MEM??? TIME+? > COMMAND?????????????????????????????????????????????????????? ????????? > 31772 root????? 15?? 0? 870m 481m 6880 S 212.4? 6.0?? 9523:51 > freeswitch??????????????????????????????????????????????????????????? > ?4210 root????? 19?? 0 36344 2940 1444 S? 1.0? 0.0? 56:21.08 > sngtc_server??????????????????????????????????????? ??????????????????? > 29586 root????? 15?? 0 12740 1132? 808 R? 0.3? 0.0?? 0:00.02 > top??????????????????????????????????????????????????????????????????? > ????1 root????? 15?? 0 10348? 704? 588 S? 0.0? 0.0?? 0:01.13 > init????????????????????????????????????? ????????????????????????????? > ????2 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.41 > migration/0??????????????????????????????????????????????????????????? > ????3 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/0???????????????????? ??????????????????????????????????????? > ????4 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/0???????????????????????????????????????????????????????????? > ????5 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.83 > migration/1?????????? ????????????????????????????????????????????????? > ????6 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/1??????????????????????????????????????????????????????????? > ????7 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 watchdog/1? > ??????????????????????????????????????????????????????????? > ????8 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.14 > migration/2??????????????????????????????????????????????????????????? > ????9 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/2??????????????????????????????????????????????????????????? > ???10 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/2???????????????????????????????????????????????????????????? > ???11 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/3??????????????????????????????????????????????????????????? > ???12 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/3??????????????????????????????????????????????????????????? > ???13 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/3???????????????????????????????????????????????????????????? > ???14 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/4??????????????????????????????????????????????????????????? > ???15 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/4??????????????????????????????????????????????????????????? > ???16 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/4???????????????????????????????????????????????????????????? > ???17 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/5??????????????????????????????????????????????????????????? > ???18 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/5?????????????????????????????????????????????????? ????????? > ???19 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/5???????????????????????????????????????????????????????????? > ???20 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/6??????? > ? > ? > Regards, > Ricardo.-?????????????????????? > ? > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Guillermo > Ruiz Camauer > Enviado el: lunes, 22 de octubre de 2012 15:38 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Do you have anything like Java running that could be doing garbage collection? > > ? > > What other processes are running on the machine? ?Does TOP show which process > is causing the spike? > > ? > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. ?So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: >> > The problem is that I'm having weird spikes of ?"load average" cpu >> > every 20 minutes (aprox), without any reason, reaching near of 12.5 of >> > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > ? -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/3c6351f2/attachment-0001.html From marketing at cluecon.com Tue Oct 23 00:05:28 2012 From: marketing at cluecon.com (Michael Collins) Date: Mon, 22 Oct 2012 13:05:28 -0700 Subject: [Freeswitch-users] FreeSWITCH Weekly News and Notes Message-ID: Hello again! Another busy week in the land of FreeSWITCH. As you know we have been doing some work on the FreeSWITCH project's infrastructure. We are happy to report that this work is essentially complete. Thank you for your patience in this process. We've experienced intermittent outages but thanks to the efforts of Brian West and Raymond Chandler these have been kept to a minimum. We also thank Ken Rice for his hard work during this time. His knowledge and experience have been invaluable. Last week we had a very interesting discussionfrom Chad Engler about his nodesl library - a connector between node.js and ESL . Chad describes himself as a Web developer learning the telephony side of things. However, we were all impressed with how much knowledge he had with using ESL given the relatively short amount of time he's been working with it. This weekwe will be looking in on some Windows-centric ways of handling real-time data and related PBX items. The following week, on October 31, we will be hearing from our friends over at Redshift Networks. They will be giving us close-up look at some of the worldwide SIP attacks that are being perpetrated against FreeSWITCH and other IP telephony servers. On a personal note I would like to thank everyone who volunteered to be a technical reviewer of the new edition of the FreeSWITCH book. I was overwhelmed with just how many people who are willing to volunteer their time. Packt Publishing will be contacting those who've been selected for this important job. This is a great community and we are all glad to be a part of it. Take care and have a great week. -- Michael S Collins ClueCon Team http://www.cluecon.com 877-7-4ACLUE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/bf81d29d/attachment.html From luis.daniel.lucio at gmail.com Tue Oct 23 00:18:54 2012 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Mon, 22 Oct 2012 15:18:54 -0500 Subject: [Freeswitch-users] [CRIT] sofia_presence.c Message-ID: 2012-10-22 16:11:05.680467 [CRIT] sofia_presence.c:2424 WTF [snom821/8.4.20][full] what does this means? LD From anthony.minessale at gmail.com Tue Oct 23 00:25:41 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 22 Oct 2012 15:25:41 -0500 Subject: [Freeswitch-users] [CRIT] sofia_presence.c In-Reply-To: References: Message-ID: means you should update cos that line is not in the code anymore. On Mon, Oct 22, 2012 at 3:18 PM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > 2012-10-22 16:11:05.680467 [CRIT] sofia_presence.c:2424 WTF > [snom821/8.4.20][full] > > > what does this means? > > LD > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/fe3cc5b5/attachment.html From grcamauer at gmail.com Tue Oct 23 00:25:53 2012 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Mon, 22 Oct 2012 17:25:53 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <770ee61c15afefb4447d5bd3c98816c6@mail.gmail.com> Message-ID: I am on CentOS 6.3. in /etc/fstab I have: tmpfs /dev/shm tmpfs defaults 0 0 in freeswitch/conf/autoload_configs/switch.conf.xml I have: Guillermo On Mon, Oct 22, 2012 at 4:40 PM, Ricardo Martinez wrote: > HI Guillero, > > I will try that and let you know the results. > > One final question, the link you gave me says : > > > > 1) In /etc/fstab, add a mountpoint and save. > > tmpfs /usr/local/freeswitch/ramdb tmpfs defaults 0 0 > > 2) Make sure you also create the directory. > > mkdir /usr/local/freeswitch/ramdisk > > mount -a > > 3) Then, in freeswitch/conf/autoload_configs/switch.conf.xml uncomment > core-db-name and set it to the path you created in fstab. > > > > 4) Restart FreeSWITCH > > > > The directory for the fstab file is : > > /usr/local/freeswitch/ramdb > > > > The directory to mount is : > > /usr/local/freeswitch/ramdisk > > > > Is this a typo error ? or it is ok? > > > > Thanks > > Ricardo.- > > > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo > Ruiz Camauer > *Enviado el:* lunes, 22 de octubre de 2012 16:35 > > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > > Try this out if is not already configured this way: > http://wiki.freeswitch.org/index.php?title=FreeSWITCH_DB_In_RAMdrive&redirect=no > > > > Guillermo > > On Mon, Oct 22, 2012 at 4:30 PM, Ricardo Martinez > wrote: > > Hi Ken. > > Maybe that is the problem. I was sure that the ?load average? can?t go > more than #cores in your system. In my case I have 8 cores, so a ?load > average? of 12 is high from my point of view. Where did you get the number > 100 for this parameter? > > Anyway, what is running a sqlite in freeswitch. Does this have to do with > the core.db file? Or with the cdr_sqlite module?. > > > > Thanks > > Ricardo.- > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:18 > > > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt > anything to really worry about. Due to the number of threads that?s > possible with FS (ie: 1 per call leg) its not unusual to see a box humming > along and the load avg well above 100 in my experience... This is due to > the number of threads waiting in the run queue when it was sampled... Now, > that?s not saying that this is not specifically indicative or a problem but > something else to think about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > > This is the gdb from the proccess consuming more cpu : > > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () > from /lib64/libpthread.so.0 > (gdb) bt > #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at > ./src/pager.c:2229 > #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, > zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 > #4 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' > transcoder.red.net ';\ndelete from calls > where (call"..., retries=1) > at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > > > *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] > > *Enviado el:* lunes, 22 de octubre de 2012 15:50 > *Para:* 'FreeSWITCH Users Help' > *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes > > AS far as i can see there is no java running. > This is the top at the moment of the spike : > > top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, > 6.48 > Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie > Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, > 0.0%st > Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers > Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 > freeswitch > 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 > sngtc_server > 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 > top > 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 > init > 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 > migration/0 > 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/0 > 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/0 > 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 > migration/1 > 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/1 > 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 > > 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 > migration/2 > 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/2 > 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/2 > 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/3 > 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/3 > 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/3 > 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/4 > 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/4 > 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/4 > 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/5 > 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/5 > 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/5 > 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/6 > > > Regards, > Ricardo.- > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Guillermo Ruiz Camauer > *Enviado el:* lunes, 22 de octubre de 2012 15:38 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Do you have anything like Java running that could be doing garbage > collection? > > > > What other processes are running on the machine? Does TOP show which > process is causing the spike? > > > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] > En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: > > The problem is that I'm having weird spikes of "load average" cpu > > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > > -- > Guillermo Ruiz Camauer > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/187237f7/attachment-0001.html From rmartinez at redvoiss.net Tue Oct 23 00:33:15 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 17:33:15 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: Message-ID: <5f1da77806b7781e98d1221c01e4cff5@mail.gmail.com> Re: [Freeswitch-users] CPU Spikes every 20 minutes Hi Ken. I mounted the db directory in RAM as you mention, but the ?load average? still is high. You can see this here : Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 132G 8.6G 117G 7% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts /dev/cciss/c0d0p1 104M 20M 79M 21% /boot tmpfs 4.2G 0 4.2G 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db* This is a resume from uptime and total calls for my freeswitch : 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, 4.66 , Total Calls : 209, Total sessions: 440 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, 4.80 , Total Calls : 245, Total sessions: 510 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, 4.77 , Total Calls : 235, Total sessions: 488 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, 4.81 , Total Calls : 233, Total sessions: 484 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, 4.80 , Total Calls : 226, Total sessions: 470 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, 4.78 , Total Calls : 218, Total sessions: 454 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, 4.75 , Total Calls : 198, Total sessions: 416 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, 4.72 , Total Calls : 183, Total sessions: 384 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, 4.70 , Total Calls : 172, Total sessions: 366 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, 4.68 , Total Calls : 184, Total sessions: 388 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, 4.65 , Total Calls : 207, Total sessions: 442 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, 4.65 , Total Calls : 203, Total sessions: 436 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, 4.63 , Total Calls : 198, Total sessions: 418 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, 4.60 , Total Calls : 198, Total sessions: 422 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, 4.65 , Total Calls : 194, Total sessions: 410 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, 4.92 , Total Calls : 211, Total sessions: 450 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, 4.92 , Total Calls : 251, Total sessions: 536 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, 4.98 , Total Calls : 250, Total sessions: 530 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, 5.05 , Total Calls : 236, Total sessions: 496 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, 5.07 , Total Calls : 233, Total sessions: 492 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, 5.10 , Total Calls : 235, Total sessions: 496 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, 5.17 , Total Calls : 222, Total sessions: 466 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, 5.21 , Total Calls : 215, Total sessions: 452 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, 5.28 , Total Calls : 208, Total sessions: 430 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, 5.32 , Total Calls : 202, Total sessions: 422 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, 5.37 , Total Calls : 240, Total sessions: 500 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, 5.44 , Total Calls : 239, Total sessions: 498 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, 5.63 , Total Calls : 250, Total sessions: 516 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, 5.64 , Total Calls : 236, Total sessions: 490 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, 5.63 , Total Calls : 209, Total sessions: 436 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, 5.60 , Total Calls : 180, Total sessions: 372 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, 5.57 , Total Calls : 161, Total sessions: 342 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, 5.64 , Total Calls : 175, Total sessions: 370 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, 5.64 , Total Calls : 181, Total sessions: 382 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, 5.67 , Total Calls : 178, Total sessions: 366 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, 5.69 , Total Calls : 173, Total sessions: 358 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, 5.76 , Total Calls : 182, Total sessions: 378 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, 5.77 , Total Calls : 187, Total sessions: 386 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, 5.86 , Total Calls : 190, Total sessions: 402 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, 5.88 , Total Calls : 239, Total sessions: 496 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, 5.93 , Total Calls : 257, Total sessions: 532 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, 5.99 , Total Calls : 242, Total sessions: 506 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, 6.03 , Total Calls : 233, Total sessions: 482 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, 6.04 , Total Calls : 238, Total sessions: 492 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, 6.10 , Total Calls : 236, Total sessions: 482 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, 6.16 , Total Calls : 222, Total sessions: 458 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, 6.15 , Total Calls : 221, Total sessions: 470 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, 6.14 , Total Calls : 200, Total sessions: 422 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, 6.30 , Total Calls : 214, Total sessions: 452 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, 6.36 , Total Calls : 255, Total sessions: 536 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, 6.42 , Total Calls : 252, Total sessions: 524 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, 6.56 , Total Calls : 260, Total sessions: 536 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, 6.56 , Total Calls : 246, Total sessions: 508 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, 6.61 , Total Calls : 230, Total sessions: 478 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, 6.64 , Total Calls : 194, Total sessions: 408 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, 6.66 , Total Calls : 189, Total sessions: 396 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, 6.66 , Total Calls : 202, Total sessions: 438 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, 6.66 , Total Calls : 221, Total sessions: 470 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, 6.67 , Total Calls : 220, Total sessions: 478 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, 6.79 , Total Calls : 219, Total sessions: 480 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, 6.79 , Total Calls : 222, Total sessions: 490 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, 6.79 , Total Calls : 214, Total sessions: 470 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, 6.85 , Total Calls : 210, Total sessions: 450 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, 6.91 , Total Calls : 250, Total sessions: 524 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, 6.87 , Total Calls : 258, Total sessions: 536 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, 6.83 , Total Calls : 255, Total sessions: 528 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, 6.80 , Total Calls : 246, Total sessions: 524 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, 6.77 , Total Calls : 262, Total sessions: 564 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, 6.74 , Total Calls : 238, Total sessions: 510 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, 6.70 , Total Calls : 220, Total sessions: 476 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, 6.67 , Total Calls : 228, Total sessions: 498 What else could be happening. Did I mention that I?m using two transcoding cards from Sangoma? Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:50 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Load Average is the number of threads/processes waiting in the kernel?s run queue at sample time... Supposedly number of cores is the how much your load avg can get to before your boxes is exhausted but this isnt exactly true on modern hardware with highly multi-threaded software like FreeSWITCH... Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see what the current load avg is... Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything in between.... When you type ?show channels? from fs_cli it doesn?t query the structures in RAM to show you that output, it pulls it from the sqlite db... That being said, you can test quickly to see if sqlite is hammering the disk at some point by shifting freeswitch/db dir to a ram drive. Example code for linux such as Centos or Debian assuming freeswitch is installed to /usr/local/freeswitch Shutdown freeswitch rm ?rf /usr/local/freeswitch/db/* mount ?t tmpfs tmpfs /usr/local/freeswitch/db Startup freeswitch Once you have done that stick it back in rotation... Note this will not affect anything but voicemail if you have voicemail running on that box and not using an external DB via mod_voicemail?s DSN settings you?ll lose the voicemail DB... (I would assume this is not the case since you are using this primarily as a Transcoder) K On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/518eec0f/attachment-0001.html From krice at freeswitch.org Tue Oct 23 00:47:25 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 22 Oct 2012 15:47:25 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: <5f1da77806b7781e98d1221c01e4cff5@mail.gmail.com> Message-ID: How many concurrent calls are you doing on that box? On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: > Hi Ken. > I mounted the db directory in RAM as you mention, but the ?load average? still > is high. > You can see this here : > ? > Filesystem? ???????????Size?? Used? Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > ?????????????????????? 132G?? 8.6G?? 117G?? 7% / > proc????????????????????? 0????? 0????? 0?? -? /proc > sysfs???????????????????? 0????? 0????? 0?? -? /sys > devpts??????????????????? 0????? 0????? 0?? -? /dev/pts > /dev/cciss/c0d0p1????? 104M??? 20M??? 79M? 21% /boot > tmpfs????????????????? 4.2G????? 0?? 4.2G?? 0% /dev/shm > none????????????????????? 0????? 0????? 0?? -? /proc/sys/fs/binfmt_misc > sunrpc???????????? ???????0????? 0????? 0?? -? /var/lib/nfs/rpc_pipefs > tmpfs????????????????? 4.2G?? 1.3M?? 4.2G?? 1% /usr/local/freeswitch/db > ? > This is a resume from uptime and total calls for my freeswitch : > ? > 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, > 4.66 , Total Calls : 209, Total sessions: 440 > 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, > 4.80 , Total Calls : 245, Total sessions: 510 > 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, > 4.77 , Total Calls : 235, Total sessions: 488 > 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, > 4.81 , Total Calls : 233, Total sessions: 484 > 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, > 4.80 , Total Calls : 226, Total sessions: 470 > 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, > 4.78 , Total Calls : 218, Total sessions: 454 > 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, > 4.75 , Total Calls : 198, Total sessions: 416 > 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, > 4.72 , Total Calls : 183, Total sessions: 384 > 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, > 4.70 , Total Calls : 172, Total sessions: 366 > 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, > 4.68 , Total Calls : 184, Total sessions: 388 > 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, > 4.65 , Total Calls : 207, Total sessions: 442 > 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, > 4.65 , Total Calls : 203, Total sessions: 436 > 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, > 4.63 , Total Calls : 198, Total sessions: 418 > 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, > 4.60 , Total Calls : 198, Total sessions: 422 > 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, > 4.65 , Total Calls : 194, Total sessions: 410 > 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, > 4.92 , Total Calls : 211, Total sessions: 450 > 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, > 4.92 , Total Calls : 251, Total sessions: 536 > 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, > 4.98 , Total Calls : 250, Total sessions: 530 > 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, > 5.05 , Total Calls : 236, Total sessions: 496 > 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, > 5.07 , Total Calls : 233, Total sessions: 492 > 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, > 5.10 , Total Calls : 235, Total sessions: 496 > 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, > 5.17 , Total Calls : 222, Total sessions: 466 > 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, > 5.21 , Total Calls : 215, Total sessions: 452 > 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, > 5.28 , Total Calls : 208, Total sessions: 430 > 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, > 5.32 , Total Calls : 202, Total sessions: 422 > 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, > 5.37 , Total Calls : 240, Total sessions: 500 > 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, > 5.44 , Total Calls : 239, Total sessions: 498 > 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, > 5.63 , Total Calls : 250, Total sessions: 516 > 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, > 5.64 , Total Calls : 236, Total sessions: 490 > 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, > 5.63 , Total Calls : 209, Total sessions: 436 > 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, > 5.60 , Total Calls : 180, Total sessions: 372 > 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, > 5.57 , Total Calls : 161, Total sessions: 342 > 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, > 5.64 , Total Calls : 175, Total sessions: 370 > 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, > 5.64 , Total Calls : 181, Total sessions: 382 > 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, > 5.67 , Total Calls : 178, Total sessions: 366 > 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, > 5.69 , Total Calls : 173, Total sessions: 358 > 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, > 5.76 , Total Calls : 182, Total sessions: 378 > 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, > 5.77 , Total Calls : 187, Total sessions: 386 > 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, > 5.86 , Total Calls : 190, Total sessions: 402 > 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, > 5.88 , Total Calls : 239, Total sessions: 496 > 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, > 5.93 , Total Calls : 257, Total sessions: 532 > 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, > 5.99 , Total Calls : 242, Total sessions: 506 > 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, > 6.03 , Total Calls : 233, Total sessions: 482 > 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, > 6.04 , Total Calls : 238, Total sessions: 492 > 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, > 6.10 , Total Calls : 236, Total sessions: 482 > 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, > 6.16 , Total Calls : 222, Total sessions: 458 > 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, > 6.15 , Total Calls : 221, Total sessions: 470 > 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, > 6.14 , Total Calls : 200, Total sessions: 422 > 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, > 6.30 , Total Calls : 214, Total sessions: 452 > 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, > 6.36 , Total Calls : 255, Total sessions: 536 > 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, > 6.42 , Total Calls : 252, Total sessions: 524 > 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, > 6.56 , Total Calls : 260, Total sessions: 536 > 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, > 6.56 , Total Calls : 246, Total sessions: 508 > 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, > 6.61 , Total Calls : 230, Total sessions: 478 > 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, > 6.64 , Total Calls : 194, Total sessions: 408 > 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, > 6.66 , Total Calls : 189, Total sessions: 396 > 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, > 6.66 , Total Calls : 202, Total sessions: 438 > 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, > 6.66 , Total Calls : 221, Total sessions: 470 > 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, > 6.67 , Total Calls : 220, Total sessions: 478 > 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, > 6.79 , Total Calls : 219, Total sessions: 480 > 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, > 6.79 , Total Calls : 222, Total sessions: 490 > 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, > 6.79 , Total Calls : 214, Total sessions: 470 > 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, > 6.85 , Total Calls : 210, Total sessions: 450 > 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, > 6.91 , Total Calls : 250, Total sessions: 524 > 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, > 6.87 , Total Calls : 258, Total sessions: 536 > 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, > 6.83 , Total Calls : 255, Total sessions: 528 > 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, > 6.80 , Total Calls : 246, Total sessions: 524 > 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, > 6.77 , Total Calls : 262, Total sessions: 564 > 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, > 6.74 , Total Calls : 238, Total sessions: 510 > 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, > 6.70 , Total Calls : 220, Total sessions: 476 > 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, > 6.67 , Total Calls : 228, Total sessions: 498 > ? > What else could be happening. > Did I mention that I?m using two transcoding cards from Sangoma? > ? > Regards, > Ricardo.- > ? > ? > ? > > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Ken Rice > Enviado el: lunes, 22 de octubre de 2012 16:50 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Load Average is the number of threads/processes waiting in the kernel?s run > queue at sample time... Supposedly number of cores is the how much your load > avg can get to before your boxes is exhausted but this isnt exactly true on > modern hardware with highly multi-threaded software like FreeSWITCH... > > Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see > what the current load avg is... > > Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything > in between.... When you type ?show channels? from fs_cli it doesn?t query the > structures in RAM to show you that output, it pulls it from the sqlite db... > > That being said, you can test quickly to see if sqlite is hammering the disk > at some point by shifting freeswitch/db dir to a ram drive. > Example code for linux such as Centos or Debian assuming freeswitch is > installed to /usr/local/freeswitch > > Shutdown freeswitch > rm ?rf /usr/local/freeswitch/db/* > mount ?t tmpfs tmpfs /usr/local/freeswitch/db > Startup freeswitch > > Once you have done that stick it back in rotation... > > Note this will not affect anything but voicemail if you have voicemail running > on that box and not using an external DB via mod_voicemail?s DSN settings > you?ll lose the voicemail DB... (I would assume this is not the case since you > are using this primarily as a Transcoder) > > K > > > On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: > Hi Ken. > Maybe that is the problem.? I was sure that the ?load average? can?t go more > than #cores in your system.? In my case I have 8 cores, so a ?load average? of > 12 is high from my point of view.? Where did you get the number 100 for this > parameter? > Anyway, what is running a sqlite in freeswitch.? Does this have to do with the > core.db file? Or with the cdr_sqlite module?. > ? > Thanks > Ricardo.- > ? > > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Ken Rice > Enviado el: lunes, 22 de octubre de 2012 16:18 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt anything > to really worry about. Due to the number of threads that?s possible with FS > (ie: 1 per call leg) its not unusual to see a box humming along and the load > avg well above 100 in my experience... This is due to the number of threads > waiting in the run queue when it was sampled... Now, that?s not saying that > this is not specifically indicative or a problem but something else to think > about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > ? > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0? 0x0000003c03c0e047 in fsync () from > /lib64/libpthread.so.0 > (gdb) bt > #0? 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1? 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2? 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 > #3? 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, > nTrunc=0) at ./src/pager.c:3770 > #4? 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5? 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6? 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7? 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8? sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9? 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > ??? at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > ??? at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > ??? at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > ????sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and > hostname='transcoder.red.net > ? ';\ndelete from calls > where (call"..., retries=1) > ??? at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > ??? at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > ? > > De: Ricardo Martinez [mailto:rmartinez at redvoiss.net] > Enviado el: lunes, 22 de octubre de 2012 15:50 > Para: 'FreeSWITCH Users Help' > Asunto: RE: [Freeswitch-users] CPU Spikes every 20 minutes > ? > AS far as i can see there is no java running. > This is the top at the moment of the spike : > ? > top - 15:48:29 up 17 days, 14:55,? 3 users,? load average: 14.07, 8.87, 6.48 > Tasks: 158 total,?? 1 running, 157 sleeping,?? 0 stopped,?? 0 zombie > Cpu(s): 12.6%us,? 9.0%sy,? 0.0%ni, 66.1%id,? 2.7%wa,? 0.3%hi,? 9.2%si,? 0.0%st > Mem:?? 8171500k total,? 8041556k used,?? 129944k free,?? 177688k buffers > Swap: 10223608k total,??????? 0k used, 10223608k free,? 6951988k cached > ? > ? PID USER????? PR? NI? VIRT? RES? SHR S %CPU %MEM??? TIME+? > COMMAND?????????????????????????????????????????????????????? ????????? > 31772 root????? 15?? 0? 870m 481m 6880 S 212.4? 6.0?? 9523:51 > freeswitch??????????????????????????????????????????????????????????? > ?4210 root????? 19?? 0 36344 2940 1444 S? 1.0? 0.0? 56:21.08 > sngtc_server??????????????????????????????????????? ??????????????????? > 29586 root????? 15?? 0 12740 1132? 808 R? 0.3? 0.0?? 0:00.02 > top??????????????????????????????????????????????????????????????????? > ????1 root????? 15?? 0 10348? 704? 588 S? 0.0? 0.0?? 0:01.13 > init????????????????????????????????????? ????????????????????????????? > ????2 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.41 > migration/0??????????????????????????????????????????????????????????? > ????3 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/0???????????????????? ??????????????????????????????????????? > ????4 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/0???????????????????????????????????????????????????????????? > ????5 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.83 > migration/1?????????? ????????????????????????????????????????????????? > ????6 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/1??????????????????????????????????????????????????????????? > ????7 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 watchdog/1? > ??????????????????????????????????????????????????????????? > ????8 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.14 > migration/2??????????????????????????????????????????????????????????? > ????9 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/2??????????????????????????????????????????????????????????? > ???10 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/2???????????????????????????????????????????????????????????? > ???11 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/3??????????????????????????????????????????????????????????? > ???12 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/3??????????????????????????????????????????????????????????? > ???13 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/3???????????????????????????????????????????????????????????? > ???14 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/4??????????????????????????????????????????????????????????? > ???15 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/4??????????????????????????????????????????????????????????? > ???16 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/4???????????????????????????????????????????????????????????? > ???17 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/5??????????????????????????????????????????????????????????? > ???18 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/5?????????????????????????????????????????????????? ????????? > ???19 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/5???????????????????????????????????????????????????????????? > ???20 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/6??????? > ? > ? > Regards, > Ricardo.-?????????????????????? > ? > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Guillermo > Ruiz Camauer > Enviado el: lunes, 22 de octubre de 2012 15:38 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Do you have anything like Java running that could be doing garbage collection? > > ? > > What other processes are running on the machine? ?Does TOP show which process > is causing the spike? > > ? > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. ?So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: >> > The problem is that I'm having weird spikes of ?"load average" cpu >> > every 20 minutes (aprox), without any reason, reaching near of 12.5 of >> > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > ? -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/6c7868cb/attachment-0001.html From rmartinez at redvoiss.net Tue Oct 23 00:53:52 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Mon, 22 Oct 2012 17:53:52 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <5f1da77806b7781e98d1221c01e4cff5@mail.gmail.com> Message-ID: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Re: [Freeswitch-users] CPU Spikes every 20 minutes Ken. There is an average of 220 concurrent calls. Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. Centos 5.5 64bits Ricarod.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 17:47 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes How many concurrent calls are you doing on that box? On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: Hi Ken. I mounted the db directory in RAM as you mention, but the ?load average? still is high. You can see this here : Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 132G 8.6G 117G 7% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts /dev/cciss/c0d0p1 104M 20M 79M 21% /boot tmpfs 4.2G 0 4.2G 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db * This is a resume from uptime and total calls for my freeswitch : 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, 4.66 , Total Calls : 209, Total sessions: 440 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, 4.80 , Total Calls : 245, Total sessions: 510 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, 4.77 , Total Calls : 235, Total sessions: 488 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, 4.81 , Total Calls : 233, Total sessions: 484 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, 4.80 , Total Calls : 226, Total sessions: 470 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, 4.78 , Total Calls : 218, Total sessions: 454 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, 4.75 , Total Calls : 198, Total sessions: 416 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, 4.72 , Total Calls : 183, Total sessions: 384 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, 4.70 , Total Calls : 172, Total sessions: 366 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, 4.68 , Total Calls : 184, Total sessions: 388 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, 4.65 , Total Calls : 207, Total sessions: 442 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, 4.65 , Total Calls : 203, Total sessions: 436 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, 4.63 , Total Calls : 198, Total sessions: 418 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, 4.60 , Total Calls : 198, Total sessions: 422 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, 4.65 , Total Calls : 194, Total sessions: 410 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, 4.92 , Total Calls : 211, Total sessions: 450 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, 4.92 , Total Calls : 251, Total sessions: 536 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, 4.98 , Total Calls : 250, Total sessions: 530 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, 5.05 , Total Calls : 236, Total sessions: 496 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, 5.07 , Total Calls : 233, Total sessions: 492 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, 5.10 , Total Calls : 235, Total sessions: 496 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, 5.17 , Total Calls : 222, Total sessions: 466 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, 5.21 , Total Calls : 215, Total sessions: 452 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, 5.28 , Total Calls : 208, Total sessions: 430 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, 5.32 , Total Calls : 202, Total sessions: 422 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, 5.37 , Total Calls : 240, Total sessions: 500 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, 5.44 , Total Calls : 239, Total sessions: 498 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, 5.63 , Total Calls : 250, Total sessions: 516 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, 5.64 , Total Calls : 236, Total sessions: 490 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, 5.63 , Total Calls : 209, Total sessions: 436 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, 5.60 , Total Calls : 180, Total sessions: 372 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, 5.57 , Total Calls : 161, Total sessions: 342 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, 5.64 , Total Calls : 175, Total sessions: 370 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, 5.64 , Total Calls : 181, Total sessions: 382 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, 5.67 , Total Calls : 178, Total sessions: 366 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, 5.69 , Total Calls : 173, Total sessions: 358 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, 5.76 , Total Calls : 182, Total sessions: 378 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, 5.77 , Total Calls : 187, Total sessions: 386 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, 5.86 , Total Calls : 190, Total sessions: 402 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, 5.88 , Total Calls : 239, Total sessions: 496 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, 5.93 , Total Calls : 257, Total sessions: 532 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, 5.99 , Total Calls : 242, Total sessions: 506 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, 6.03 , Total Calls : 233, Total sessions: 482 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, 6.04 , Total Calls : 238, Total sessions: 492 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, 6.10 , Total Calls : 236, Total sessions: 482 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, 6.16 , Total Calls : 222, Total sessions: 458 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, 6.15 , Total Calls : 221, Total sessions: 470 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, 6.14 , Total Calls : 200, Total sessions: 422 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, 6.30 , Total Calls : 214, Total sessions: 452 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, 6.36 , Total Calls : 255, Total sessions: 536 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, 6.42 , Total Calls : 252, Total sessions: 524 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, 6.56 , Total Calls : 260, Total sessions: 536 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, 6.56 , Total Calls : 246, Total sessions: 508 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, 6.61 , Total Calls : 230, Total sessions: 478 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, 6.64 , Total Calls : 194, Total sessions: 408 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, 6.66 , Total Calls : 189, Total sessions: 396 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, 6.66 , Total Calls : 202, Total sessions: 438 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, 6.66 , Total Calls : 221, Total sessions: 470 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, 6.67 , Total Calls : 220, Total sessions: 478 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, 6.79 , Total Calls : 219, Total sessions: 480 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, 6.79 , Total Calls : 222, Total sessions: 490 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, 6.79 , Total Calls : 214, Total sessions: 470 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, 6.85 , Total Calls : 210, Total sessions: 450 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, 6.91 , Total Calls : 250, Total sessions: 524 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, 6.87 , Total Calls : 258, Total sessions: 536 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, 6.83 , Total Calls : 255, Total sessions: 528 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, 6.80 , Total Calls : 246, Total sessions: 524 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, 6.77 , Total Calls : 262, Total sessions: 564 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, 6.74 , Total Calls : 238, Total sessions: 510 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, 6.70 , Total Calls : 220, Total sessions: 476 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, 6.67 , Total Calls : 228, Total sessions: 498 What else could be happening. Did I mention that I?m using two transcoding cards from Sangoma? Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:50 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Load Average is the number of threads/processes waiting in the kernel?s run queue at sample time... Supposedly number of cores is the how much your load avg can get to before your boxes is exhausted but this isnt exactly true on modern hardware with highly multi-threaded software like FreeSWITCH... Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see what the current load avg is... Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything in between.... When you type ?show channels? from fs_cli it doesn?t query the structures in RAM to show you that output, it pulls it from the sqlite db... That being said, you can test quickly to see if sqlite is hammering the disk at some point by shifting freeswitch/db dir to a ram drive. Example code for linux such as Centos or Debian assuming freeswitch is installed to /usr/local/freeswitch Shutdown freeswitch rm ?rf /usr/local/freeswitch/db/* mount ?t tmpfs tmpfs /usr/local/freeswitch/db Startup freeswitch Once you have done that stick it back in rotation... Note this will not affect anything but voicemail if you have voicemail running on that box and not using an external DB via mod_voicemail?s DSN settings you?ll lose the voicemail DB... (I would assume this is not the case since you are using this primarily as a Transcoder) K On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/dd17f8bb/attachment-0001.html From gabe at gundy.org Tue Oct 23 01:04:16 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 22 Oct 2012 15:04:16 -0600 Subject: [Freeswitch-users] [Freeswitch-dev] FreeSWITCH Weekly News and Notes In-Reply-To: References: Message-ID: On Mon, Oct 22, 2012 at 2:05 PM, Michael Collins wrote: > The following week, on October 31, we will be hearing from our friends over > at Redshift Networks. They will be giving us close-up look at some of the > worldwide SIP attacks that are being perpetrated against FreeSWITCH and > other IP telephony servers. Are there attacks in the wild that are specifically targeting FreeSWITCH? Something more than the typical friendly-scanner? Gabe From mrsanna1 at gmail.com Tue Oct 23 01:08:16 2012 From: mrsanna1 at gmail.com (Mauro) Date: Mon, 22 Oct 2012 23:08:16 +0200 Subject: [Freeswitch-users] debian repositories and gpg key no longer valid. Message-ID: Hello. I want to install freeswitch on my debian squeeze. I've put deb http://files.freeswitch.org/repo/deb/debian/ squeeze main in my soiurces.list, like said in http://wiki.freeswitch.org/wiki/Installation_Guide. Then I did update apt-get. curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - apt-get update. I've a gpg error it said that the key is not valid. Where can I put a valid key? Thank you. From krice at freeswitch.org Tue Oct 23 01:59:45 2012 From: krice at freeswitch.org (Ken Rice) Date: Mon, 22 Oct 2012 16:59:45 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Message-ID: Keeping in mind that you are using a sangoma transcoder board, that means you are handling the equivalent of 440 concurrent calls worth of media for people not using sangoma transcoding hardware (yes theres 4 call legs in that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From D100 back to FS, 1 from FS back out to the other end point). That doesn?t sound like that big of a problem... You will have a fair bit of network traffic that way (the D100 shows up as another network interface as you are probably aware)... I would be looking at something like iotop or something else to see where that load is coming from Also, you have plenty of CPU free... So there is either a real problem here, or this is one of those things where the number of threads handling RTP and SIP are hanging around the run queue long enough to show up in the load average... On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: > Ken. > There is an average of ?220 concurrent calls. > Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. > Centos 5.5 64bits > ? > Ricarod.- > ? > > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Ken Rice > Enviado el: lunes, 22 de octubre de 2012 17:47 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > How many concurrent calls are you doing on that box? > > > On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: > Hi Ken. > I mounted the db directory in RAM as you mention, but the ?load average? still > is high. > You can see this here : > ? > Filesystem? ???????????Size?? Used? Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > ?????????????????????? 132G?? 8.6G?? 117G?? 7% / > proc????????????????????? 0????? 0????? 0?? -? /proc > sysfs???????????????????? 0????? 0????? 0?? -? /sys > devpts??????????????????? 0????? 0????? 0?? -? /dev/pts > /dev/cciss/c0d0p1????? 104M??? 20M??? 79M? 21% /boot > tmpfs????????????????? 4.2G????? 0?? 4.2G?? 0% /dev/shm > none????????????????????? 0????? 0????? 0?? -? /proc/sys/fs/binfmt_misc > sunrpc???????????? ???????0????? 0????? 0?? -? /var/lib/nfs/rpc_pipefs > tmpfs????????????????? 4.2G?? 1.3M?? 4.2G?? 1% /usr/local/freeswitch/db > ? > This is a resume from uptime and total calls for my freeswitch : > ? > 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, > 4.66 , Total Calls : 209, Total sessions: 440 > 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, > 4.80 , Total Calls : 245, Total sessions: 510 > 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, > 4.77 , Total Calls : 235, Total sessions: 488 > 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, > 4.81 , Total Calls : 233, Total sessions: 484 > 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, > 4.80 , Total Calls : 226, Total sessions: 470 > 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, > 4.78 , Total Calls : 218, Total sessions: 454 > 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, > 4.75 , Total Calls : 198, Total sessions: 416 > 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, > 4.72 , Total Calls : 183, Total sessions: 384 > 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, > 4.70 , Total Calls : 172, Total sessions: 366 > 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, > 4.68 , Total Calls : 184, Total sessions: 388 > 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, > 4.65 , Total Calls : 207, Total sessions: 442 > 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, > 4.65 , Total Calls : 203, Total sessions: 436 > 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, > 4.63 , Total Calls : 198, Total sessions: 418 > 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, > 4.60 , Total Calls : 198, Total sessions: 422 > 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, > 4.65 , Total Calls : 194, Total sessions: 410 > 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, > 4.92 , Total Calls : 211, Total sessions: 450 > 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, > 4.92 , Total Calls : 251, Total sessions: 536 > 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, > 4.98 , Total Calls : 250, Total sessions: 530 > 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, > 5.05 , Total Calls : 236, Total sessions: 496 > 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, > 5.07 , Total Calls : 233, Total sessions: 492 > 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, > 5.10 , Total Calls : 235, Total sessions: 496 > 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, > 5.17 , Total Calls : 222, Total sessions: 466 > 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, > 5.21 , Total Calls : 215, Total sessions: 452 > 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, > 5.28 , Total Calls : 208, Total sessions: 430 > 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, > 5.32 , Total Calls : 202, Total sessions: 422 > 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, > 5.37 , Total Calls : 240, Total sessions: 500 > 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, > 5.44 , Total Calls : 239, Total sessions: 498 > 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, > 5.63 , Total Calls : 250, Total sessions: 516 > 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, > 5.64 , Total Calls : 236, Total sessions: 490 > 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, > 5.63 , Total Calls : 209, Total sessions: 436 > 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, > 5.60 , Total Calls : 180, Total sessions: 372 > 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, > 5.57 , Total Calls : 161, Total sessions: 342 > 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, > 5.64 , Total Calls : 175, Total sessions: 370 > 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, > 5.64 , Total Calls : 181, Total sessions: 382 > 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, > 5.67 , Total Calls : 178, Total sessions: 366 > 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, > 5.69 , Total Calls : 173, Total sessions: 358 > 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, > 5.76 , Total Calls : 182, Total sessions: 378 > 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, > 5.77 , Total Calls : 187, Total sessions: 386 > 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, > 5.86 , Total Calls : 190, Total sessions: 402 > 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, > 5.88 , Total Calls : 239, Total sessions: 496 > 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, > 5.93 , Total Calls : 257, Total sessions: 532 > 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, > 5.99 , Total Calls : 242, Total sessions: 506 > 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, > 6.03 , Total Calls : 233, Total sessions: 482 > 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, > 6.04 , Total Calls : 238, Total sessions: 492 > 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, > 6.10 , Total Calls : 236, Total sessions: 482 > 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, > 6.16 , Total Calls : 222, Total sessions: 458 > 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, > 6.15 , Total Calls : 221, Total sessions: 470 > 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, > 6.14 , Total Calls : 200, Total sessions: 422 > 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, > 6.30 , Total Calls : 214, Total sessions: 452 > 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, > 6.36 , Total Calls : 255, Total sessions: 536 > 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, > 6.42 , Total Calls : 252, Total sessions: 524 > 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, > 6.56 , Total Calls : 260, Total sessions: 536 > 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, > 6.56 , Total Calls : 246, Total sessions: 508 > 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, > 6.61 , Total Calls : 230, Total sessions: 478 > 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, > 6.64 , Total Calls : 194, Total sessions: 408 > 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, > 6.66 , Total Calls : 189, Total sessions: 396 > 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, > 6.66 , Total Calls : 202, Total sessions: 438 > 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, > 6.66 , Total Calls : 221, Total sessions: 470 > 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, > 6.67 , Total Calls : 220, Total sessions: 478 > 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, > 6.79 , Total Calls : 219, Total sessions: 480 > 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, > 6.79 , Total Calls : 222, Total sessions: 490 > 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, > 6.79 , Total Calls : 214, Total sessions: 470 > 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, > 6.85 , Total Calls : 210, Total sessions: 450 > 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, > 6.91 , Total Calls : 250, Total sessions: 524 > 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, > 6.87 , Total Calls : 258, Total sessions: 536 > 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, > 6.83 , Total Calls : 255, Total sessions: 528 > 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, > 6.80 , Total Calls : 246, Total sessions: 524 > 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, > 6.77 , Total Calls : 262, Total sessions: 564 > 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, > 6.74 , Total Calls : 238, Total sessions: 510 > 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, > 6.70 , Total Calls : 220, Total sessions: 476 > 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, > 6.67 , Total Calls : 228, Total sessions: 498 > ? > What else could be happening. > Did I mention that I?m using two transcoding cards from Sangoma? > ? > Regards, > Ricardo.- > ? > ? > ? > > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Ken Rice > Enviado el: lunes, 22 de octubre de 2012 16:50 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Load Average is the number of threads/processes waiting in the kernel?s run > queue at sample time... Supposedly number of cores is the how much your load > avg can get to before your boxes is exhausted but this isnt exactly true on > modern hardware with highly multi-threaded software like FreeSWITCH... > > Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see > what the current load avg is... > > Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything > in between.... When you type ?show channels? from fs_cli it doesn?t query the > structures in RAM to show you that output, it pulls it from the sqlite db... > > That being said, you can test quickly to see if sqlite is hammering the disk > at some point by shifting freeswitch/db dir to a ram drive. > Example code for linux such as Centos or Debian assuming freeswitch is > installed to /usr/local/freeswitch > > Shutdown freeswitch > rm ?rf /usr/local/freeswitch/db/* > mount ?t tmpfs tmpfs /usr/local/freeswitch/db > Startup freeswitch > > Once you have done that stick it back in rotation... > > Note this will not affect anything but voicemail if you have voicemail running > on that box and not using an external DB via mod_voicemail?s DSN settings > you?ll lose the voicemail DB... (I would assume this is not the case since you > are using this primarily as a Transcoder) > > K > > > On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: > Hi Ken. > Maybe that is the problem.? I was sure that the ?load average? can?t go more > than #cores in your system.? In my case I have 8 cores, so a ?load average? of > 12 is high from my point of view.? Where did you get the number 100 for this > parameter? > Anyway, what is running a sqlite in freeswitch.? Does this have to do with the > core.db file? Or with the cdr_sqlite module?. > ? > Thanks > Ricardo.- > ? > > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Ken Rice > Enviado el: lunes, 22 de octubre de 2012 16:18 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt anything > to really worry about. Due to the number of threads that?s possible with FS > (ie: 1 per call leg) its not unusual to see a box humming along and the load > avg well above 100 in my experience... This is due to the number of threads > waiting in the run queue when it was sampled... Now, that?s not saying that > this is not specifically indicative or a problem but something else to think > about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > ? > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0? 0x0000003c03c0e047 in fsync () from > /lib64/libpthread.so.0 > (gdb) bt > #0? 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1? 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2? 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 > #3? 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, > nTrunc=0) at ./src/pager.c:3770 > #4? 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5? 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6? 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7? 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8? sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9? 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > ??? at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > ??? at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > ??? at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > ????sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and > hostname='transcoder.red.net > ? > ? ';\ndelete from calls where (call"..., retries=1) > ??? at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > ??? at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > ? > > De: Ricardo Martinez [mailto:rmartinez at redvoiss.net] > Enviado el: lunes, 22 de octubre de 2012 15:50 > Para: 'FreeSWITCH Users Help' > Asunto: RE: [Freeswitch-users] CPU Spikes every 20 minutes > ? > AS far as i can see there is no java running. > This is the top at the moment of the spike : > ? > top - 15:48:29 up 17 days, 14:55,? 3 users,? load average: 14.07, 8.87, 6.48 > Tasks: 158 total,?? 1 running, 157 sleeping,?? 0 stopped,?? 0 zombie > Cpu(s): 12.6%us,? 9.0%sy,? 0.0%ni, 66.1%id,? 2.7%wa,? 0.3%hi,? 9.2%si,? 0.0%st > Mem:?? 8171500k total,? 8041556k used,?? 129944k free,?? 177688k buffers > Swap: 10223608k total,??????? 0k used, 10223608k free,? 6951988k cached > ? > ? PID USER????? PR? NI? VIRT? RES? SHR S %CPU %MEM??? TIME+? > COMMAND?????????????????????????????????????????????????????? ????????? > 31772 root????? 15?? 0? 870m 481m 6880 S 212.4? 6.0?? 9523:51 > freeswitch??????????????????????????????????????????????????????????? > ?4210 root????? 19?? 0 36344 2940 1444 S? 1.0? 0.0? 56:21.08 > sngtc_server??????????????????????????????????????? ??????????????????? > 29586 root????? 15?? 0 12740 1132? 808 R? 0.3? 0.0?? 0:00.02 > top??????????????????????????????????????????????????????????????????? > ????1 root????? 15?? 0 10348? 704? 588 S? 0.0? 0.0?? 0:01.13 > init????????????????????????????????????? ????????????????????????????? > ????2 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.41 > migration/0??????????????????????????????????????????????????????????? > ????3 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/0???????????????????? ??????????????????????????????????????? > ????4 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/0???????????????????????????????????????????????????????????? > ????5 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.83 > migration/1?????????? ????????????????????????????????????????????????? > ????6 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/1??????????????????????????????????????????????????????????? > ????7 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 watchdog/1? > ??????????????????????????????????????????????????????????? > ????8 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.14 > migration/2??????????????????????????????????????????????????????????? > ????9 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/2??????????????????????????????????????????????????????????? > ???10 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/2???????????????????????????????????????????????????????????? > ???11 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/3??????????????????????????????????????????????????????????? > ???12 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/3??????????????????????????????????????????????????????????? > ???13 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/3???????????????????????????????????????????????????????????? > ???14 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/4??????????????????????????????????????????????????????????? > ???15 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/4??????????????????????????????????????????????????????????? > ???16 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/4???????????????????????????????????????????????????????????? > ???17 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.06 > migration/5??????????????????????????????????????????????????????????? > ???18 root????? 34? 19???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > ksoftirqd/5?????????????????????????????????????????????????? ????????? > ???19 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.00 > watchdog/5???????????????????????????????????????????????????????????? > ???20 root????? RT? -5???? 0??? 0??? 0 S? 0.0? 0.0?? 0:00.07 > migration/6??????? > ? > ? > Regards, > Ricardo.-?????????????????????? > ? > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Guillermo > Ruiz Camauer > Enviado el: lunes, 22 de octubre de 2012 15:38 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > ? > Do you have anything like Java running that could be doing garbage collection? > > ? > > What other processes are running on the machine? ?Does TOP show which process > is causing the spike? > > ? > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. ?So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: >> > The problem is that I'm having weird spikes of ?"load average" cpu >> > every 20 minutes (aprox), without any reason, reaching near of 12.5 of >> > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > ? -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/7d7114b7/attachment-0001.html From msc at freeswitch.org Tue Oct 23 02:06:37 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 22 Oct 2012 15:06:37 -0700 Subject: [Freeswitch-users] [Freeswitch-dev] FreeSWITCH Weekly News and Notes In-Reply-To: References: Message-ID: On Mon, Oct 22, 2012 at 2:04 PM, Gabriel Gunderson wrote: > On Mon, Oct 22, 2012 at 2:05 PM, Michael Collins > wrote: > > The following week, on October 31, we will be hearing from our friends > over > > at Redshift Networks. They will be giving us close-up look at some of the > > worldwide SIP attacks that are being perpetrated against FreeSWITCH and > > other IP telephony servers. > > > Are there attacks in the wild that are specifically targeting > FreeSWITCH? Something more than the typical friendly-scanner? > Tune in on October 31st to find out! :D -MC > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/8d8e5eff/attachment.html From lfurrea at gmail.com Tue Oct 23 02:10:31 2012 From: lfurrea at gmail.com (Luis F Urrea) Date: Mon, 22 Oct 2012 16:10:31 -0600 Subject: [Freeswitch-users] mod_erlang_event noob question Message-ID: Hi all, I am going through the wiki docs here: http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection But I see in the example that in order to send messages between FS and the registered process fired up by myself the following syntax is used: (test at example)1>{foo, freeswitch at example} ! {api, status, ""}. {api,status,[]} Obviously freeswitch at example represents the node, but I am not familiar with the left hand tuple term being applied the ! operator, usually a Pid number is used in that place. What would the foo represent? TIA. Luis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/da4f93c6/attachment.html From anthony.minessale at gmail.com Tue Oct 23 02:36:35 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 22 Oct 2012 17:36:35 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Message-ID: iotop doesn't exist yet in in 5.5 Try cent 5.7 or cent 6.3 or debian 6 if you want some more modern kernels to get iotop On Mon, Oct 22, 2012 at 4:59 PM, Ken Rice wrote: > Keeping in mind that you are using a sangoma transcoder board, that > means you are handling the equivalent of 440 concurrent calls worth of > media for people not using sangoma transcoding hardware (yes theres 4 call > legs in that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From > D100 back to FS, 1 from FS back out to the other end point). That doesn?t > sound like that big of a problem... You will have a fair bit of network > traffic that way (the D100 shows up as another network interface as you are > probably aware)... > > I would be looking at something like iotop or something else to see where > that load is coming from > > Also, you have plenty of CPU free... So there is either a real problem > here, or this is one of those things where the number of threads handling > RTP and SIP are hanging around the run queue long enough to show up in the > load average... > > > > > > On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: > > Ken. > There is an average of 220 concurrent calls. > Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. > Centos 5.5 64bits > > Ricarod.- > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 17:47 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > How many concurrent calls are you doing on that box? > > > On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: > Hi Ken. > I mounted the db directory in RAM as you mention, but the ?load average? > still is high. > You can see this here : > > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 132G 8.6G 117G 7% / > proc 0 0 0 - /proc > sysfs 0 0 0 - /sys > devpts 0 0 0 - /dev/pts > /dev/cciss/c0d0p1 104M 20M 79M 21% /boot > tmpfs 4.2G 0 4.2G 0% /dev/shm > none 0 0 0 - /proc/sys/fs/binfmt_misc > sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs > *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db > * > This is a resume from uptime and total calls for my freeswitch : > > 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, > 4.50, 4.66 , Total Calls : 209, Total sessions: 440 > 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, > 4.92, 4.80 , Total Calls : 245, Total sessions: 510 > 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, > 4.84, 4.77 , Total Calls : 235, Total sessions: 488 > 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, > 4.94, 4.81 , Total Calls : 233, Total sessions: 484 > 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, > 4.92, 4.80 , Total Calls : 226, Total sessions: 470 > 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, > 4.84, 4.78 , Total Calls : 218, Total sessions: 454 > 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, > 4.76, 4.75 , Total Calls : 198, Total sessions: 416 > 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, > 4.68, 4.72 , Total Calls : 183, Total sessions: 384 > 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, > 4.60, 4.70 , Total Calls : 172, Total sessions: 366 > 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, > 4.54, 4.68 , Total Calls : 184, Total sessions: 388 > 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, > 4.47, 4.65 , Total Calls : 207, Total sessions: 442 > 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, > 4.48, 4.65 , Total Calls : 203, Total sessions: 436 > 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, > 4.40, 4.63 , Total Calls : 198, Total sessions: 418 > 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, > 4.32, 4.60 , Total Calls : 198, Total sessions: 422 > 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, > 4.47, 4.65 , Total Calls : 194, Total sessions: 410 > 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, > 5.31, 4.92 , Total Calls : 211, Total sessions: 450 > 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, > 5.32, 4.92 , Total Calls : 251, Total sessions: 536 > 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, > 5.49, 4.98 , Total Calls : 250, Total sessions: 530 > 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, > 5.70, 5.05 , Total Calls : 236, Total sessions: 496 > 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, > 5.76, 5.07 , Total Calls : 233, Total sessions: 492 > 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, > 5.84, 5.10 , Total Calls : 235, Total sessions: 496 > 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, > 6.04, 5.17 , Total Calls : 222, Total sessions: 466 > 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, > 6.16, 5.21 , Total Calls : 215, Total sessions: 452 > 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, > 6.36, 5.28 , Total Calls : 208, Total sessions: 430 > 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, > 6.47, 5.32 , Total Calls : 202, Total sessions: 422 > 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, > 6.61, 5.37 , Total Calls : 240, Total sessions: 500 > 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, > 6.78, 5.44 , Total Calls : 239, Total sessions: 498 > 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, > 7.35, 5.63 , Total Calls : 250, Total sessions: 516 > 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, > 7.36, 5.64 , Total Calls : 236, Total sessions: 490 > 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, > 7.29, 5.63 , Total Calls : 209, Total sessions: 436 > 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, > 7.18, 5.60 , Total Calls : 180, Total sessions: 372 > 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, > 7.06, 5.57 , Total Calls : 161, Total sessions: 342 > 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, > 7.24, 5.64 , Total Calls : 175, Total sessions: 370 > 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, > 7.22, 5.64 , Total Calls : 181, Total sessions: 382 > 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, > 7.30, 5.67 , Total Calls : 178, Total sessions: 366 > 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, > 7.35, 5.69 , Total Calls : 173, Total sessions: 358 > 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, > 7.51, 5.76 , Total Calls : 182, Total sessions: 378 > 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, > 7.53, 5.77 , Total Calls : 187, Total sessions: 386 > 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, > 7.77, 5.86 , Total Calls : 190, Total sessions: 402 > 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, > 7.81, 5.88 , Total Calls : 239, Total sessions: 496 > 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, > 7.93, 5.93 , Total Calls : 257, Total sessions: 532 > 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, > 8.09, 5.99 , Total Calls : 242, Total sessions: 506 > 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, > 8.16, 6.03 , Total Calls : 233, Total sessions: 482 > 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, > 8.17, 6.04 , Total Calls : 238, Total sessions: 492 > 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, > 8.30, 6.10 , Total Calls : 236, Total sessions: 482 > 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, > 8.46, 6.16 , Total Calls : 222, Total sessions: 458 > 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, > 8.39, 6.15 , Total Calls : 221, Total sessions: 470 > 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, > 8.33, 6.14 , Total Calls : 200, Total sessions: 422 > 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, > 8.77, 6.30 , Total Calls : 214, Total sessions: 452 > 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, > 8.93, 6.36 , Total Calls : 255, Total sessions: 536 > 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, > 9.06, 6.42 , Total Calls : 252, Total sessions: 524 > 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, > 9.46, 6.56 , Total Calls : 260, Total sessions: 536 > 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, > 9.42, 6.56 , Total Calls : 246, Total sessions: 508 > 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, > 9.52, 6.61 , Total Calls : 230, Total sessions: 478 > 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, > 9.58, 6.64 , Total Calls : 194, Total sessions: 408 > 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, > 9.59, 6.66 , Total Calls : 189, Total sessions: 396 > 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, > 9.55, 6.66 , Total Calls : 202, Total sessions: 438 > 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, > 9.49, 6.66 , Total Calls : 221, Total sessions: 470 > 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, > 9.46, 6.67 , Total Calls : 220, Total sessions: 478 > 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, > 9.80, 6.79 , Total Calls : 219, Total sessions: 480 > 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, > 9.76, 6.79 , Total Calls : 222, Total sessions: 490 > 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, > 9.69, 6.79 , Total Calls : 214, Total sessions: 470 > 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, > 9.85, 6.85 , Total Calls : 210, Total sessions: 450 > 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, > 9.97, 6.91 , Total Calls : 250, Total sessions: 524 > 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, > 9.80, 6.87 , Total Calls : 258, Total sessions: 536 > 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, > 9.64, 6.83 , Total Calls : 255, Total sessions: 528 > 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, > 9.49, 6.80 , Total Calls : 246, Total sessions: 524 > 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, > 9.35, 6.77 , Total Calls : 262, Total sessions: 564 > 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, > 9.21, 6.74 , Total Calls : 238, Total sessions: 510 > 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, > 9.06, 6.70 , Total Calls : 220, Total sessions: 476 > 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, > 8.91, 6.67 , Total Calls : 228, Total sessions: 498 > > What else could be happening. > Did I mention that I?m using two transcoding cards from Sangoma? > > Regards, > Ricardo.- > > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:50 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Load Average is the number of threads/processes waiting in the kernel?s > run queue at sample time... Supposedly number of cores is the how much your > load avg can get to before your boxes is exhausted but this isnt exactly > true on modern hardware with highly multi-threaded software like > FreeSWITCH... > > Where did I get the 100+ number? From looking at ?top? or ?w? on a box to > see what the current load avg is... > > Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and > everything in between.... When you type ?show channels? from fs_cli it > doesn?t query the structures in RAM to show you that output, it pulls it > from the sqlite db... > > That being said, you can test quickly to see if sqlite is hammering the > disk at some point by shifting freeswitch/db dir to a ram drive. > Example code for linux such as Centos or Debian assuming freeswitch is > installed to /usr/local/freeswitch > > Shutdown freeswitch > rm ?rf /usr/local/freeswitch/db/* > mount ?t tmpfs tmpfs /usr/local/freeswitch/db > Startup freeswitch > > Once you have done that stick it back in rotation... > > Note this will not affect anything but voicemail if you have voicemail > running on that box and not using an external DB via mod_voicemail?s DSN > settings you?ll lose the voicemail DB... (I would assume this is not the > case since you are using this primarily as a Transcoder) > > K > > > On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: > Hi Ken. > Maybe that is the problem. I was sure that the ?load average? can?t go > more than #cores in your system. In my case I have 8 cores, so a ?load > average? of 12 is high from my point of view. Where did you get the number > 100 for this parameter? > Anyway, what is running a sqlite in freeswitch. Does this have to do with > the core.db file? Or with the cdr_sqlite module?. > > Thanks > Ricardo.- > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:18 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt > anything to really worry about. Due to the number of threads that?s > possible with FS (ie: 1 per call leg) its not unusual to see a box humming > along and the load avg well above 100 in my experience... This is due to > the number of threads waiting in the run queue when it was sampled... Now, > that?s not saying that this is not specifically indicative or a problem but > something else to think about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () > from /lib64/libpthread.so.0 > (gdb) bt > #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at > ./src/pager.c:2229 > #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, > zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 > #4 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' > transcoder.red.net > ';\ndelete from > calls where (call"..., retries=1) > > at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > > > *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] > > *Enviado el:* lunes, 22 de octubre de 2012 15:50 > *Para:* 'FreeSWITCH Users Help' > *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes > > AS far as i can see there is no java running. > This is the top at the moment of the spike : > > top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, > 6.48 > Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie > Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, > 0.0%st > Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers > Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 > freeswitch > 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 > sngtc_server > 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 > top > 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 > init > 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 > migration/0 > 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/0 > 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/0 > 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 > migration/1 > 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/1 > 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 > > 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 > migration/2 > 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/2 > 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/2 > 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/3 > 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/3 > 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/3 > 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/4 > 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/4 > 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/4 > 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/5 > 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/5 > 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/5 > 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/6 > > > Regards, > Ricardo.- > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Guillermo Ruiz Camauer > *Enviado el:* lunes, 22 de octubre de 2012 15:38 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Do you have anything like Java running that could be doing garbage > collection? > > > > What other processes are running on the machine? Does TOP show which > process is causing the spike? > > > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] > En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: > > The problem is that I'm having weird spikes of "load average" cpu > > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/d56294f7/attachment-0001.html From dujinfang at gmail.com Tue Oct 23 03:16:07 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 23 Oct 2012 07:16:07 +0800 Subject: [Freeswitch-users] Sample pcaps with HEP encapsulation? In-Reply-To: References: Message-ID: <0914BA008CD24EE28C9A0DB3114EC3E8@gmail.com> I don't have a pcap but there was a document docs the packet patterns, and I have a erlang binary syntax witch matches the current version in FS and it's readable event you don't know erlang <>} Ax and Bx are source and dest IP. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, October 23, 2012 at 12:28 AM, Lon Baker wrote: > Can anyone send me a couple sample pcaps with HEP encapsulation? I'm working with the guys over at VoIPMonitor.org (http://VoIPMonitor.org) to add support for Freeswitch sip-capture settings in the Sofia module. > > > > -- > Lon > _________________________________________________________________________ > 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://wiki.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/20121023/d33949ce/attachment.html From dujinfang at gmail.com Tue Oct 23 03:20:27 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 23 Oct 2012 07:20:27 +0800 Subject: [Freeswitch-users] mod_erlang_event noob question In-Reply-To: References: Message-ID: foo means nothing, just forget it. On Tuesday, October 23, 2012 at 6:10 AM, Luis F Urrea wrote: > Hi all, > > I am going through the wiki docs here: > > http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection > > But I see in the example that in order to send messages between FS and the registered process fired up by myself the following syntax is used: > > (test at example)1>{foo, freeswitch at example} ! {api, status, ""}. {api,status,[]} > > Obviously freeswitch at example represents the node, but I am not familiar with the left hand tuple term being applied the ! operator, usually a Pid number is used in that place. > > What would the foo represent? > > TIA. > > > Luis > > _________________________________________________________________________ > 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://wiki.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/20121023/99d477f6/attachment.html From gabe at gundy.org Tue Oct 23 03:23:54 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 22 Oct 2012 17:23:54 -0600 Subject: [Freeswitch-users] [Freeswitch-dev] FreeSWITCH Weekly News and Notes In-Reply-To: References: Message-ID: On Mon, Oct 22, 2012 at 4:06 PM, Michael Collins wrote: > Tune in on October 31st to find out! :D I thought that might be the answer ;) Gabe From lfurrea at gmail.com Tue Oct 23 04:32:37 2012 From: lfurrea at gmail.com (Luis F Urrea) Date: Mon, 22 Oct 2012 18:32:37 -0600 Subject: [Freeswitch-users] mod_erlang_event noob question In-Reply-To: References: Message-ID: But I am getting a badarg error response. According to this: http://stackoverflow.com/questions/13021589/erlang-distributed-message-sending The left hand atom should be a registered process on the node and therefore the name should matter? On Mon, Oct 22, 2012 at 5:20 PM, Seven Du wrote: > foo means nothing, just forget it. > > On Tuesday, October 23, 2012 at 6:10 AM, Luis F Urrea wrote: > > Hi all, > > I am going through the wiki docs here: > > > http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection > > But I see in the example that in order to send messages between FS and the > registered process fired up by myself the following syntax is used: > > (test at example)1>{foo, freeswitch at example} ! {api, status, ""}. > {api,status,[]} > > > Obviously freeswitch at example represents the node, but I am not familiar > with the left hand tuple term being applied the ! operator, usually a Pid > number is used in that place. > > What would the foo represent? > > TIA. > > > Luis > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121022/e2ecb61d/attachment.html From dujinfang at gmail.com Tue Oct 23 06:46:40 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 23 Oct 2012 10:46:40 +0800 Subject: [Freeswitch-users] mod_erlang_event noob question In-Reply-To: References: Message-ID: <0883438726A549F5A18584C3EA866413@gmail.com> because there was a bug. pull the latest git. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, October 23, 2012 at 8:32 AM, Luis F Urrea wrote: > But I am getting a badarg error response. > > According to this: > > http://stackoverflow.com/questions/13021589/erlang-distributed-message-sending > > The left hand atom should be a registered process on the node and therefore the name should matter? > > > > On Mon, Oct 22, 2012 at 5:20 PM, Seven Du wrote: > > foo means nothing, just forget it. > > > > > > On Tuesday, October 23, 2012 at 6:10 AM, Luis F Urrea wrote: > > > > > > > > > Hi all, > > > > > > I am going through the wiki docs here: > > > > > > http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection > > > > > > But I see in the example that in order to send messages between FS and the registered process fired up by myself the following syntax is used: > > > > > > (test at example)1>{foo, freeswitch at example} ! {api, status, ""}. {api,status,[]} > > > > > > Obviously freeswitch at example represents the node, but I am not familiar with the left hand tuple term being applied the ! operator, usually a Pid number is used in that place. > > > > > > What would the foo represent? > > > > > > TIA. > > > > > > > > > Luis > > > > > > _________________________________________________________________________ > > > 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://wiki.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://wiki.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://wiki.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/20121023/61562a40/attachment-0001.html From philq at qsystemsengineering.com Tue Oct 23 08:10:28 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Mon, 22 Oct 2012 21:10:28 -0700 (PDT) Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <008a01cda6a0$a9c80a90$fd581fb0$@com> <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> Message-ID: <1350965428109-7583867.post@n2.nabble.com> FWIW, I did a pull on HEAD last night and the call fails much faster now, but still does not complete for me. Trel? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583867.html Sent from the freeswitch-users mailing list archive at Nabble.com. From krice at freeswitch.org Tue Oct 23 09:30:07 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 23 Oct 2012 00:30:07 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <1350965428109-7583867.post@n2.nabble.com> Message-ID: What happens if you drop the video codec? On 10/22/12 11:10 PM, "PhilQ" wrote: > FWIW, > > I did a pull on HEAD last night and the call fails much faster now, but > still does not complete for me. Trel? > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-o > n-latest-stable-version-tp7583499p7583867.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://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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch From Jacob.E.Miles at L-3Com.com Tue Oct 23 03:29:57 2012 From: Jacob.E.Miles at L-3Com.com (Jacob.E.Miles at L-3Com.com) Date: Mon, 22 Oct 2012 18:29:57 -0500 Subject: [Freeswitch-users] State of mod_skinny? In-Reply-To: References: Message-ID: Just wondering what the state of mod_skinny is? We are currently attempting to move away from using Cisco UMC, and have most things working with Asterisk using the 3rd party chan_sccp-b driver. We are stuck at the moment using SCCP phones so the skinny protocol is a must (we are looking to move to SIP at later date). I have downloaded and installed FreeSWITCH v1.2.3 via tarball, and I was able to get my phones (7971-G) to register, but I have not be able to make any calls. I was able to install a SIP softphone and was able to call into the skinny phones, but currently I am unable to make outbound calls. If this functionality of mod_skinny is working I would appreciate some help in figuring out where I have errored at in my dialplan or skinny setup. Machine setup HP DL320 RAM: 2 gig OS: CentOS 6.0 x86_64 FreeSWITCH v1.2.4 Jacob Miles Software Engineer jacob.e.miles at l-3com.com From yiftah at choochee.com Tue Oct 23 04:56:28 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Mon, 22 Oct 2012 17:56:28 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time Message-ID: Hi FreeSWITCH community, My name is Yiftah and I am working for ChooChee which is a hosted PBX solution company We have been using FreeSWITCH for almost 2 years and we added a lot of code changes to the core and to the different modules Lately we have made a decision to get more close to the community so that we can enjoy the bug fixes and the new feature from the community and we can contribute our knowledge and bug fixes I would please like to start with a very basic question : We are using dialplan xmls in order to load the configuration, we have a lot of users on each freeswitch (+4k), it took a very long time for the configuration to load (around 5 minutes) during this time no new calls could be served by FreeSWITCH In order to solve this problem we introduce reload xml that accepts file names and has the ability to load just one file name into the memory (we achieved 10ms loading time instead of 5 minutes) The problem is that we had to introduce a lot of code in order to solve this problem, has anyone else encounter this problem? we do not want to use mod_xml_curl as we want to take care bringing the file to the machine Another approach that we thought is that a database might be much better fit in here, because every xml update includes the entire tenant (business) and has the potential in harming other users in the same tenant, also DB has much higher capacities then XMLs, did anyone think of enabling MySQL as a directory of parameters instead of xml? Thanks, Yiftach. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121022/a4363691/attachment.html From daemonserj at gmail.com Tue Oct 23 06:57:54 2012 From: daemonserj at gmail.com (daemonserj TVC) Date: Tue, 23 Oct 2012 09:57:54 +0700 Subject: [Freeswitch-users] how to properly handle DTMF in intercepted session ? Message-ID: Hello I put calls in my java script (mod_java) Script doing this: 1) It parks first call (legA) and store it uuid (execute("park") 2) When second call (legB) arrived it intercept first call with previously saved uuid (execute("intercept") My dialplan is Firs thing is : when legA hangups then legB listen "goodbye" so extension continues execution. When legB hangups legA listen nothing and session just breaks. Where the mistake is ? The global question is how to process DTMF codes during the bridged session (DTMF hook in script is not working)? And how to then break this bridge and re-use this sessions with another arrived calls? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/fcfbcaaf/attachment.html From dujinfang at gmail.com Tue Oct 23 11:12:42 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 23 Oct 2012 15:12:42 +0800 Subject: [Freeswitch-users] State of mod_skinny? In-Reply-To: References: Message-ID: I just tested in the past weekend and 79xx works for me. I have no cisco right now, just hope this message helps. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, October 23, 2012 at 7:29 AM, Jacob.E.Miles at l-3com.com wrote: > Just wondering what the state of mod_skinny is? We are currently > attempting to move away from using Cisco UMC, and have most things > working with Asterisk using the 3rd party chan_sccp-b driver. We are > stuck at the moment using SCCP phones so the skinny protocol is a must > (we are looking to move to SIP at later date). > > I have downloaded and installed FreeSWITCH v1.2.3 via tarball, and I was > able to get my phones (7971-G) to register, but I have not be able to > make any calls. I was able to install a SIP softphone and was able to > call into the skinny phones, but currently I am unable to make outbound > calls. If this functionality of mod_skinny is working I would > appreciate some help in figuring out where I have errored at in my > dialplan or skinny setup. > > Machine setup > HP DL320 > RAM: 2 gig > OS: CentOS 6.0 x86_64 > FreeSWITCH v1.2.4 > > Jacob Miles > Software Engineer > jacob.e.miles at l-3com.com (mailto:jacob.e.miles at l-3com.com) > > > > > > _________________________________________________________________________ > 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://wiki.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/20121023/0b817e57/attachment.html From dujinfang at gmail.com Tue Oct 23 11:17:25 2012 From: dujinfang at gmail.com (Seven Du) Date: Tue, 23 Oct 2012 15:17:25 +0800 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: Message-ID: <98FC8797BEEA45279C8122019F04E7D2@gmail.com> I don't understand why you don't use mod_xml_curl, can you explain more? you could also try some lua binding which could pull from DB and generate XML on demand, not sure if it works for you. -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, October 23, 2012 at 8:56 AM, Yiftach Golan wrote: > Hi FreeSWITCH community, > My name is Yiftah and I am working for ChooChee which is a hosted PBX solution company > We have been using FreeSWITCH for almost 2 years and we added a lot of code changes to the core and to the different modules > Lately we have made a decision to get more close to the community so that we can enjoy the bug fixes and the new feature from the community and we can contribute our knowledge and bug fixes > I would please like to start with a very basic question : > We are using dialplan xmls in order to load the configuration, we have a lot of users on each freeswitch (+4k), it took a very long time for the configuration to load (around 5 minutes) during this time no new calls could be served by FreeSWITCH > In order to solve this problem we introduce reload xml that accepts file names and has the ability to load just one file name into the memory (we achieved 10ms loading time instead of 5 minutes) > The problem is that we had to introduce a lot of code in order to solve this problem, has anyone else encounter this problem? we do not want to use mod_xml_curl as we want to take care bringing the file to the machine > Another approach that we thought is that a database might be much better fit in here, because every xml update includes the entire tenant (business) and has the potential in harming other users in the same tenant, also DB has much higher capacities then XMLs, did anyone think of enabling MySQL as a directory of parameters instead of xml? > Thanks, > Yiftach. > > _________________________________________________________________________ > 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://wiki.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/20121023/d68b1fa9/attachment-0001.html From erik.dekkers at certhon.com Tue Oct 23 11:47:19 2012 From: erik.dekkers at certhon.com (Erik Dekkers) Date: Tue, 23 Oct 2012 09:47:19 +0200 Subject: [Freeswitch-users] State of mod_skinny? In-Reply-To: References: Message-ID: The last time I used mod_skinny was more than a year ago. If you use Cisco-only SCCP phones it should work without any problems. The problem I ran into was a mix between SCCP and SIP (Cisco and Aasta). The codec negotiation was the problem as far as I can remember. Regards Erik Certhon ABC Westland 555 Tel: +31 174 22 50 80 P.O. Box 90 Fax: +31 174 22 50 81 2685 ZH Poeldijk erik.dekkers at certhon.com The Netherlands www.certhon.com DISCLAIMER All our quotations, all orders and all contracts are subject to the AVAG-CONDITIONS. Op alle offertes, opdrachten en overeenkomsten zijn de AVAG-verkoopvoorwaarden van toepassing. -----Oorspronkelijk bericht----- Van: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Namens Jacob.E.Miles at L-3Com.com Verzonden: dinsdag 23 oktober 2012 1:30 Aan: FreeSWITCH Users Help Onderwerp: [Freeswitch-users] State of mod_skinny? Just wondering what the state of mod_skinny is? We are currently attempting to move away from using Cisco UMC, and have most things working with Asterisk using the 3rd party chan_sccp-b driver. We are stuck at the moment using SCCP phones so the skinny protocol is a must (we are looking to move to SIP at later date). I have downloaded and installed FreeSWITCH v1.2.3 via tarball, and I was able to get my phones (7971-G) to register, but I have not be able to make any calls. I was able to install a SIP softphone and was able to call into the skinny phones, but currently I am unable to make outbound calls. If this functionality of mod_skinny is working I would appreciate some help in figuring out where I have errored at in my dialplan or skinny setup. Machine setup HP DL320 RAM: 2 gig OS: CentOS 6.0 x86_64 FreeSWITCH v1.2.4 Jacob Miles Software Engineer jacob.e.miles at l-3com.com _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 From yannick.lecoent at nexcom.fr Tue Oct 23 11:51:46 2012 From: yannick.lecoent at nexcom.fr (yannick.lecoent at nexcom.fr) Date: Tue, 23 Oct 2012 07:51:46 +0000 Subject: [Freeswitch-users] How to add a display name to the To header In-Reply-To: Message-ID: Hello, That works, except that in the BYE request the display name is no copied. Yannick Le 18/10/2012, "Brian West" a ?crit: >sip_invite_full_to > >But look in sofia_glue.c at do_invite at all the stuff you can set, WARNING YOU CAN BREAK THE INVITE if you take it too far! ;) > >/b > >On Oct 18, 2012, at 12:34 PM, Yannick LE COENT wrote: > >> Hello, >> >> >> >> Is it possible to add a display name to the To header? >> >> >> >> Thanks, >> >> Yannick >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > >-- >Brian West >brian at freeswitch.org >FreeSWITCH Solutions, LLC >PO BOX PO BOX 2531 >Brookfield, WI 53008-2531 > >Twitter: @FreeSWITCH_Wire >http://freeswitchcookbook.com >http://freeswitchbook.com > >T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST >iNUM: +883 5100 1286 0410 > From sherifomran2000 at yahoo.com Tue Oct 23 11:52:11 2012 From: sherifomran2000 at yahoo.com (Sherif Omran) Date: Tue, 23 Oct 2012 00:52:11 -0700 (PDT) Subject: [Freeswitch-users] latest build fail Message-ID: <1350978731.13648.YahooMailClassic@web110815.mail.gq1.yahoo.com> hello guys, there is a problem in the latest build. I keep on receiving lib tiff can not build. Is this known? Is there a fix? regards, S. O From luis.daniel.lucio at gmail.com Tue Oct 23 15:05:42 2012 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Tue, 23 Oct 2012 06:05:42 -0500 Subject: [Freeswitch-users] [CRIT] sofia_presence.c In-Reply-To: References: Message-ID: I understand i need to update, my doubt is how binary detects that? and why this only happens with an specific tenant and not in others? 2012/10/22 Anthony Minessale : > means you should update cos that line is not in the code anymore. > > > On Mon, Oct 22, 2012 at 3:18 PM, Luis Daniel Lucio Quiroz > wrote: >> >> 2012-10-22 16:11:05.680467 [CRIT] sofia_presence.c:2424 WTF >> [snom821/8.4.20][full] >> >> >> what does this means? >> >> LD >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From rmartinez at redvoiss.net Tue Oct 23 17:03:22 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Tue, 23 Oct 2012 10:03:22 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Message-ID: Is there an equivalent command in Centos 5.5? Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Anthony Minessale *Enviado el:* lunes, 22 de octubre de 2012 19:37 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes iotop doesn't exist yet in in 5.5 Try cent 5.7 or cent 6.3 or debian 6 if you want some more modern kernels to get iotop On Mon, Oct 22, 2012 at 4:59 PM, Ken Rice wrote: Keeping in mind that you are using a sangoma transcoder board, that means you are handling the equivalent of 440 concurrent calls worth of media for people not using sangoma transcoding hardware (yes theres 4 call legs in that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From D100 back to FS, 1 from FS back out to the other end point). That doesn?t sound like that big of a problem... You will have a fair bit of network traffic that way (the D100 shows up as another network interface as you are probably aware)... I would be looking at something like iotop or something else to see where that load is coming from Also, you have plenty of CPU free... So there is either a real problem here, or this is one of those things where the number of threads handling RTP and SIP are hanging around the run queue long enough to show up in the load average... On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: Ken. There is an average of 220 concurrent calls. Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. Centos 5.5 64bits Ricarod.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 17:47 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes How many concurrent calls are you doing on that box? On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: Hi Ken. I mounted the db directory in RAM as you mention, but the ?load average? still is high. You can see this here : Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 132G 8.6G 117G 7% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts /dev/cciss/c0d0p1 104M 20M 79M 21% /boot tmpfs 4.2G 0 4.2G 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db * This is a resume from uptime and total calls for my freeswitch : 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, 4.66 , Total Calls : 209, Total sessions: 440 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, 4.80 , Total Calls : 245, Total sessions: 510 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, 4.77 , Total Calls : 235, Total sessions: 488 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, 4.81 , Total Calls : 233, Total sessions: 484 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, 4.80 , Total Calls : 226, Total sessions: 470 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, 4.78 , Total Calls : 218, Total sessions: 454 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, 4.75 , Total Calls : 198, Total sessions: 416 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, 4.72 , Total Calls : 183, Total sessions: 384 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, 4.70 , Total Calls : 172, Total sessions: 366 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, 4.68 , Total Calls : 184, Total sessions: 388 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, 4.65 , Total Calls : 207, Total sessions: 442 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, 4.65 , Total Calls : 203, Total sessions: 436 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, 4.63 , Total Calls : 198, Total sessions: 418 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, 4.60 , Total Calls : 198, Total sessions: 422 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, 4.65 , Total Calls : 194, Total sessions: 410 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, 4.92 , Total Calls : 211, Total sessions: 450 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, 4.92 , Total Calls : 251, Total sessions: 536 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, 4.98 , Total Calls : 250, Total sessions: 530 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, 5.05 , Total Calls : 236, Total sessions: 496 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, 5.07 , Total Calls : 233, Total sessions: 492 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, 5.10 , Total Calls : 235, Total sessions: 496 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, 5.17 , Total Calls : 222, Total sessions: 466 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, 5.21 , Total Calls : 215, Total sessions: 452 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, 5.28 , Total Calls : 208, Total sessions: 430 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, 5.32 , Total Calls : 202, Total sessions: 422 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, 5.37 , Total Calls : 240, Total sessions: 500 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, 5.44 , Total Calls : 239, Total sessions: 498 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, 5.63 , Total Calls : 250, Total sessions: 516 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, 5.64 , Total Calls : 236, Total sessions: 490 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, 5.63 , Total Calls : 209, Total sessions: 436 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, 5.60 , Total Calls : 180, Total sessions: 372 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, 5.57 , Total Calls : 161, Total sessions: 342 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, 5.64 , Total Calls : 175, Total sessions: 370 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, 5.64 , Total Calls : 181, Total sessions: 382 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, 5.67 , Total Calls : 178, Total sessions: 366 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, 5.69 , Total Calls : 173, Total sessions: 358 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, 5.76 , Total Calls : 182, Total sessions: 378 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, 5.77 , Total Calls : 187, Total sessions: 386 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, 5.86 , Total Calls : 190, Total sessions: 402 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, 5.88 , Total Calls : 239, Total sessions: 496 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, 5.93 , Total Calls : 257, Total sessions: 532 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, 5.99 , Total Calls : 242, Total sessions: 506 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, 6.03 , Total Calls : 233, Total sessions: 482 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, 6.04 , Total Calls : 238, Total sessions: 492 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, 6.10 , Total Calls : 236, Total sessions: 482 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, 6.16 , Total Calls : 222, Total sessions: 458 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, 6.15 , Total Calls : 221, Total sessions: 470 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, 6.14 , Total Calls : 200, Total sessions: 422 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, 6.30 , Total Calls : 214, Total sessions: 452 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, 6.36 , Total Calls : 255, Total sessions: 536 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, 6.42 , Total Calls : 252, Total sessions: 524 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, 6.56 , Total Calls : 260, Total sessions: 536 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, 6.56 , Total Calls : 246, Total sessions: 508 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, 6.61 , Total Calls : 230, Total sessions: 478 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, 6.64 , Total Calls : 194, Total sessions: 408 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, 6.66 , Total Calls : 189, Total sessions: 396 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, 6.66 , Total Calls : 202, Total sessions: 438 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, 6.66 , Total Calls : 221, Total sessions: 470 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, 6.67 , Total Calls : 220, Total sessions: 478 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, 6.79 , Total Calls : 219, Total sessions: 480 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, 6.79 , Total Calls : 222, Total sessions: 490 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, 6.79 , Total Calls : 214, Total sessions: 470 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, 6.85 , Total Calls : 210, Total sessions: 450 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, 6.91 , Total Calls : 250, Total sessions: 524 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, 6.87 , Total Calls : 258, Total sessions: 536 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, 6.83 , Total Calls : 255, Total sessions: 528 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, 6.80 , Total Calls : 246, Total sessions: 524 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, 6.77 , Total Calls : 262, Total sessions: 564 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, 6.74 , Total Calls : 238, Total sessions: 510 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, 6.70 , Total Calls : 220, Total sessions: 476 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, 6.67 , Total Calls : 228, Total sessions: 498 What else could be happening. Did I mention that I?m using two transcoding cards from Sangoma? Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:50 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Load Average is the number of threads/processes waiting in the kernel?s run queue at sample time... Supposedly number of cores is the how much your load avg can get to before your boxes is exhausted but this isnt exactly true on modern hardware with highly multi-threaded software like FreeSWITCH... Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see what the current load avg is... Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything in between.... When you type ?show channels? from fs_cli it doesn?t query the structures in RAM to show you that output, it pulls it from the sqlite db... That being said, you can test quickly to see if sqlite is hammering the disk at some point by shifting freeswitch/db dir to a ram drive. Example code for linux such as Centos or Debian assuming freeswitch is installed to /usr/local/freeswitch Shutdown freeswitch rm ?rf /usr/local/freeswitch/db/* mount ?t tmpfs tmpfs /usr/local/freeswitch/db Startup freeswitch Once you have done that stick it back in rotation... Note this will not affect anything but voicemail if you have voicemail running on that box and not using an external DB via mod_voicemail?s DSN settings you?ll lose the voicemail DB... (I would assume this is not the case since you are using this primarily as a Transcoder) K On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/1d7bd518/attachment-0001.html From roland at callrica.co.za Tue Oct 23 17:45:30 2012 From: roland at callrica.co.za (roland at callrica.co.za) Date: Tue, 23 Oct 2012 15:45:30 +0200 Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch? Message-ID: <000901cdb124$abedf490$03c9ddb0$@callrica.co.za> Further to my email, I've been stepping thru the FSClient code, and I see all calls are made using this syntax: {origination_caller_id_name='MyCallerIDName',origination_caller_id_number='M yCallerIDNumber'}sofia/gateway/1/5000 Can I add my own variables e.g. {origination_caller_id_name='MyCallerIDName',origination_caller_id_number='M yCallerIDNumber', crm_accountid='1234', crm_contactname='johnsmith'}sofia/gateway/1/5000 And use the FS server dialplan to extract them into variables I can use in CDR and Voice recording? -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of roland at callrica.co.za Sent: 18 October 2012 02:22 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch? Hi Freeswitch Team, I'm looking for advice on how to pass CRM related information from a FSClient to a Freeswitch server and use that data to customise the voice recording file name and CDR The use case is like this: 1. User starts softphone and dials a contact from his contact list e.g. John Smith 2. Softphone passes CRM Data e.g. "John Smith" with call into Freeswitch 3. Freeswitch switches the call and records the conversation 4. Freeswitch labels the recording filename as "John Smith_SomeDateTime.wav" 5. Freeswitch tags the CDR with "John Smith" and call duration, start time etc... I would like all the voice recordings and CDRs to be stored on the FS Server. Is it possible for the FSClient to embed the CRM data in the SIP message, and the FS server extract it into variables for use in the dial plan? Very new to all this, so any pointers would be much appreciated. Rgds _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 From georgediam at gmail.com Tue Oct 23 13:52:06 2012 From: georgediam at gmail.com (George Diamantopoulos) Date: Tue, 23 Oct 2012 12:52:06 +0300 Subject: [Freeswitch-users] ftmod_libpri won't load (undefined symbol: ftmod_pritap_module_interface**) Message-ID: Hello all, I've been trying to compile freeswitch and freetdm with pritap support. Everything seems to be going fine, but the module (ftmod_pritap) won't load. I've been told this could be due to version mismatches between freeswitch and freetdm source, but I'm compiling both from git 1.2-stable. I intend to use this with Sangoma's wanpipe TDM Voice API and the driver configured in High Impedence mode (in conjunction with a 2-span E1 sangoma card and a tapping module). The error I get is: freeswitch at modrec> load ftmod_pritap 2012-10-23 12:45:24.284094 [INFO] mod_enum.c:871 ENUM Reloaded 2012-10-23 12:45:24.284094 [INFO] switch_time.c:1163 Timezone reloaded 530 definitions +OK Reloading XML -ERR [module load file routine returned an error] 2012-10-23 12:45:24.284094 [CRIT] switch_loadable_module.c:1310 Error Loading module /usr/local/freeswitch/mod/ftmod_pritap.so **/usr/local/freeswitch/mod/ftmod_pritap.so: undefined symbol: ftmod_pritap_module_interface** STEPS TO REPRODUCE: Start with a clean debian 6.0.6 installation and then: apt-get install subversion git apt-get build-dep asterisk (# Hopefully asterisk and freeswitch share some dependencies) apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev flex bison patch libtool autoconf linux-headers-$(uname -r) (wanpipe build deps) apt-get remove libpri-dev libpri1.4 (I will be compiling patched libpri with tapping support later) wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz svn checkout http://svn.digium.com/svn/libpri/team/moy/tap-1.4 (libpri patched with tapping mods) cd tap-1.4/ make make install cd .. tar xzfv wanpipe-3.5.28.tgz cd wanpipe-3.5.28/ ./Setup install (select option 1, for TDM voice API module configuration - required for use by freetdm pritap module - I think) cd .. git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git cd freeswitch/ ./bootstrap.sh ./configure make make install cd libs/freetdm/ ./configure --with-pritap --prefix=/usr/local/freeswitch make make install /usr/local/freeswitch/bin/freeswitch load ftmod_pritap EXPECTED BEHAVIOUR: ftmod_pritap should load successfully. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/33bbe80e/attachment.html From mnrao2001 at gmail.com Tue Oct 23 16:56:06 2012 From: mnrao2001 at gmail.com (Nageshwara Rao Moova) Date: Tue, 23 Oct 2012 18:26:06 +0530 Subject: [Freeswitch-users] How to handle Transfer in Bridged call Message-ID: Need help! I'm following the below link http://wiki.freeswitch.org/wiki/Force_transfer_context_example Requirement is to design a XML dialplan which can bridge calls and also handle/receive a transfer/REFER on the bridged calls. Once we have this working we will be also testing *T (*8 PSTN) transfer. Status: Using, Internal Context (for bridge) and Transfer Handler Context (for REFER), both context get loaded as single dialplan but when my IVR application initiates REFER it is stuck at processing REFER. FreeSWITCH Accepted REFER but fails to send NOTIFY to the IVR machine. Issue: 2012-10-23 02:27:49.516554 [DEBUG] sofia.c:7311 Process REFER to [(null)@10.130.XXX.XXX] Dialplan:
- - - -
-- regards & thanks -- m nageshwara rao -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/01ac0f1a/attachment.html From mitch.capper at gmail.com Tue Oct 23 18:40:01 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Tue, 23 Oct 2012 07:40:01 -0700 Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch? In-Reply-To: <000901cdb124$abedf490$03c9ddb0$@callrica.co.za> References: <000901cdb124$abedf490$03c9ddb0$@callrica.co.za> Message-ID: you can add variables however variables by default are not transmitted to the server. You would want to add sip headers most likely (variable_sip_h_x) which then would be (I believe). ~mitch On Tue, Oct 23, 2012 at 6:45 AM, wrote: > Further to my email, I've been stepping thru the FSClient code, and I see > all calls are made using this syntax: > > {origination_caller_id_name='MyCallerIDName',origination_caller_id_number='M > yCallerIDNumber'}sofia/gateway/1/5000 > > Can I add my own variables e.g. > > {origination_caller_id_name='MyCallerIDName',origination_caller_id_number='M > yCallerIDNumber', crm_accountid='1234', > crm_contactname='johnsmith'}sofia/gateway/1/5000 > > And use the FS server dialplan to extract them into variables I can use in > CDR and Voice recording? > > > > > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > roland at callrica.co.za > Sent: 18 October 2012 02:22 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into > Freeswitch? > > Hi Freeswitch Team, > > I'm looking for advice on how to pass CRM related information from a > FSClient to a Freeswitch server and use that data to customise the voice > recording file name and CDR > > The use case is like this: > > 1. User starts softphone and dials a contact from his contact list e.g. John > Smith > > 2. Softphone passes CRM Data e.g. "John Smith" with call into Freeswitch > > 3. Freeswitch switches the call and records the conversation > > 4. Freeswitch labels the recording filename as "John Smith_SomeDateTime.wav" > > 5. Freeswitch tags the CDR with "John Smith" and call duration, start time > etc... > > I would like all the voice recordings and CDRs to be stored on the FS > Server. > > Is it possible for the FSClient to embed the CRM data in the SIP message, > and the FS server extract it into variables for use in the dial plan? > > Very new to all this, so any pointers would be much appreciated. > > Rgds > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 From georgediam at gmail.com Tue Oct 23 17:50:01 2012 From: georgediam at gmail.com (George Diamantopoulos) Date: Tue, 23 Oct 2012 16:50:01 +0300 Subject: [Freeswitch-users] ftmod_libpri won't load (undefined symbol: ftmod_pritap_module_interface**) In-Reply-To: References: Message-ID: I accidentally mentioned libpri in my previous message's subject. I meant ftpmod_pritap instead... On Tue, Oct 23, 2012 at 12:52 PM, George Diamantopoulos < georgediam at gmail.com> wrote: > Hello all, > > I've been trying to compile freeswitch and freetdm with pritap support. > Everything seems to be going fine, but the module (ftmod_pritap) won't > load. I've been told this could be due to version mismatches between > freeswitch and freetdm source, but I'm compiling both from git 1.2-stable. > I intend to use this with Sangoma's wanpipe TDM Voice API and the driver > configured in High Impedence mode (in conjunction with a 2-span E1 sangoma > card and a tapping module). The error I get is: > > freeswitch at modrec> load ftmod_pritap > 2012-10-23 12:45:24.284094 [INFO] mod_enum.c:871 ENUM Reloaded > 2012-10-23 12:45:24.284094 [INFO] switch_time.c:1163 Timezone reloaded 530 > definitions > > +OK Reloading XML > -ERR [module load file routine returned an error] > > 2012-10-23 12:45:24.284094 [CRIT] switch_loadable_module.c:1310 Error > Loading module /usr/local/freeswitch/mod/ftmod_pritap.so > **/usr/local/freeswitch/mod/ftmod_pritap.so: undefined symbol: > ftmod_pritap_module_interface** > > STEPS TO REPRODUCE: > > Start with a clean debian 6.0.6 installation and then: > > apt-get install subversion git > apt-get build-dep asterisk (# Hopefully asterisk and freeswitch share some > dependencies) > apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev > flex bison patch libtool autoconf linux-headers-$(uname -r) (wanpipe build > deps) > apt-get remove libpri-dev libpri1.4 (I will be compiling patched libpri > with tapping support later) > wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz > svn checkout http://svn.digium.com/svn/libpri/team/moy/tap-1.4 (libpri > patched with tapping mods) > cd tap-1.4/ > make > make install > cd .. > tar xzfv wanpipe-3.5.28.tgz > cd wanpipe-3.5.28/ > ./Setup install (select option 1, for TDM voice API module configuration - > required for use by freetdm pritap module - I think) > cd .. > git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git > cd freeswitch/ > ./bootstrap.sh > ./configure > make > make install > cd libs/freetdm/ > ./configure --with-pritap --prefix=/usr/local/freeswitch > make > make install > /usr/local/freeswitch/bin/freeswitch > load ftmod_pritap > > EXPECTED BEHAVIOUR: ftmod_pritap should load successfully. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/805c43e4/attachment-0001.html From jnvines at gmail.com Tue Oct 23 18:57:15 2012 From: jnvines at gmail.com (Nick Vines) Date: Tue, 23 Oct 2012 10:57:15 -0400 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: References: Message-ID: Still getting 404 for the following conference recordings. 2012_10_17 2012_10_10 and 2012_08_15 http://wiki.freeswitch.org/wiki/Weekly_Conference_Call Nick On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT Limited < stuart.gilbertson at considerit.co.uk> wrote: > I get 404's for those two torrent links. > > > Stuart > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/7f7a3c2c/attachment.html From lfurrea at gmail.com Tue Oct 23 20:09:59 2012 From: lfurrea at gmail.com (Luis F Urrea) Date: Tue, 23 Oct 2012 10:09:59 -0600 Subject: [Freeswitch-users] mod_erlang_event noob question In-Reply-To: <0883438726A549F5A18584C3EA866413@gmail.com> References: <0883438726A549F5A18584C3EA866413@gmail.com> Message-ID: Hello Du, Thanks for your help. Indeed I am able to get a message back now. Does this mean that a process gets registered dynamically with whatever name I provide? On the inbound connection example I do not quite understand how am I able to receive messages if I do not send freeswitch the Pid? is the response broadcast? On Mon, Oct 22, 2012 at 8:46 PM, Seven Du wrote: > because there was a bug. pull the latest git. > > -- > Seven Du > Sent with Sparrow > > On Tuesday, October 23, 2012 at 8:32 AM, Luis F Urrea wrote: > > But I am getting a badarg error response. > > According to this: > > > http://stackoverflow.com/questions/13021589/erlang-distributed-message-sending > > The left hand atom should be a registered process on the node and > therefore the name should matter? > > > > On Mon, Oct 22, 2012 at 5:20 PM, Seven Du wrote: > > foo means nothing, just forget it. > > On Tuesday, October 23, 2012 at 6:10 AM, Luis F Urrea wrote: > > Hi all, > > I am going through the wiki docs here: > > > http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection > > But I see in the example that in order to send messages between FS and the > registered process fired up by myself the following syntax is used: > > (test at example)1>{foo, freeswitch at example} ! {api, status, ""}. > {api,status,[]} > > > Obviously freeswitch at example represents the node, but I am not familiar > with the left hand tuple term being applied the ! operator, usually a Pid > number is used in that place. > > What would the foo represent? > > TIA. > > > Luis > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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://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://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/20121023/b05a067c/attachment.html From philq at qsystemsengineering.com Tue Oct 23 20:10:04 2012 From: philq at qsystemsengineering.com (Phil Quesinberry) Date: Tue, 23 Oct 2012 12:10:04 -0400 Subject: [Freeswitch-users] Call disconnect upon re-invite - FS tears down call Message-ID: <017f01cdb138$e00325c0$a0097140$@com> I'm experiencing an odd issue here where a direct media call (bypass media mode) between two Aastra endpoints is disconnected when one of the endpoints sends a re-invite 2 minutes into the call, presumably to refresh the session - RTP ports & codecs remain unchanged. FreeSWITCH passes the invite on to the other endpoint which replies with its own invite, again keeping the same call parameters, ports/codecs etc. FS then sends a 491 - Request Pending to both endpoints, acknowledges the second endpoint's invite and tears down the call. This seems wrong. is this expected behavior? I went ahead and filed a Jira on this just in case - it includes all trace info: http://jira.freeswitch.org/browse/FS-4754 Phil Quesinberry Q Systems Engineering, Inc. Electronic Controls and Embedded Systems Development (410) 969-8002 http://www.qsystemsengineering.com From yiftah at choochee.com Tue Oct 23 19:53:02 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 08:53:02 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: <98FC8797BEEA45279C8122019F04E7D2@gmail.com> References: <98FC8797BEEA45279C8122019F04E7D2@gmail.com> Message-ID: Hi Seven, Thanks for the reply I have two problems with the mod_xml_curl : 1. We want to have some kind of caching mechanism so that if FreeSWITCH crushes and there is no connection to the web server FreeSWITCH still works (we are in a cloud environment) If I understand correctly with mod_xml_curl we cannot achieve that 2. How would it work from the lua script ? Can I reloadxml from lua file by file? 3. We already have a very complicated xml structure to support all of our feature so probably converting the xmls will be pretty hard tasks Any ideas? On Tue, Oct 23, 2012 at 12:17 AM, Seven Du wrote: > I don't understand why you don't use mod_xml_curl, can you explain more? > > you could also try some lua binding which could pull from DB and generate > XML on demand, not sure if it works for you. > > -- > Seven Du > Sent with Sparrow > > On Tuesday, October 23, 2012 at 8:56 AM, Yiftach Golan wrote: > > Hi FreeSWITCH community, > My name is Yiftah and I am working for ChooChee which is a hosted PBX > solution company > We have been using FreeSWITCH for almost 2 years and we added a lot of > code changes to the core and to the different modules > Lately we have made a decision to get more close to the community so that > we can enjoy the bug fixes and the new feature from the community and we > can contribute our knowledge and bug fixes > I would please like to start with a very basic question : > We are using dialplan xmls in order to load the configuration, we have a > lot of users on each freeswitch (+4k), it took a very long time for the > configuration to load (around 5 minutes) during this time no new calls > could be served by FreeSWITCH > In order to solve this problem we introduce reload xml that accepts file > names and has the ability to load just one file name into the memory (we > achieved 10ms loading time instead of 5 minutes) > The problem is that we had to introduce a lot of code in order to solve > this problem, has anyone else encounter this problem? we do not want to use > mod_xml_curl as we want to take care bringing the file to the machine > Another approach that we thought is that a database might be much better > fit in here, because every xml update includes the entire tenant (business) > and has the potential in harming other users in the same tenant, also DB > has much higher capacities then XMLs, did anyone think of enabling MySQL as > a directory of parameters instead of xml? > Thanks, > Yiftach. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121023/8c250723/attachment-0001.html From msc at freeswitch.org Tue Oct 23 20:19:38 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 23 Oct 2012 09:19:38 -0700 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: References: Message-ID: Thanks for the heads up. Raymond and I are checking into it. -MC On Tue, Oct 23, 2012 at 7:57 AM, Nick Vines wrote: > Still getting 404 for the following conference recordings. > > 2012_10_17 > 2012_10_10 > and > 2012_08_15 > > http://wiki.freeswitch.org/wiki/Weekly_Conference_Call > > Nick > > On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT Limited < > stuart.gilbertson at considerit.co.uk> wrote: > >> I get 404's for those two torrent links. >> >> >> Stuart >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/12fb9059/attachment.html From yiftah at choochee.com Tue Oct 23 20:32:22 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 09:32:22 -0700 Subject: [Freeswitch-users] Call disconnect upon re-invite - FS tears down call In-Reply-To: <017f01cdb138$e00325c0$a0097140$@com> References: <017f01cdb138$e00325c0$a0097140$@com> Message-ID: I am using a bit older version of FreeSWITCH but I think I saw it with Astra as well : /* INVITE in progress? */ if (sr->sr_usage == du && sr->sr_method == sip_method_invite && nua_server_request_is_pending(sr)) { return nua_client_return(cr, SIP_491_REQUEST_PENDING, msg); } The problem is with the ("nua_server_request_is_pending") : /** Return true if we have not sent final response to request */ su_inline int nua_server_request_is_pending(nua_server_request_t const *sr) { return sr && sr->sr_response.msg; } You did not send the initial invite in the Jira so I do not know if the initial request constructed correctly but judging by the code it looks like your request is still pending when the second invite arrives Thanks, Yiftach. On Tue, Oct 23, 2012 at 9:10 AM, Phil Quesinberry < philq at qsystemsengineering.com> wrote: > I'm experiencing an odd issue here where a direct media call (bypass media > mode) between two Aastra endpoints is disconnected when one of the > endpoints > sends a re-invite 2 minutes into the call, presumably to refresh the > session > - RTP ports & codecs remain unchanged. > > FreeSWITCH passes the invite on to the other endpoint which replies with > its > own invite, again keeping the same call parameters, ports/codecs etc. > > FS then sends a 491 - Request Pending to both endpoints, acknowledges the > second endpoint's invite and tears down the call. This seems wrong. is > this > expected behavior? I went ahead and filed a Jira on this just in case - it > includes all trace info: > http://jira.freeswitch.org/browse/FS-4754 > > > Phil Quesinberry > Q Systems Engineering, Inc. > Electronic Controls and Embedded Systems Development > (410) 969-8002 > http://www.qsystemsengineering.com > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/5650734d/attachment.html From yiftah at choochee.com Tue Oct 23 20:52:46 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 09:52:46 -0700 Subject: [Freeswitch-users] Contacting Anthony Message-ID: Hi FreeSWITCH community, Anyone has any idea if I can connect with Anthony Minessale directly, through mail, etc? Thanks, Yiftach. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/cb6a67ac/attachment.html From faisal.rehman22 at yahoo.com Tue Oct 23 21:15:47 2012 From: faisal.rehman22 at yahoo.com (Faisal Rehman) Date: Tue, 23 Oct 2012 10:15:47 -0700 (PDT) Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch In-Reply-To: References: <1350914933.70215.YahooMailNeo@web46214.mail.sp1.yahoo.com> Message-ID: <1351012547.72423.YahooMailNeo@web46204.mail.sp1.yahoo.com> Hello, Upon the installation of VLC with the help of yum (vlc-devel-0.9.9a-7.el5.rf ,?vlc-0.9.9a-7.el5.rf), most of the errors have been narrowed down but still there are some pending error that I have mentioned below. Do you still think its because of VLC version or something or any other suggestions you would like to share? Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: vlc/libvlc_media_player.h: No such file or directory cc1: warnings being treated as errors /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_open': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: implicit declaration of function 'libvlc_media_new_location' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: assignment makes pointer from integer without a cast /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: implicit declaration of function 'libvlc_media_new_path' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: assignment makes pointer from integer without a cast /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: warning: assignment makes pointer from integer without a cast /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: warning: assignment makes pointer from integer without a cast /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: too few arguments to function 'libvlc_media_player_new_from_media' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: implicit declaration of function 'libvlc_audio_set_format' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: implicit declaration of function 'libvlc_audio_set_callbacks' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: too few arguments to function 'libvlc_media_player_play' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: too few arguments to function 'libvlc_new' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: warning: assignment makes pointer from integer without a cast /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: too few arguments to function 'libvlc_media_player_new_from_media' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: too few arguments to function 'libvlc_media_player_play' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_read': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: too few arguments to function 'libvlc_media_get_state' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_close': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: too few arguments to function 'libvlc_media_get_state' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: too few arguments to function 'libvlc_media_get_state' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: too few arguments to function 'libvlc_media_player_stop' /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_load': /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: too few arguments to function 'libvlc_new' make[5]: *** [mod_vlc.lo] Error 1 make[4]: *** [install] Error 1 make[3]: *** [mod_vlc-install] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2 ? Regards, Faisal Rehman ________________________________ From: Ken Rice To: FreeSWITCH Users Help Sent: Monday, October 22, 2012 9:14 PM Subject: Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch Looks like you do not have the vlc libraries and header installed On 10/22/12 9:08 AM, "Faisal Rehman" wrote: Hello All, > >I have been trying to complie Freeswitch (freeswitch-1.2.3) on a CentOS box but if the module mod_vlc is enabled in the file modules.conf, I am getting the errors that you can see below, but mod_vlc being disabled results in the successful compilation of FS, so will you please share your ideas/opinions where I am missing anything. > > >making install mod_vlc >Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... >Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:46:21: error: vlc/vlc.h: No such file or directory >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: vlc/libvlc_media_player.h: No such file or directory >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:64: error: expected specifier-qualifier-list before 'libvlc_media_player_t' >cc1: warnings being treated as errors >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:78: warning: struct has no members >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_auto_play_callback': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:90: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:91: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:92: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:97: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:98: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:99: error: 'vlc_file_context_t' has no member named 'started' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:101: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_imem_get_callback': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:110: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:116: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:120: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:121: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:126: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:134: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_open': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:150: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:154: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: 'vlc_file_context_t' has no member named 'started' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: 'vlc_file_context_t' has no member named 'pool' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: implicit declaration of function 'libvlc_media_new_location' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'read_inst' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: (Each undeclared identifier is reported only once >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: for each function it appears in.) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:166: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: implicit declaration of function 'libvlc_media_new_path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:169: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:172: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:175: error: 'vlc_file_context_t' has no member named 'path' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:178: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:183: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:184: error: 'vlc_file_context_t' has no member named 'err' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: warning: implicit declaration of function 'libvlc_media_player_new_from_media' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:191: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: implicit declaration of function 'libvlc_audio_set_format' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: implicit declaration of function 'libvlc_audio_set_callbacks' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: warning: implicit declaration of function 'libvlc_media_player_play' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:209: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:216: error: 'vlc_file_context_t' has no member named 'samplerate' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: warning: implicit declaration of function 'libvlc_new' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:229: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:230: error: 'vlc_file_context_t' has no member named 'pts' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:231: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_read': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: 'libvlc_state_t' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: expected ';' before 'status' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:254: error: 'vlc_file_context_t' has no member named 'err' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: 'status' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: warning: implicit declaration of function 'libvlc_media_get_state' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:265: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:266: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: 'vlc_file_context_t' has no member named 'started' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:269: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:271: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:272: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:273: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_write': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:293: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:294: error: 'vlc_file_context_t' has no member named 'samples' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:295: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:296: error: 'vlc_file_context_t' has no member named 'audio_mutex' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'vlc_file_close': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:305: error: 'vlc_file_context_t' has no member named 'playing' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:308: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:309: error: 'vlc_file_context_t' has no member named 'audio_buffer' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:319: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: warning: implicit declaration of function 'libvlc_media_player_stop' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: 'vlc_file_context_t' has no member named 'mp' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:322: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: warning: implicit declaration of function 'libvlc_media_release' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: error: 'vlc_file_context_t' has no member named 'm' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:325: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: warning: implicit declaration of function 'libvlc_release' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: error: 'vlc_file_context_t' has no member named 'inst_out' >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_load': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: 'read_inst' undeclared (first use in this function) >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function 'mod_vlc_shutdown': >/usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:363: error: 'read_inst' undeclared (first use in this function) >make[5]: *** [mod_vlc.lo] Error 1 >make[4]: *** [install] Error 1 >make[3]: *** [mod_vlc-install] Error 1 >make[2]: *** [install-recursive] Error 1 >make[1]: *** [install-recursive] Error 1 >make: *** [install] Error 2 > > > >Thank you >? >Faisal Rehman > >>________________________________ >_________________________________________________________________________ >Professional FreeSWITCH Consulting Services: >consulting at freeswitch.org >http://www.freeswitchsolutions.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 > -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121023/2dfa4332/attachment-0001.html From philq at qsystemsengineering.com Tue Oct 23 21:16:52 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Tue, 23 Oct 2012 10:16:52 -0700 (PDT) Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <1350996656322-7583878.post@n2.nabble.com> References: <008a01cda6a0$a9c80a90$fd581fb0$@com> <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> Message-ID: <01c701cdb142$210954f0$631bfed0$@com> Glad to hear that worked for you but no joy over here. Actually, my config was already set up with PCMU only. Here's the complete transaction: http://pastebin.freeswitch.org/20117 I should probably also mention that trying a few changes and reloading mod_dingaling a few times crashed FreeSWITCH on the 3rd or 4th attempt. FS version is a recent pull: FreeSWITCH Version 1.3.0+git~20121022T035302Z~09c03667a8 (git 09c0366 2012-10-22 03:53:02Z) - Phil From: mzl [via freeswitch-users] [mailto:ml-node+s2379917n7583878h20 at n2.nabble.com] Sent: Tuesday, October 23, 2012 8:51 AM To: PhilQ Subject: Re: Problems with GV/mod_dingaling on latest stable version? Ken Rice-2 wrote What happens if you drop the video codec? Sounded like that is the culprit. I have to configure my FS with the following autoload_configs/dingaling.conf.xml. Otherwise, some calls don't complete. If a call gets completed, the audio quality sucks. If you reply to this email, your message will be added to the discussion below: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling -on-latest-stable-version-tp7583499p7583878.html To unsubscribe from Problems with GV/mod_dingaling on latest stable version?, click here . NAML -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583892.html Sent from the freeswitch-users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/830fcb32/attachment.html From anthony.minessale at gmail.com Tue Oct 23 21:24:30 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 12:24:30 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <01c701cdb142$210954f0$631bfed0$@com> References: <008a01cda6a0$a9c80a90$fd581fb0$@com> <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> Message-ID: Why don't you try using ip instead of dns names in your config like I mentioned earlier? in the dinagaling profile config set rtp-ip to your real ip , don't set ext-rtp-ip and give it a try. On Tue, Oct 23, 2012 at 12:16 PM, PhilQ wrote: > Glad to hear that worked for you but no joy over here. Actually, my > config was already set up with PCMU only. > > Here?s the complete transaction: > > *http://pastebin.freeswitch.org/20117* > > I should probably also mention that trying a few changes and reloading > mod_dingaling a few times crashed FreeSWITCH on the 3rd or 4th attempt. > > FS version is a recent pull: FreeSWITCH Version > 1.3.0+git~20121022T035302Z~09c03667a8 (git 09c0366 2012-10-22 03:53:02Z) > > - Phil > > ***From:* mzl [via freeswitch-users] [[hidden email] > ] > ***Sent:* Tuesday, October 23, 2012 8:51 AM > ***To:* PhilQ > ***Subject:* Re: Problems with GV/mod_dingaling on latest stable version? > > *Ken Rice-2 wrote*** > > What happens if you drop the video codec? > > Sounded like that is the culprit. I have to configure my FS with the > following autoload_configs/dingaling.conf.xml. Otherwise, some calls don't > complete. If a call gets completed, the audio quality sucks. > > > > > > > > > > > > > > > > > > ***If you reply to this email, your message will be added to the > discussion below:* > > * > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583878.html > * > > To unsubscribe from Problems with GV/mod_dingaling on latest stable > version?, *click here*. > *NAML* > > ------------------------------ > View this message in context: RE: Problems with GV/mod_dingaling on > latest stable version? > > Sent from the freeswitch-users mailing list archiveat Nabble.com. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/7de93d90/attachment-0001.html From anthony.minessale at gmail.com Tue Oct 23 21:26:01 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 12:26:01 -0500 Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch In-Reply-To: <1351012547.72423.YahooMailNeo@web46204.mail.sp1.yahoo.com> References: <1350914933.70215.YahooMailNeo@web46214.mail.sp1.yahoo.com> <1351012547.72423.YahooMailNeo@web46204.mail.sp1.yahoo.com> Message-ID: You need vlc 1.2 or greater. uninstall the package and just download and build it from their site. On Tue, Oct 23, 2012 at 12:15 PM, Faisal Rehman wrote: > Hello, > > Upon the installation of VLC with the help of yum (vlc-devel-0.9.9a-7.el5.rf > , vlc-0.9.9a-7.el5.rf), most of the errors have been narrowed down but > still there are some pending error that I have mentioned below. Do you > still think its because of VLC version or something or any other > suggestions you would like to share? > > > Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... > Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: > vlc/libvlc_media_player.h: No such file or directory > cc1: warnings being treated as errors > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_open': > > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: > implicit declaration of function 'libvlc_media_new_location' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: > assignment makes pointer from integer without a cast > > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: > implicit declaration of function 'libvlc_media_new_path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: > assignment makes pointer from integer without a cast > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: warning: > assignment makes pointer from integer without a cast > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: warning: > assignment makes pointer from integer without a cast > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: > too few arguments to function 'libvlc_media_player_new_from_media' > > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: > implicit declaration of function 'libvlc_audio_set_format' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: > implicit declaration of function 'libvlc_audio_set_callbacks' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: > too few arguments to function 'libvlc_media_player_play' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: > too few arguments to function 'libvlc_new' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: warning: > assignment makes pointer from integer without a cast > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: > too few arguments to function 'libvlc_media_player_new_from_media' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: > too few arguments to function 'libvlc_media_player_play' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_read': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: > too few arguments to function 'libvlc_media_get_state' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_close': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: > too few arguments to function 'libvlc_media_get_state' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: > too few arguments to function 'libvlc_media_get_state' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: > too few arguments to function 'libvlc_media_player_stop' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'mod_vlc_load': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: > too few arguments to function 'libvlc_new' > > make[5]: *** [mod_vlc.lo] Error 1 > make[4]: *** [install] Error 1 > make[3]: *** [mod_vlc-install] Error 1 > make[2]: *** [install-recursive] Error 1 > make[1]: *** [install-recursive] Error 1 > make: *** [install] Error 2 > > > > Regards, > > Faisal Rehman > ------------------------------ > *From:* Ken Rice > *To:* FreeSWITCH Users Help > *Sent:* Monday, October 22, 2012 9:14 PM > *Subject:* Re: [Freeswitch-users] Facing Issue while Compiling FreeSwitch > > Looks like you do not have the vlc libraries and header installed > > > On 10/22/12 9:08 AM, "Faisal Rehman" wrote: > > Hello All, > > I have been trying to complie Freeswitch (freeswitch-1.2.3) on a CentOS > box but if the module mod_vlc is enabled in the file modules.conf, I am > getting the errors that you can see below, but mod_vlc being disabled > results in the successful compilation of FS, so will you please share your > ideas/opinions where I am missing anything. > > > making install mod_vlc > Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c... > Compiling /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c ... > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:46:21: error: > vlc/vlc.h: No such file or directory > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:47:37: error: > vlc/libvlc_media_player.h: No such file or directory > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:61: error: > expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:64: error: > expected specifier-qualifier-list before 'libvlc_media_player_t' > cc1: warnings being treated as errors > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:78: warning: > struct has no members > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_auto_play_callback': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:90: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:91: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:92: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:97: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:98: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:99: error: > 'vlc_file_context_t' has no member named 'started' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:101: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_imem_get_callback': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:110: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:115: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:116: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:120: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:121: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:126: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:134: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_open': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:150: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:152: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:154: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:155: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: > 'vlc_file_context_t' has no member named 'started' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:156: error: > 'vlc_file_context_t' has no member named 'pool' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:164: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: warning: > implicit declaration of function 'libvlc_media_new_location' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > 'read_inst' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > (Each undeclared identifier is reported only once > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > for each function it appears in.) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:165: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:166: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:167: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: warning: > implicit declaration of function 'libvlc_media_new_path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:168: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:169: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:170: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:171: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:172: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:174: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:175: error: > 'vlc_file_context_t' has no member named 'path' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:178: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:183: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:184: error: > 'vlc_file_context_t' has no member named 'err' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: warning: > implicit declaration of function 'libvlc_media_player_new_from_media' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:186: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:191: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: warning: > implicit declaration of function 'libvlc_audio_set_format' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:193: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: warning: > implicit declaration of function 'libvlc_audio_set_callbacks' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:195: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: warning: > implicit declaration of function 'libvlc_media_player_play' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:197: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:209: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:216: error: > 'vlc_file_context_t' has no member named 'samplerate' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:224: warning: > implicit declaration of function 'libvlc_new' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:227: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:228: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:229: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:230: error: > 'vlc_file_context_t' has no member named 'pts' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:231: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:232: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_read': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: > 'libvlc_state_t' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:247: error: > expected ';' before 'status' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:254: error: > 'vlc_file_context_t' has no member named 'err' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: > 'status' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: warning: > implicit declaration of function 'libvlc_media_get_state' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:259: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:265: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:266: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: > 'vlc_file_context_t' has no member named 'started' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:267: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:269: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:271: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:272: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:273: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_write': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:293: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:294: error: > 'vlc_file_context_t' has no member named 'samples' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:295: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:296: error: > 'vlc_file_context_t' has no member named 'audio_mutex' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'vlc_file_close': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:305: error: > 'vlc_file_context_t' has no member named 'playing' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:308: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:309: error: > 'vlc_file_context_t' has no member named 'audio_buffer' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:314: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:315: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:319: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: warning: > implicit declaration of function 'libvlc_media_player_stop' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:320: error: > 'vlc_file_context_t' has no member named 'mp' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:322: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: warning: > implicit declaration of function 'libvlc_media_release' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:323: error: > 'vlc_file_context_t' has no member named 'm' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:325: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: warning: > implicit declaration of function 'libvlc_release' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:326: error: > 'vlc_file_context_t' has no member named 'inst_out' > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'mod_vlc_load': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:350: error: > 'read_inst' undeclared (first use in this function) > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c: In function > 'mod_vlc_shutdown': > /usr/src/freeswitch-1.2.3/src/mod/formats/mod_vlc/mod_vlc.c:363: error: > 'read_inst' undeclared (first use in this function) > make[5]: *** [mod_vlc.lo] Error 1 > make[4]: *** [install] Error 1 > make[3]: *** [mod_vlc-install] Error 1 > make[2]: *** [install-recursive] Error 1 > make[1]: *** [install-recursive] Error 1 > make: *** [install] Error 2 > > > > Thank you > > Faisal Rehman > > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/ad38ef2c/attachment-0001.html From anthony.minessale at gmail.com Tue Oct 23 21:28:36 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 12:28:36 -0500 Subject: [Freeswitch-users] [CRIT] sofia_presence.c In-Reply-To: References: Message-ID: Its an old debug line, Its removed now... I don't have time to dig up what it was for. So fee free to dig into the commits yourself. On Tue, Oct 23, 2012 at 6:05 AM, Luis Daniel Lucio Quiroz < luis.daniel.lucio at gmail.com> wrote: > I understand i need to update, my doubt is how binary detects that? > and why this only happens with an specific tenant and not in others? > > 2012/10/22 Anthony Minessale : > > means you should update cos that line is not in the code anymore. > > > > > > On Mon, Oct 22, 2012 at 3:18 PM, Luis Daniel Lucio Quiroz > > wrote: > >> > >> 2012-10-22 16:11:05.680467 [CRIT] sofia_presence.c:2424 WTF > >> [snom821/8.4.20][full] > >> > >> > >> what does this means? > >> > >> LD > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.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 > > > > > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/f1670c76/attachment.html From anthony.minessale at gmail.com Tue Oct 23 21:29:05 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 12:29:05 -0500 Subject: [Freeswitch-users] Contacting Anthony In-Reply-To: References: Message-ID: He's been known to send emails to this list... On Tue, Oct 23, 2012 at 11:52 AM, Yiftach Golan wrote: > Hi FreeSWITCH community, > Anyone has any idea if I can connect with Anthony Minessale directly, > through mail, etc? > Thanks, > Yiftach. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/adc259bb/attachment.html From william.king at quentustech.com Tue Oct 23 21:48:27 2012 From: william.king at quentustech.com (William King) Date: Tue, 23 Oct 2012 10:48:27 -0700 Subject: [Freeswitch-users] debian repositories and gpg key no longer valid. In-Reply-To: References: Message-ID: <5086D86B.8060902@quentustech.com> Can you paste the output of the following commands: wget http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub sudo apt-key add ./freeswitch_archive_g0.pub 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 10/22/2012 02:08 PM, Mauro wrote: > Hello. > I want to install freeswitch on my debian squeeze. > I've put deb http://files.freeswitch.org/repo/deb/debian/ squeeze main > in my soiurces.list, like said in > http://wiki.freeswitch.org/wiki/Installation_Guide. > Then I did > update apt-get. > curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub > | apt-key add - > apt-get update. > I've a gpg error it said that the key is not valid. > Where can I put a valid key? > Thank you. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From william.king at quentustech.com Tue Oct 23 21:51:41 2012 From: william.king at quentustech.com (William King) Date: Tue, 23 Oct 2012 10:51:41 -0700 Subject: [Freeswitch-users] redundant configuration questions In-Reply-To: <05c101cda723$3a8f5ba0$afae12e0$@bizfocused.com> References: <05c101cda723$3a8f5ba0$afae12e0$@bizfocused.com> Message-ID: <5086D92D.9090004@quentustech.com> Yes, you need to do more research into SRV records. Let the clients use their local dns servers, and setup backup routes before hand. Any outage you were to hit wouldn't require you to make DNS changes. 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 10/10/2012 01:10 PM, Sean Devoy wrote: > Hi All, > > > > I haven?t been able to search and find an answer or suggestion to this > specific redundant server question. Sorry if it has been answered and I > did not see it. > > > > My VOIP Provider allows for multiple endpoints by priority (aka primary > and backup FS Servers). This works fine for getting inbound calls > routed to my backup FS Server when Synapse Global is searching for the > cause of my outage for 3 hours!!! However, none of the users phones are > registered to this server. > > > > For my most demanding customer, I can route to his answering service on > the PSTN. But, how do I get the phones to switch to the backup server > and get on with life? > > > > Here are the ideas I have had so far. At least on my Linksys and Cisco > phones and ATAs, I can specify DNS servers. Setting the PHONES DNS > server to MY DNS server, I can eliminate the delay in changing a DNS > Name/ Address mapping required for timeout and propagation. Changing > DNS entries is thus immediate for the phones. Then we just have the > clients ALL reboot their phones. > > > > Of course I realize this make my DNS server a single point of failure! > > > > Is there a cleaner approach? I have read up on SRV and it is clear as > MUD. Do I just have to learn more about it? > > > > Thanks, > > Sean > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From anthony.minessale at gmail.com Tue Oct 23 22:01:21 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 13:01:21 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <98FC8797BEEA45279C8122019F04E7D2@gmail.com> Message-ID: The philosophy on xml_curl is to leverage the resilience of existing http clusters so the complexity is left to that component. You have some choices: 1) Use the xml_curl and DB on the local box itself so you can not worry about losing connections to a db. 2) Use the xml dp file feature where you set the dialplan to XML:/path/to/file.xml which is same format of what xml_curl returns and is static. 3) Write an XML hook module in C using the same technique as xml_curl that takes the search params and chooses the correct static files to parse. 4) Clean up your patch and try to get it into HEAD without breaking anything. I would like to implement caching too but the challenge is you need to know which of the 100 input fields are relevant to the results returned so you can key the cache on those specific params. I recommend you make sure you fully understand all of the above choices and make some educated decisions about what you want to do before you turn to surgery on the core of FS. On Tue, Oct 23, 2012 at 10:53 AM, Yiftach Golan wrote: > Hi Seven, > Thanks for the reply > I have two problems with the mod_xml_curl : > 1. We want to have some kind of caching mechanism so that if FreeSWITCH > crushes and there is no connection to the web server FreeSWITCH still works > (we are in a cloud environment) > If I understand correctly with mod_xml_curl we cannot achieve that > 2. How would it work from the lua script ? > Can I reloadxml from lua file by file? > 3. We already have a very complicated xml structure to support all of our > feature so probably converting the xmls will be pretty hard tasks > Any ideas? > > > On Tue, Oct 23, 2012 at 12:17 AM, Seven Du wrote: > >> I don't understand why you don't use mod_xml_curl, can you explain more? >> >> you could also try some lua binding which could pull from DB and generate >> XML on demand, not sure if it works for you. >> >> -- >> Seven Du >> Sent with Sparrow >> >> On Tuesday, October 23, 2012 at 8:56 AM, Yiftach Golan wrote: >> >> Hi FreeSWITCH community, >> My name is Yiftah and I am working for ChooChee which is a hosted PBX >> solution company >> We have been using FreeSWITCH for almost 2 years and we added a lot of >> code changes to the core and to the different modules >> Lately we have made a decision to get more close to the community so that >> we can enjoy the bug fixes and the new feature from the community and we >> can contribute our knowledge and bug fixes >> I would please like to start with a very basic question : >> We are using dialplan xmls in order to load the configuration, we have a >> lot of users on each freeswitch (+4k), it took a very long time for the >> configuration to load (around 5 minutes) during this time no new calls >> could be served by FreeSWITCH >> In order to solve this problem we introduce reload xml that accepts file >> names and has the ability to load just one file name into the memory (we >> achieved 10ms loading time instead of 5 minutes) >> The problem is that we had to introduce a lot of code in order to solve >> this problem, has anyone else encounter this problem? we do not want to use >> mod_xml_curl as we want to take care bringing the file to the machine >> Another approach that we thought is that a database might be much better >> fit in here, because every xml update includes the entire tenant (business) >> and has the potential in harming other users in the same tenant, also DB >> has much higher capacities then XMLs, did anyone think of enabling MySQL as >> a directory of parameters instead of xml? >> Thanks, >> Yiftach. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/569576d4/attachment-0001.html From mike.burlingame at me.com Tue Oct 23 22:32:29 2012 From: mike.burlingame at me.com (Mike Burlingame) Date: Tue, 23 Oct 2012 11:32:29 -0700 Subject: [Freeswitch-users] 491 Request Pending causes Disconnect of both legs Message-ID: Strange issue I am not 100% sure that this is the correct way to handle the transaction I have a client that calls a PSTN number the calls flow is Meta Switch --> FreeSwitch --> Carrier (Meta Switch) call set's up correctly however during the re-invite process for session timers the client's Meta switch sends an invite however ms after the client sends the invite so does the carrier resulting in 491 glare on the FreeSwitch box at this point FreeSwitch disconnects both calls. Clients initial invite requested Session Timers UAC however on the response from the carrier they did not include that in the response so they feel that they are not allowing the client to be in control of the session timers. My question is in the case of 491's being generated from both leg's of the call because now both have open dialogs should freeswitch disconnect the call like it's doing or back off by allowing the 491's to pass to each leg and allow the end points to work out the dialog. (carrier seems to think that's what should happen) From roland at callrica.co.za Tue Oct 23 22:52:49 2012 From: roland at callrica.co.za (roland at callrica.co.za) Date: Tue, 23 Oct 2012 20:52:49 +0200 Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch? In-Reply-To: References: <000901cdb124$abedf490$03c9ddb0$@callrica.co.za> Message-ID: <006301cdb14f$9bd2f940$d378ebc0$@callrica.co.za> I added the sip_h-X-crm_data variable to FSClient and then updated the FS Server's dialplan to use ${sip_h-X-crm_data} for the voice recording name...voila... pure magic! Many thanks! -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mitch Capper Sent: 23 October 2012 04:40 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch? you can add variables however variables by default are not transmitted to the server. You would want to add sip headers most likely (variable_sip_h_x) which then would be (I believe). ~mitch On Tue, Oct 23, 2012 at 6:45 AM, wrote: > Further to my email, I've been stepping thru the FSClient code, and I > see all calls are made using this syntax: > > {origination_caller_id_name='MyCallerIDName',origination_caller_id_num > ber='M > yCallerIDNumber'}sofia/gateway/1/5000 > > Can I add my own variables e.g. > > {origination_caller_id_name='MyCallerIDName',origination_caller_id_num > ber='M yCallerIDNumber', crm_accountid='1234', > crm_contactname='johnsmith'}sofia/gateway/1/5000 > > And use the FS server dialplan to extract them into variables I can > use in CDR and Voice recording? > > > > > > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > roland at callrica.co.za > Sent: 18 October 2012 02:22 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Best way to pass CRM data from FSClient > into Freeswitch? > > Hi Freeswitch Team, > > I'm looking for advice on how to pass CRM related information from a > FSClient to a Freeswitch server and use that data to customise the > voice recording file name and CDR > > The use case is like this: > > 1. User starts softphone and dials a contact from his contact list > e.g. John Smith > > 2. Softphone passes CRM Data e.g. "John Smith" with call into > Freeswitch > > 3. Freeswitch switches the call and records the conversation > > 4. Freeswitch labels the recording filename as "John Smith_SomeDateTime.wav" > > 5. Freeswitch tags the CDR with "John Smith" and call duration, start > time etc... > > I would like all the voice recordings and CDRs to be stored on the FS > Server. > > Is it possible for the FSClient to embed the CRM data in the SIP > message, and the FS server extract it into variables for use in the dial plan? > > Very new to all this, so any pointers would be much appreciated. > > Rgds > > > > > > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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-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://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-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://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 From philq at qsystemsengineering.com Tue Oct 23 22:54:41 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Tue, 23 Oct 2012 11:54:41 -0700 (PDT) Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> Message-ID: <1351018481517-7583903.post@n2.nabble.com> Tony, I went ahead and tried that and the call does make it farther along. The destination phone actually rings now but once it's answered the call immediately fails with DESTINATION_OUT_OF_ORDER. http://pastebin.freeswitch.org/20119 - Phil -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583903.html Sent from the freeswitch-users mailing list archive at Nabble.com. From anthony.minessale at gmail.com Tue Oct 23 23:00:46 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 14:00:46 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <1351018481517-7583903.post@n2.nabble.com> References: <020b01cda7cd$c59c1fd0$50d45f70$@com> <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> Message-ID: mod_dingaling.c:1253 RTP ERROR Bind Error! 71.179.xx.xx:25996 This means this IP is not on your box? Do you have an ip that is behind NAT ? If so, you need to put the real IP of the box in rtp-ip and the other one in ext-rtp-ip On Tue, Oct 23, 2012 at 1:54 PM, PhilQ wrote: > Tony, > > I went ahead and tried that and the call does make it farther along. The > destination phone actually rings now but once it's answered the call > immediately fails with DESTINATION_OUT_OF_ORDER. > > http://pastebin.freeswitch.org/20119 > > - Phil > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583903.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/d6a30484/attachment.html From itamar at ispbrasil.com.br Tue Oct 23 23:01:33 2012 From: itamar at ispbrasil.com.br (Itamar Reis Peixoto) Date: Tue, 23 Oct 2012 17:01:33 -0200 Subject: [Freeswitch-users] Facing Issue while Compiling FreeSwitch In-Reply-To: <1351012547.72423.YahooMailNeo@web46204.mail.sp1.yahoo.com> References: <1350914933.70215.YahooMailNeo@web46214.mail.sp1.yahoo.com> <1351012547.72423.YahooMailNeo@web46204.mail.sp1.yahoo.com> Message-ID: On Tue, Oct 23, 2012 at 3:15 PM, Faisal Rehman wrote: > Hello, > > Upon the installation of VLC with the help of yum (vlc-devel-0.9.9a-7.el5.rf > , vlc-0.9.9a-7.el5.rf), most of the errors have been narrowed down but still > there are some pending error that I have mentioned below. Do you still think > its because of VLC version or something or any other suggestions you would > like to share? > you probably wants the vlc package from rpmfusion.org -- ------------ Itamar Reis Peixoto http://www.quebarato.com.br/perfil/itamarjp From anthony.minessale at gmail.com Tue Oct 23 23:06:48 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 14:06:48 -0500 Subject: [Freeswitch-users] 491 Request Pending causes Disconnect of both legs In-Reply-To: References: Message-ID: Since FS is not a proxy, you may need to disable session timers. But I am not sure if seeing the session timer stuff in the packets won't kick them back in or get them to refuse them. We don't put tons of effort into emulating a proxy since it was the SIP implementors who invented all the crazy rules and we fall into the category of b2bua and happen to do a few proxy-ish things. On Tue, Oct 23, 2012 at 1:32 PM, Mike Burlingame wrote: > Strange issue I am not 100% sure that this is the correct way to handle > the transaction I have a client that calls a PSTN number the calls flow is > Meta Switch --> FreeSwitch --> Carrier (Meta Switch) call set's up > correctly however during the re-invite process for session timers the > client's Meta switch sends an invite however ms after the client sends the > invite so does the carrier resulting in 491 glare on the FreeSwitch box at > this point FreeSwitch disconnects both calls. > > Clients initial invite requested Session Timers UAC however on the > response from the carrier they did not include that in the response so they > feel that they are not allowing the client to be in control of the session > timers. > > My question is in the case of 491's being generated from both leg's of the > call because now both have open dialogs should freeswitch disconnect the > call like it's doing or back off by allowing the 491's to pass to each leg > and allow the end points to work out the dialog. (carrier seems to think > that's what should happen) > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/305de6fb/attachment-0001.html From mario_fs at mgtech.com Tue Oct 23 23:33:50 2012 From: mario_fs at mgtech.com (Mario G) Date: Tue, 23 Oct 2012 12:33:50 -0700 Subject: [Freeswitch-users] latest build fail In-Reply-To: <1350978731.13648.YahooMailClassic@web110815.mail.gq1.yahoo.com> References: <1350978731.13648.YahooMailClassic@web110815.mail.gq1.yahoo.com> Message-ID: <041BA7B1-FA1D-4158-BB9F-C312C6A5C433@mgtech.com> It built fine this morning for me, check the freeswitch jira. On Oct 23, 2012, at 12:52 AM, Sherif Omran wrote: > hello guys, > > there is a problem in the latest build. I keep on receiving lib tiff can not build. > > Is this known? Is there a fix? > > regards, > S. O > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From abaci64 at gmail.com Tue Oct 23 23:46:56 2012 From: abaci64 at gmail.com (Abaci) Date: Tue, 23 Oct 2012 15:46:56 -0400 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <98FC8797BEEA45279C8122019F04E7D2@gmail.com> Message-ID: <5086F430.4090003@gmail.com> on user directory that we do have caching (using the cacheable attribute), does it support expiration time, if not how hard would it be to implement that? On 10/23/2012 2:01 PM, Anthony Minessale wrote: > The philosophy on xml_curl is to leverage the resilience of existing > http clusters so the complexity is left to that component. > You have some choices: > > 1) Use the xml_curl and DB on the local box itself so you can not > worry about losing connections to a db. > 2) Use the xml dp file feature where you set the dialplan to > XML:/path/to/file.xml which is same format of what xml_curl returns > and is static. > 3) Write an XML hook module in C using the same technique as xml_curl > that takes the search params and chooses the correct static files to > parse. > 4) Clean up your patch and try to get it into HEAD without breaking > anything. > > I would like to implement caching too but the challenge is you need to > know which of the 100 input fields are relevant to the results > returned so you can key the cache on those specific params. > > I recommend you make sure you fully understand all of the above > choices and make some educated decisions about what you want to do > before you turn to surgery on the core of FS. > > > On Tue, Oct 23, 2012 at 10:53 AM, Yiftach Golan > wrote: > > Hi Seven, > Thanks for the reply > I have two problems with the mod_xml_curl : > 1. We want to have some kind of caching mechanism so that if > FreeSWITCH crushes and there is no connection to the web server > FreeSWITCH still works (we are in a cloud environment) > If I understand correctly with mod_xml_curl we cannot achieve that > 2. How would it work from the lua script ? > Can I reloadxml from lua file by file? > 3. We already have a very complicated xml structure to support all > of our feature so probably converting the xmls will be pretty hard > tasks > Any ideas? > > > On Tue, Oct 23, 2012 at 12:17 AM, Seven Du > wrote: > > I don't understand why you don't use mod_xml_curl, can you > explain more? > > you could also try some lua binding which could pull from DB > and generate XML on demand, not sure if it works for you. > > -- > Seven Du > Sent with Sparrow > > On Tuesday, October 23, 2012 at 8:56 AM, Yiftach Golan wrote: > >> Hi FreeSWITCH community, >> My name is Yiftah and I am working for ChooChee which is a >> hosted PBX solution company >> We have been using FreeSWITCH for almost 2 years and we added >> a lot of code changes to the core and to the different modules >> Lately we have made a decision to get more close to the >> community so that we can enjoy the bug fixes and the new >> feature from the community and we can contribute our >> knowledge and bug fixes >> I would please like to start with a very basic question : >> We are using dialplan xmls in order to load the >> configuration, we have a lot of users on each freeswitch >> (+4k), it took a very long time for the configuration to load >> (around 5 minutes) during this time no new calls could be >> served by FreeSWITCH >> In order to solve this problem we introduce reload xml that >> accepts file names and has the ability to load just one file >> name into the memory (we achieved 10ms loading time instead >> of 5 minutes) >> The problem is that we had to introduce a lot of code in >> order to solve this problem, has anyone else encounter this >> problem? we do not want to use mod_xml_curl as we want to >> take care bringing the file to the machine >> Another approach that we thought is that a database might be >> much better fit in here, because every xml update includes >> the entire tenant (business) and has the potential in harming >> other users in the same tenant, also DB has much higher >> capacities then XMLs, did anyone think of enabling MySQL as a >> directory of parameters instead of xml? >> Thanks, >> Yiftach. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/9eec446c/attachment-0001.html From cmason at frontiernetworks.ca Tue Oct 23 23:52:46 2012 From: cmason at frontiernetworks.ca (Colin Mason) Date: Tue, 23 Oct 2012 15:52:46 -0400 Subject: [Freeswitch-users] Bridge/gateway clarification Message-ID: <0D1C698866F66045A6201FD0F59CAC900146B59A24@EX.frontier.local> Hello, I am using FreeSWITCH as a SIP router to route calls through a few different private networks without answering the call. It gets answered downstream from my servers. I was wondering if there was a functionality difference between: And My gateway is defined as follows Thanks, Colin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/39633650/attachment.html From kris at kriskinc.com Wed Oct 24 00:13:18 2012 From: kris at kriskinc.com (Kristian Kielhofner) Date: Tue, 23 Oct 2012 16:13:18 -0400 Subject: [Freeswitch-users] Wireshark dissector for ESL? Message-ID: Hello everyone, Does anyone know of an ESL dissector for Wireshark? I'm specifically looking for something that can do TCP reassembly on ESL packets like the HTTP dissector (using content-length). Thanks! -- Kristian Kielhofner From krice at freeswitch.org Wed Oct 24 00:22:03 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 23 Oct 2012 15:22:03 -0500 Subject: [Freeswitch-users] Wireshark dissector for ESL? In-Reply-To: Message-ID: Hey Kris, I don't think anyone has built such a beast at this time... On 10/23/12 3:13 PM, "Kristian Kielhofner" wrote: > Hello everyone, > > Does anyone know of an ESL dissector for Wireshark? I'm > specifically looking for something that can do TCP reassembly on ESL > packets like the HTTP dissector (using content-length). > > Thanks! -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch From kris at kriskinc.com Wed Oct 24 00:28:04 2012 From: kris at kriskinc.com (Kristian Kielhofner) Date: Tue, 23 Oct 2012 16:28:04 -0400 Subject: [Freeswitch-users] Wireshark dissector for ESL? In-Reply-To: References: Message-ID: Hi Ken, Ok, thanks. I'll ask on wireshark-dev. On Tue, Oct 23, 2012 at 4:22 PM, Ken Rice wrote: > Hey Kris, > > I don't think anyone has built such a beast at this time... > > -- Kristian Kielhofner From yiftah at choochee.com Wed Oct 24 00:28:44 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 13:28:44 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <98FC8797BEEA45279C8122019F04E7D2@gmail.com> Message-ID: In our method the caching that we made is based on a file when someone wants to load a file we just run : > reloadxml "" I am keeping the aggregated XML inside the memory in a pre allocated area, and before and after each file I put an xml note : and in the end When the user wants to load "/opt/freeswitch/conf/autoload_configs/jingle_profiles/client.xml" I just search for this file in the memory replace the content and then let the regular xml parser do its work I will try the other options and if they give a better solution I will just use them if not I will add our changes to the HEAD Thanks, Yiftach. On Tue, Oct 23, 2012 at 11:01 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > The philosophy on xml_curl is to leverage the resilience of existing http > clusters so the complexity is left to that component. > You have some choices: > > 1) Use the xml_curl and DB on the local box itself so you can not worry > about losing connections to a db. > 2) Use the xml dp file feature where you set the dialplan to > XML:/path/to/file.xml which is same format of what xml_curl returns and is > static. > 3) Write an XML hook module in C using the same technique as xml_curl that > takes the search params and chooses the correct static files to parse. > 4) Clean up your patch and try to get it into HEAD without breaking > anything. > > I would like to implement caching too but the challenge is you need to > know which of the 100 input fields are relevant to the results returned so > you can key the cache on those specific params. > > I recommend you make sure you fully understand all of the above choices > and make some educated decisions about what you want to do before you turn > to surgery on the core of FS. > > > On Tue, Oct 23, 2012 at 10:53 AM, Yiftach Golan wrote: > >> Hi Seven, >> Thanks for the reply >> I have two problems with the mod_xml_curl : >> 1. We want to have some kind of caching mechanism so that if FreeSWITCH >> crushes and there is no connection to the web server FreeSWITCH still works >> (we are in a cloud environment) >> If I understand correctly with mod_xml_curl we cannot achieve that >> 2. How would it work from the lua script ? >> Can I reloadxml from lua file by file? >> 3. We already have a very complicated xml structure to support all of our >> feature so probably converting the xmls will be pretty hard tasks >> Any ideas? >> >> >> On Tue, Oct 23, 2012 at 12:17 AM, Seven Du wrote: >> >>> I don't understand why you don't use mod_xml_curl, can you explain >>> more? >>> >>> you could also try some lua binding which could pull from DB and >>> generate XML on demand, not sure if it works for you. >>> >>> -- >>> Seven Du >>> Sent with Sparrow >>> >>> On Tuesday, October 23, 2012 at 8:56 AM, Yiftach Golan wrote: >>> >>> Hi FreeSWITCH community, >>> My name is Yiftah and I am working for ChooChee which is a hosted PBX >>> solution company >>> We have been using FreeSWITCH for almost 2 years and we added a lot of >>> code changes to the core and to the different modules >>> Lately we have made a decision to get more close to the community so >>> that we can enjoy the bug fixes and the new feature from the community and >>> we can contribute our knowledge and bug fixes >>> I would please like to start with a very basic question : >>> We are using dialplan xmls in order to load the configuration, we have a >>> lot of users on each freeswitch (+4k), it took a very long time for the >>> configuration to load (around 5 minutes) during this time no new calls >>> could be served by FreeSWITCH >>> In order to solve this problem we introduce reload xml that accepts file >>> names and has the ability to load just one file name into the memory (we >>> achieved 10ms loading time instead of 5 minutes) >>> The problem is that we had to introduce a lot of code in order to solve >>> this problem, has anyone else encounter this problem? we do not want to use >>> mod_xml_curl as we want to take care bringing the file to the machine >>> Another approach that we thought is that a database might be much better >>> fit in here, because every xml update includes the entire tenant (business) >>> and has the potential in harming other users in the same tenant, also DB >>> has much higher capacities then XMLs, did anyone think of enabling MySQL as >>> a directory of parameters instead of xml? >>> Thanks, >>> Yiftach. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/1603cf8f/attachment-0001.html From errotan at elder.hu Wed Oct 24 01:03:57 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Tue, 23 Oct 2012 23:03:57 +0200 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: Message-ID: <5087063D.7080900@elder.hu> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml config memory section is locked while the files are proccessed so other modules are waiting for it. Instead of loading just one file you could continue to load all the files into somekind of a new temporary config section without locking the main. Once the files are loaded and processed the temporary and main section could be swapped or the temporary is used and the other is deleted from memory. No idea how many time this could take to implement. 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: > Hi FreeSWITCH community, > My name is Yiftah and I am working for ChooChee which is a hosted PBX > solution company > We have been using FreeSWITCH for almost 2 years and we added a lot of > code changes to the core and to the different modules > Lately we have made a decision to get more close to the community so > that we can enjoy the bug fixes and the new feature from the community > and we can contribute our knowledge and bug fixes > I would please like to start with a very basic question : > We are using dialplan xmls in order to load the configuration, we have > a lot of users on each freeswitch (+4k), it took a very long time for > the configuration to load (around 5 minutes) during this time no new > calls could be served by FreeSWITCH > In order to solve this problem we introduce reload xml that accepts > file names and has the ability to load just one file name into the > memory (we achieved 10ms loading time instead of 5 minutes) > The problem is that we had to introduce a lot of code in order to > solve this problem, has anyone else encounter this problem? we do not > want to use mod_xml_curl as we want to take care bringing the file to > the machine > Another approach that we thought is that a database might be much > better fit in here, because every xml update includes the entire > tenant (business) and has the potential in harming other users in the > same tenant, also DB has much higher capacities then XMLs, did anyone > think of enabling MySQL as a directory of parameters instead of xml? > Thanks, > Yiftach. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/2d4f3f6b/attachment.html From rmartinez at redvoiss.net Wed Oct 24 01:18:49 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Tue, 23 Oct 2012 18:18:49 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Message-ID: <942ea350e517769211e39dec18e39c5d@mail.gmail.com> Re: [Freeswitch-users] CPU Spikes every 20 minutes Hello Ken. In fact i have two transcoding cards for this machine. I was able to gather performance statistics with ?dstat?. This is what I have for a certain period of time (every 5 second), including the moment it reach high ?load average? (14 or 15). I included the interrupts for eth4 and eth5 (83 and 91) which are the PCIe Sangoma Transcoding Cards. I noticed certain correlation between the ?net received? and the interrupts for the eth4, could this be the cause of the high load average ??? If so?, are the RTP packets the cause of this?. What do you think?! Regards, Ricardo.- [root at transcoder rmartinez]# more /proc/interrupts 83: 35 11112478 1027490479 2378114054 0 1484697027 620462655 1028635757 PCI-MSI eth4 91: 36 1124521815 1276819784 451886364 0 1090122523 248909954 549224594 PCI-MSI eth5 ----total-cpu-usage---- -net/total- -dsk/total- ---load-avg--- ---procs--- ---system-- -interrupts usr sys idl wai hiq siq| recv send| read writ| 1m 5m 15m |run blk new| int csw | 83 91 3 2 90 1 0 2| 0 0 |6751B 717k| 0.7 3.7 5.4| 0 0 4| 17k 31k|1371 258 11 8 72 0 0 8| 11M 8045k| 0 74k| 1.4 3.8 5.4| 0 0 11| 46k 81k| 10k 7150 11 8 72 0 0 8| 11M 7933k| 0 9830B| 1.3 3.7 5.4| 2 0 12| 46k 96k| 11k 7216 13 9 71 0 0 8| 11M 8051k| 0 13k| 1.2 3.6 5.3| 18 0 37| 46k 121k| 10k 7195 13 9 68 0 0 8| 11M 8072k| 0 9830B| 1.1 3.6 5.3| 3 0 21| 46k 163k| 11k 7211 14 9 67 0 0 9| 12M 8506k| 0 9830B| 1 3.5 5.3| 0 0 14| 49k 131k| 11k 7215 13 10 67 0 0 10| 12M 9065k| 0 9830B| 0.9 3.5 5.2| 0 0 9| 50k 116k| 11k 7298 13 10 67 0 0 10| 13M 9396k| 0 78k| 1.6 3.6 5.3| 0 0 12| 51k 104k| 11k 7330 16 10 64 0 0 9| 13M 9391k| 0 202k| 2.3 3.7 5.3| 2 0 17| 51k 106k| 11k 7391 22 9 60 0 0 9| 13M 9246k| 0 54k| 3 3.8 5.3| 2 0 11| 50k 102k| 11k 7278 20 9 61 0 0 9| 12M 9026k| 0 18k| 3.1 3.8 5.3| 4 0 13| 49k 98k| 11k 7220 12 9 71 0 0 9| 12M 8576k| 0 32k| 3.2 3.8 5.3| 7 0 13| 47k 94k| 10k 7257 12 8 72 0 0 7| 11M 8233k| 0 9830B| 3.2 3.8 5.3| 9 0 30| 46k 86k| 10k 7087 11 8 73 0 0 8| 11M 7968k| 0 9830B| 5.8 4.3 5.5| 5 0 17| 45k 85k| 11k 7121 12 8 71 0 0 8| 11M 8234k| 0 219k| 5.3 4.3 5.4| 3 0 16| 47k 102k| 11k 7223 12 8 71 0 0 8| 11M 8221k| 0 653k| 4.9 4.2 5.4| 0 0 15| 47k 99k| 11k 7186 12 8 72 0 0 8| 11M 7854k| 0 45k| 4.5 4.1 5.4| 0 0 18| 46k 108k| 11k 7277 12 8 70 0 0 9| 11M 7965k| 0 9830B| 4.2 4 5.3| 1 0 22| 46k 115k| 11k 7157 12 8 71 0 0 8| 11M 7881k| 0 9830B| 4.2 4 5.3| 4 0 11| 46k 110k| 11k 7171 12 8 72 0 0 8| 11M 8080k| 0 9830B| 3.8 4 5.3| 9 0 16| 47k 102k| 11k 7174 11 8 72 0 0 8| 11M 8143k| 0 9830B| 3.5 3.9 5.3| 7 0 11| 46k 107k| 10k 7242 12 8 72 0 0 8| 11M 8297k| 0 112k| 3.2 3.9 5.3| 4 0 12| 47k 103k| 11k 7093 12 9 71 0 0 8| 12M 8535k| 0 9830B| 3 3.8 5.2| 0 0 17| 47k 102k| 11k 7223 12 9 70 0 0 8| 12M 8718k| 0 13k| 2.7 3.7 5.2| 0 0 19| 48k 105k| 11k 7238 12 9 70 0 0 9| 12M 8692k| 0 9830B| 3.2 3.8 5.2| 3 0 16| 48k 96k| 11k 7213 12 8 71 0 0 8| 12M 8458k| 0 14k| 3.2 3.8 5.2| 1 0 14| 48k 85k| 12k 7163 12 9 70 0 0 9| 12M 8751k| 0 13k| 3 3.7 5.2| 2 0 12| 49k 101k| 11k 7092 14 10 67 0 0 9| 12M 8861k| 0 13k| 2.7 3.7 5.2| 8 0 42| 49k 119k| 12k 7024 14 10 65 0 0 9| 12M 8657k| 0 42k| 2.5 3.6 5.1| 7 0 20| 50k 168k| 12k 7280 16 11 63 0 0 11| 13M 9386k| 0 9830B| 3.7 3.9 5.2| 4 0 12| 53k 139k| 13k 7500 14 10 65 0 0 10| 13M 9228k| 0 9830B| 3.8 3.9 5.2| 4 0 9| 52k 117k| 13k 7423 13 10 67 0 0 10| 13M 8937k| 0 9830B| 3.5 3.8 5.2| 5 0 16| 50k 109k| 12k 7441 14 10 67 0 0 10| 13M 9262k| 0 9830B| 4 3.9 5.2| 2 0 13| 51k 113k| 12k 7414 13 9 68 0 0 9| 12M 8906k| 0 9830B| 3.7 3.8 5.2| 0 0 12| 50k 107k| 12k 7459 13 9 68 0 0 9| 12M 8992k| 0 9830B| 3.4 3.8 5.1| 4 0 10| 50k 101k| 12k 7376 12 9 70 0 0 9| 12M 8637k| 0 18k| 3.1 3.7 5.1| 0 0 14| 49k 89k| 12k 7169 13 9 70 0 0 8| 12M 8452k| 0 9830B| 2.9 3.6 5.1| 2 0 34| 48k 92k| 11k 7172 12 9 70 0 0 9| 12M 8644k| 0 9830B| 2.7 3.6 5| 0 0 12| 49k 93k| 11k 7091 12 9 69 0 0 9| 12M 8658k| 0 13k| 2.7 3.6 5| 0 0 15| 49k 105k| 12k 7242 12 9 69 0 0 9| 12M 8912k| 0 13k| 2.9 3.6 5| 0 0 11| 50k 103k| 11k 7320 12 9 69 0 0 9| 12M 8722k| 0 77k| 3 3.6 5| 0 0 11| 49k 103k| 11k 7313 13 9 68 0 0 9| 12M 8786k| 0 21k| 3 3.6 5| 0 0 16| 50k 101k| 11k 7435 12 9 70 0 0 9| 12M 8388k| 0 66k| 2.7 3.5 5| 5 0 10| 48k 103k| 11k 7399 12 9 69 0 0 10| 12M 8622k| 0 9830B| 2.9 3.6 5| 6 0 15| 49k 96k| 11k 7301 12 9 69 0 0 9| 12M 8625k| 0 9830B| 3 3.6 5| 6 0 16| 49k 102k| 11k 7256 12 9 69 0 0 9| 12M 8847k| 0 9830B| 3.4 3.6 5| 2 0 12| 50k 100k| 11k 7332 13 9 68 0 0 9| 12M 9005k| 0 9830B| 3.7 3.7 5| 2 0 20| 50k 103k| 11k 7125 13 9 68 0 0 9| 12M 8844k| 0 9830B| 4.5 3.9 5.1| 1 0 23| 50k 108k| 11k 7332 13 10 68 0 0 9| 13M 9000k| 0 9830B| 4.4 3.9 5| 4 0 13| 51k 93k| 12k 7233 13 10 68 0 0 9| 13M 9368k| 0 11k| 6.2 4.2 5.2| 2 0 8| 52k 87k| 12k 7365 13 9 69 0 0 9| 13M 9259k| 0 9830B| 6.2 4.3 5.2| 0 0 10| 51k 92k| 12k 7395 15 10 66 0 0 9| 12M 8785k| 0 13k| 6.1 4.3 5.2| 5 0 45| 49k 135k| 11k 7516 14 10 65 0 0 10| 12M 8661k| 0 70k| 7.1 4.5 5.2| 11 0 17| 50k 157k| 12k 7518 15 11 63 0 0 11| 13M 9044k| 0 14k| 7.7 4.7 5.3| 3 0 14| 52k 136k| 12k 7517 14 11 64 0 0 10| 13M 9218k| 0 9830B| 7.9 4.8 5.3| 0 0 13| 52k 125k| 12k 7445 14 10 64 0 0 11| 14M 9925k| 0 9830B| 7.9 4.8 5.3| 0 0 11| 54k 106k| 12k 7415 13 10 66 0 0 10| 13M 9696k| 0 67k| 7.7 4.8 5.3| 0 0 11| 53k 100k| 12k 7352 13 10 67 0 0 10| 13M 9255k| 0 9830B| 8.1 5 5.4| 0 0 11| 52k 98k| 12k 7373 12 8 71 0 0 9| 12M 8433k| 0 9830B| 7.7 4.9 5.4| 0 0 12| 48k 96k| 11k 7195 12 8 72 0 0 8| 12M 8120k| 0 9830B| 7.7 5 5.4| 0 0 19| 47k 92k| 11k 7241 11 8 72 0 0 8| 11M 8053k| 0 9830B| 7.7 5 5.4| 0 0 14| 47k 88k| 11k 7179 11 8 72 0 0 8| 11M 8074k| 0 9830B| 8.1 5.2 5.4| 1 0 11| 47k 90k| 11k 7220 12 8 71 0 0 8| 12M 8218k| 0 9830B| 8.3 5.2 5.5| 1 0 11| 47k 93k| 11k 7065 12 9 72 0 0 8| 12M 8235k| 0 13k| 9 5.4 5.5| 2 0 17| 48k 95k| 11k 7278 12 9 71 0 0 8| 11M 8213k| 0 70k| 8.9 5.5 5.5| 8 0 16| 47k 100k| 11k 7129 12 9 70 0 0 8| 11M 8211k| 0 9830B| 9.4 5.6 5.6| 2 0 13| 47k 102k| 11k 7142 12 9 71 0 0 8| 12M 8464k| 0 9830B| 10 5.9 5.7| 3 0 13| 48k 97k| 11k 7082 12 8 71 0 0 8| 12M 8402k| 0 9830B| 11 6 5.7| 1 0 9| 48k 96k| 11k 7135 11 8 71 0 0 9| 12M 8357k| 0 9830B| 9.8 5.9 5.7| 0 0 10| 47k 96k| 11k 7073 12 8 71 0 0 9| 12M 8393k| 0 11k| 9.9 6 5.7| 1 0 12| 47k 92k| 11k 6885 11 8 71 0 0 9| 11M 8348k| 0 64k| 10 6.2 5.8| 6 0 18| 47k 100k| 11k 6980 11 8 72 0 0 8| 11M 8290k| 0 9830B| 14 7 6| 0 0 12| 47k 96k| 11k 7000 13 9 69 0 0 9| 12M 8683k| 0 9830B| 13 6.9 6| 0 0 28| 49k 89k| 11k 7083 13 9 68 0 0 9| 13M 9172k| 0 9830B| 13 7 6.1| 0 0 14| 51k 96k| 12k 7357 13 10 68 0 0 9| 12M 8999k| 0 9830B| 13 7.1 6.1| 0 0 11| 50k 102k| 12k 7422 14 10 67 0 0 9| 12M 8817k| 0 138k| 13 7.2 6.1| 0 0 36| 50k 122k| 12k 7240 14 10 66 0 0 9| 12M 8564k| 0 110k| 13 7.4 6.2| 3 0 22| 50k 164k| 12k 7302 14 10 66 0 0 9| 12M 8591k| 0 139k| 13 7.3 6.2| 2 0 11| 50k 139k| 12k 7416 14 10 67 0 0 9| 13M 8776k| 0 9830B| 12 7.4 6.2| 0 0 10| 50k 111k| 12k 7325 12 9 69 0 0 9| 12M 8674k| 0 9830B| 12 7.4 6.2| 0 0 14| 49k 99k| 12k 7354 13 9 69 0 0 9| 12M 8688k| 0 9830B| 12 7.4 6.2| 2 0 13| 49k 99k| 11k 7268 12 9 70 0 0 9| 12M 8450k| 0 14k| 12 7.4 6.2| 0 0 13| 48k 95k| 11k 7238 12 8 72 0 0 8| 11M 8189k| 0 9830B| 11 7.4 6.2| 2 0 14| 47k 90k| 11k 7291 11 8 74 0 0 8| 11M 7815k| 0 9830B| 13 7.8 6.3| 0 0 16| 46k 85k| 11k 7260 10 8 74 0 0 8| 11M 7947k| 0 14k| 13 7.9 6.4| 3 0 11| 46k 76k| 11k 6884 10 7 75 0 0 7| 11M 7654k| 0 13k| 15 8.4 6.6| 2 0 13| 44k 79k| 11k 6749 9 7 76 0 0 7| 10M 7458k| 0 9830B| 14 8.3 6.6| 0 0 10| 44k 87k| 10k 6682 10 7 75 0 0 7| 10M 7410k| 0 53k| 14 8.4 6.6| 0 0 13| 44k 92k| 10k 6710 10 8 76 0 0 7| 10M 7315k| 0 48k| 13 8.3 6.6| 0 0 10| 43k 89k|9904 6805 10 7 76 0 0 7| 10M 7131k| 0 9830B| 13 8.3 6.6| 0 0 14| 43k 90k|9589 6967 10 7 75 0 0 7| 10M 7073k| 0 13k| 12 8.3 6.6| 6 0 18| 42k 99k|9492 7072 11 8 74 0 0 7| 10M 7395k| 0 58k| 12 8.2 6.6| 6 0 14| 44k 103k|9674 7188 10 8 74 0 0 7| 11M 7694k| 0 9830B| 11 8.2 6.6| 2 0 10| 45k 88k|9831 7138 10 7 75 0 0 7| 11M 7677k| 0 9830B| 12 8.4 6.6| 0 0 10| 45k 82k|9837 7177 10 7 76 0 0 7| 10M 7219k| 0 9830B| 12 8.4 6.7| 0 0 16| 43k 87k|9660 6971 9 7 77 0 0 6| 10M 7071k| 0 9830B| 11 8.3 6.6| 0 0 10| 42k 86k|9757 6957 10 7 77 0 0 7| 10M 7153k| 0 13k| 11 8.4 6.7| 1 0 22| 43k 78k|9739 7148 10 7 76 0 0 7| 10M 7380k| 0 13k| 13 8.7 6.8| 0 0 9| 44k 80k| 10k 7219 10 7 76 0 0 7| 10M 7406k| 0 13k| 12 8.6 6.8| 1 0 11| 44k 83k| 10k 7157 12 8 73 0 0 7| 10M 7137k| 0 13k| 11 8.4 6.7| 9 0 45| 43k 131k| 10k 7094 11 8 72 0 0 8| 10M 7207k| 0 9830B| 10 8.3 6.7| 1 0 10| 44k 152k| 11k 7140 12 9 71 0 0 8| 11M 7470k| 0 27k| 9.3 8.2 6.7| 2 0 13| 46k 127k| 11k 7211 12 9 70 0 0 9| 12M 8019k| 0 9830B| 9 8.2 6.7| 1 0 6| 47k 101k| 11k 7214 12 9 71 0 0 9| 12M 8341k| 0 9830B| 8.3 8.1 6.6| 3 0 11| 47k 84k| 11k 7219 11 7 74 0 0 8| 11M 7868k| 0 9830B| 7.6 7.9 6.6| 1 0 8| 46k 87k| 11k 7131 10 7 75 0 0 7| 11M 7473k| 0 18k| 7.2 7.8 6.6| 0 0 9| 44k 83k| 10k 7121 9 7 77 0 0 7| 10M 7199k| 0 9830B| 6.6 7.7 6.5| 0 0 12| 43k 77k| 10k 7158 8 6 79 0 0 7|9926k 6836k| 0 9830B| 6.1 7.6 6.5| 1 0 8| 41k 77k|9540 7188 8 6 80 0 0 6|9677k 6700k| 0 9830B| 5.6 7.4 6.5| 0 0 9| 41k 66k|9341 7022 7 5 82 0 0 6|9288k 6355k| 0 14k| 5.2 7.3 6.4| 0 0 8| 39k 62k|9211 6843 7 5 82 0 0 6|8843k 6095k| 0 9830B| 4.8 7.2 6.4| 0 0 8| 38k 66k|8828 6758 7 5 82 0 0 6|8557k 5993k| 0 13k| 4.4 7.1 6.3| 1 0 12| 38k 70k|8588 6722 7 5 83 0 0 5|8174k 5676k| 0 16k| 4.1 7 6.3| 0 0 11| 36k 78k|8144 6618 7 5 82 0 0 5|8325k 5828k| 0 9830B| 3.7 6.9 6.3| 1 0 11| 37k 78k|8364 6675 8 6 80 0 0 6|8738k 6220k| 0 9830B| 3.4 6.7 6.2| 0 0 14| 39k 82k|8506 6689 9 6 79 0 0 6|9161k 6565k| 0 9830B| 3.2 6.6 6.2| 0 0 9| 40k 84k|8770 6633 8 6 79 0 0 6|9315k 6616k| 0 9830B| 2.9 6.5 6.2| 0 0 9| 40k 77k|8844 6679 8 6 78 0 0 6|9506k 6819k| 0 9830B| 2.7 6.4 6.2| 2 0 10| 41k 74k|8743 6843 9 7 78 0 0 6|9481k 6765k| 0 9830B| 2.5 6.3 6.1| 2 0 18| 41k 85k|8911 6804 8 6 79 0 0 6|9397k 6663k| 0 13k| 2.3 6.2 6.1| 0 0 9| 41k 82k|8989 6845 9 7 77 0 0 6|9732k 6765k| 0 9830B| 2.2 6.1 6.1| 3 0 18| 41k 72k|9168 6916 8 7 78 0 0 7|9871k 6700k| 0 9830B| 2.2 6.1 6| 0 0 7| 41k 76k|9155 6935 9 6 78 0 0 6|9772k 6711k| 0 9830B| 2 6 6| 0 0 10| 41k 75k|9085 6744 10 7 76 0 0 7|9361k 6501k| 0 13k| 1.9 5.9 6| 1 0 39| 40k 115k|9030 6723 11 8 73 0 0 7|9831k 6844k| 0 9830B| 1.7 5.8 5.9| 0 0 12| 42k 144k|9639 6716 11 8 74 0 0 8| 10M 6913k| 0 18k| 1.8 5.7 5.9| 0 0 6| 43k 109k| 10k 6945 11 8 74 0 0 8| 11M 7346k| 0 38k| 1.6 5.6 5.9| 2 0 9| 44k 87k| 10k 7047 10 7 76 0 0 7| 10M 7147k| 0 82k| 1.5 5.5 5.9| 1 0 12| 43k 81k|9820 6942 9 7 77 0 0 7| 9.9M 6957k| 0 11k| 1.4 5.4 5.8| 0 0 9| 42k 79k|9475 6768 9 7 78 0 0 6|9602k 6597k| 0 9830B| 1.2 5.3 5.8| 0 0 11| 40k 80k|8916 6728 8 6 80 0 0 6|9115k 6146k| 0 9830B| 1.2 5.3 5.8| 1 0 9| 38k 73k|8590 6662 7 5 83 0 0 5|8426k 5678k| 0 9830B| 1.1 5.2 5.7| 0 0 9| 37k 68k|8257 6586 6 4 84 0 0 5|7898k 5440k| 0 9830B| 1 5.1 5.7| 0 0 5| 35k 60k|7739 6405 7 5 84 0 0 5|7634k 5303k| 0 94k| 1.2 5 5.7| 0 0 11| 35k 67k|7725 6449 6 5 84 0 0 5|7765k 5485k| 0 21k| 1.1 5 5.7| 0 0 8| 35k 70k|7948 6350 7 5 83 0 0 5|7803k 5452k| 0 112k| 1.1 4.9 5.6| 0 0 12| 35k 75k|7938 6248 8 5 82 0 0 5|8024k 5693k| 0 107k| 1.2 4.8 5.6| 1 0 18| 36k 84k|7882 6416 7 5 82 0 0 5|8300k 5918k| 0 14k| 1.1 4.8 5.6| 3 0 11| 37k 81k|8191 6540 8 6 80 0 0 6|8396k 5990k| 0 9830B| 1 4.7 5.5| 2 0 16| 37k 86k|8253 6200 8 6 80 0 0 6|8752k 6305k| 0 13k| 0.9 4.6 5.5| 4 0 10| 39k 89k|8395 6314 *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-u sers-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 19:00 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Keeping in mind that you are using a sangoma transcoder board, that means you are handling the equivalent of 440 concurrent calls worth of media for people not using sangoma transcoding hardware (yes theres 4 call legs in that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From D100 back to FS, 1 from FS back out to the other end point). That doesn?t sound like that big of a problem... You will have a fair bit of network traffic that way (the D100 shows up as another network interface as you are probably aware)... I would be looking at something like iotop or something else to see where that load is coming from Also, you have plenty of CPU free... So there is either a real problem here, or this is one of those things where the number of threads handling RTP and SIP are hanging around the run queue long enough to show up in the load average... On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: Ken. There is an average of 220 concurrent calls. Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. Centos 5.5 64bits Ricarod.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 17:47 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes How many concurrent calls are you doing on that box? On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: Hi Ken. I mounted the db directory in RAM as you mention, but the ?load average? still is high. You can see this here : Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 132G 8.6G 117G 7% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts /dev/cciss/c0d0p1 104M 20M 79M 21% /boot tmpfs 4.2G 0 4.2G 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db * This is a resume from uptime and total calls for my freeswitch : 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, 4.66 , Total Calls : 209, Total sessions: 440 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, 4.80 , Total Calls : 245, Total sessions: 510 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, 4.77 , Total Calls : 235, Total sessions: 488 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, 4.81 , Total Calls : 233, Total sessions: 484 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, 4.80 , Total Calls : 226, Total sessions: 470 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, 4.78 , Total Calls : 218, Total sessions: 454 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, 4.75 , Total Calls : 198, Total sessions: 416 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, 4.72 , Total Calls : 183, Total sessions: 384 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, 4.70 , Total Calls : 172, Total sessions: 366 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, 4.68 , Total Calls : 184, Total sessions: 388 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, 4.65 , Total Calls : 207, Total sessions: 442 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, 4.65 , Total Calls : 203, Total sessions: 436 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, 4.63 , Total Calls : 198, Total sessions: 418 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, 4.60 , Total Calls : 198, Total sessions: 422 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, 4.65 , Total Calls : 194, Total sessions: 410 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, 4.92 , Total Calls : 211, Total sessions: 450 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, 4.92 , Total Calls : 251, Total sessions: 536 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, 4.98 , Total Calls : 250, Total sessions: 530 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, 5.05 , Total Calls : 236, Total sessions: 496 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, 5.07 , Total Calls : 233, Total sessions: 492 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, 5.10 , Total Calls : 235, Total sessions: 496 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, 5.17 , Total Calls : 222, Total sessions: 466 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, 5.21 , Total Calls : 215, Total sessions: 452 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, 5.28 , Total Calls : 208, Total sessions: 430 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, 5.32 , Total Calls : 202, Total sessions: 422 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, 5.37 , Total Calls : 240, Total sessions: 500 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, 5.44 , Total Calls : 239, Total sessions: 498 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, 5.63 , Total Calls : 250, Total sessions: 516 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, 5.64 , Total Calls : 236, Total sessions: 490 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, 5.63 , Total Calls : 209, Total sessions: 436 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, 5.60 , Total Calls : 180, Total sessions: 372 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, 5.57 , Total Calls : 161, Total sessions: 342 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, 5.64 , Total Calls : 175, Total sessions: 370 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, 5.64 , Total Calls : 181, Total sessions: 382 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, 5.67 , Total Calls : 178, Total sessions: 366 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, 5.69 , Total Calls : 173, Total sessions: 358 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, 5.76 , Total Calls : 182, Total sessions: 378 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, 5.77 , Total Calls : 187, Total sessions: 386 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, 5.86 , Total Calls : 190, Total sessions: 402 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, 5.88 , Total Calls : 239, Total sessions: 496 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, 5.93 , Total Calls : 257, Total sessions: 532 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, 5.99 , Total Calls : 242, Total sessions: 506 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, 6.03 , Total Calls : 233, Total sessions: 482 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, 6.04 , Total Calls : 238, Total sessions: 492 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, 6.10 , Total Calls : 236, Total sessions: 482 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, 6.16 , Total Calls : 222, Total sessions: 458 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, 6.15 , Total Calls : 221, Total sessions: 470 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, 6.14 , Total Calls : 200, Total sessions: 422 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, 6.30 , Total Calls : 214, Total sessions: 452 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, 6.36 , Total Calls : 255, Total sessions: 536 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, 6.42 , Total Calls : 252, Total sessions: 524 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, 6.56 , Total Calls : 260, Total sessions: 536 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, 6.56 , Total Calls : 246, Total sessions: 508 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, 6.61 , Total Calls : 230, Total sessions: 478 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, 6.64 , Total Calls : 194, Total sessions: 408 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, 6.66 , Total Calls : 189, Total sessions: 396 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, 6.66 , Total Calls : 202, Total sessions: 438 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, 6.66 , Total Calls : 221, Total sessions: 470 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, 6.67 , Total Calls : 220, Total sessions: 478 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, 6.79 , Total Calls : 219, Total sessions: 480 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, 6.79 , Total Calls : 222, Total sessions: 490 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, 6.79 , Total Calls : 214, Total sessions: 470 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, 6.85 , Total Calls : 210, Total sessions: 450 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, 6.91 , Total Calls : 250, Total sessions: 524 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, 6.87 , Total Calls : 258, Total sessions: 536 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, 6.83 , Total Calls : 255, Total sessions: 528 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, 6.80 , Total Calls : 246, Total sessions: 524 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, 6.77 , Total Calls : 262, Total sessions: 564 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, 6.74 , Total Calls : 238, Total sessions: 510 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, 6.70 , Total Calls : 220, Total sessions: 476 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, 6.67 , Total Calls : 228, Total sessions: 498 What else could be happening. Did I mention that I?m using two transcoding cards from Sangoma? Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:50 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Load Average is the number of threads/processes waiting in the kernel?s run queue at sample time... Supposedly number of cores is the how much your load avg can get to before your boxes is exhausted but this isnt exactly true on modern hardware with highly multi-threaded software like FreeSWITCH... Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see what the current load avg is... Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything in between.... When you type ?show channels? from fs_cli it doesn?t query the structures in RAM to show you that output, it pulls it from the sqlite db... That being said, you can test quickly to see if sqlite is hammering the disk at some point by shifting freeswitch/db dir to a ram drive. Example code for linux such as Centos or Debian assuming freeswitch is installed to /usr/local/freeswitch Shutdown freeswitch rm ?rf /usr/local/freeswitch/db/* mount ?t tmpfs tmpfs /usr/local/freeswitch/db Startup freeswitch Once you have done that stick it back in rotation... Note this will not affect anything but voicemail if you have voicemail running on that box and not using an external DB via mod_voicemail?s DSN settings you?ll lose the voicemail DB... (I would assume this is not the case since you are using this primarily as a Transcoder) K On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/73e311fa/attachment-0001.html From yiftah at choochee.com Wed Oct 24 01:32:38 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 14:32:38 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: <5087063D.7080900@elder.hu> References: <5087063D.7080900@elder.hu> Message-ID: You may be able to develop it as well but it will not solve our problem of pushing configuration fast We have a front end that pushes the configuration changes and it needs to be fast, so even if we change it in the background it will be slow On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: > > I'm not an expert ( correct me if I'm wrong ) but I suppose the xml config > memory section is locked while the files are proccessed so other modules > are waiting for it. Instead of loading just one file you could continue to > load all the files into somekind of a new temporary config section without > locking the main. Once the files are loaded and processed the temporary and > main section could be swapped or the temporary is used and the other is > deleted from memory. No idea how many time this could take to implement. > > > 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: > > Hi FreeSWITCH community, > My name is Yiftah and I am working for ChooChee which is a hosted PBX > solution company > We have been using FreeSWITCH for almost 2 years and we added a lot of > code changes to the core and to the different modules > Lately we have made a decision to get more close to the community so that > we can enjoy the bug fixes and the new feature from the community and we > can contribute our knowledge and bug fixes > I would please like to start with a very basic question : > We are using dialplan xmls in order to load the configuration, we have a > lot of users on each freeswitch (+4k), it took a very long time for the > configuration to load (around 5 minutes) during this time no new calls > could be served by FreeSWITCH > In order to solve this problem we introduce reload xml that accepts file > names and has the ability to load just one file name into the memory (we > achieved 10ms loading time instead of 5 minutes) > The problem is that we had to introduce a lot of code in order to solve > this problem, has anyone else encounter this problem? we do not want to use > mod_xml_curl as we want to take care bringing the file to the machine > Another approach that we thought is that a database might be much better > fit in here, because every xml update includes the entire tenant (business) > and has the potential in harming other users in the same tenant, also DB > has much higher capacities then XMLs, did anyone think of enabling MySQL as > a directory of parameters instead of xml? > Thanks, > Yiftach. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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/20121023/a6c7405b/attachment.html From mitch.capper at gmail.com Wed Oct 24 01:50:48 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Tue, 23 Oct 2012 14:50:48 -0700 Subject: [Freeswitch-users] FSClient 1.2.3.5 Release A FreeSWITCH softphone for Windows Message-ID: Hi all happy to announce the latest version of FSClient Changes: Many accessibility changes and it now should be completely screen reader friendly with testing done on NVDA, Windows Eyes, JAWS, and Windows Native support (Thanks to everyone who helped here and covici who was responsible for most of the accessibility feedback and testing). Many new keyboard shortcuts added Check voicemail button added Minor bug fixes and faster shutdown support and the option to retry the connection when the sofia profile gets unloaded due to connection problems. Based on the latest freeswitch from earlier this week:) Accessibility and keyboard shortcuts are on the wiki http://wiki.freeswitch.org/wiki/FSClient along with the download links like normal. Will be on the conference call tomorrow for the official announcement. ~Mitch From msc at freeswitch.org Wed Oct 24 02:17:03 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 23 Oct 2012 15:17:03 -0700 Subject: [Freeswitch-users] latest build fail In-Reply-To: <1350978731.13648.YahooMailClassic@web110815.mail.gq1.yahoo.com> References: <1350978731.13648.YahooMailClassic@web110815.mail.gq1.yahoo.com> Message-ID: This might be the classic spandsp issue. Try: make spandsp-reconf && make install -MC On Tue, Oct 23, 2012 at 12:52 AM, Sherif Omran wrote: > hello guys, > > there is a problem in the latest build. I keep on receiving lib tiff can > not build. > > Is this known? Is there a fix? > > regards, > S. O > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/b7380240/attachment.html From msc at freeswitch.org Wed Oct 24 02:18:31 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 23 Oct 2012 15:18:31 -0700 Subject: [Freeswitch-users] Bridge/gateway clarification In-Reply-To: <0D1C698866F66045A6201FD0F59CAC900146B59A24@EX.frontier.local> References: <0D1C698866F66045A6201FD0F59CAC900146B59A24@EX.frontier.local> Message-ID: Most likely these are going to be basically the same. The difference would be if the far end performs an auth challenge. With the gateway you are prepared to respond to the challenge w/ proper SIP creds. -MC On Tue, Oct 23, 2012 at 12:52 PM, Colin Mason wrote: > Hello,**** > > ** ** > > I am using FreeSWITCH as a SIP router to route calls through a few > different private networks without answering the call. It gets answered > downstream from my servers. I was wondering if there was a functionality > difference between:**** > > ** ** > > *** > * > > ** ** > > And**** > > ** ** > > **** > > ** ** > > ** ** > > ** ** > > My gateway is defined as follows**** > > ** ** > > **** > > **** > > **** > > **** > > **** > > **** > > ** ** > > ** ** > > Thanks,**** > > ** ** > > Colin**** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/fd460dec/attachment-0001.html From gabe at gundy.org Wed Oct 24 02:19:42 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Tue, 23 Oct 2012 16:19:42 -0600 Subject: [Freeswitch-users] Contacting Anthony In-Reply-To: References: Message-ID: On Tue, Oct 23, 2012 at 11:29 AM, Anthony Minessale wrote: > He's been known to send emails to this list... > -- > Anthony Minessale II > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com Sure, we know he posts to the list, but does he make his contact info freely available? Gabe From msc at freeswitch.org Wed Oct 24 02:21:39 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 23 Oct 2012 15:21:39 -0700 Subject: [Freeswitch-users] FSClient 1.2.3.5 Release A FreeSWITCH softphone for Windows In-Reply-To: References: Message-ID: Thanks for the update. Question: if you have the older version of FSClient installed can you simply install the new version on top of it and retain all your account settings and config options? -MC On Tue, Oct 23, 2012 at 2:50 PM, Mitch Capper wrote: > Hi all happy to announce the latest version of FSClient > Changes: > Many accessibility changes and it now should be completely screen > reader friendly with testing done on NVDA, Windows Eyes, JAWS, and > Windows Native support (Thanks to everyone who helped here and covici > who was responsible for most of the accessibility feedback and > testing). > Many new keyboard shortcuts added > Check voicemail button added > Minor bug fixes and faster shutdown support and the option to retry > the connection when the sofia profile gets unloaded due to connection > problems. > Based on the latest freeswitch from earlier this week:) > > Accessibility and keyboard shortcuts are on the wiki > http://wiki.freeswitch.org/wiki/FSClient along with the download links > like normal. > > Will be on the conference call tomorrow for the official announcement. > > > ~Mitch > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/ffc652ed/attachment.html From anthony.minessale at gmail.com Wed Oct 24 02:37:39 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 17:37:39 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Message-ID: No, If you have these kinds of problems my only advice is what I already said in my last post about newer OS. You can try top -H -p watch for any high cpu usage in a particular thread, gcore it and post a bt. On Tue, Oct 23, 2012 at 8:03 AM, Ricardo Martinez wrote: > Is there an equivalent command in Centos 5.5? > > > > Ricardo.- > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Anthony > Minessale > *Enviado el:* lunes, 22 de octubre de 2012 19:37 > > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > > iotop doesn't exist yet in in 5.5 > > > > Try cent 5.7 > > > > or cent 6.3 or debian 6 if you want some more modern kernels to get iotop > > > > > > > > > On Mon, Oct 22, 2012 at 4:59 PM, Ken Rice wrote: > > Keeping in mind that you are using a sangoma transcoder board, that means > you are handling the equivalent of 440 concurrent calls worth of media for > people not using sangoma transcoding hardware (yes theres 4 call legs in > that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From D100 back > to FS, 1 from FS back out to the other end point). That doesn?t sound like > that big of a problem... You will have a fair bit of network traffic that > way (the D100 shows up as another network interface as you are probably > aware)... > > I would be looking at something like iotop or something else to see where > that load is coming from > > Also, you have plenty of CPU free... So there is either a real problem > here, or this is one of those things where the number of threads handling > RTP and SIP are hanging around the run queue long enough to show up in the > load average... > > > > > > > On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: > > Ken. > There is an average of 220 concurrent calls. > Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. > Centos 5.5 64bits > > Ricarod.- > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 17:47 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > How many concurrent calls are you doing on that box? > > > On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: > Hi Ken. > I mounted the db directory in RAM as you mention, but the ?load average? > still is high. > You can see this here : > > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 132G 8.6G 117G 7% / > proc 0 0 0 - /proc > sysfs 0 0 0 - /sys > devpts 0 0 0 - /dev/pts > /dev/cciss/c0d0p1 104M 20M 79M 21% /boot > tmpfs 4.2G 0 4.2G 0% /dev/shm > none 0 0 0 - /proc/sys/fs/binfmt_misc > sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs > *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db > * > This is a resume from uptime and total calls for my freeswitch : > > 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, > 4.50, 4.66 , Total Calls : 209, Total sessions: 440 > 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, > 4.92, 4.80 , Total Calls : 245, Total sessions: 510 > 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, > 4.84, 4.77 , Total Calls : 235, Total sessions: 488 > 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, > 4.94, 4.81 , Total Calls : 233, Total sessions: 484 > 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, > 4.92, 4.80 , Total Calls : 226, Total sessions: 470 > 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, > 4.84, 4.78 , Total Calls : 218, Total sessions: 454 > 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, > 4.76, 4.75 , Total Calls : 198, Total sessions: 416 > 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, > 4.68, 4.72 , Total Calls : 183, Total sessions: 384 > 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, > 4.60, 4.70 , Total Calls : 172, Total sessions: 366 > 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, > 4.54, 4.68 , Total Calls : 184, Total sessions: 388 > 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, > 4.47, 4.65 , Total Calls : 207, Total sessions: 442 > 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, > 4.48, 4.65 , Total Calls : 203, Total sessions: 436 > 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, > 4.40, 4.63 , Total Calls : 198, Total sessions: 418 > 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, > 4.32, 4.60 , Total Calls : 198, Total sessions: 422 > 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, > 4.47, 4.65 , Total Calls : 194, Total sessions: 410 > 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, > 5.31, 4.92 , Total Calls : 211, Total sessions: 450 > 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, > 5.32, 4.92 , Total Calls : 251, Total sessions: 536 > 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, > 5.49, 4.98 , Total Calls : 250, Total sessions: 530 > 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, > 5.70, 5.05 , Total Calls : 236, Total sessions: 496 > 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, > 5.76, 5.07 , Total Calls : 233, Total sessions: 492 > 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, > 5.84, 5.10 , Total Calls : 235, Total sessions: 496 > 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, > 6.04, 5.17 , Total Calls : 222, Total sessions: 466 > 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, > 6.16, 5.21 , Total Calls : 215, Total sessions: 452 > 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, > 6.36, 5.28 , Total Calls : 208, Total sessions: 430 > 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, > 6.47, 5.32 , Total Calls : 202, Total sessions: 422 > 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, > 6.61, 5.37 , Total Calls : 240, Total sessions: 500 > 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, > 6.78, 5.44 , Total Calls : 239, Total sessions: 498 > 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, > 7.35, 5.63 , Total Calls : 250, Total sessions: 516 > 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, > 7.36, 5.64 , Total Calls : 236, Total sessions: 490 > 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, > 7.29, 5.63 , Total Calls : 209, Total sessions: 436 > 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, > 7.18, 5.60 , Total Calls : 180, Total sessions: 372 > 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, > 7.06, 5.57 , Total Calls : 161, Total sessions: 342 > 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, > 7.24, 5.64 , Total Calls : 175, Total sessions: 370 > 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, > 7.22, 5.64 , Total Calls : 181, Total sessions: 382 > 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, > 7.30, 5.67 , Total Calls : 178, Total sessions: 366 > 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, > 7.35, 5.69 , Total Calls : 173, Total sessions: 358 > 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, > 7.51, 5.76 , Total Calls : 182, Total sessions: 378 > 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, > 7.53, 5.77 , Total Calls : 187, Total sessions: 386 > 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, > 7.77, 5.86 , Total Calls : 190, Total sessions: 402 > 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, > 7.81, 5.88 , Total Calls : 239, Total sessions: 496 > 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, > 7.93, 5.93 , Total Calls : 257, Total sessions: 532 > 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, > 8.09, 5.99 , Total Calls : 242, Total sessions: 506 > 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, > 8.16, 6.03 , Total Calls : 233, Total sessions: 482 > 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, > 8.17, 6.04 , Total Calls : 238, Total sessions: 492 > 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, > 8.30, 6.10 , Total Calls : 236, Total sessions: 482 > 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, > 8.46, 6.16 , Total Calls : 222, Total sessions: 458 > 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, > 8.39, 6.15 , Total Calls : 221, Total sessions: 470 > 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, > 8.33, 6.14 , Total Calls : 200, Total sessions: 422 > 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, > 8.77, 6.30 , Total Calls : 214, Total sessions: 452 > 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, > 8.93, 6.36 , Total Calls : 255, Total sessions: 536 > 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, > 9.06, 6.42 , Total Calls : 252, Total sessions: 524 > 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, > 9.46, 6.56 , Total Calls : 260, Total sessions: 536 > 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, > 9.42, 6.56 , Total Calls : 246, Total sessions: 508 > 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, > 9.52, 6.61 , Total Calls : 230, Total sessions: 478 > 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, > 9.58, 6.64 , Total Calls : 194, Total sessions: 408 > 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, > 9.59, 6.66 , Total Calls : 189, Total sessions: 396 > 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, > 9.55, 6.66 , Total Calls : 202, Total sessions: 438 > 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, > 9.49, 6.66 , Total Calls : 221, Total sessions: 470 > 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, > 9.46, 6.67 , Total Calls : 220, Total sessions: 478 > 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, > 9.80, 6.79 , Total Calls : 219, Total sessions: 480 > 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, > 9.76, 6.79 , Total Calls : 222, Total sessions: 490 > 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, > 9.69, 6.79 , Total Calls : 214, Total sessions: 470 > 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, > 9.85, 6.85 , Total Calls : 210, Total sessions: 450 > 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, > 9.97, 6.91 , Total Calls : 250, Total sessions: 524 > 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, > 9.80, 6.87 , Total Calls : 258, Total sessions: 536 > 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, > 9.64, 6.83 , Total Calls : 255, Total sessions: 528 > 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, > 9.49, 6.80 , Total Calls : 246, Total sessions: 524 > 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, > 9.35, 6.77 , Total Calls : 262, Total sessions: 564 > 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, > 9.21, 6.74 , Total Calls : 238, Total sessions: 510 > 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, > 9.06, 6.70 , Total Calls : 220, Total sessions: 476 > 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, > 8.91, 6.67 , Total Calls : 228, Total sessions: 498 > > What else could be happening. > Did I mention that I?m using two transcoding cards from Sangoma? > > Regards, > Ricardo.- > > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:50 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Load Average is the number of threads/processes waiting in the kernel?s > run queue at sample time... Supposedly number of cores is the how much your > load avg can get to before your boxes is exhausted but this isnt exactly > true on modern hardware with highly multi-threaded software like > FreeSWITCH... > > Where did I get the 100+ number? From looking at ?top? or ?w? on a box to > see what the current load avg is... > > Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and > everything in between.... When you type ?show channels? from fs_cli it > doesn?t query the structures in RAM to show you that output, it pulls it > from the sqlite db... > > That being said, you can test quickly to see if sqlite is hammering the > disk at some point by shifting freeswitch/db dir to a ram drive. > Example code for linux such as Centos or Debian assuming freeswitch is > installed to /usr/local/freeswitch > > Shutdown freeswitch > rm ?rf /usr/local/freeswitch/db/* > mount ?t tmpfs tmpfs /usr/local/freeswitch/db > Startup freeswitch > > Once you have done that stick it back in rotation... > > Note this will not affect anything but voicemail if you have voicemail > running on that box and not using an external DB via mod_voicemail?s DSN > settings you?ll lose the voicemail DB... (I would assume this is not the > case since you are using this primarily as a Transcoder) > > K > > > On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: > Hi Ken. > Maybe that is the problem. I was sure that the ?load average? can?t go > more than #cores in your system. In my case I have 8 cores, so a ?load > average? of 12 is high from my point of view. Where did you get the number > 100 for this parameter? > Anyway, what is running a sqlite in freeswitch. Does this have to do with > the core.db file? Or with the cdr_sqlite module?. > > Thanks > Ricardo.- > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:18 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt > anything to really worry about. Due to the number of threads that?s > possible with FS (ie: 1 per call leg) its not unusual to see a box humming > along and the load avg well above 100 in my experience... This is due to > the number of threads waiting in the run queue when it was sampled... Now, > that?s not saying that this is not specifically indicative or a problem but > something else to think about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () > from /lib64/libpthread.so.0 > (gdb) bt > #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at > ./src/pager.c:2229 > #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, > zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 > #4 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > > sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' > transcoder.red.net > ';\ndelete from > calls where (call"..., retries=1) > > > at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > > > *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] > > *Enviado el:* lunes, 22 de octubre de 2012 15:50 > *Para:* 'FreeSWITCH Users Help' > *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes > > > AS far as i can see there is no java running. > This is the top at the moment of the spike : > > top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, > 6.48 > Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie > Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, > 0.0%st > Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers > Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 > freeswitch > 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 > sngtc_server > 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 > top > 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 > init > 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 > migration/0 > 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/0 > 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/0 > 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 > migration/1 > 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/1 > 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 > > 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 > migration/2 > 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/2 > 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/2 > 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/3 > 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/3 > 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/3 > 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/4 > 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/4 > 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/4 > 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/5 > 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/5 > 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/5 > 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/6 > > > Regards, > Ricardo.- > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Guillermo Ruiz Camauer > *Enviado el:* lunes, 22 de octubre de 2012 15:38 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Do you have anything like Java running that could be doing garbage > collection? > > > > What other processes are running on the machine? Does TOP show which > process is causing the spike? > > > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] > En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: > > The problem is that I'm having weird spikes of "load average" cpu > > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/34b9fdb2/attachment-0001.html From anthony.minessale at gmail.com Wed Oct 24 02:49:10 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 17:49:10 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: The man xml registry is already reloaded using the method described. In fact the xml root has reference counting and everyone who was on the old one will be able to hold on to that root until they release it even when a new one has been loaded into place. I think if you pursue the custom C module with the XML hook, that you can put your same logic into a module and not bother the core as any access to the core xml will be redirected to your module callback where you can do whatever you want and not disturb the core of FS unless you have some kind of functionality that is useful to everyone in general. On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: > You may be able to develop it as well but it will not solve our problem of > pushing configuration fast > We have a front end that pushes the configuration changes and it needs to > be fast, so even if we change it in the background it will be slow > > On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: > >> >> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >> config memory section is locked while the files are proccessed so other >> modules are waiting for it. Instead of loading just one file you could >> continue to load all the files into somekind of a new temporary config >> section without locking the main. Once the files are loaded and processed >> the temporary and main section could be swapped or the temporary is used >> and the other is deleted from memory. No idea how many time this could take >> to implement. >> >> >> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >> >> Hi FreeSWITCH community, >> My name is Yiftah and I am working for ChooChee which is a hosted PBX >> solution company >> We have been using FreeSWITCH for almost 2 years and we added a lot of >> code changes to the core and to the different modules >> Lately we have made a decision to get more close to the community so that >> we can enjoy the bug fixes and the new feature from the community and we >> can contribute our knowledge and bug fixes >> I would please like to start with a very basic question : >> We are using dialplan xmls in order to load the configuration, we have a >> lot of users on each freeswitch (+4k), it took a very long time for the >> configuration to load (around 5 minutes) during this time no new calls >> could be served by FreeSWITCH >> In order to solve this problem we introduce reload xml that accepts file >> names and has the ability to load just one file name into the memory (we >> achieved 10ms loading time instead of 5 minutes) >> The problem is that we had to introduce a lot of code in order to solve >> this problem, has anyone else encounter this problem? we do not want to use >> mod_xml_curl as we want to take care bringing the file to the machine >> Another approach that we thought is that a database might be much better >> fit in here, because every xml update includes the entire tenant (business) >> and has the potential in harming other users in the same tenant, also DB >> has much higher capacities then XMLs, did anyone think of enabling MySQL as >> a directory of parameters instead of xml? >> Thanks, >> Yiftach. >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/2bd5dd4c/attachment.html From yiftah at choochee.com Wed Oct 24 02:54:46 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 15:54:46 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: Yes I agree, I can solve it this way for me, if anyone else in the community is looking for a very fast way of loading a specific file from the "reloadxml" command I can update it to the HEAD On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > The man xml registry is already reloaded using the method described. In > fact the xml root has reference counting and everyone who was on the old > one will be able to hold on to that root until they release it even when a > new one has been loaded into place. > > I think if you pursue the custom C module with the XML hook, that you can > put your same logic into a module and not bother the core as any access to > the core xml will be redirected to your module callback where you can do > whatever you want and not disturb the core of FS unless you have some kind > of functionality that is useful to everyone in general. > > > > > On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: > >> You may be able to develop it as well but it will not solve our problem >> of pushing configuration fast >> We have a front end that pushes the configuration changes and it needs to >> be fast, so even if we change it in the background it will be slow >> >> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >> >>> >>> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >>> config memory section is locked while the files are proccessed so other >>> modules are waiting for it. Instead of loading just one file you could >>> continue to load all the files into somekind of a new temporary config >>> section without locking the main. Once the files are loaded and processed >>> the temporary and main section could be swapped or the temporary is used >>> and the other is deleted from memory. No idea how many time this could take >>> to implement. >>> >>> >>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>> >>> Hi FreeSWITCH community, >>> My name is Yiftah and I am working for ChooChee which is a hosted PBX >>> solution company >>> We have been using FreeSWITCH for almost 2 years and we added a lot of >>> code changes to the core and to the different modules >>> Lately we have made a decision to get more close to the community so >>> that we can enjoy the bug fixes and the new feature from the community and >>> we can contribute our knowledge and bug fixes >>> I would please like to start with a very basic question : >>> We are using dialplan xmls in order to load the configuration, we have a >>> lot of users on each freeswitch (+4k), it took a very long time for the >>> configuration to load (around 5 minutes) during this time no new calls >>> could be served by FreeSWITCH >>> In order to solve this problem we introduce reload xml that accepts file >>> names and has the ability to load just one file name into the memory (we >>> achieved 10ms loading time instead of 5 minutes) >>> The problem is that we had to introduce a lot of code in order to solve >>> this problem, has anyone else encounter this problem? we do not want to use >>> mod_xml_curl as we want to take care bringing the file to the machine >>> Another approach that we thought is that a database might be much better >>> fit in here, because every xml update includes the entire tenant (business) >>> and has the potential in harming other users in the same tenant, also DB >>> has much higher capacities then XMLs, did anyone think of enabling MySQL as >>> a directory of parameters instead of xml? >>> Thanks, >>> Yiftach. >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/4bdf4803/attachment-0001.html From yiftah at choochee.com Wed Oct 24 03:03:31 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 16:03:31 -0700 Subject: [Freeswitch-users] A core dump problem Message-ID: Hi Community, We had seen core dumps that pointed to the following code : ./git/freeswitch/src/switch_core_rwlock.c ... SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t *session) { #endif switch_thread_rwlock_unlock(session->rwlock); } ... We changed it to : ... SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t *session) { #endif if(session) { switch_thread_rwlock_unlock(session->rwlock); } } ... Anyone saw a similar problem? Do you want us to add the code to the head? Thanks, Yiftach. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/f7fc41c2/attachment.html From gabe at gundy.org Wed Oct 24 03:09:39 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Tue, 23 Oct 2012 17:09:39 -0600 Subject: [Freeswitch-users] A core dump problem In-Reply-To: References: Message-ID: Seems like a good thing to open a ticket for. http://jira.freeswitch.org Best, Gabe On Tue, Oct 23, 2012 at 5:03 PM, Yiftach Golan wrote: > Hi Community, > We had seen core dumps that pointed to the following code : > ./git/freeswitch/src/switch_core_rwlock.c > ... > SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t > *session) > { > #endif > switch_thread_rwlock_unlock(session->rwlock); > } > ... > > We changed it to : > ... > SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t > *session) > { > #endif > if(session) > { > switch_thread_rwlock_unlock(session->rwlock); > } > } > ... > Anyone saw a similar problem? > Do you want us to add the code to the head? > > Thanks, > Yiftach. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From mitch.capper at gmail.com Wed Oct 24 03:19:33 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Tue, 23 Oct 2012 16:19:33 -0700 Subject: [Freeswitch-users] FSClient 1.2.3.5 Release A FreeSWITCH softphone for Windows In-Reply-To: References: Message-ID: Yep. ~mitch On Tue, Oct 23, 2012 at 3:21 PM, Michael Collins wrote: > Thanks for the update. Question: if you have the older version of FSClient > installed can you simply install the new version on top of it and retain all > your account settings and config options? > > -MC > > On Tue, Oct 23, 2012 at 2:50 PM, Mitch Capper > wrote: >> >> Hi all happy to announce the latest version of FSClient >> Changes: >> Many accessibility changes and it now should be completely screen >> reader friendly with testing done on NVDA, Windows Eyes, JAWS, and >> Windows Native support (Thanks to everyone who helped here and covici >> who was responsible for most of the accessibility feedback and >> testing). >> Many new keyboard shortcuts added >> Check voicemail button added >> Minor bug fixes and faster shutdown support and the option to retry >> the connection when the sofia profile gets unloaded due to connection >> problems. >> Based on the latest freeswitch from earlier this week:) >> >> Accessibility and keyboard shortcuts are on the wiki >> http://wiki.freeswitch.org/wiki/FSClient along with the download links >> like normal. >> >> Will be on the conference call tomorrow for the official announcement. >> >> >> ~Mitch >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From anthony.minessale at gmail.com Wed Oct 24 03:24:42 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 18:24:42 -0500 Subject: [Freeswitch-users] A core dump problem In-Reply-To: References: Message-ID: And include the bt, because this solution proposed is just a band-aid that will hide the real problem. On Tue, Oct 23, 2012 at 6:09 PM, Gabriel Gunderson wrote: > Seems like a good thing to open a ticket for. > > http://jira.freeswitch.org > > > Best, > Gabe > > > > On Tue, Oct 23, 2012 at 5:03 PM, Yiftach Golan > wrote: > > Hi Community, > > We had seen core dumps that pointed to the following code : > > ./git/freeswitch/src/switch_core_rwlock.c > > ... > > SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t > > *session) > > { > > #endif > > switch_thread_rwlock_unlock(session->rwlock); > > } > > ... > > > > We changed it to : > > ... > > SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t > > *session) > > { > > #endif > > if(session) > > { > > switch_thread_rwlock_unlock(session->rwlock); > > } > > } > > ... > > Anyone saw a similar problem? > > Do you want us to add the code to the head? > > > > Thanks, > > Yiftach. > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/fb815789/attachment.html From yiftah at choochee.com Wed Oct 24 03:31:22 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 16:31:22 -0700 Subject: [Freeswitch-users] A core dump problem In-Reply-To: References: Message-ID: It happened a long time ago and we did not save the gdb file but we will try to reproduce it On Tue, Oct 23, 2012 at 4:24 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > And include the bt, because this solution proposed is just a band-aid that > will hide the real problem. > > > On Tue, Oct 23, 2012 at 6:09 PM, Gabriel Gunderson wrote: > >> Seems like a good thing to open a ticket for. >> >> http://jira.freeswitch.org >> >> >> Best, >> Gabe >> >> >> >> On Tue, Oct 23, 2012 at 5:03 PM, Yiftach Golan >> wrote: >> > Hi Community, >> > We had seen core dumps that pointed to the following code : >> > ./git/freeswitch/src/switch_core_rwlock.c >> > ... >> > SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t >> > *session) >> > { >> > #endif >> > switch_thread_rwlock_unlock(session->rwlock); >> > } >> > ... >> > >> > We changed it to : >> > ... >> > SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t >> > *session) >> > { >> > #endif >> > if(session) >> > { >> > switch_thread_rwlock_unlock(session->rwlock); >> > } >> > } >> > ... >> > Anyone saw a similar problem? >> > Do you want us to add the code to the head? >> > >> > Thanks, >> > Yiftach. >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.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://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 >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/0b3fcfab/attachment-0001.html From dujinfang at gmail.com Wed Oct 24 04:38:14 2012 From: dujinfang at gmail.com (Seven Du) Date: Wed, 24 Oct 2012 08:38:14 +0800 Subject: [Freeswitch-users] mod_erlang_event noob question In-Reply-To: References: <0883438726A549F5A18584C3EA866413@gmail.com> Message-ID: -- Seven Du Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, October 24, 2012 at 12:09 AM, Luis F Urrea wrote: > Hello Du, > > Thanks for your help. > > Indeed I am able to get a message back now. Does this mean that a process gets registered dynamically with whatever name I provide? > It's C, it only decide based on the message as I understand. > > On the inbound connection example I do not quite understand how am I able to receive messages if I do not send freeswitch the Pid? is the response broadcast? > Once you register event, log or fetch handler, FS knows. > On Mon, Oct 22, 2012 at 8:46 PM, Seven Du wrote: > > because there was a bug. pull the latest git. > > > > -- > > Seven Du > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > > > > On Tuesday, October 23, 2012 at 8:32 AM, Luis F Urrea wrote: > > > > > But I am getting a badarg error response. > > > > > > According to this: > > > > > > http://stackoverflow.com/questions/13021589/erlang-distributed-message-sending > > > > > > The left hand atom should be a registered process on the node and therefore the name should matter? > > > > > > > > > > > > On Mon, Oct 22, 2012 at 5:20 PM, Seven Du wrote: > > > > foo means nothing, just forget it. > > > > > > > > > > > > On Tuesday, October 23, 2012 at 6:10 AM, Luis F Urrea wrote: > > > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > I am going through the wiki docs here: > > > > > > > > > > http://wiki.freeswitch.org/wiki/Mod_erlang_event#Example_Outbound_Connection > > > > > > > > > > But I see in the example that in order to send messages between FS and the registered process fired up by myself the following syntax is used: > > > > > > > > > > (test at example)1>{foo, freeswitch at example} ! {api, status, ""}. {api,status,[]} > > > > > > > > > > Obviously freeswitch at example represents the node, but I am not familiar with the left hand tuple term being applied the ! operator, usually a Pid number is used in that place. > > > > > > > > > > What would the foo represent? > > > > > > > > > > TIA. > > > > > > > > > > > > > > > Luis > > > > > > > > > > _________________________________________________________________________ > > > > > 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://wiki.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://wiki.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://wiki.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://wiki.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://wiki.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/20121024/d7fcc9e3/attachment.html From anthony.minessale at gmail.com Wed Oct 24 04:41:04 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 23 Oct 2012 19:41:04 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: Also, if you design it cleanly and generic enough you can check the module itself into HEAD and maintain it yourself and others can choose to use it. On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: > Yes I agree, I can solve it this way for me, if anyone else in the > community is looking for a very fast way of loading a specific file from > the "reloadxml" command I can update it to the HEAD > > > On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> The man xml registry is already reloaded using the method described. In >> fact the xml root has reference counting and everyone who was on the old >> one will be able to hold on to that root until they release it even when a >> new one has been loaded into place. >> >> I think if you pursue the custom C module with the XML hook, that you can >> put your same logic into a module and not bother the core as any access to >> the core xml will be redirected to your module callback where you can do >> whatever you want and not disturb the core of FS unless you have some kind >> of functionality that is useful to everyone in general. >> >> >> >> >> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: >> >>> You may be able to develop it as well but it will not solve our problem >>> of pushing configuration fast >>> We have a front end that pushes the configuration changes and it needs >>> to be fast, so even if we change it in the background it will be slow >>> >>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>> >>>> >>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >>>> config memory section is locked while the files are proccessed so other >>>> modules are waiting for it. Instead of loading just one file you could >>>> continue to load all the files into somekind of a new temporary config >>>> section without locking the main. Once the files are loaded and processed >>>> the temporary and main section could be swapped or the temporary is used >>>> and the other is deleted from memory. No idea how many time this could take >>>> to implement. >>>> >>>> >>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>> >>>> Hi FreeSWITCH community, >>>> My name is Yiftah and I am working for ChooChee which is a hosted PBX >>>> solution company >>>> We have been using FreeSWITCH for almost 2 years and we added a lot of >>>> code changes to the core and to the different modules >>>> Lately we have made a decision to get more close to the community so >>>> that we can enjoy the bug fixes and the new feature from the community and >>>> we can contribute our knowledge and bug fixes >>>> I would please like to start with a very basic question : >>>> We are using dialplan xmls in order to load the configuration, we have >>>> a lot of users on each freeswitch (+4k), it took a very long time for the >>>> configuration to load (around 5 minutes) during this time no new calls >>>> could be served by FreeSWITCH >>>> In order to solve this problem we introduce reload xml that accepts >>>> file names and has the ability to load just one file name into the memory >>>> (we achieved 10ms loading time instead of 5 minutes) >>>> The problem is that we had to introduce a lot of code in order to solve >>>> this problem, has anyone else encounter this problem? we do not want to use >>>> mod_xml_curl as we want to take care bringing the file to the machine >>>> Another approach that we thought is that a database might be much >>>> better fit in here, because every xml update includes the entire tenant >>>> (business) and has the potential in harming other users in the same tenant, >>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>> MySQL as a directory of parameters instead of xml? >>>> Thanks, >>>> Yiftach. >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/8c53c8d0/attachment-0001.html From yiftah at choochee.com Wed Oct 24 04:42:58 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Tue, 23 Oct 2012 17:42:58 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: OK I will do so On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Also, if you design it cleanly and generic enough you can check the module > itself into HEAD and maintain it yourself and others can choose to use it. > > > On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: > >> Yes I agree, I can solve it this way for me, if anyone else in the >> community is looking for a very fast way of loading a specific file from >> the "reloadxml" command I can update it to the HEAD >> >> >> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> The man xml registry is already reloaded using the method described. In >>> fact the xml root has reference counting and everyone who was on the old >>> one will be able to hold on to that root until they release it even when a >>> new one has been loaded into place. >>> >>> I think if you pursue the custom C module with the XML hook, that you >>> can put your same logic into a module and not bother the core as any access >>> to the core xml will be redirected to your module callback where you can do >>> whatever you want and not disturb the core of FS unless you have some kind >>> of functionality that is useful to everyone in general. >>> >>> >>> >>> >>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: >>> >>>> You may be able to develop it as well but it will not solve our problem >>>> of pushing configuration fast >>>> We have a front end that pushes the configuration changes and it needs >>>> to be fast, so even if we change it in the background it will be slow >>>> >>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>> >>>>> >>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >>>>> config memory section is locked while the files are proccessed so other >>>>> modules are waiting for it. Instead of loading just one file you could >>>>> continue to load all the files into somekind of a new temporary config >>>>> section without locking the main. Once the files are loaded and processed >>>>> the temporary and main section could be swapped or the temporary is used >>>>> and the other is deleted from memory. No idea how many time this could take >>>>> to implement. >>>>> >>>>> >>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>> >>>>> Hi FreeSWITCH community, >>>>> My name is Yiftah and I am working for ChooChee which is a hosted PBX >>>>> solution company >>>>> We have been using FreeSWITCH for almost 2 years and we added a lot of >>>>> code changes to the core and to the different modules >>>>> Lately we have made a decision to get more close to the community so >>>>> that we can enjoy the bug fixes and the new feature from the community and >>>>> we can contribute our knowledge and bug fixes >>>>> I would please like to start with a very basic question : >>>>> We are using dialplan xmls in order to load the configuration, we have >>>>> a lot of users on each freeswitch (+4k), it took a very long time for the >>>>> configuration to load (around 5 minutes) during this time no new calls >>>>> could be served by FreeSWITCH >>>>> In order to solve this problem we introduce reload xml that accepts >>>>> file names and has the ability to load just one file name into the memory >>>>> (we achieved 10ms loading time instead of 5 minutes) >>>>> The problem is that we had to introduce a lot of code in order to >>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>> machine >>>>> Another approach that we thought is that a database might be much >>>>> better fit in here, because every xml update includes the entire tenant >>>>> (business) and has the potential in harming other users in the same tenant, >>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>> MySQL as a directory of parameters instead of xml? >>>>> Thanks, >>>>> Yiftach. >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121023/65c462ac/attachment.html From jack at livecall.com Wed Oct 24 07:47:26 2012 From: jack at livecall.com (Jack) Date: Tue, 23 Oct 2012 20:47:26 -0700 Subject: [Freeswitch-users] FSClient 1.2.3.5 Release A FreeSWITCH softphone for Windows In-Reply-To: References: Message-ID: <508764CE.4000501@livecall.com> Great job Mitch. Install went smooth and retained old settings. Thanks, jack On 10/23/2012 4:19 PM, Mitch Capper wrote: > Yep. > > ~mitch > > On Tue, Oct 23, 2012 at 3:21 PM, Michael Collins wrote: >> Thanks for the update. Question: if you have the older version of FSClient >> installed can you simply install the new version on top of it and retain all >> your account settings and config options? >> >> -MC >> >> On Tue, Oct 23, 2012 at 2:50 PM, Mitch Capper >> wrote: >>> Hi all happy to announce the latest version of FSClient >>> Changes: >>> Many accessibility changes and it now should be completely screen >>> reader friendly with testing done on NVDA, Windows Eyes, JAWS, and >>> Windows Native support (Thanks to everyone who helped here and covici >>> who was responsible for most of the accessibility feedback and >>> testing). >>> Many new keyboard shortcuts added >>> Check voicemail button added >>> Minor bug fixes and faster shutdown support and the option to retry >>> the connection when the sofia profile gets unloaded due to connection >>> problems. >>> Based on the latest freeswitch from earlier this week:) >>> >>> Accessibility and keyboard shortcuts are on the wiki >>> http://wiki.freeswitch.org/wiki/FSClient along with the download links >>> like normal. >>> >>> Will be on the conference call tomorrow for the official announcement. >>> >>> >>> ~Mitch >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > From philq at qsystemsengineering.com Wed Oct 24 08:55:22 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Tue, 23 Oct 2012 21:55:22 -0700 (PDT) Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> Message-ID: <1351054522812-7583938.post@n2.nabble.com> Yes, that's correct. Sorry, I didn't think about the fact that I hadn't explained that when I tried your suggestion. Setting both rtp-ip and ext-rtp-ip explicitly solves the problem. That part of the mystery is solved... THANK YOU. Interestingly though, the previous settings for these values were: param name="rtp-ip" value="$${bind_server_ip}"/ param name="ext-rtp-ip" value="$${external_rtp_ip}"/ (Nabble won't let me put the syntax markers '<' and '>' in) And these worked just fine before. Any idea why they might have suddenly stopped working? Can you use host:host.server.com to do a DNS lookup like you can for the other SIP profiles? Thanks again, - Phil -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583938.html Sent from the freeswitch-users mailing list archive at Nabble.com. From darcy at Vex.Net Wed Oct 24 09:31:19 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Wed, 24 Oct 2012 01:31:19 -0400 Subject: [Freeswitch-users] Use of ignore_early_media Message-ID: <20121024013119.6e155256@dilbert> I have a dialplan that includes something like this: It was suggested to me that ignore_early_media was usually contra-indicated. When I removed it, the local extension stopped ringing as soon as the cell phone was called. Putting it back allowed both phones to ring until one picked up. However, that caused a different problem. When someone called an extension that was not currently registered they got a busy signal. Without it the calls go to voice mail. My question - WTF? -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From rentmycoder at gmail.com Wed Oct 24 11:21:52 2012 From: rentmycoder at gmail.com (rentmycoder rentmycoder) Date: Wed, 24 Oct 2012 09:21:52 +0200 Subject: [Freeswitch-users] event socket : userauth undocumented esl command? Message-ID: Hi, I''ve read in an old esl source that a userauth command exist in mod_event_socket and provides user/password based authentication, not only password based, like auth... Th actual code accepts the userauth command... Question: where can I configure the user / password for the userauth command? Shouldn't this command bee in wiki? Thanks, John From vitaliy.davudov at vts24.ru Wed Oct 24 13:44:09 2012 From: vitaliy.davudov at vts24.ru (=?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0JTQsNCy0YPQtNC+0LI=?=) Date: Wed, 24 Oct 2012 13:44:09 +0400 Subject: [Freeswitch-users] FreeSWITCH log question Message-ID: <5087B869.8040004@vts24.ru> Hi, list! I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z). I decide to decrease console log level. To achieve this goal I edited console.conf.xml file and replace some string: from to and then restart freeswitch But when I run fs_cli there still present debug, info, etc, messages. Console log level decreased only after I changed in swintch.conf.xml file loglevel param from debug to err - this method is not suited to me because it decrease log level in freeswitch.log too. How can I properly tune FS to achive my goal? -- Best regards, Vitaly. From peter.olsson at visionutveckling.se Wed Oct 24 14:46:57 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Wed, 24 Oct 2012 10:46:57 +0000 Subject: [Freeswitch-users] FreeSWITCH log question Message-ID: <1FFF97C269757C458224B7C895F35F1518BC63@cantor.std.visionutv.se> I believe there is a start parameter for fs_cli to set the loglevel. IIRC it's called "--loglevel" /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r ??????? ??????? Skickat: den 24 oktober 2012 11:44 Till: freeswitch-users at lists.freeswitch.org ?mne: [Freeswitch-users] FreeSWITCH log question Hi, list! I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z). I decide to decrease console log level. To achieve this goal I edited console.conf.xml file and replace some string: from to and then restart freeswitch But when I run fs_cli there still present debug, info, etc, messages. Console log level decreased only after I changed in swintch.conf.xml file loglevel param from debug to err - this method is not suited to me because it decrease log level in freeswitch.log too. How can I properly tune FS to achive my goal? -- Best regards, Vitaly. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:5087b5f032769908896080! From asilva at wirelessmundi.com Wed Oct 24 14:48:53 2012 From: asilva at wirelessmundi.com (Antonio) Date: Wed, 24 Oct 2012 12:48:53 +0200 Subject: [Freeswitch-users] FreeSWITCH log question In-Reply-To: <5087B869.8040004@vts24.ru> References: <5087B869.8040004@vts24.ru> Message-ID: <1351075733.7038.112.camel@marces.madrid.commsmundi.com> Hi, You can set the log level when connecting to fs: fs_cli -l 0 or fs_cli --loglevel=0 On Wed, 2012-10-24 at 13:44 +0400, ??????? ??????? wrote: > Hi, list! > I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 > (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z). > I decide to decrease console log level. To achieve this goal I edited > console.conf.xml file and replace some string: > from > > value="console,debug,info,notice,warning,err,crit,alert"/> > > > > > to > > > > > > > and then restart freeswitch > But when I run fs_cli there still present debug, info, etc, messages. > Console log level decreased only after I changed in swintch.conf.xml > file loglevel param from debug to err - this method is not suited to me > because it decrease log level in freeswitch.log too. > > How can I properly tune FS to achive my goal? > -- Un cordial saludo / Best regards, _________________________ Ant?nio Silva E-mail:asilva at wirelessmundi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/15784543/attachment.html From evgeniy at bestnet.kharkov.ua Wed Oct 24 14:59:33 2012 From: evgeniy at bestnet.kharkov.ua (Evgeniy Movlyan) Date: Wed, 24 Oct 2012 13:59:33 +0300 Subject: [Freeswitch-users] FreeSWITCH log question In-Reply-To: <5087B869.8040004@vts24.ru> References: <5087B869.8040004@vts24.ru> Message-ID: <5087CA15.9040005@bestnet.kharkov.ua> See this: http://wiki.freeswitch.org/wiki/Fs_cli#Configuration_Options 24.10.2012 12:44, ??????? ??????? ?????: > Hi, list! > I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 > (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z). > I decide to decrease console log level. To achieve this goal I edited > console.conf.xml file and replace some string: > from > > value="console,debug,info,notice,warning,err,crit,alert"/> > > > > > to > > > > > > > and then restart freeswitch > But when I run fs_cli there still present debug, info, etc, messages. > Console log level decreased only after I changed in swintch.conf.xml > file loglevel param from debug to err - this method is not suited to me > because it decrease log level in freeswitch.log too. > > How can I properly tune FS to achive my goal? > -- Evgeniy Movlyan, BestNet Ltd. From vitaliy.davudov at vts24.ru Wed Oct 24 15:30:25 2012 From: vitaliy.davudov at vts24.ru (=?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0JTQsNCy0YPQtNC+0LI=?=) Date: Wed, 24 Oct 2012 15:30:25 +0400 Subject: [Freeswitch-users] FreeSWITCH log question In-Reply-To: <5087CA15.9040005@bestnet.kharkov.ua> References: <5087B869.8040004@vts24.ru> <5087CA15.9040005@bestnet.kharkov.ua> Message-ID: <5087D151.8070905@vts24.ru> Evgeniy, thanks a lot! I think it's help me. But still I am concerned about the question: why should there be modules mod_console and mod_logfile, if loglevel is covered in the switch.conf.xml? 24.10.2012 14:59, Evgeniy Movlyan ?????: > See this: > http://wiki.freeswitch.org/wiki/Fs_cli#Configuration_Options > > 24.10.2012 12:44, ??????? ??????? ?????: >> Hi, list! >> I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 >> (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z). >> I decide to decrease console log level. To achieve this goal I edited >> console.conf.xml file and replace some string: >> from >> >> > value="console,debug,info,notice,warning,err,crit,alert"/> >> >> >> >> >> to >> >> >> >> >> >> >> and then restart freeswitch >> But when I run fs_cli there still present debug, info, etc, messages. >> Console log level decreased only after I changed in swintch.conf.xml >> file loglevel param from debug to err - this method is not suited to me >> because it decrease log level in freeswitch.log too. >> >> How can I properly tune FS to achive my goal? >> -- Best regards, Vitaly. From jaasmailing at gmail.com Wed Oct 24 16:18:18 2012 From: jaasmailing at gmail.com (Carlo Dimaggio) Date: Wed, 24 Oct 2012 14:18:18 +0200 Subject: [Freeswitch-users] FS sends Hold signal to remote gateway In-Reply-To: <8709089764425887813@unknownmsgid> References: <4FD2329B.3010509@gmail.com> <8709089764425887813@unknownmsgid> Message-ID: <5087DC8A.4080604@gmail.com> Hello Brian, I'm sending you now the sip traces and logs as I'm encountering the same problem on another server. Freeswitch logs: http://pastebin.freeswitch.org/20121 SIP Traces: http://pastebin.freeswitch.org/20122 (I have obfuscated some information). The version of freeswitch is: freeswitch at internal> version FreeSWITCH Version 1.3.0+git~20120925T135544Z~176d60beb3 (git 176d60b 2012-09-25 13:55:44Z) Best regards, Il 08/06/12 21.37, Brian West ha scritto: > sip traces and logs, please put them ?p on p?s't?b?n', Also have yo? > tr??d the ??t?s(t c'?d?? > > Sent from my beach hut (cave 2.0 upgrade) > > On Jun 8, 2012, at 12:13 PM, Carlo Dimaggio > wrote: > >> Hi all, >> >> I'm experiencing a strange behaviour when calls are on hold. >> >> Situation: >> >> Call 1. Phone A (internal profile) calls a number (PSTN endpoint) >> through a gateway on the external profile. If the phone sets on hold >> all is ok and the remote PSTN endpoint hears the FreeSWITCH music on >> hold. >> >> Call 2. PSTN endpoint calls through the same gateway the Phone A. If >> the Phone A sets on hold the call, FreeSWITCH sends an hold signal to >> the remote gateway, so there is no Music on hold. >> >> Is a normal behaviour? How I can have the same behaviour of call 1? >> >> >> Regards, >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.com >> >> >> >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> Join Us At ClueCon - Aug 7-9, 2012 >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > Join Us At ClueCon - Aug 7-9, 2012 > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/82a32ea4/attachment-0001.html From evgeniy at bestnet.kharkov.ua Wed Oct 24 16:37:47 2012 From: evgeniy at bestnet.kharkov.ua (Evgeniy Movlyan) Date: Wed, 24 Oct 2012 15:37:47 +0300 Subject: [Freeswitch-users] FreeSWITCH log question In-Reply-To: <5087D151.8070905@vts24.ru> References: <5087B869.8040004@vts24.ru> <5087CA15.9040005@bestnet.kharkov.ua> <5087D151.8070905@vts24.ru> Message-ID: <5087E11B.60009@bestnet.kharkov.ua> mod_logfile is responsible for storing and rotating log files and mod_console just lets the user control the console messages. Variables in switch.conf.xml are global. 24.10.2012 14:30, ??????? ??????? ?????: > Evgeniy, thanks a lot! I think it's help me. > > But still I am concerned about the question: why should there be modules > mod_console and mod_logfile, if loglevel is covered in the switch.conf.xml? > > > 24.10.2012 14:59, Evgeniy Movlyan ?????: >> See this: >> http://wiki.freeswitch.org/wiki/Fs_cli#Configuration_Options >> >> 24.10.2012 12:44, ??????? ??????? ?????: >>> Hi, list! >>> I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 >>> (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z). >>> I decide to decrease console log level. To achieve this goal I edited >>> console.conf.xml file and replace some string: >>> from >>> >>> >> value="console,debug,info,notice,warning,err,crit,alert"/> >>> >>> >>> >>> >>> to >>> >>> >>> >>> >>> >>> >>> and then restart freeswitch >>> But when I run fs_cli there still present debug, info, etc, messages. >>> Console log level decreased only after I changed in swintch.conf.xml >>> file loglevel param from debug to err - this method is not suited to me >>> because it decrease log level in freeswitch.log too. >>> >>> How can I properly tune FS to achive my goal? >>> > -- Evgeniy Movlyan, BestNet Ltd. From rmartinez at redvoiss.net Wed Oct 24 17:02:56 2012 From: rmartinez at redvoiss.net (Ricardo Martinez) Date: Wed, 24 Oct 2012 10:02:56 -0300 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: References: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> Message-ID: <4c79cbaefd542a42deba94270a9437b9@mail.gmail.com> I used the dstat commad and posted the results in another answer. I already do the gcore and bt this is the output : *http://pastebin.freeswitch.org/20112* The thread 7 seems to get al the cpu load. Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Anthony Minessale *Enviado el:* martes, 23 de octubre de 2012 19:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes No, If you have these kinds of problems my only advice is what I already said in my last post about newer OS. You can try top -H -p watch for any high cpu usage in a particular thread, gcore it and post a bt. On Tue, Oct 23, 2012 at 8:03 AM, Ricardo Martinez wrote: Is there an equivalent command in Centos 5.5? Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Anthony Minessale *Enviado el:* lunes, 22 de octubre de 2012 19:37 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes iotop doesn't exist yet in in 5.5 Try cent 5.7 or cent 6.3 or debian 6 if you want some more modern kernels to get iotop On Mon, Oct 22, 2012 at 4:59 PM, Ken Rice wrote: Keeping in mind that you are using a sangoma transcoder board, that means you are handling the equivalent of 440 concurrent calls worth of media for people not using sangoma transcoding hardware (yes theres 4 call legs in that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From D100 back to FS, 1 from FS back out to the other end point). That doesn?t sound like that big of a problem... You will have a fair bit of network traffic that way (the D100 shows up as another network interface as you are probably aware)... I would be looking at something like iotop or something else to see where that load is coming from Also, you have plenty of CPU free... So there is either a real problem here, or this is one of those things where the number of threads handling RTP and SIP are hanging around the run queue long enough to show up in the load average... On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: Ken. There is an average of 220 concurrent calls. Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. Centos 5.5 64bits Ricarod.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 17:47 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes How many concurrent calls are you doing on that box? On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: Hi Ken. I mounted the db directory in RAM as you mention, but the ?load average? still is high. You can see this here : Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 132G 8.6G 117G 7% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys devpts 0 0 0 - /dev/pts /dev/cciss/c0d0p1 104M 20M 79M 21% /boot tmpfs 4.2G 0 4.2G 0% /dev/shm none 0 0 0 - /proc/sys/fs/binfmt_misc sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db * This is a resume from uptime and total calls for my freeswitch : 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, 4.50, 4.66 , Total Calls : 209, Total sessions: 440 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, 4.92, 4.80 , Total Calls : 245, Total sessions: 510 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, 4.84, 4.77 , Total Calls : 235, Total sessions: 488 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, 4.94, 4.81 , Total Calls : 233, Total sessions: 484 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, 4.92, 4.80 , Total Calls : 226, Total sessions: 470 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, 4.84, 4.78 , Total Calls : 218, Total sessions: 454 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, 4.76, 4.75 , Total Calls : 198, Total sessions: 416 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, 4.68, 4.72 , Total Calls : 183, Total sessions: 384 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, 4.60, 4.70 , Total Calls : 172, Total sessions: 366 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, 4.54, 4.68 , Total Calls : 184, Total sessions: 388 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, 4.47, 4.65 , Total Calls : 207, Total sessions: 442 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, 4.48, 4.65 , Total Calls : 203, Total sessions: 436 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, 4.40, 4.63 , Total Calls : 198, Total sessions: 418 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, 4.32, 4.60 , Total Calls : 198, Total sessions: 422 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, 4.47, 4.65 , Total Calls : 194, Total sessions: 410 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, 5.31, 4.92 , Total Calls : 211, Total sessions: 450 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, 5.32, 4.92 , Total Calls : 251, Total sessions: 536 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, 5.49, 4.98 , Total Calls : 250, Total sessions: 530 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, 5.70, 5.05 , Total Calls : 236, Total sessions: 496 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, 5.76, 5.07 , Total Calls : 233, Total sessions: 492 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, 5.84, 5.10 , Total Calls : 235, Total sessions: 496 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, 6.04, 5.17 , Total Calls : 222, Total sessions: 466 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, 6.16, 5.21 , Total Calls : 215, Total sessions: 452 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, 6.36, 5.28 , Total Calls : 208, Total sessions: 430 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, 6.47, 5.32 , Total Calls : 202, Total sessions: 422 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, 6.61, 5.37 , Total Calls : 240, Total sessions: 500 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, 6.78, 5.44 , Total Calls : 239, Total sessions: 498 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, 7.35, 5.63 , Total Calls : 250, Total sessions: 516 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, 7.36, 5.64 , Total Calls : 236, Total sessions: 490 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, 7.29, 5.63 , Total Calls : 209, Total sessions: 436 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, 7.18, 5.60 , Total Calls : 180, Total sessions: 372 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, 7.06, 5.57 , Total Calls : 161, Total sessions: 342 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, 7.24, 5.64 , Total Calls : 175, Total sessions: 370 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, 7.22, 5.64 , Total Calls : 181, Total sessions: 382 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, 7.30, 5.67 , Total Calls : 178, Total sessions: 366 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, 7.35, 5.69 , Total Calls : 173, Total sessions: 358 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, 7.51, 5.76 , Total Calls : 182, Total sessions: 378 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, 7.53, 5.77 , Total Calls : 187, Total sessions: 386 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, 7.77, 5.86 , Total Calls : 190, Total sessions: 402 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, 7.81, 5.88 , Total Calls : 239, Total sessions: 496 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, 7.93, 5.93 , Total Calls : 257, Total sessions: 532 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, 8.09, 5.99 , Total Calls : 242, Total sessions: 506 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.16, 6.03 , Total Calls : 233, Total sessions: 482 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, 8.17, 6.04 , Total Calls : 238, Total sessions: 492 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, 8.30, 6.10 , Total Calls : 236, Total sessions: 482 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, 8.46, 6.16 , Total Calls : 222, Total sessions: 458 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, 8.39, 6.15 , Total Calls : 221, Total sessions: 470 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, 8.33, 6.14 , Total Calls : 200, Total sessions: 422 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, 8.77, 6.30 , Total Calls : 214, Total sessions: 452 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, 8.93, 6.36 , Total Calls : 255, Total sessions: 536 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, 9.06, 6.42 , Total Calls : 252, Total sessions: 524 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, 9.46, 6.56 , Total Calls : 260, Total sessions: 536 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, 9.42, 6.56 , Total Calls : 246, Total sessions: 508 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, 9.52, 6.61 , Total Calls : 230, Total sessions: 478 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, 9.58, 6.64 , Total Calls : 194, Total sessions: 408 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, 9.59, 6.66 , Total Calls : 189, Total sessions: 396 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, 9.55, 6.66 , Total Calls : 202, Total sessions: 438 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, 9.49, 6.66 , Total Calls : 221, Total sessions: 470 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, 9.46, 6.67 , Total Calls : 220, Total sessions: 478 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, 9.80, 6.79 , Total Calls : 219, Total sessions: 480 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, 9.76, 6.79 , Total Calls : 222, Total sessions: 490 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, 9.69, 6.79 , Total Calls : 214, Total sessions: 470 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, 9.85, 6.85 , Total Calls : 210, Total sessions: 450 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, 9.97, 6.91 , Total Calls : 250, Total sessions: 524 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, 9.80, 6.87 , Total Calls : 258, Total sessions: 536 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, 9.64, 6.83 , Total Calls : 255, Total sessions: 528 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, 9.49, 6.80 , Total Calls : 246, Total sessions: 524 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, 9.35, 6.77 , Total Calls : 262, Total sessions: 564 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, 9.21, 6.74 , Total Calls : 238, Total sessions: 510 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, 9.06, 6.70 , Total Calls : 220, Total sessions: 476 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, 8.91, 6.67 , Total Calls : 228, Total sessions: 498 What else could be happening. Did I mention that I?m using two transcoding cards from Sangoma? Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:50 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Load Average is the number of threads/processes waiting in the kernel?s run queue at sample time... Supposedly number of cores is the how much your load avg can get to before your boxes is exhausted but this isnt exactly true on modern hardware with highly multi-threaded software like FreeSWITCH... Where did I get the 100+ number? From looking at ?top? or ?w? on a box to see what the current load avg is... Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and everything in between.... When you type ?show channels? from fs_cli it doesn?t query the structures in RAM to show you that output, it pulls it from the sqlite db... That being said, you can test quickly to see if sqlite is hammering the disk at some point by shifting freeswitch/db dir to a ram drive. Example code for linux such as Centos or Debian assuming freeswitch is installed to /usr/local/freeswitch Shutdown freeswitch rm ?rf /usr/local/freeswitch/db/* mount ?t tmpfs tmpfs /usr/local/freeswitch/db Startup freeswitch Once you have done that stick it back in rotation... Note this will not affect anything but voicemail if you have voicemail running on that box and not using an external DB via mod_voicemail?s DSN settings you?ll lose the voicemail DB... (I would assume this is not the case since you are using this primarily as a Transcoder) K On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: Hi Ken. Maybe that is the problem. I was sure that the ?load average? can?t go more than #cores in your system. In my case I have 8 cores, so a ?load average? of 12 is high from my point of view. Where did you get the number 100 for this parameter? Anyway, what is running a sqlite in freeswitch. Does this have to do with the core.db file? Or with the cdr_sqlite module?. Thanks Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Ken Rice *Enviado el:* lunes, 22 de octubre de 2012 16:18 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Could it be just a normal sqlite running a vacuum? Sqlite does this every so often or if its calling a sync.... Also freeswitch with a load avg of 12 for a short period of time isnt anything to really worry about. Due to the number of threads that?s possible with FS (ie: 1 per call leg) its not unusual to see a box humming along and the load avg well above 100 in my experience... This is due to the number of threads waiting in the run queue when it was sampled... Now, that?s not saying that this is not specifically indicative or a problem but something else to think about On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: This is the gdb from the proccess consuming more cpu : (gdb) thread 7 [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly=) at ./src/os_unix.c:1229 #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at ./src/pager.c:2229 #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 #4 0x00002aede193d07b in sqlite3BtreeSync (p=, zMaster=0x0) at ./src/btree.c:6520 #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at ./src/vdbeaux.c:1062 #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at ./src/vdbe.c:2360 #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:236 #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) at ./src/legacy.c:78 #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) at src/switch_core_db.c:93 #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, sql=0x2aede199e717 "COMMIT", err=0x0) at src/switch_core_sqldb.c:445 #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans (dbh=0x1a2dce0, sql=0x5f03bd0 "delete from calls where (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' transcoder.red.net ';\ndelete from calls where (call"..., retries=1) at src/switch_core_sqldb.c:787 #13 0x00002aede189bf1c in switch_core_sql_thread (thread=, obj=) at src/switch_core_sqldb.c:1026 #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] *Enviado el:* lunes, 22 de octubre de 2012 15:50 *Para:* 'FreeSWITCH Users Help' *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes AS far as i can see there is no java running. This is the top at the moment of the spike : top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, 6.48 Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, 0.0%st Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 freeswitch 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 sngtc_server 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 top 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 migration/1 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/2 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/3 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/3 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/4 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/4 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 migration/5 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/5 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 migration/6 Regards, Ricardo.- *De:* freeswitch-users-bounces at lists.freeswitch.org [ mailto:freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Guillermo Ruiz Camauer *Enviado el:* lunes, 22 de octubre de 2012 15:38 *Para:* FreeSWITCH Users Help *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes Do you have anything like Java running that could be doing garbage collection? What other processes are running on the machine? Does TOP show which process is causing the spike? Guillermo On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez wrote: Hi Gabe. I'm mean between the spikes there is nothing different as regarding to the calls... the cps maintains the same.. there are no scripts running or crontabs running, the simultaneous calls are the same also. So, for some reason the "load average" start to grow (every 20 or 25 minutes) without any clear cause. I have debug with gdb the moment the server is with 12.5 of "load average" here : http://pastebin.freeswitch.org/20112 Can we detect a problem from here? Regards, Ricardo. -----Mensaje original----- De: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Gabriel Gunderson Enviado el: lunes, 22 de octubre de 2012 13:31 Para: FreeSWITCH Users Help Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez wrote: > The problem is that I'm having weird spikes of "load average" cpu > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > load average for this machine. What have you done to verify that it happens 'without any reason'? Gabe _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/da3d88e1/attachment-0001.html From miha at softnet.si Wed Oct 24 17:45:47 2012 From: miha at softnet.si (Miha) Date: Wed, 24 Oct 2012 15:45:47 +0200 Subject: [Freeswitch-users] Freeswich 1.2.3 crash Message-ID: <5087F10B.50509@softnet.si> Hi, I installed FS version: FreeSWITCH Version 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) Today FS have crashed two times. What could be causing this problems. This is error log from /var/log/messeges Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 R, Miha From anton.jugatsu at gmail.com Wed Oct 24 18:08:42 2012 From: anton.jugatsu at gmail.com (Anton Kvashenkin) Date: Wed, 24 Oct 2012 18:08:42 +0400 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: <5087F10B.50509@softnet.si> References: <5087F10B.50509@softnet.si> Message-ID: For god sake, please, paste all debug logs to jira with appropriate ticket! 2012/10/24 Miha > Hi, > > I installed FS version: FreeSWITCH Version > 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 > on Thu, 04 Oct 2012 03:33:01 Z) > > Today FS have crashed two times. What could be causing this problems. > > > This is error log from /var/log/messeges > > > > > Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 > Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 > > > R, > Miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121024/a9ca7d6f/attachment.html From peter.olsson at visionutveckling.se Wed Oct 24 18:12:35 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Wed, 24 Oct 2012 14:12:35 +0000 Subject: [Freeswitch-users] Freeswich 1.2.3 crash Message-ID: <1FFF97C269757C458224B7C895F35F1518C260@cantor.std.visionutv.se> Please report to jira.freeswitch.org. Also make sure to read this information before reporting bugs: http://wiki.freeswitch.org/wiki/Reporting_Bugs /Peter -----Ursprungligt meddelande----- Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Miha Skickat: den 24 oktober 2012 15:46 Till: FreeSWITCH Users Help ?mne: [Freeswitch-users] Freeswich 1.2.3 crash Hi, I installed FS version: FreeSWITCH Version 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) Today FS have crashed two times. What could be causing this problems. This is error log from /var/log/messeges Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 R, Miha _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:5087ef1c32765037613340! From mitch.capper at gmail.com Wed Oct 24 18:34:36 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Wed, 24 Oct 2012 07:34:36 -0700 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: <5087F10B.50509@softnet.si> References: <5087F10B.50509@softnet.si> Message-ID: segfaults are not useful on their own generally check out: http://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recompiling_with_debug_symbols_on which will tell you how to compile with debug symbols, enable core dumps, and get the backtrace. Once you have this please file a jira: http://wiki.freeswitch.org/wiki/Reporting_Bugs Thanks ! ~mitch On Wed, Oct 24, 2012 at 6:45 AM, Miha wrote: > Hi, > > I installed FS version: FreeSWITCH Version > 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 > on Thu, 04 Oct 2012 03:33:01 Z) > > Today FS have crashed two times. What could be causing this problems. > > > This is error log from /var/log/messeges > > > > > Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 > Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 > > > R, > Miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From miha at softnet.si Wed Oct 24 18:36:35 2012 From: miha at softnet.si (Miha) Date: Wed, 24 Oct 2012 16:36:35 +0200 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: <5087F10B.50509@softnet.si> References: <5087F10B.50509@softnet.si> Message-ID: <5087FCF3.1010109@softnet.si> This is from gdb: Loaded symbols for /usr/local/freeswitch/mod/mod_xml_curl.so warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffd03fd000 Core was generated by `./freeswitch'. Program terminated with signal 11, Segmentation fault. #0 0x000000305f2788e0 in strlen () from /lib64/libc.so.6 regards, Miha On 10/24/2012 3:45 PM, Miha wrote: > Hi, > > I installed FS version: FreeSWITCH Version > 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 > on Thu, 04 Oct 2012 03:33:01 Z) > > Today FS have crashed two times. What could be causing this problems. > > > This is error log from /var/log/messeges > > > > > Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 > Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 > > > R, > Miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From miha at softnet.si Wed Oct 24 18:44:22 2012 From: miha at softnet.si (Miha) Date: Wed, 24 Oct 2012 16:44:22 +0200 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: <1FFF97C269757C458224B7C895F35F1518C260@cantor.std.visionutv.se> References: <1FFF97C269757C458224B7C895F35F1518C260@cantor.std.visionutv.se> Message-ID: <5087FEC6.9090507@softnet.si> I already did:) Reagrds, Miha On 10/24/2012 4:12 PM, Peter Olsson wrote: > Please report to jira.freeswitch.org. Also make sure to read this information before reporting bugs: http://wiki.freeswitch.org/wiki/Reporting_Bugs > > /Peter > > -----Ursprungligt meddelande----- > Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Miha > Skickat: den 24 oktober 2012 15:46 > Till: FreeSWITCH Users Help > ?mne: [Freeswitch-users] Freeswich 1.2.3 crash > > Hi, > > I installed FS version: FreeSWITCH Version > 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) > > Today FS have crashed two times. What could be causing this problems. > > > This is error log from /var/log/messeges > > > > > Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at > 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 > > > R, > Miha > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > !DSPAM:5087ef1c32765037613340! > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From anthony.minessale at gmail.com Wed Oct 24 19:11:58 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 24 Oct 2012 10:11:58 -0500 Subject: [Freeswitch-users] CPU Spikes every 20 minutes In-Reply-To: <4c79cbaefd542a42deba94270a9437b9@mail.gmail.com> References: <9dc32f1d422a9af8456399e5aeb25469@mail.gmail.com> <4c79cbaefd542a42deba94270a9437b9@mail.gmail.com> Message-ID: Thread 7 is the sql thread. again it points to the sql. If you are only concerned by the load average and are not actually experiencing any noticeable problems you should not be concerned. If you have an actual problem, try a newer OS. Sangoma cards have been known to consume more resources on older CentOS due to incompatibility with modern processors. On Wed, Oct 24, 2012 at 8:02 AM, Ricardo Martinez wrote: > I used the dstat commad and posted the results in another answer. > > I already do the gcore and bt this is the output : *http://pastebin.freeswitch.org/20112* > > > > The thread 7 seems to get al the cpu load. > > > > Regards, > > Ricardo.- > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Anthony > Minessale > *Enviado el:* martes, 23 de octubre de 2012 19:38 > > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > > No, > > > > If you have these kinds of problems my only advice is what I already said > in my last post about newer OS. > > > > You can try top -H -p > > > > watch for any high cpu usage in a particular thread, gcore it and post a > bt. > > > > > > On Tue, Oct 23, 2012 at 8:03 AM, Ricardo Martinez > wrote: > > Is there an equivalent command in Centos 5.5? > > > > Ricardo.- > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *En nombre de *Anthony > Minessale > *Enviado el:* lunes, 22 de octubre de 2012 19:37 > > > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > > iotop doesn't exist yet in in 5.5 > > > > Try cent 5.7 > > > > or cent 6.3 or debian 6 if you want some more modern kernels to get iotop > > > > > > > > On Mon, Oct 22, 2012 at 4:59 PM, Ken Rice wrote: > > Keeping in mind that you are using a sangoma transcoder board, that means > you are handling the equivalent of 440 concurrent calls worth of media for > people not using sangoma transcoding hardware (yes theres 4 call legs in > that scenario, 1 from endpoint A to FS, 1 from FS to D100, 1 From D100 back > to FS, 1 from FS back out to the other end point). That doesn?t sound like > that big of a problem... You will have a fair bit of network traffic that > way (the D100 shows up as another network interface as you are probably > aware)... > > I would be looking at something like iotop or something else to see where > that load is coming from > > Also, you have plenty of CPU free... So there is either a real problem > here, or this is one of those things where the number of threads handling > RTP and SIP are hanging around the run queue long enough to show up in the > load average... > > > > > > > On 10/22/12 3:53 PM, "Ricardo Martinez" wrote: > > Ken. > There is an average of 220 concurrent calls. > Machine : DL380 G7 ? 2 Quad Core ? 8 Gig RAM. > Centos 5.5 64bits > > Ricarod.- > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 17:47 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > How many concurrent calls are you doing on that box? > > > On 10/22/12 3:33 PM, "Ricardo Martinez" wrote: > Hi Ken. > I mounted the db directory in RAM as you mention, but the ?load average? > still is high. > You can see this here : > > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 132G 8.6G 117G 7% / > proc 0 0 0 - /proc > sysfs 0 0 0 - /sys > devpts 0 0 0 - /dev/pts > /dev/cciss/c0d0p1 104M 20M 79M 21% /boot > tmpfs 4.2G 0 4.2G 0% /dev/shm > none 0 0 0 - /proc/sys/fs/binfmt_misc > sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs > *tmpfs 4.2G 1.3M 4.2G 1% /usr/local/freeswitch/db > * > This is a resume from uptime and total calls for my freeswitch : > > 17:20:07 up 17 days, Total Calls : 16:26, 3 users, load average: 4.77, > 4.50, 4.66 , Total Calls : 209, Total sessions: 440 > 17:20:12 up 17 days, Total Calls : 16:27, 3 users, load average: 6.79, > 4.92, 4.80 , Total Calls : 245, Total sessions: 510 > 17:20:17 up 17 days, Total Calls : 16:27, 3 users, load average: 6.25, > 4.84, 4.77 , Total Calls : 235, Total sessions: 488 > 17:20:22 up 17 days, Total Calls : 16:27, 3 users, load average: 6.63, > 4.94, 4.81 , Total Calls : 233, Total sessions: 484 > 17:20:27 up 17 days, Total Calls : 16:27, 3 users, load average: 6.42, > 4.92, 4.80 , Total Calls : 226, Total sessions: 470 > 17:20:32 up 17 days, Total Calls : 16:27, 3 users, load average: 5.90, > 4.84, 4.78 , Total Calls : 218, Total sessions: 454 > 17:20:37 up 17 days, Total Calls : 16:27, 3 users, load average: 5.43, > 4.76, 4.75 , Total Calls : 198, Total sessions: 416 > 17:20:43 up 17 days, Total Calls : 16:27, 3 users, load average: 4.99, > 4.68, 4.72 , Total Calls : 183, Total sessions: 384 > 17:20:48 up 17 days, Total Calls : 16:27, 3 users, load average: 4.59, > 4.60, 4.70 , Total Calls : 172, Total sessions: 366 > 17:20:53 up 17 days, Total Calls : 16:27, 3 users, load average: 4.31, > 4.54, 4.68 , Total Calls : 184, Total sessions: 388 > 17:20:58 up 17 days, Total Calls : 16:27, 3 users, load average: 3.96, > 4.47, 4.65 , Total Calls : 207, Total sessions: 442 > 17:21:03 up 17 days, Total Calls : 16:27, 3 users, load average: 4.04, > 4.48, 4.65 , Total Calls : 203, Total sessions: 436 > 17:21:08 up 17 days, Total Calls : 16:27, 3 users, load average: 3.72, > 4.40, 4.63 , Total Calls : 198, Total sessions: 418 > 17:21:13 up 17 days, Total Calls : 16:28, 3 users, load average: 3.47, > 4.32, 4.60 , Total Calls : 198, Total sessions: 422 > 17:21:18 up 17 days, Total Calls : 16:28, 3 users, load average: 4.23, > 4.47, 4.65 , Total Calls : 194, Total sessions: 410 > 17:21:23 up 17 days, Total Calls : 16:28, 3 users, load average: 8.30, > 5.31, 4.92 , Total Calls : 211, Total sessions: 450 > 17:21:28 up 17 days, Total Calls : 16:28, 3 users, load average: 8.11, > 5.32, 4.92 , Total Calls : 251, Total sessions: 536 > 17:21:33 up 17 days, Total Calls : 16:28, 3 users, load average: 8.74, > 5.49, 4.98 , Total Calls : 250, Total sessions: 530 > 17:21:38 up 17 days, Total Calls : 16:28, 3 users, load average: 9.48, > 5.70, 5.05 , Total Calls : 236, Total sessions: 496 > 17:21:43 up 17 days, Total Calls : 16:28, 3 users, load average: 9.45, > 5.76, 5.07 , Total Calls : 233, Total sessions: 492 > 17:21:48 up 17 days, Total Calls : 16:28, 3 users, load average: 9.57, > 5.84, 5.10 , Total Calls : 235, Total sessions: 496 > 17:21:53 up 17 days, Total Calls : 16:28, 3 users, load average: 10.24, > 6.04, 5.17 , Total Calls : 222, Total sessions: 466 > 17:21:58 up 17 days, Total Calls : 16:28, 3 users, load average: 10.46, > 6.16, 5.21 , Total Calls : 215, Total sessions: 452 > 17:22:03 up 17 days, Total Calls : 16:28, 3 users, load average: 11.07, > 6.36, 5.28 , Total Calls : 208, Total sessions: 430 > 17:22:08 up 17 days, Total Calls : 16:28, 3 users, load average: 11.22, > 6.47, 5.32 , Total Calls : 202, Total sessions: 422 > 17:22:14 up 17 days, Total Calls : 16:29, 3 users, load average: 11.52, > 6.61, 5.37 , Total Calls : 240, Total sessions: 500 > 17:22:19 up 17 days, Total Calls : 16:29, 3 users, load average: 11.96, > 6.78, 5.44 , Total Calls : 239, Total sessions: 498 > 17:22:24 up 17 days, Total Calls : 16:29, 3 users, load average: 14.29, > 7.35, 5.63 , Total Calls : 250, Total sessions: 516 > 17:22:29 up 17 days, Total Calls : 16:29, 3 users, load average: 13.78, > 7.36, 5.64 , Total Calls : 236, Total sessions: 490 > 17:22:34 up 17 days, Total Calls : 16:29, 3 users, load average: 12.92, > 7.29, 5.63 , Total Calls : 209, Total sessions: 436 > 17:22:39 up 17 days, Total Calls : 16:29, 3 users, load average: 11.97, > 7.18, 5.60 , Total Calls : 180, Total sessions: 372 > 17:22:44 up 17 days, Total Calls : 16:29, 3 users, load average: 11.01, > 7.06, 5.57 , Total Calls : 161, Total sessions: 342 > 17:22:49 up 17 days, Total Calls : 16:29, 3 users, load average: 11.57, > 7.24, 5.64 , Total Calls : 175, Total sessions: 370 > 17:22:54 up 17 days, Total Calls : 16:29, 3 users, load average: 11.12, > 7.22, 5.64 , Total Calls : 181, Total sessions: 382 > 17:22:59 up 17 days, Total Calls : 16:29, 3 users, load average: 11.19, > 7.30, 5.67 , Total Calls : 178, Total sessions: 366 > 17:23:04 up 17 days, Total Calls : 16:29, 3 users, load average: 11.10, > 7.35, 5.69 , Total Calls : 173, Total sessions: 358 > 17:23:09 up 17 days, Total Calls : 16:30, 3 users, load average: 11.57, > 7.51, 5.76 , Total Calls : 182, Total sessions: 378 > 17:23:14 up 17 days, Total Calls : 16:30, 3 users, load average: 11.36, > 7.53, 5.77 , Total Calls : 187, Total sessions: 386 > 17:23:19 up 17 days, Total Calls : 16:30, 3 users, load average: 12.21, > 7.77, 5.86 , Total Calls : 190, Total sessions: 402 > 17:23:24 up 17 days, Total Calls : 16:30, 3 users, load average: 12.04, > 7.81, 5.88 , Total Calls : 239, Total sessions: 496 > 17:23:29 up 17 days, Total Calls : 16:30, 3 users, load average: 12.27, > 7.93, 5.93 , Total Calls : 257, Total sessions: 532 > 17:23:34 up 17 days, Total Calls : 16:30, 3 users, load average: 12.73, > 8.09, 5.99 , Total Calls : 242, Total sessions: 506 > 17:23:39 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, > 8.16, 6.03 , Total Calls : 233, Total sessions: 482 > 17:23:45 up 17 days, Total Calls : 16:30, 3 users, load average: 12.38, > 8.17, 6.04 , Total Calls : 238, Total sessions: 492 > 17:23:50 up 17 days, Total Calls : 16:30, 3 users, load average: 12.67, > 8.30, 6.10 , Total Calls : 236, Total sessions: 482 > 17:23:55 up 17 days, Total Calls : 16:30, 3 users, load average: 13.09, > 8.46, 6.16 , Total Calls : 222, Total sessions: 458 > 17:24:00 up 17 days, Total Calls : 16:30, 3 users, load average: 12.37, > 8.39, 6.15 , Total Calls : 221, Total sessions: 470 > 17:24:05 up 17 days, Total Calls : 16:30, 3 users, load average: 11.78, > 8.33, 6.14 , Total Calls : 200, Total sessions: 422 > 17:24:10 up 17 days, Total Calls : 16:31, 3 users, load average: 13.64, > 8.77, 6.30 , Total Calls : 214, Total sessions: 452 > 17:24:15 up 17 days, Total Calls : 16:31, 3 users, load average: 13.98, > 8.93, 6.36 , Total Calls : 255, Total sessions: 536 > 17:24:20 up 17 days, Total Calls : 16:31, 3 users, load average: 14.23, > 9.06, 6.42 , Total Calls : 252, Total sessions: 524 > 17:24:25 up 17 days, Total Calls : 16:31, 3 users, load average: 15.73, > 9.46, 6.56 , Total Calls : 260, Total sessions: 536 > 17:24:30 up 17 days, Total Calls : 16:31, 3 users, load average: 15.03, > 9.42, 6.56 , Total Calls : 246, Total sessions: 508 > 17:24:35 up 17 days, Total Calls : 16:31, 3 users, load average: 15.11, > 9.52, 6.61 , Total Calls : 230, Total sessions: 478 > 17:24:40 up 17 days, Total Calls : 16:31, 3 users, load average: 14.94, > 9.58, 6.64 , Total Calls : 194, Total sessions: 408 > 17:24:45 up 17 days, Total Calls : 16:31, 3 users, load average: 14.54, > 9.59, 6.66 , Total Calls : 189, Total sessions: 396 > 17:24:50 up 17 days, Total Calls : 16:31, 3 users, load average: 13.94, > 9.55, 6.66 , Total Calls : 202, Total sessions: 438 > 17:24:55 up 17 days, Total Calls : 16:31, 3 users, load average: 13.30, > 9.49, 6.66 , Total Calls : 221, Total sessions: 470 > 17:25:00 up 17 days, Total Calls : 16:31, 3 users, load average: 12.88, > 9.46, 6.67 , Total Calls : 220, Total sessions: 478 > 17:25:05 up 17 days, Total Calls : 16:31, 3 users, load average: 14.25, > 9.80, 6.79 , Total Calls : 219, Total sessions: 480 > 17:25:10 up 17 days, Total Calls : 16:32, 3 users, load average: 13.67, > 9.76, 6.79 , Total Calls : 222, Total sessions: 490 > 17:25:16 up 17 days, Total Calls : 16:32, 3 users, load average: 13.05, > 9.69, 6.79 , Total Calls : 214, Total sessions: 470 > 17:25:21 up 17 days, Total Calls : 16:32, 3 users, load average: 13.53, > 9.85, 6.85 , Total Calls : 210, Total sessions: 450 > 17:25:26 up 17 days, Total Calls : 16:32, 3 users, load average: 13.81, > 9.97, 6.91 , Total Calls : 250, Total sessions: 524 > 17:25:31 up 17 days, Total Calls : 16:32, 3 users, load average: 12.70, > 9.80, 6.87 , Total Calls : 258, Total sessions: 536 > 17:25:36 up 17 days, Total Calls : 16:32, 3 users, load average: 11.68, > 9.64, 6.83 , Total Calls : 255, Total sessions: 528 > 17:25:41 up 17 days, Total Calls : 16:32, 3 users, load average: 10.83, > 9.49, 6.80 , Total Calls : 246, Total sessions: 524 > 17:25:46 up 17 days, Total Calls : 16:32, 3 users, load average: 10.04, > 9.35, 6.77 , Total Calls : 262, Total sessions: 564 > 17:25:51 up 17 days, Total Calls : 16:32, 3 users, load average: 9.32, > 9.21, 6.74 , Total Calls : 238, Total sessions: 510 > 17:25:56 up 17 days, Total Calls : 16:32, 3 users, load average: 8.57, > 9.06, 6.70 , Total Calls : 220, Total sessions: 476 > 17:26:01 up 17 days, Total Calls : 16:32, 3 users, load average: 7.88, > 8.91, 6.67 , Total Calls : 228, Total sessions: 498 > > What else could be happening. > Did I mention that I?m using two transcoding cards from Sangoma? > > Regards, > Ricardo.- > > > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:50 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Load Average is the number of threads/processes waiting in the kernel?s > run queue at sample time... Supposedly number of cores is the how much your > load avg can get to before your boxes is exhausted but this isnt exactly > true on modern hardware with highly multi-threaded software like > FreeSWITCH... > > Where did I get the 100+ number? From looking at ?top? or ?w? on a box to > see what the current load avg is... > > Sqlite is used all over FreeSWITCH from the coredb to mod_sofia and > everything in between.... When you type ?show channels? from fs_cli it > doesn?t query the structures in RAM to show you that output, it pulls it > from the sqlite db... > > That being said, you can test quickly to see if sqlite is hammering the > disk at some point by shifting freeswitch/db dir to a ram drive. > Example code for linux such as Centos or Debian assuming freeswitch is > installed to /usr/local/freeswitch > > Shutdown freeswitch > rm ?rf /usr/local/freeswitch/db/* > mount ?t tmpfs tmpfs /usr/local/freeswitch/db > Startup freeswitch > > Once you have done that stick it back in rotation... > > Note this will not affect anything but voicemail if you have voicemail > running on that box and not using an external DB via mod_voicemail?s DSN > settings you?ll lose the voicemail DB... (I would assume this is not the > case since you are using this primarily as a Transcoder) > > K > > > On 10/22/12 2:30 PM, "Ricardo Martinez" wrote: > Hi Ken. > Maybe that is the problem. I was sure that the ?load average? can?t go > more than #cores in your system. In my case I have 8 cores, so a ?load > average? of 12 is high from my point of view. Where did you get the number > 100 for this parameter? > Anyway, what is running a sqlite in freeswitch. Does this have to do with > the core.db file? Or with the cdr_sqlite module?. > > Thanks > Ricardo.- > > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Ken Rice > *Enviado el:* lunes, 22 de octubre de 2012 16:18 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > Could it be just a normal sqlite running a vacuum? > > Sqlite does this every so often or if its calling a sync.... > > Also freeswitch with a load avg of 12 for a short period of time isnt > anything to really worry about. Due to the number of threads that?s > possible with FS (ie: 1 per call leg) its not unusual to see a box humming > along and the load avg well above 100 in my experience... This is due to > the number of threads waiting in the run queue when it was sampled... Now, > that?s not saying that this is not specifically indicative or a problem but > something else to think about > > On 10/22/12 1:52 PM, "Ricardo Martinez" wrote: > This is the gdb from the proccess consuming more cpu : > > (gdb) thread 7 > [Switching to thread 7 (Thread 31781)]#0 0x0000003c03c0e047 in fsync () > from /lib64/libpthread.so.0 > (gdb) bt > #0 0x0000003c03c0e047 in fsync () from /lib64/libpthread.so.0 > #1 0x00002aede19276de in unixSync (id=0x2aaaac726380, dataOnly= optimized out>) at ./src/os_unix.c:1229 > #2 0x00002aede1951178 in syncJournal (pPager=0x1a1c200) at > ./src/pager.c:2229 > #3 0x00002aede1953b65 in sqlite3pager_sync (pPager=0x1a1c200, > zMaster=0x0, nTrunc=0) at ./src/pager.c:3770 > #4 0x00002aede193d07b in sqlite3BtreeSync (p=, > zMaster=0x0) at ./src/btree.c:6520 > #5 0x00002aede1931f15 in sqlite3VdbeHalt (p=0x2aaaad17ac70) at > ./src/vdbeaux.c:1062 > #6 0x00002aede1962613 in sqlite3VdbeExec (p=0x2aaaad17ac70) at > ./src/vdbe.c:2360 > #7 0x00002aede193036c in sqlite3Step (pStmt=0x2aaaad17ac70) at > ./src/vdbeapi.c:236 > #8 sqlite3_step (pStmt=0x2aaaad17ac70) at ./src/vdbeapi.c:289 > #9 0x00002aede1938978 in sqlite3_exec (db=0x1a1f070, zSql=0x2aede199e717 > "COMMIT", xCallback=0, pArg=0x0, pzErrMsg=0x4178bed0) > at ./src/legacy.c:78 > #10 0x00002aede18ae0c1 in switch_core_db_exec (db=0x1a1f070, > sql=0x2aede199e717 "COMMIT", callback=0, data=0x0, errmsg=0x4178bf38) > at src/switch_core_db.c:93 > #11 0x00002aede1897c18 in switch_cache_db_execute_sql_real (dbh=0x1a2dce0, > sql=0x2aede199e717 "COMMIT", err=0x0) > at src/switch_core_sqldb.c:445 > #12 0x00002aede18985c3 in switch_cache_db_persistant_execute_trans > (dbh=0x1a2dce0, > > sql=0x5f03bd0 "delete from calls where > (caller_uuid='e64319c5-7f91-47a1-9561-42da291e499a' or > callee_uuid='e64319c5-7f91-47a1-9561-42da291e499a') and hostname=' > transcoder.red.net > ';\ndelete from > calls where (call"..., retries=1) > > > at src/switch_core_sqldb.c:787 > #13 0x00002aede189bf1c in switch_core_sql_thread (thread= out>, obj=) > at src/switch_core_sqldb.c:1026 > #14 0x0000003c03c0673d in start_thread () from /lib64/libpthread.so.0 > #15 0x0000003c030d3f6d in clone () from /lib64/libc.so.6 > > > *De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net] > > *Enviado el:* lunes, 22 de octubre de 2012 15:50 > *Para:* 'FreeSWITCH Users Help' > *Asunto:* RE: [Freeswitch-users] CPU Spikes every 20 minutes > > > AS far as i can see there is no java running. > This is the top at the moment of the spike : > > top - 15:48:29 up 17 days, 14:55, 3 users, load average: 14.07, 8.87, > 6.48 > Tasks: 158 total, 1 running, 157 sleeping, 0 stopped, 0 zombie > Cpu(s): 12.6%us, 9.0%sy, 0.0%ni, 66.1%id, 2.7%wa, 0.3%hi, 9.2%si, > 0.0%st > Mem: 8171500k total, 8041556k used, 129944k free, 177688k buffers > Swap: 10223608k total, 0k used, 10223608k free, 6951988k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > 31772 root 15 0 870m 481m 6880 S 212.4 6.0 9523:51 > freeswitch > 4210 root 19 0 36344 2940 1444 S 1.0 0.0 56:21.08 > sngtc_server > 29586 root 15 0 12740 1132 808 R 0.3 0.0 0:00.02 > top > 1 root 15 0 10348 704 588 S 0.0 0.0 0:01.13 > init > 2 root RT -5 0 0 0 S 0.0 0.0 0:00.41 > migration/0 > 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/0 > 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/0 > 5 root RT -5 0 0 0 S 0.0 0.0 0:00.83 > migration/1 > 6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/1 > 7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1 > > 8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 > migration/2 > 9 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/2 > 10 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/2 > 11 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/3 > 12 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/3 > 13 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/3 > 14 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/4 > 15 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/4 > 16 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/4 > 17 root RT -5 0 0 0 S 0.0 0.0 0:00.06 > migration/5 > 18 root 34 19 0 0 0 S 0.0 0.0 0:00.00 > ksoftirqd/5 > 19 root RT -5 0 0 0 S 0.0 0.0 0:00.00 > watchdog/5 > 20 root RT -5 0 0 0 S 0.0 0.0 0:00.07 > migration/6 > > > Regards, > Ricardo.- > > *De:* freeswitch-users-bounces at lists.freeswitch.org [ > mailto:freeswitch-users-bounces at lists.freeswitch.org] > *En nombre de *Guillermo Ruiz Camauer > *Enviado el:* lunes, 22 de octubre de 2012 15:38 > *Para:* FreeSWITCH Users Help > *Asunto:* Re: [Freeswitch-users] CPU Spikes every 20 minutes > > Do you have anything like Java running that could be doing garbage > collection? > > > > What other processes are running on the machine? Does TOP show which > process is causing the spike? > > > > Guillermo > > On Mon, Oct 22, 2012 at 3:29 PM, Ricardo Martinez > wrote: > Hi Gabe. > I'm mean between the spikes there is nothing different as regarding to the > calls... the cps maintains the same.. there are no scripts running or > crontabs running, the simultaneous calls are the same also. So, for some > reason the "load average" start to grow (every 20 or 25 minutes) without > any clear cause. > I have debug with gdb the moment the server is with 12.5 of "load average" > here : http://pastebin.freeswitch.org/20112 > > Can we detect a problem from here? > > Regards, > Ricardo. > > > > -----Mensaje original----- > De: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] > En nombre de > Gabriel Gunderson > Enviado el: lunes, 22 de octubre de 2012 13:31 > Para: FreeSWITCH Users Help > Asunto: Re: [Freeswitch-users] CPU Spikes every 20 minutes > > > On Mon, Oct 22, 2012 at 8:37 AM, Ricardo Martinez > wrote: > > The problem is that I'm having weird spikes of "load average" cpu > > every 20 minutes (aprox), without any reason, reaching near of 12.5 of > > load average for this machine. > > What have you done to verify that it happens 'without any reason'? > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > > > > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/0e169480/attachment-0001.html From anthony.minessale at gmail.com Wed Oct 24 19:17:05 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 24 Oct 2012 10:17:05 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <1351054522812-7583938.post@n2.nabble.com> References: <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> <1351054522812-7583938.post@n2.nabble.com> Message-ID: I don't think dingaling supports that but we should think about centralizing that. Maybe some changes to the config exposed this. I am not sure but I have always used it with ip right in the config instead of vars. On Tue, Oct 23, 2012 at 11:55 PM, PhilQ wrote: > Yes, that's correct. Sorry, I didn't think about the fact that I hadn't > explained that when I tried your suggestion. Setting both rtp-ip and > ext-rtp-ip explicitly solves the problem. That part of the mystery is > solved... THANK YOU. > > Interestingly though, the previous settings for these values were: > param name="rtp-ip" value="$${bind_server_ip}"/ > param name="ext-rtp-ip" value="$${external_rtp_ip}"/ > > (Nabble won't let me put the syntax markers '<' and '>' in) > > And these worked just fine before. Any idea why they might have suddenly > stopped working? Can you use host:host.server.com to do a DNS lookup like > you can for the other SIP profiles? > > Thanks again, > > - Phil > > > > -- > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583938.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/8224a7e3/attachment.html From msc at freeswitch.org Wed Oct 24 19:30:42 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Oct 2012 08:30:42 -0700 Subject: [Freeswitch-users] Use of ignore_early_media In-Reply-To: <20121024013119.6e155256@dilbert> References: <20121024013119.6e155256@dilbert> Message-ID: We'd like to see the dialplan and debug logs for each scenario. Keep in mind that ignore_early_media=true is particularly useful for calling multiple endpoints, but if you're calling a single endpoint then you need to make sure that you really do want to ignore early media or not. -MC On Tue, Oct 23, 2012 at 10:31 PM, D'Arcy J.M. Cain wrote: > I have a dialplan that includes something like this: > > data="{ignore_early_media=true}user/${dialed_extension}@ > ${domain_name},[leg_delay_start=5]sofia/gateway/${call_forward_gateway}/ > 4165551212"/> > > It was suggested to me that ignore_early_media was usually > contra-indicated. When I removed it, the local extension stopped > ringing as soon as the cell phone was called. Putting it back allowed > both phones to ring until one picked up. However, that caused a > different problem. When someone called an extension that was not > currently registered they got a busy signal. Without it the calls go > to voice mail. > > My question - WTF? > > -- > D'Arcy J.M. Cain > System Administrator, Vex.Net > http://www.Vex.Net/ IM:darcy at Vex.Net > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/20254432/attachment.html From mitch.capper at gmail.com Wed Oct 24 19:33:40 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Wed, 24 Oct 2012 08:33:40 -0700 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: <5087FEC6.9090507@softnet.si> References: <1FFF97C269757C458224B7C895F35F1518C260@cantor.std.visionutv.se> <5087FEC6.9090507@softnet.si> Message-ID: I think you missed my comment about compiling for symbols though. ~mitch On Wed, Oct 24, 2012 at 7:44 AM, Miha wrote: > I already did:) > > Reagrds, > Miha > > On 10/24/2012 4:12 PM, Peter Olsson wrote: >> Please report to jira.freeswitch.org. Also make sure to read this information before reporting bugs: http://wiki.freeswitch.org/wiki/Reporting_Bugs >> >> /Peter >> >> -----Ursprungligt meddelande----- >> Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Miha >> Skickat: den 24 oktober 2012 15:46 >> Till: FreeSWITCH Users Help >> ?mne: [Freeswitch-users] Freeswich 1.2.3 crash >> >> Hi, >> >> I installed FS version: FreeSWITCH Version >> 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) >> >> Today FS have crashed two times. What could be causing this problems. >> >> >> This is error log from /var/log/messeges >> >> >> >> >> Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at >> 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at >> 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 >> >> >> R, >> Miha >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> !DSPAM:5087ef1c32765037613340! >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 From jkomar at jbox.ca Wed Oct 24 19:50:01 2012 From: jkomar at jbox.ca (Komar, Jason) Date: Wed, 24 Oct 2012 09:50:01 -0600 Subject: [Freeswitch-users] process-rxfax.py Python Script and FreeSWITCH 1.2.3 Message-ID: I'm using the process-rxfax.py Python script found on the mod_spandsp wiki page (http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1. Does anyone know if there was a change in mod_spandsp that would have broken the script? When a fax call is received FreeSWITCH immediately hangs up with a DESTINATION_OUT_OF_ORDER. The error that gets thrown in the cli is: 2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid Application rxfax If need be, I'll open a jira. My thought though was that it may be a problem with the script needing an update rather than an issue with FreeSWITCH itself. Thanks, Jason Komar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/6bf1190e/attachment.html From miha at softnet.si Wed Oct 24 19:58:07 2012 From: miha at softnet.si (Miha) Date: Wed, 24 Oct 2012 17:58:07 +0200 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: References: <1FFF97C269757C458224B7C895F35F1518C260@cantor.std.visionutv.se> <5087FEC6.9090507@softnet.si> Message-ID: <5088100F.9010109@softnet.si> Thanks Mitch! BR, Miha On 10/24/2012 5:33 PM, Mitch Capper wrote: > I think you missed my comment about compiling for symbols though. > ~mitch > > On Wed, Oct 24, 2012 at 7:44 AM, Miha wrote: >> I already did:) >> >> Reagrds, >> Miha >> >> On 10/24/2012 4:12 PM, Peter Olsson wrote: >>> Please report to jira.freeswitch.org. Also make sure to read this information before reporting bugs: http://wiki.freeswitch.org/wiki/Reporting_Bugs >>> >>> /Peter >>> >>> -----Ursprungligt meddelande----- >>> Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Miha >>> Skickat: den 24 oktober 2012 15:46 >>> Till: FreeSWITCH Users Help >>> ?mne: [Freeswitch-users] Freeswich 1.2.3 crash >>> >>> Hi, >>> >>> I installed FS version: FreeSWITCH Version >>> 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) >>> >>> Today FS have crashed two times. What could be causing this problems. >>> >>> >>> This is error log from /var/log/messeges >>> >>> >>> >>> >>> Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at >>> 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at >>> 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 >>> >>> >>> R, >>> Miha >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >>> !DSPAM:5087ef1c32765037613340! >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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 > From msc at freeswitch.org Wed Oct 24 19:59:54 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Oct 2012 08:59:54 -0700 Subject: [Freeswitch-users] event socket : userauth undocumented esl command? In-Reply-To: References: Message-ID: John, I did not realize we had this either. Looking in mod_event_socket.c yields some clues. Looking in the code you saw the block where it checks for "userauth ". However, looking further down you see this: if (switch_xml_locate_user("id", user, domain_name, NULL, &x_domain_root, &x_domain, &x_user, &x_group, params) == SWITCH_STATUS_SUCCESS) This suggests to me that the users are taken right from the XML user directory and that you just need to figure out what parameters to set. I would start there. Let us know what you find. -MC On Wed, Oct 24, 2012 at 12:21 AM, rentmycoder rentmycoder < rentmycoder at gmail.com> wrote: > Hi, > > I''ve read in an old esl source that a userauth command exist in > mod_event_socket and provides user/password based authentication, not > only password based, like auth... > Th actual code accepts the userauth command... > Question: where can I configure the user / password for the userauth > command? > Shouldn't this command bee in wiki? > Thanks, > John > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/64b534fa/attachment.html From covici at ccs.covici.com Wed Oct 24 20:00:49 2012 From: covici at ccs.covici.com (covici at ccs.covici.com) Date: Wed, 24 Oct 2012 12:00:49 -0400 Subject: [Freeswitch-users] Freeswich 1.2.3 crash In-Reply-To: References: <5087F10B.50509@softnet.si> Message-ID: <8440.1351094449@ccs.covici.com> Aren't debug symbols on by default?? Mitch Capper wrote: > segfaults are not useful on their own generally check out: > http://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recompiling_with_debug_symbols_on > which will tell you how to compile with debug symbols, enable core > dumps, and get the backtrace. Once you have this please file a jira: > http://wiki.freeswitch.org/wiki/Reporting_Bugs > > Thanks ! > > ~mitch > > On Wed, Oct 24, 2012 at 6:45 AM, Miha wrote: > > Hi, > > > > I installed FS version: FreeSWITCH Version > > 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 > > on Thu, 04 Oct 2012 03:33:01 Z) > > > > Today FS have crashed two times. What could be causing this problems. > > > > > > This is error log from /var/log/messeges > > > > > > > > > > Oct 24 14:03:56 localfs2 kernel: freeswitch[20212]: segfault at > > 00002aaaaaba0041 rip 000000305f2788e0 rsp 00000000404e3358 error 4 > > Oct 24 15:33:53 localfs2 kernel: freeswitch[20753]: segfault at > > 00002aaaaaba0041 rip 000000305f2788e0 rsp 0000000041991358 error 4 > > > > > > R, > > Miha > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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 -- 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 msc at freeswitch.org Wed Oct 24 20:13:10 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Oct 2012 09:13:10 -0700 Subject: [Freeswitch-users] FreeSWITCH Conference Call Message-ID: Hello all! Today's conference call agenda is here: http://wiki.freeswitch.org/wiki/FS_weekly_2012_10_24 We are going to be a bit Windows-centric today - hope you don't mind. :) -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/44697f80/attachment.html From darcy at Vex.Net Wed Oct 24 20:26:14 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Wed, 24 Oct 2012 12:26:14 -0400 Subject: [Freeswitch-users] Use of ignore_early_media In-Reply-To: References: <20121024013119.6e155256@dilbert> Message-ID: <20121024122614.5c1bbfc7@dilbert> On Wed, 24 Oct 2012 08:30:42 -0700 Michael Collins wrote: > We'd like to see the dialplan and debug logs for each scenario. Keep > in mind that ignore_early_media=true is particularly useful for > calling multiple endpoints, but if you're calling a single endpoint > then you need to make sure that you really do want to ignore early > media or not. This morning I found that without the ignore_early_media I still got a busy on an unregistered phone. Looks like I need to test more. One thing that I will try is only setting ignore_early_media when I am also calling the cell phone. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From msc at freeswitch.org Wed Oct 24 20:33:33 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Oct 2012 09:33:33 -0700 Subject: [Freeswitch-users] process-rxfax.py Python Script and FreeSWITCH 1.2.3 In-Reply-To: References: Message-ID: If the rxfax app is not found that sounds like possibly a problem with mod_spandsp. You might want to reconfig spandsp. Go to your fs src directory and do this: make spandsp-reconf && make install Then restart FreeSWITCH and see if you get the rxfax app back. If not, you need to look at the logs when FS starts up and look for errors. Possibly something isn't loading properly and usually the error message will give you a clue, like a missing .so file. -MC On Wed, Oct 24, 2012 at 8:50 AM, Komar, Jason wrote: > I'm using the process-rxfax.py Python script found on the mod_spandsp wiki > page (http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up > until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1. > > Does anyone know if there was a change in mod_spandsp that would have > broken the script? When a fax call is received FreeSWITCH immediately hangs > up with a DESTINATION_OUT_OF_ORDER. > > The error that gets thrown in the cli is: > > 2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid > Application rxfax > > If need be, I'll open a jira. My thought though was that it may be a > problem with the script needing an update rather than an issue with > FreeSWITCH itself. > > Thanks, > > Jason Komar > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/bc98e5f1/attachment.html From mario_fs at mgtech.com Wed Oct 24 20:41:27 2012 From: mario_fs at mgtech.com (Mario G) Date: Wed, 24 Oct 2012 09:41:27 -0700 Subject: [Freeswitch-users] Using -NONAT but getting unknown event 8: 102 NAT binding changed Message-ID: <99BE0018-2A72-4408-9FDD-3D162D7F1217@mgtech.com> This just started happening, both on 1.2.3 and HEAD. Why would I get this if FreeSwitch is started with -NONAT? Mario G sofia.c:1428 nua_i_outbound: unknown event 8: 102 NAT binding changed From steveayre at gmail.com Wed Oct 24 20:42:58 2012 From: steveayre at gmail.com (Steven Ayre) Date: Wed, 24 Oct 2012 17:42:58 +0100 Subject: [Freeswitch-users] event socket : userauth undocumented esl command? In-Reply-To: References: Message-ID: It's new to me too. Reading the mod_event_socket source code you authenticate as a user at domainand it performs a user directory lookup for that user. It looks for the following variables in the directory entry: esl-password esl-allowed-log esl-allowed-events esl-allowed-api esl-password is required. esl-allowed-log is either true or false (optional, default is true) esl-allowed-events and esl-allowed-api are also optional, I think the default would be all allowed. It appears the command syntax is 'userauth user at domain:password' -Steve On 24 October 2012 08:21, rentmycoder rentmycoder wrote: > Hi, > > I''ve read in an old esl source that a userauth command exist in > mod_event_socket and provides user/password based authentication, not > only password based, like auth... > Th actual code accepts the userauth command... > Question: where can I configure the user / password for the userauth > command? > Shouldn't this command bee in wiki? > Thanks, > John > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121024/c2ea0f23/attachment-0001.html From paul at cupis.co.uk Wed Oct 24 20:45:22 2012 From: paul at cupis.co.uk (Paul Cupis) Date: Wed, 24 Oct 2012 17:45:22 +0100 Subject: [Freeswitch-users] process-rxfax.py Python Script and FreeSWITCH 1.2.3 In-Reply-To: References: Message-ID: <20121024164522.GA311@eagle.cupis.co.uk> On Wed, Oct 24, 2012 at 09:50:01AM -0600, Komar, Jason wrote: > I'm using the process-rxfax.py Python script found on the mod_spandsp > wiki page ([1]http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked > great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 > from 1.2.1. > The error that gets thrown in the cli is: > > 2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid > Application rxfax This sounds like you do not have rxfax/spandsp compiled on the new version? Maybe see what you get if you run: module_exists mod_spandsp from fs_cli? You may need to recompile freeswitch after running: make spandsp-reconf Regards, From jkomar at jbox.ca Wed Oct 24 21:34:34 2012 From: jkomar at jbox.ca (Komar, Jason) Date: Wed, 24 Oct 2012 11:34:34 -0600 Subject: [Freeswitch-users] process-rxfax.py Python Script and FreeSWITCH 1.2.3 In-Reply-To: <20121024164522.GA311@eagle.cupis.co.uk> References: <20121024164522.GA311@eagle.cupis.co.uk> Message-ID: I recompiled everything and tried to load mod_spandsp from cli. Here's the output: +OK log level [7] freeswitch at internal> load mod_spandsp +OK Reloading XML -ERR [module load file routine returned an error] 2012-10-24 11:31:43.797883 [INFO] mod_enum.c:871 ENUM Reloaded 2012-10-24 11:31:43.797883 [INFO] switch_time.c:1163 Timezone reloaded 530 definitions 2012-10-24 11:31:43.797883 [CRIT] switch_loadable_module.c:1310 Error Loading module /opt/freeswitch/mod/mod_spandsp.so **/opt/freeswitch/mod/mod_spandsp.so: undefined symbol: lzma_stream_encoder** Thanks. Jason On Wed, Oct 24, 2012 at 10:45 AM, Paul Cupis wrote: > On Wed, Oct 24, 2012 at 09:50:01AM -0600, Komar, Jason wrote: > > I'm using the process-rxfax.py Python script found on the mod_spandsp > > wiki page ([1]http://wiki.freeswitch.org/wiki/Mod_spandsp). It's > worked > > great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 > > from 1.2.1. > > > The error that gets thrown in the cli is: > > > > 2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid > > Application rxfax > > This sounds like you do not have rxfax/spandsp compiled on the new version? > > Maybe see what you get if you run: > > module_exists mod_spandsp > > from fs_cli? > > You may need to recompile freeswitch after running: > > make spandsp-reconf > > Regards, > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121024/484431e9/attachment.html From rnbrady at gmail.com Wed Oct 24 21:53:22 2012 From: rnbrady at gmail.com (Richard Brady) Date: Wed, 24 Oct 2012 18:53:22 +0100 Subject: [Freeswitch-users] DTMF: liberal-dtmf=true vs dtmf_type=none In-Reply-To: References: Message-ID: Any FreeSWITCH DTMF pros in the house? On 5 October 2012 14:44, Richard Brady wrote: > Hi folks > > I am try to prevent DTMF tones from being transmitted from one channel to > another on a bridge by adding the following: > > > > This will prevent tones from the inbound channel from being transmitted on > the outbound channel. Nifty! > > However, it also prevents RFC2833 from being advertised on the outbound > channel and this is problematic in cases where suppression is required in > the forward direction but not the reverse. > > Setting liberal-dtmf=true on the profile does not help, it appears that > dtmf_type=none in the dialplan (or dtmf-type=none in the profile) overrides > liberal-dtmf in the profile. > > I would like to file a bug arguing that liberal-dtmf has inconsistent > behaviour. For example, it will override the dtmf-type=none > profile parameter in SDP offers but not in SDP answers. It makes sense that: > > * dtmf-type/dtmf_type should influence offers and answers alike, as well > as what is used for outgoing DTMF and what is recognised as incoming DTMF, > and > * liberal-dtmf should override dtmf-type for offers and answers alike, as > well as for what is recognised as incoming DTMF, but > * liberal-dtmf should not override what is sent as outgoing DTMF, since > that would make the dtmf-type parameter completely impotent. > > Does anyone have any thoughts / suggestions / rebuttals? > > Thanks, > Richard > > FreeSWITCH Version 1.3.0+git~20121002T220322Z~d84df73aaa (git d84df73 > 2012-10-02 22:03:22Z) > Vanilla config except for addition of the above line to Local_Extension in > default.xml dialplan. > Ubuntu 12.04.1 LTS > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/209004e3/attachment.html From msc at freeswitch.org Wed Oct 24 22:29:30 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Oct 2012 11:29:30 -0700 Subject: [Freeswitch-users] Using -NONAT but getting unknown event 8: 102 NAT binding changed In-Reply-To: <99BE0018-2A72-4408-9FDD-3D162D7F1217@mgtech.com> References: <99BE0018-2A72-4408-9FDD-3D162D7F1217@mgtech.com> Message-ID: are you using all caps? is it -NONAT or -nonat? Just curious. I've never used all caps. -MC On Wed, Oct 24, 2012 at 9:41 AM, Mario G wrote: > This just started happening, both on 1.2.3 and HEAD. Why would I get this > if FreeSwitch is started with -NONAT? > Mario G > > sofia.c:1428 nua_i_outbound: unknown event 8: 102 NAT binding changed > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/ff2733b2/attachment.html From msc at freeswitch.org Wed Oct 24 22:32:40 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 24 Oct 2012 11:32:40 -0700 Subject: [Freeswitch-users] process-rxfax.py Python Script and FreeSWITCH 1.2.3 In-Reply-To: References: <20121024164522.GA311@eagle.cupis.co.uk> Message-ID: It sounds like spandsp didn't get updated properly. You may want to try a fresh clone and rebuild from scratch to make sure nothing happened when you updated. -MC On Wed, Oct 24, 2012 at 10:34 AM, Komar, Jason wrote: > I recompiled everything and tried to load mod_spandsp from cli. Here's the > output: > > +OK log level [7] > freeswitch at internal> load mod_spandsp > +OK Reloading XML > -ERR [module load file routine returned an error] > > 2012-10-24 11:31:43.797883 [INFO] mod_enum.c:871 ENUM Reloaded > 2012-10-24 11:31:43.797883 [INFO] switch_time.c:1163 Timezone reloaded 530 > definitions > 2012-10-24 11:31:43.797883 [CRIT] switch_loadable_module.c:1310 Error > Loading module /opt/freeswitch/mod/mod_spandsp.so > **/opt/freeswitch/mod/mod_spandsp.so: undefined symbol: > lzma_stream_encoder** > > Thanks. > Jason > > On Wed, Oct 24, 2012 at 10:45 AM, Paul Cupis wrote: > >> On Wed, Oct 24, 2012 at 09:50:01AM -0600, Komar, Jason wrote: >> > I'm using the process-rxfax.py Python script found on the mod_spandsp >> > wiki page ([1]http://wiki.freeswitch.org/wiki/Mod_spandsp). It's >> worked >> > great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 >> > from 1.2.1. >> >> > The error that gets thrown in the cli is: >> > >> > 2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid >> > Application rxfax >> >> This sounds like you do not have rxfax/spandsp compiled on the new >> version? >> >> Maybe see what you get if you run: >> >> module_exists mod_spandsp >> >> from fs_cli? >> >> You may need to recompile freeswitch after running: >> >> make spandsp-reconf >> >> Regards, >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/71054495/attachment-0001.html From trel.nadal at gmail.com Wed Oct 24 22:57:40 2012 From: trel.nadal at gmail.com (Trel) Date: Wed, 24 Oct 2012 11:57:40 -0700 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> <1351054522812-7583938.post@n2.nabble.com> Message-ID: Same fix here, explicitly setting rtp-ip/ext-rtp-ip works. this worked for the last year here, and stopped working on me midstream, without an update or change on my end. =/ On Wed, Oct 24, 2012 at 8:17 AM, Anthony Minessale wrote: > I don't think dingaling supports that but we should think about centralizing > that. > Maybe some changes to the config exposed this. I am not sure but I have > always used it with ip right in the config instead of vars. > > > On Tue, Oct 23, 2012 at 11:55 PM, PhilQ > wrote: >> >> Yes, that's correct. Sorry, I didn't think about the fact that I hadn't >> explained that when I tried your suggestion. Setting both rtp-ip and >> ext-rtp-ip explicitly solves the problem. That part of the mystery is >> solved... THANK YOU. >> >> Interestingly though, the previous settings for these values were: >> param name="rtp-ip" value="$${bind_server_ip}"/ >> param name="ext-rtp-ip" value="$${external_rtp_ip}"/ >> >> (Nabble won't let me put the syntax markers '<' and '>' in) >> >> And these worked just fine before. Any idea why they might have suddenly >> stopped working? Can you use host:host.server.com to do a DNS lookup like >> you can for the other SIP profiles? >> >> Thanks again, >> >> - Phil >> >> >> >> -- >> View this message in context: >> http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583938.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://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 > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From philq at qsystemsengineering.com Wed Oct 24 23:36:57 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Wed, 24 Oct 2012 12:36:57 -0700 (PDT) Subject: [Freeswitch-users] 491 Request Pending causes Disconnect of both legs In-Reply-To: References: Message-ID: <1351107417938-7583973.post@n2.nabble.com> This sounds suspiciously similar to http://jira.freeswitch.org/browse/FS-4754 - Phil -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/491-Request-Pending-causes-Disconnect-of-both-legs-tp7583902p7583973.html Sent from the freeswitch-users mailing list archive at Nabble.com. From anthony.minessale at gmail.com Thu Oct 25 05:09:24 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 24 Oct 2012 20:09:24 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <1350241326640-7583610.post@n2.nabble.com> <1350965428109-7583867.post@n2.nabble.com> <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> <1351054522812-7583938.post@n2.nabble.com> Message-ID: what were those variables set to previously ? On Wed, Oct 24, 2012 at 1:57 PM, Trel wrote: > Same fix here, explicitly setting rtp-ip/ext-rtp-ip works. > > > this worked for the last year here, and stopped working on me > midstream, without an update or change on my end. =/ > > > On Wed, Oct 24, 2012 at 8:17 AM, Anthony Minessale > wrote: > > I don't think dingaling supports that but we should think about > centralizing > > that. > > Maybe some changes to the config exposed this. I am not sure but I have > > always used it with ip right in the config instead of vars. > > > > > > On Tue, Oct 23, 2012 at 11:55 PM, PhilQ > > wrote: > >> > >> Yes, that's correct. Sorry, I didn't think about the fact that I hadn't > >> explained that when I tried your suggestion. Setting both rtp-ip and > >> ext-rtp-ip explicitly solves the problem. That part of the mystery is > >> solved... THANK YOU. > >> > >> Interestingly though, the previous settings for these values were: > >> param name="rtp-ip" value="$${bind_server_ip}"/ > >> param name="ext-rtp-ip" value="$${external_rtp_ip}"/ > >> > >> (Nabble won't let me put the syntax markers '<' and '>' in) > >> > >> And these worked just fine before. Any idea why they might have > suddenly > >> stopped working? Can you use host:host.server.com to do a DNS lookup > like > >> you can for the other SIP profiles? > >> > >> Thanks again, > >> > >> - Phil > >> > >> > >> > >> -- > >> View this message in context: > >> > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7583938.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://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 > > > > > > > > > > -- > > Anthony Minessale II > > > > FreeSWITCH http://www.freeswitch.org/ > > ClueCon http://www.cluecon.com/ > > Twitter: http://twitter.com/FreeSWITCH_wire > > > > AIM: anthm > > MSN:anthony_minessale at hotmail.com > > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > > IRC: irc.freenode.net #freeswitch > > > > FreeSWITCH Developer Conference > > sip:888 at conference.freeswitch.org > > googletalk:conf+888 at conference.freeswitch.org > > pstn:+19193869900 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/497d0a16/attachment.html From drk at drkngs.net Thu Oct 25 00:10:48 2012 From: drk at drkngs.net (Dave R. Kompel) Date: Wed, 24 Oct 2012 13:10:48 -0700 Subject: [Freeswitch-users] =?iso-8859-1?q?event_socket_=3A_userauth_undoc?= =?iso-8859-1?q?umented_esl=09command=3F?= In-Reply-To: Message-ID: <20121024201048.9be98990@mail.tritonwest.net> I don't know if anyone has done it w/ static XML, normaly if you are using external config, you look for the event header "action", and if it's "event_socket_auth", then you check the event socket users, and not the normal ones. I know the only way I use it is when using some sort of external config. XML_Curl or switch_bind_xml_search_function. Has anyone here actually got it working w/ static XML? --Dave _____ From: Steven Ayre [mailto:steveayre at gmail.com] To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org] Sent: Wed, 24 Oct 2012 09:42:58 -0700 Subject: Re: [Freeswitch-users] event socket : userauth undocumented esl command? It's new to me too. Reading the mod_event_socket source code you authenticate as a user at domain and it performs a user directory lookup for that user. It looks for the following variables in the directory entry: esl-password esl-allowed-log esl-allowed-events esl-allowed-api esl-password is required. esl-allowed-log is either true or false (optional, default is true) esl-allowed-events and esl-allowed-api are also optional, I think the default would be all allowed. It appears the command syntax is 'userauth user at domain:password' -Steve On 24 October 2012 08:21, rentmycoder rentmycoder wrote: Hi, I''ve read in an old esl source that a userauth command exist in mod_event_socket and provides user/password based authentication, not only password based, like auth... Th actual code accepts the userauth command... Question: where can I configure the user / password for the userauth command? Shouldn't this command bee in wiki? Thanks, John _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121024/0e7cc589/attachment-0001.html From jason.holden at start.ca Thu Oct 25 06:55:47 2012 From: jason.holden at start.ca (Jason Holden) Date: Wed, 24 Oct 2012 22:55:47 -0400 Subject: [Freeswitch-users] comfort noise and vad Message-ID: Are both these off by default in Freeswitch? If not how would I disable the comfort noise and vad for all calls? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/57e9f9df/attachment.html From jnvines at gmail.com Thu Oct 25 07:18:20 2012 From: jnvines at gmail.com (Nick Vines) Date: Wed, 24 Oct 2012 23:18:20 -0400 Subject: [Freeswitch-users] comfort noise and vad In-Reply-To: References: Message-ID: I think this will help you. Set it for all calls in the sofia profiles. http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#VAD_and_CNG Should be able to define the VAD on in, out, and both legs. CNG, comfort noise generator, looks to be on by default unless you suppress it. Nick On Wed, Oct 24, 2012 at 10:55 PM, Jason Holden wrote: > Are both these off by default in Freeswitch?**** > > If not how would I disable the comfort noise and vad for all calls?**** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121024/3acc9a4b/attachment.html From mario_fs at mgtech.com Thu Oct 25 00:19:46 2012 From: mario_fs at mgtech.com (Mario G) Date: Wed, 24 Oct 2012 13:19:46 -0700 Subject: [Freeswitch-users] Using -NONAT but getting unknown event 8: 102 NAT binding changed In-Reply-To: References: <99BE0018-2A72-4408-9FDD-3D162D7F1217@mgtech.com> Message-ID: <0D2DA3C6-8D83-419B-8ED1-4AD7FFA01ED4@mgtech.com> Right, it is lower case, parms are "-nc -nonat", this started today, I think related to the ITSP outage (now known as the month from phone hell). I was just curious seeing a message related to nat when -nonat was specified. Also seeing new today "sofia_reg.c:2088 Missing Authenticate Header!" but don't think it's related since it's at different time, both are random. MG On Oct 24, 2012, at 11:29 AM, Michael Collins wrote: > are you using all caps? is it -NONAT or -nonat? Just curious. I've never used all caps. > -MC > > On Wed, Oct 24, 2012 at 9:41 AM, Mario G wrote: > This just started happening, both on 1.2.3 and HEAD. Why would I get this if FreeSwitch is started with -NONAT? > Mario G > > sofia.c:1428 nua_i_outbound: unknown event 8: 102 NAT binding changed > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121024/4819b855/attachment.html From kenkellyturner at gmail.com Thu Oct 25 00:11:27 2012 From: kenkellyturner at gmail.com (Ken Kelly-Turner) Date: Wed, 24 Oct 2012 16:11:27 -0400 Subject: [Freeswitch-users] javascript for ppc Message-ID: Hi all, cross-compiled freeswitch onto my ppc board using the wiki guide for cross-compiling for arm. I found that javascript didn't work on ppc either and I was wondering if anybody had a work-around to get it to build? Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121024/ee3585a7/attachment-0001.html From georgediam at gmail.com Thu Oct 25 07:39:23 2012 From: georgediam at gmail.com (George Diamantopoulos) Date: Thu, 25 Oct 2012 06:39:23 +0300 Subject: [Freeswitch-users] ftmod_libpri won't load (undefined symbol: ftmod_pritap_module_interface**) In-Reply-To: References: Message-ID: It seems I found the culprit (the hint was that no other ftmod module would load, so it wasn't libpri/freetdm build related)... After configuring wanpipe, running wancfg_ftdm, editing freetdm config files (xml and otherwise), ftmod_pritap was loaded sucessfully. It would be nice if the error message were a bit more helpful, though. undefined symbol does ring the "something-went-wrong-with-linking" bell... On Tue, Oct 23, 2012 at 4:50 PM, George Diamantopoulos wrote: > I accidentally mentioned libpri in my previous message's subject. I meant > ftpmod_pritap instead... > > > On Tue, Oct 23, 2012 at 12:52 PM, George Diamantopoulos < > georgediam at gmail.com> wrote: > >> Hello all, >> >> I've been trying to compile freeswitch and freetdm with pritap support. >> Everything seems to be going fine, but the module (ftmod_pritap) won't >> load. I've been told this could be due to version mismatches between >> freeswitch and freetdm source, but I'm compiling both from git 1.2-stable. >> I intend to use this with Sangoma's wanpipe TDM Voice API and the driver >> configured in High Impedence mode (in conjunction with a 2-span E1 sangoma >> card and a tapping module). The error I get is: >> >> freeswitch at modrec> load ftmod_pritap >> 2012-10-23 12:45:24.284094 [INFO] mod_enum.c:871 ENUM Reloaded >> 2012-10-23 12:45:24.284094 [INFO] switch_time.c:1163 Timezone reloaded >> 530 definitions >> >> +OK Reloading XML >> -ERR [module load file routine returned an error] >> >> 2012-10-23 12:45:24.284094 [CRIT] switch_loadable_module.c:1310 Error >> Loading module /usr/local/freeswitch/mod/ftmod_pritap.so >> **/usr/local/freeswitch/mod/ftmod_pritap.so: undefined symbol: >> ftmod_pritap_module_interface** >> >> STEPS TO REPRODUCE: >> >> Start with a clean debian 6.0.6 installation and then: >> >> apt-get install subversion git >> apt-get build-dep asterisk (# Hopefully asterisk and freeswitch share >> some dependencies) >> apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev >> flex bison patch libtool autoconf linux-headers-$(uname -r) (wanpipe build >> deps) >> apt-get remove libpri-dev libpri1.4 (I will be compiling patched libpri >> with tapping support later) >> wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.5.28.tgz >> svn checkout http://svn.digium.com/svn/libpri/team/moy/tap-1.4 (libpri >> patched with tapping mods) >> cd tap-1.4/ >> make >> make install >> cd .. >> tar xzfv wanpipe-3.5.28.tgz >> cd wanpipe-3.5.28/ >> ./Setup install (select option 1, for TDM voice API module configuration >> - required for use by freetdm pritap module - I think) >> cd .. >> git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git >> cd freeswitch/ >> ./bootstrap.sh >> ./configure >> make >> make install >> cd libs/freetdm/ >> ./configure --with-pritap --prefix=/usr/local/freeswitch >> make >> make install >> /usr/local/freeswitch/bin/freeswitch >> load ftmod_pritap >> >> EXPECTED BEHAVIOUR: ftmod_pritap should load successfully. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/75a6d420/attachment-0001.html From georgediam at gmail.com Thu Oct 25 07:48:35 2012 From: georgediam at gmail.com (George Diamantopoulos) Date: Thu, 25 Oct 2012 06:48:35 +0300 Subject: [Freeswitch-users] Help writing a simple JS script Message-ID: Hello, I've been trying to write a simple JS script, which is called from within the XML dialplan, in order to convert the value of ${created_time} to something more meaningful than UNIX time in ms. The problem is when I try to print something to the console (see log application below), I get NaN (not a number) for variable ${created_date}, even though I don't want a number (a string is fine, I tried enforcing this with toString()). Moreover, you'll notice I've left out var month = date.getMonth();, because if I don't I get the following error: TypeError: date.getMonth is not a function. I can't figure out why, it's documented in JS in the date object, and the syntax is identical to other functions I use to acquire object values. Any hints would be greatly appreciated, I've been trying different code variations for over two hours now and I'm stuck. Thanks. Here's the call in the dialplan: And here's the JS script itself: var date = new Date(argv); var hours = date.getHours(); hours = hours.toString(); var minutes = date.getMinutes(); minutes = minutes.toString(); var seconds = date.getSeconds(); seconds = seconds.toString(); var ms = date.getMilliseconds(); ms = ms.toString(); var year = date.getFullYear(); year = year.toString(); var day = date.getDate(); day = day.toString(); session.execute("set", "created_year="+year); session.execute("set", "created_date="+day); session.execute("set", "created_hours="+hours); session.execute("set", "created_minutes="+minutes); session.execute("set", "created_seconds="+seconds); session.execute("set", "created_ms="+ms); Then the dialplan takes over again, for example: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/6901fda4/attachment-0001.html From georgediam at gmail.com Thu Oct 25 08:52:50 2012 From: georgediam at gmail.com (George Diamantopoulos) Date: Thu, 25 Oct 2012 07:52:50 +0300 Subject: [Freeswitch-users] Help writing a simple JS script In-Reply-To: References: Message-ID: I think I did it after all. It turns out taking a break for 30 minutes can help when (psydo)coding. Sorry for polluting this list and here's the code that did it: var date = new Date(argv/1000); var hours = date.getHours(); hours = hours.toString(); var minutes = date.getMinutes(); minutes = minutes.toString(); var seconds = date.getSeconds(); seconds = seconds.toString(); var ms = date.getMilliseconds(); ms = ms.toString(); var year = date.getFullYear(); year = year.toString(); var day = date.getDate(); day = day.toString(); var month = date.getMonth() +1; month = month.toString(); the rest was OK On Thu, Oct 25, 2012 at 6:48 AM, George Diamantopoulos wrote: > Hello, > > I've been trying to write a simple JS script, which is called from within > the XML dialplan, in order to convert the value of ${created_time} to > something more meaningful than UNIX time in ms. The problem is when I try > to print something to the console (see log application below), I get NaN > (not a number) for variable ${created_date}, even though I don't want a > number (a string is fine, I tried enforcing this with toString()). > Moreover, you'll notice I've left out var month = date.getMonth();, because > if I don't I get the following error: TypeError: date.getMonth is not a > function. I can't figure out why, it's documented in JS in the date object, > and the syntax is identical to other functions I use to acquire object > values. Any hints would be greatly appreciated, I've been trying different > code variations for over two hours now and I'm stuck. Thanks. > > Here's the call in the dialplan: > > > > And here's the JS script itself: > > var date = new Date(argv); > var hours = date.getHours(); > hours = hours.toString(); > var minutes = date.getMinutes(); > minutes = minutes.toString(); > var seconds = date.getSeconds(); > seconds = seconds.toString(); > var ms = date.getMilliseconds(); > ms = ms.toString(); > var year = date.getFullYear(); > year = year.toString(); > var day = date.getDate(); > day = day.toString(); > > session.execute("set", "created_year="+year); > session.execute("set", "created_date="+day); > session.execute("set", "created_hours="+hours); > session.execute("set", "created_minutes="+minutes); > session.execute("set", "created_seconds="+seconds); > session.execute("set", "created_ms="+ms); > > Then the dialplan takes over again, for example: > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/33207f20/attachment.html From jaasmailing at gmail.com Thu Oct 25 14:24:24 2012 From: jaasmailing at gmail.com (Carlo Dimaggio) Date: Thu, 25 Oct 2012 12:24:24 +0200 Subject: [Freeswitch-users] Strange problem with ringback (distorted sound) Message-ID: <50891358.8090403@gmail.com> Hi all, I have freeswitch configured with standard media mode (no proxy no bypass). When a call arrives (through external profile), FS sets ringback and sends 183 session progress. Unfortunately the calling party (i.e. a cellular phone), hears a distorted ring sound. With proxy mode, of course the calling party hears a correct ring sound. What could be the reason? Best regards, Carlo Dimaggio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/43091dcf/attachment.html From babak.freeswitch at gmail.com Thu Oct 25 15:19:31 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Thu, 25 Oct 2012 14:49:31 +0330 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones Message-ID: Hi Is there anyway to send a notify message to a cisco phone with sip firmware to reset or restart it like this link: http://www.freepbx.org/forum/freepbx/tips-and-tricks/cisco-9971-phone-configuration-working-example-with-setup-tips The following variables and functions should be included in sip_notify_custom.conf settings: [cisco-restart] Event=>service-control Subscription-State=>active Content-Type=>text/plain Content=>action=restart Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} Content=>ConfigVersionStamp={0000000000000000} Content=>DialplanVersionStamp={0000000000000000} Content=>SoftkeyVersionStamp={0000000000000000} [cisco-reset] Event=>service-control Subscription-State=>active Content-Type=>text/plain Content=>action=reset Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} Content=>ConfigVersionStamp={0000000000000000} Content=>DialplanVersionStamp={0000000000000000} Content=>SoftkeyVersionStamp={0000000000000000} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/ae9affbd/attachment.html From Chad.Engler at patlive.com Thu Oct 25 17:27:08 2012 From: Chad.Engler at patlive.com (Chad Engler) Date: Thu, 25 Oct 2012 09:27:08 -0400 Subject: [Freeswitch-users] Help writing a simple JS script In-Reply-To: References: Message-ID: JavaScript timestamps are expressed in milliseconds, and the timestamps from freeswitch are in nanoseconds, so you need to convert the timestamp to ms before passing it to Date: var date = new Date(argv / 1000); -Chad From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of George Diamantopoulos Sent: Wednesday, October 24, 2012 11:49 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Help writing a simple JS script Hello, I've been trying to write a simple JS script, which is called from within the XML dialplan, in order to convert the value of ${created_time} to something more meaningful than UNIX time in ms. The problem is when I try to print something to the console (see log application below), I get NaN (not a number) for variable ${created_date}, even though I don't want a number (a string is fine, I tried enforcing this with toString()). Moreover, you'll notice I've left out var month = date.getMonth();, because if I don't I get the following error: TypeError: date.getMonth is not a function. I can't figure out why, it's documented in JS in the date object, and the syntax is identical to other functions I use to acquire object values. Any hints would be greatly appreciated, I've been trying different code variations for over two hours now and I'm stuck. Thanks. Here's the call in the dialplan: And here's the JS script itself: var date = new Date(argv); var hours = date.getHours(); hours = hours.toString(); var minutes = date.getMinutes(); minutes = minutes.toString(); var seconds = date.getSeconds(); seconds = seconds.toString(); var ms = date.getMilliseconds(); ms = ms.toString(); var year = date.getFullYear(); year = year.toString(); var day = date.getDate(); day = day.toString(); session.execute("set", "created_year="+year); session.execute("set", "created_date="+day); session.execute("set", "created_hours="+hours); session.execute("set", "created_minutes="+minutes); session.execute("set", "created_seconds="+seconds); session.execute("set", "created_ms="+ms); Then the dialplan takes over again, for example: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/39d83db6/attachment.html From consultoriaticesar at gmail.com Thu Oct 25 16:53:45 2012 From: consultoriaticesar at gmail.com (Joao Cesar / Consultor TI) Date: Thu, 25 Oct 2012 10:53:45 -0200 Subject: [Freeswitch-users] Install ASTPP In-Reply-To: References: <50893372.5000308@gmail.com> Message-ID: <50893659.7090001@gmail.com> Em 25/10/2012 10:46, Michael Jerris escreveu: > Try sending this email to the mailing list? > > On Oct 25, 2012, at 8:41 AM, Joao Cesar / Consultor TI wrote: > >> Anyone know how to install the ASTPP really, because the tutorial site, have not the slightest condition to do. >> Thank you in advance. >> >> -- >> Joao Cesar S Pereira >> Consultor TI >> ---------------------------------------- >> (31)3044-2576 >> (31)8626-6943 >> ---------------------------------------- >> Gentileza, se nao houver necessidade >> n?o imprima. A natureza agradece. >> ---------------------------------------- >> >> -- Joao Cesar S Pereira Consultor TI ---------------------------------------- (31)3044-2576 (31)8626-6943 ---------------------------------------- Gentileza, se nao houver necessidade n?o imprima. A natureza agradece. ---------------------------------------- From mnrao2001 at gmail.com Thu Oct 25 17:40:20 2012 From: mnrao2001 at gmail.com (Nageshwara Rao Moova) Date: Thu, 25 Oct 2012 19:10:20 +0530 Subject: [Freeswitch-users] Need dialplan for handling blind transfer in bridged call Message-ID: Hi All, I need to handle blind transfer (REFER) in my bridged call. I have basic bridge dialplan - <#> - <#>
- <#> - <#> - <#>
-- regards & thanks -- m nageshwara rao 99891 86280 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/b108df72/attachment.html From asilva at wirelessmundi.com Thu Oct 25 21:00:35 2012 From: asilva at wirelessmundi.com (Antonio) Date: Thu, 25 Oct 2012 19:00:35 +0200 Subject: [Freeswitch-users] Disable option 5 - callbakc in voicemail. Message-ID: <1351184435.7038.206.camel@marces.madrid.commsmundi.com> Hi, Is it possible to disable the option 5, vm-callback, calling the caller when checking messages in voicemail? Thanks, Ant?nio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/e45d4797/attachment.html From msc at freeswitch.org Thu Oct 25 22:28:01 2012 From: msc at freeswitch.org (Michael Collins) Date: Thu, 25 Oct 2012 11:28:01 -0700 Subject: [Freeswitch-users] Disable option 5 - callbakc in voicemail. In-Reply-To: <1351184435.7038.206.camel@marces.madrid.commsmundi.com> References: <1351184435.7038.206.camel@marces.madrid.commsmundi.com> Message-ID: Yep. Looking on conf/autoload_configs/voicemail.conf.xml. I don't recall the exact param off the top of my head but most of them are named intelligently. Just remove that option, reloadxml, and reload mod_voicemail. -MC On Thu, Oct 25, 2012 at 10:00 AM, Antonio wrote: > ** > Hi, > > Is it possible to disable the option 5, vm-callback, calling the caller > when checking messages in voicemail? > > > > Thanks, > Ant?nio > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/a2592154/attachment.html From errotan at elder.hu Thu Oct 25 23:42:36 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Thu, 25 Oct 2012 21:42:36 +0200 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: References: Message-ID: <5089962C.7000704@elder.hu> Read the articles here: http://wiki.freeswitch.org/wiki/Event_Socket#sendevent You need something like this: sendevent NOTIFY profile: internal event-string: reboot user: 1000 host: 10.20.30.40 content-type: application/simple-message-summary Maybe you need restart or reset instead of reboot after the "event-string" 2012-10-25 13:19 keltez?ssel, Babak Yakhchali ?rta: > Hi > Is there anyway to send a notify message to a cisco phone with sip > firmware to reset or restart it like this link: > http://www.freepbx.org/forum/freepbx/tips-and-tricks/cisco-9971-phone-configuration-working-example-with-setup-tips > > > The following variables and functions should be included in > sip_notify_custom.conf settings: > [cisco-restart] > Event=>service-control > Subscription-State=>active > Content-Type=>text/plain > Content=>action=restart > Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} > Content=>ConfigVersionStamp={0000000000000000} > Content=>DialplanVersionStamp={0000000000000000} > Content=>SoftkeyVersionStamp={0000000000000000} > > [cisco-reset] > Event=>service-control > Subscription-State=>active > Content-Type=>text/plain > Content=>action=reset > Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} > Content=>ConfigVersionStamp={0000000000000000} > Content=>DialplanVersionStamp={0000000000000000} > Content=>SoftkeyVersionStamp={0000000000000000} > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121025/18006eba/attachment.html From yiftah at choochee.com Fri Oct 26 00:50:28 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 13:50:28 -0700 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: <5089962C.7000704@elder.hu> References: <5089962C.7000704@elder.hu> Message-ID: I do not know if it works like Polycom and SNOM, but for us we had to first SUBSCRIBE the phones and only then send the NOTIFY The NOTIFY needs to share the same call id as the SUBSCRIBE We actually solved those problems in OpenSIPs, they have a pretty good presence modules and in general OpenSIPs works very good with FreeSWITCH On Thu, Oct 25, 2012 at 12:42 PM, Pusk?s Zsolt wrote: > > Read the articles here: > > http://wiki.freeswitch.org/wiki/Event_Socket#sendevent > > You need something like this: > > sendevent NOTIFY > profile: internal > event-string: reboot > user: 1000 > host: 10.20.30.40 > content-type: application/simple-message-summary > > > Maybe you need restart or reset instead of reboot after the "event-string" > > > > 2012-10-25 13:19 keltez?ssel, Babak Yakhchali ?rta: > > Hi > Is there anyway to send a notify message to a cisco phone with sip > firmware to reset or restart it like this link: > > http://www.freepbx.org/forum/freepbx/tips-and-tricks/cisco-9971-phone-configuration-working-example-with-setup-tips > > The following variables and functions should be included in > sip_notify_custom.conf settings: > > [cisco-restart] > Event=>service-control > Subscription-State=>active > Content-Type=>text/plain > Content=>action=restart > Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} > Content=>ConfigVersionStamp={0000000000000000} > Content=>DialplanVersionStamp={0000000000000000} > Content=>SoftkeyVersionStamp={0000000000000000} > > [cisco-reset] > Event=>service-control > Subscription-State=>active > Content-Type=>text/plain > Content=>action=reset > Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} > Content=>ConfigVersionStamp={0000000000000000} > Content=>DialplanVersionStamp={0000000000000000} > Content=>SoftkeyVersionStamp={0000000000000000} > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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/20121025/bed41177/attachment-0001.html From 8f27e956 at gmail.com Fri Oct 26 00:33:49 2012 From: 8f27e956 at gmail.com (Scott) Date: Thu, 25 Oct 2012 16:33:49 -0400 Subject: [Freeswitch-users] and custom functions in lua or p-languages? Message-ID: We need to write a function, usable in the XML dial plan, that tests the inbound CID (not destination_number) against a "white list." Something on the line of,,, Question: In such a use case, must ISWHITE() be a custom application/mod written in C, per skel.c, or can it be a script written in lua or p-language or the like? It's clear from wiki and docs we've seen that can have lua or p-language scripts; but it is not clear about the clauses and where to locate and "hook" them in. Guidance and any pointers to docs/examples greatly appreciated. With thanks, /S -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/358b438b/attachment.html From yiftah at choochee.com Fri Oct 26 01:50:20 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 14:50:20 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: I merged my code to the HEAD here are the results (I yet checked in the code) : # time /opt/freeswitch/bin/fs_cli -x "reloadxml" +OK [Success] real *0m24.424s* user 0m0.000s sys 0m0.020s # time /opt/freeswitch/bin/fs_cli -x "reloadxml /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" +OK [Success] real *0m0.315s* user 0m0.000s sys 0m0.010s Looks like there is major improvement in the loading time How does it work, I just need to check in my code to the git? with my subscribe user? Thanks, Yiftach. On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: > OK I will do so > > On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Also, if you design it cleanly and generic enough you can check the >> module itself into HEAD and maintain it yourself and others can choose to >> use it. >> >> >> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >> >>> Yes I agree, I can solve it this way for me, if anyone else in the >>> community is looking for a very fast way of loading a specific file from >>> the "reloadxml" command I can update it to the HEAD >>> >>> >>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> The man xml registry is already reloaded using the method described. >>>> In fact the xml root has reference counting and everyone who was on the >>>> old one will be able to hold on to that root until they release it even >>>> when a new one has been loaded into place. >>>> >>>> I think if you pursue the custom C module with the XML hook, that you >>>> can put your same logic into a module and not bother the core as any access >>>> to the core xml will be redirected to your module callback where you can do >>>> whatever you want and not disturb the core of FS unless you have some kind >>>> of functionality that is useful to everyone in general. >>>> >>>> >>>> >>>> >>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: >>>> >>>>> You may be able to develop it as well but it will not solve our >>>>> problem of pushing configuration fast >>>>> We have a front end that pushes the configuration changes and it needs >>>>> to be fast, so even if we change it in the background it will be slow >>>>> >>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>> >>>>>> >>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >>>>>> config memory section is locked while the files are proccessed so other >>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>> continue to load all the files into somekind of a new temporary config >>>>>> section without locking the main. Once the files are loaded and processed >>>>>> the temporary and main section could be swapped or the temporary is used >>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>> to implement. >>>>>> >>>>>> >>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>> >>>>>> Hi FreeSWITCH community, >>>>>> My name is Yiftah and I am working for ChooChee which is a hosted PBX >>>>>> solution company >>>>>> We have been using FreeSWITCH for almost 2 years and we added a lot >>>>>> of code changes to the core and to the different modules >>>>>> Lately we have made a decision to get more close to the community so >>>>>> that we can enjoy the bug fixes and the new feature from the community and >>>>>> we can contribute our knowledge and bug fixes >>>>>> I would please like to start with a very basic question : >>>>>> We are using dialplan xmls in order to load the configuration, we >>>>>> have a lot of users on each freeswitch (+4k), it took a very long time for >>>>>> the configuration to load (around 5 minutes) during this time no new calls >>>>>> could be served by FreeSWITCH >>>>>> In order to solve this problem we introduce reload xml that accepts >>>>>> file names and has the ability to load just one file name into the memory >>>>>> (we achieved 10ms loading time instead of 5 minutes) >>>>>> The problem is that we had to introduce a lot of code in order to >>>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>>> machine >>>>>> Another approach that we thought is that a database might be much >>>>>> better fit in here, because every xml update includes the entire tenant >>>>>> (business) and has the potential in harming other users in the same tenant, >>>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>>> MySQL as a directory of parameters instead of xml? >>>>>> Thanks, >>>>>> Yiftach. >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II >>>> >>>> FreeSWITCH http://www.freeswitch.org/ >>>> ClueCon http://www.cluecon.com/ >>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>> >>>> AIM: anthm >>>> MSN:anthony_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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/20121025/009cd3f6/attachment-0001.html From anthony.minessale at gmail.com Fri Oct 26 01:58:02 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 25 Oct 2012 16:58:02 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: I thought you were going to move it to be a module? On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: > I merged my code to the HEAD here are the results (I yet checked in the > code) : > # time /opt/freeswitch/bin/fs_cli -x "reloadxml" > +OK [Success] > real *0m24.424s* > user 0m0.000s > sys 0m0.020s > > # time /opt/freeswitch/bin/fs_cli -x "reloadxml > /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" > +OK [Success] > real *0m0.315s* > user 0m0.000s > sys 0m0.010s > > Looks like there is major improvement in the loading time > How does it work, I just need to check in my code to the git? with my > subscribe user? > Thanks, > Yiftach. > > > > On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: > >> OK I will do so >> >> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Also, if you design it cleanly and generic enough you can check the >>> module itself into HEAD and maintain it yourself and others can choose to >>> use it. >>> >>> >>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>> >>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>> community is looking for a very fast way of loading a specific file from >>>> the "reloadxml" command I can update it to the HEAD >>>> >>>> >>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> The man xml registry is already reloaded using the method described. >>>>> In fact the xml root has reference counting and everyone who was on the >>>>> old one will be able to hold on to that root until they release it even >>>>> when a new one has been loaded into place. >>>>> >>>>> I think if you pursue the custom C module with the XML hook, that you >>>>> can put your same logic into a module and not bother the core as any access >>>>> to the core xml will be redirected to your module callback where you can do >>>>> whatever you want and not disturb the core of FS unless you have some kind >>>>> of functionality that is useful to everyone in general. >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: >>>>> >>>>>> You may be able to develop it as well but it will not solve our >>>>>> problem of pushing configuration fast >>>>>> We have a front end that pushes the configuration changes and it >>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>> >>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>> >>>>>>> >>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >>>>>>> config memory section is locked while the files are proccessed so other >>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>> to implement. >>>>>>> >>>>>>> >>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>> >>>>>>> Hi FreeSWITCH community, >>>>>>> My name is Yiftah and I am working for ChooChee which is a hosted >>>>>>> PBX solution company >>>>>>> We have been using FreeSWITCH for almost 2 years and we added a lot >>>>>>> of code changes to the core and to the different modules >>>>>>> Lately we have made a decision to get more close to the community so >>>>>>> that we can enjoy the bug fixes and the new feature from the community and >>>>>>> we can contribute our knowledge and bug fixes >>>>>>> I would please like to start with a very basic question : >>>>>>> We are using dialplan xmls in order to load the configuration, we >>>>>>> have a lot of users on each freeswitch (+4k), it took a very long time for >>>>>>> the configuration to load (around 5 minutes) during this time no new calls >>>>>>> could be served by FreeSWITCH >>>>>>> In order to solve this problem we introduce reload xml that accepts >>>>>>> file names and has the ability to load just one file name into the memory >>>>>>> (we achieved 10ms loading time instead of 5 minutes) >>>>>>> The problem is that we had to introduce a lot of code in order to >>>>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>>>> machine >>>>>>> Another approach that we thought is that a database might be much >>>>>>> better fit in here, because every xml update includes the entire tenant >>>>>>> (business) and has the potential in harming other users in the same tenant, >>>>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>>>> MySQL as a directory of parameters instead of xml? >>>>>>> Thanks, >>>>>>> Yiftach. >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>> >>>>>>> >>>>>>> >>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II >>>>> >>>>> FreeSWITCH http://www.freeswitch.org/ >>>>> ClueCon http://www.cluecon.com/ >>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>> >>>>> AIM: anthm >>>>> MSN:anthony_minessale at hotmail.com >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>> IRC: irc.freenode.net #freeswitch >>>>> >>>>> FreeSWITCH Developer Conference >>>>> sip:888 at conference.freeswitch.org >>>>> googletalk:conf+888 at conference.freeswitch.org >>>>> pstn:+19193869900 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/820f3da6/attachment-0001.html From yiftah at choochee.com Fri Oct 26 02:11:48 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 15:11:48 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: It may be a bit problematic since I will need 3 hooks : 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer 2. *preprocess :* indexing the file names (adding a note before and after each file ) 3. *switch_xml_parse_file :* use my reload instead the regular one for creating the big xml and then I just let the function continue as usual through the "__switch_xml_open_root" function I am reloading the file to the memory and then let the regular "switch_xml.c" do its work, so using the existing functions in "switch_xml.c" will not do the work However, we do not have to add it I just thought it would be good improvement for FreeSWITCH as it was very helpful for us On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > I thought you were going to move it to be a module? > > On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: > >> I merged my code to the HEAD here are the results (I yet checked in the >> code) : >> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >> +OK [Success] >> real *0m24.424s* >> user 0m0.000s >> sys 0m0.020s >> >> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >> +OK [Success] >> real *0m0.315s* >> user 0m0.000s >> sys 0m0.010s >> >> Looks like there is major improvement in the loading time >> How does it work, I just need to check in my code to the git? with my >> subscribe user? >> Thanks, >> Yiftach. >> >> >> >> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >> >>> OK I will do so >>> >>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> Also, if you design it cleanly and generic enough you can check the >>>> module itself into HEAD and maintain it yourself and others can choose to >>>> use it. >>>> >>>> >>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>>> >>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>> community is looking for a very fast way of loading a specific file from >>>>> the "reloadxml" command I can update it to the HEAD >>>>> >>>>> >>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> The man xml registry is already reloaded using the method described. >>>>>> In fact the xml root has reference counting and everyone who was on the >>>>>> old one will be able to hold on to that root until they release it even >>>>>> when a new one has been loaded into place. >>>>>> >>>>>> I think if you pursue the custom C module with the XML hook, that you >>>>>> can put your same logic into a module and not bother the core as any access >>>>>> to the core xml will be redirected to your module callback where you can do >>>>>> whatever you want and not disturb the core of FS unless you have some kind >>>>>> of functionality that is useful to everyone in general. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: >>>>>> >>>>>>> You may be able to develop it as well but it will not solve our >>>>>>> problem of pushing configuration fast >>>>>>> We have a front end that pushes the configuration changes and it >>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>> >>>>>>>> >>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the xml >>>>>>>> config memory section is locked while the files are proccessed so other >>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>> to implement. >>>>>>>> >>>>>>>> >>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>> >>>>>>>> Hi FreeSWITCH community, >>>>>>>> My name is Yiftah and I am working for ChooChee which is a hosted >>>>>>>> PBX solution company >>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a lot >>>>>>>> of code changes to the core and to the different modules >>>>>>>> Lately we have made a decision to get more close to the community >>>>>>>> so that we can enjoy the bug fixes and the new feature from the community >>>>>>>> and we can contribute our knowledge and bug fixes >>>>>>>> I would please like to start with a very basic question : >>>>>>>> We are using dialplan xmls in order to load the configuration, we >>>>>>>> have a lot of users on each freeswitch (+4k), it took a very long time for >>>>>>>> the configuration to load (around 5 minutes) during this time no new calls >>>>>>>> could be served by FreeSWITCH >>>>>>>> In order to solve this problem we introduce reload xml that accepts >>>>>>>> file names and has the ability to load just one file name into the memory >>>>>>>> (we achieved 10ms loading time instead of 5 minutes) >>>>>>>> The problem is that we had to introduce a lot of code in order to >>>>>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>> machine >>>>>>>> Another approach that we thought is that a database might be much >>>>>>>> better fit in here, because every xml update includes the entire tenant >>>>>>>> (business) and has the potential in harming other users in the same tenant, >>>>>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>>>>> MySQL as a directory of parameters instead of xml? >>>>>>>> Thanks, >>>>>>>> Yiftach. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II >>>>>> >>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>> ClueCon http://www.cluecon.com/ >>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>> >>>>>> AIM: anthm >>>>>> MSN:anthony_minessale at hotmail.com >>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>> IRC: irc.freenode.net #freeswitch >>>>>> >>>>>> FreeSWITCH Developer Conference >>>>>> sip:888 at conference.freeswitch.org >>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>> pstn:+19193869900 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.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://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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II >>>> >>>> FreeSWITCH http://www.freeswitch.org/ >>>> ClueCon http://www.cluecon.com/ >>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>> >>>> AIM: anthm >>>> MSN:anthony_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121025/19aa5800/attachment-0001.html From anthony.minessale at gmail.com Fri Oct 26 02:19:41 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 25 Oct 2012 17:19:41 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: Can you git diff it and post it to JIRA so we can have some people look at it and test? On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: > It may be a bit problematic since I will need 3 hooks : > 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer > 2. *preprocess :* indexing the file names (adding a note before and after > each file ) > 3. *switch_xml_parse_file :* use my reload instead the regular one for > creating the big xml and then I just let the function continue as usual > through the "__switch_xml_open_root" function > I am reloading the file to the memory and then let the regular > "switch_xml.c" do its work, so using the existing functions in > "switch_xml.c" will not do the work > However, we do not have to add it I just thought it would be good > improvement for FreeSWITCH as it was very helpful for us > > On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> I thought you were going to move it to be a module? >> >> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >> >>> I merged my code to the HEAD here are the results (I yet checked in the >>> code) : >>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>> +OK [Success] >>> real *0m24.424s* >>> user 0m0.000s >>> sys 0m0.020s >>> >>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>> +OK [Success] >>> real *0m0.315s* >>> user 0m0.000s >>> sys 0m0.010s >>> >>> Looks like there is major improvement in the loading time >>> How does it work, I just need to check in my code to the git? with my >>> subscribe user? >>> Thanks, >>> Yiftach. >>> >>> >>> >>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>> >>>> OK I will do so >>>> >>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> Also, if you design it cleanly and generic enough you can check the >>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>> use it. >>>>> >>>>> >>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>>>> >>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>> community is looking for a very fast way of loading a specific file from >>>>>> the "reloadxml" command I can update it to the HEAD >>>>>> >>>>>> >>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> The man xml registry is already reloaded using the method described. >>>>>>> In fact the xml root has reference counting and everyone who was on the >>>>>>> old one will be able to hold on to that root until they release it even >>>>>>> when a new one has been loaded into place. >>>>>>> >>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan wrote: >>>>>>> >>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>> problem of pushing configuration fast >>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>> to implement. >>>>>>>>> >>>>>>>>> >>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>> >>>>>>>>> Hi FreeSWITCH community, >>>>>>>>> My name is Yiftah and I am working for ChooChee which is a hosted >>>>>>>>> PBX solution company >>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>> Lately we have made a decision to get more close to the community >>>>>>>>> so that we can enjoy the bug fixes and the new feature from the community >>>>>>>>> and we can contribute our knowledge and bug fixes >>>>>>>>> I would please like to start with a very basic question : >>>>>>>>> We are using dialplan xmls in order to load the configuration, we >>>>>>>>> have a lot of users on each freeswitch (+4k), it took a very long time for >>>>>>>>> the configuration to load (around 5 minutes) during this time no new calls >>>>>>>>> could be served by FreeSWITCH >>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>> The problem is that we had to introduce a lot of code in order to >>>>>>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>>>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>> machine >>>>>>>>> Another approach that we thought is that a database might be much >>>>>>>>> better fit in here, because every xml update includes the entire tenant >>>>>>>>> (business) and has the potential in harming other users in the same tenant, >>>>>>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>>>>>> MySQL as a directory of parameters instead of xml? >>>>>>>>> Thanks, >>>>>>>>> Yiftach. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II >>>>>>> >>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>> ClueCon http://www.cluecon.com/ >>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>> >>>>>>> AIM: anthm >>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>> >>>>>>> FreeSWITCH Developer Conference >>>>>>> sip:888 at conference.freeswitch.org >>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>> pstn:+19193869900 >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.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://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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II >>>>> >>>>> FreeSWITCH http://www.freeswitch.org/ >>>>> ClueCon http://www.cluecon.com/ >>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>> >>>>> AIM: anthm >>>>> MSN:anthony_minessale at hotmail.com >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>> IRC: irc.freenode.net #freeswitch >>>>> >>>>> FreeSWITCH Developer Conference >>>>> sip:888 at conference.freeswitch.org >>>>> googletalk:conf+888 at conference.freeswitch.org >>>>> pstn:+19193869900 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/12f32e55/attachment-0001.html From yiftah at choochee.com Fri Oct 26 02:23:38 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 15:23:38 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: Yes I will do so On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Can you git diff it and post it to JIRA so we can have some people look at > it and test? > > > On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: > >> It may be a bit problematic since I will need 3 hooks : >> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >> 2. *preprocess :* indexing the file names (adding a note before and >> after each file ) >> 3. *switch_xml_parse_file :* use my reload instead the regular one for >> creating the big xml and then I just let the function continue as usual >> through the "__switch_xml_open_root" function >> I am reloading the file to the memory and then let the regular >> "switch_xml.c" do its work, so using the existing functions in >> "switch_xml.c" will not do the work >> However, we do not have to add it I just thought it would be good >> improvement for FreeSWITCH as it was very helpful for us >> >> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> I thought you were going to move it to be a module? >>> >>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>> >>>> I merged my code to the HEAD here are the results (I yet checked in the >>>> code) : >>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>> +OK [Success] >>>> real *0m24.424s* >>>> user 0m0.000s >>>> sys 0m0.020s >>>> >>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>> +OK [Success] >>>> real *0m0.315s* >>>> user 0m0.000s >>>> sys 0m0.010s >>>> >>>> Looks like there is major improvement in the loading time >>>> How does it work, I just need to check in my code to the git? with my >>>> subscribe user? >>>> Thanks, >>>> Yiftach. >>>> >>>> >>>> >>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>> >>>>> OK I will do so >>>>> >>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> Also, if you design it cleanly and generic enough you can check the >>>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>>> use it. >>>>>> >>>>>> >>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>>>>> >>>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>>> community is looking for a very fast way of loading a specific file from >>>>>>> the "reloadxml" command I can update it to the HEAD >>>>>>> >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>> >>>>>>>> The man xml registry is already reloaded using the method >>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>> it even when a new one has been loaded into place. >>>>>>>> >>>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan >>>>>>> > wrote: >>>>>>>> >>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>> problem of pushing configuration fast >>>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>>> to implement. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>> >>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a hosted >>>>>>>>>> PBX solution company >>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>>> Lately we have made a decision to get more close to the community >>>>>>>>>> so that we can enjoy the bug fixes and the new feature from the community >>>>>>>>>> and we can contribute our knowledge and bug fixes >>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>> We are using dialplan xmls in order to load the configuration, we >>>>>>>>>> have a lot of users on each freeswitch (+4k), it took a very long time for >>>>>>>>>> the configuration to load (around 5 minutes) during this time no new calls >>>>>>>>>> could be served by FreeSWITCH >>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>> The problem is that we had to introduce a lot of code in order to >>>>>>>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>>>>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>> machine >>>>>>>>>> Another approach that we thought is that a database might be much >>>>>>>>>> better fit in here, because every xml update includes the entire tenant >>>>>>>>>> (business) and has the potential in harming other users in the same tenant, >>>>>>>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>>>>>>> MySQL as a directory of parameters instead of xml? >>>>>>>>>> Thanks, >>>>>>>>>> Yiftach. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Anthony Minessale II >>>>>>>> >>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>> >>>>>>>> AIM: anthm >>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>> >>>>>>>> FreeSWITCH Developer Conference >>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>> pstn:+19193869900 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II >>>>>> >>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>> ClueCon http://www.cluecon.com/ >>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>> >>>>>> AIM: anthm >>>>>> MSN:anthony_minessale at hotmail.com >>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>> IRC: irc.freenode.net #freeswitch >>>>>> >>>>>> FreeSWITCH Developer Conference >>>>>> sip:888 at conference.freeswitch.org >>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>> pstn:+19193869900 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121025/b21ae061/attachment-0001.html From anthony.minessale at gmail.com Fri Oct 26 02:43:01 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 25 Oct 2012 17:43:01 -0500 Subject: [Freeswitch-users] and custom functions in lua or p-languages? In-Reply-To: References: Message-ID: yes condition and expression both support variable expansion ISWHITE could be a c function if you want to us lua you would use see scripts/lua/api.lua for examples of making api funcs in lua On Thu, Oct 25, 2012 at 3:33 PM, Scott <8f27e956 at gmail.com> wrote: > We need to write a function, usable in the XML dial plan, that tests the > inbound CID (not destination_number) against a "white list." Something on > the line of,,, > > > > Question: In such a use case, must ISWHITE() be a custom application/mod > written in C, per skel.c, or can it be a script written in lua or > p-language or the like? > > It's clear from wiki and docs we've seen that can have lua > or p-language scripts; but it is not clear about the > clauses and where to locate and "hook" them in. > > Guidance and any pointers to docs/examples greatly appreciated. > > With thanks, > /S > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/2daf5338/attachment.html From brian at freeswitch.org Fri Oct 26 02:59:19 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 25 Oct 2012 18:59:19 -0400 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: References: <5089962C.7000704@elder.hu> Message-ID: <19C08D44-B598-4C99-8BCA-3E5D1F19C369@freeswitch.org> You know the reboot section in FreeSWITCH can already send that exact notify for the Cisco phones. It was added last month sometime by MikeJ and I once I found the hiding information on the net. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 25, 2012, at 4:50 PM, Yiftach Golan wrote: > I do not know if it works like Polycom and SNOM, but for us we had to first SUBSCRIBE the phones and only then send the NOTIFY > The NOTIFY needs to share the same call id as the SUBSCRIBE > We actually solved those problems in OpenSIPs, they have a pretty good presence modules and in general OpenSIPs works very good with FreeSWITCH > > On Thu, Oct 25, 2012 at 12:42 PM, Pusk?s Zsolt wrote: > > Read the articles here: > > http://wiki.freeswitch.org/wiki/Event_Socket#sendevent > > You need something like this: > > sendevent NOTIFY > profile: internal > event-string: reboot > user: 1000 > host: 10.20.30.40 > content-type: application/simple-message-summary > > > Maybe you need restart or reset instead of reboot after the "event-string" > > > > 2012-10-25 13:19 keltez?ssel, Babak Yakhchali ?rta: >> Hi >> Is there anyway to send a notify message to a cisco phone with sip firmware to reset or restart it like this link: >> http://www.freepbx.org/forum/freepbx/tips-and-tricks/cisco-9971-phone-configuration-working-example-with-setup-tips >> >> The following variables and functions should be included in sip_notify_custom.conf settings: >> [cisco-restart] >> Event=>service-control >> Subscription-State=>active >> Content-Type=>text/plain >> Content=>action=restart >> Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} >> Content=>ConfigVersionStamp={0000000000000000} >> Content=>DialplanVersionStamp={0000000000000000} >> Content=>SoftkeyVersionStamp={0000000000000000} >> >> [cisco-reset] >> Event=>service-control >> Subscription-State=>active >> Content-Type=>text/plain >> Content=>action=reset >> Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} >> Content=>ConfigVersionStamp={0000000000000000} >> Content=>DialplanVersionStamp={0000000000000000} >> Content=>SoftkeyVersionStamp={0000000000000000} >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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://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 From brian at freeswitch.org Fri Oct 26 03:00:48 2012 From: brian at freeswitch.org (Brian West) Date: Thu, 25 Oct 2012 19:00:48 -0400 Subject: [Freeswitch-users] Using -NONAT but getting unknown event 8: 102 NAT binding changed In-Reply-To: <0D2DA3C6-8D83-419B-8ED1-4AD7FFA01ED4@mgtech.com> References: <99BE0018-2A72-4408-9FDD-3D162D7F1217@mgtech.com> <0D2DA3C6-8D83-419B-8ED1-4AD7FFA01ED4@mgtech.com> Message-ID: <2D1FF014-85CE-43B8-993D-A2D22C2306E8@freeswitch.org> sofia global loglevel all 9, this isn't specifically something in the NAT portions in FreeSWITCH, this is getting sent out from down in libsofia. Look at the sip traffic I'll suspect you'll see it. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 24, 2012, at 4:19 PM, Mario G wrote: > Right, it is lower case, parms are "-nc -nonat", this started today, I think related to the ITSP outage (now known as the month from phone hell). I was just curious seeing a message related to nat when -nonat was specified. Also seeing new today "sofia_reg.c:2088 Missing Authenticate Header!" but don't think it's related since it's at different time, both are random. > MG > > On Oct 24, 2012, at 11:29 AM, Michael Collins wrote: > >> are you using all caps? is it -NONAT or -nonat? Just curious. I've never used all caps. >> -MC >> >> On Wed, Oct 24, 2012 at 9:41 AM, Mario G wrote: >> This just started happening, both on 1.2.3 and HEAD. Why would I get this if FreeSwitch is started with -NONAT? >> Mario G >> >> sofia.c:1428 nua_i_outbound: unknown event 8: 102 NAT binding changed >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > > From yiftah at choochee.com Fri Oct 26 04:04:16 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 17:04:16 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: OK I loaded the code to : http://jira.freeswitch.org/browse/FS-4766 I have to say that this version is much less tested than the one we had for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement I have a different question on the same issue : Even with this fix it is very hard to put huge XMLs, the memory consumption is going crazy Did you think about adding MySQL support ? I thought on adding something like : This will allow us to still use the flexibility of the XMLs and the scalability of a database Do you know if someone did already? Thanks, Yiftach. On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Can you git diff it and post it to JIRA so we can have some people look at > it and test? > > > On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: > >> It may be a bit problematic since I will need 3 hooks : >> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >> 2. *preprocess :* indexing the file names (adding a note before and >> after each file ) >> 3. *switch_xml_parse_file :* use my reload instead the regular one for >> creating the big xml and then I just let the function continue as usual >> through the "__switch_xml_open_root" function >> I am reloading the file to the memory and then let the regular >> "switch_xml.c" do its work, so using the existing functions in >> "switch_xml.c" will not do the work >> However, we do not have to add it I just thought it would be good >> improvement for FreeSWITCH as it was very helpful for us >> >> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> I thought you were going to move it to be a module? >>> >>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>> >>>> I merged my code to the HEAD here are the results (I yet checked in the >>>> code) : >>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>> +OK [Success] >>>> real *0m24.424s* >>>> user 0m0.000s >>>> sys 0m0.020s >>>> >>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>> +OK [Success] >>>> real *0m0.315s* >>>> user 0m0.000s >>>> sys 0m0.010s >>>> >>>> Looks like there is major improvement in the loading time >>>> How does it work, I just need to check in my code to the git? with my >>>> subscribe user? >>>> Thanks, >>>> Yiftach. >>>> >>>> >>>> >>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>> >>>>> OK I will do so >>>>> >>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> Also, if you design it cleanly and generic enough you can check the >>>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>>> use it. >>>>>> >>>>>> >>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>>>>> >>>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>>> community is looking for a very fast way of loading a specific file from >>>>>>> the "reloadxml" command I can update it to the HEAD >>>>>>> >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>> >>>>>>>> The man xml registry is already reloaded using the method >>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>> it even when a new one has been loaded into place. >>>>>>>> >>>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan >>>>>>> > wrote: >>>>>>>> >>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>> problem of pushing configuration fast >>>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>>> to implement. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>> >>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a hosted >>>>>>>>>> PBX solution company >>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>>> Lately we have made a decision to get more close to the community >>>>>>>>>> so that we can enjoy the bug fixes and the new feature from the community >>>>>>>>>> and we can contribute our knowledge and bug fixes >>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>> We are using dialplan xmls in order to load the configuration, we >>>>>>>>>> have a lot of users on each freeswitch (+4k), it took a very long time for >>>>>>>>>> the configuration to load (around 5 minutes) during this time no new calls >>>>>>>>>> could be served by FreeSWITCH >>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>> The problem is that we had to introduce a lot of code in order to >>>>>>>>>> solve this problem, has anyone else encounter this problem? we do not want >>>>>>>>>> to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>> machine >>>>>>>>>> Another approach that we thought is that a database might be much >>>>>>>>>> better fit in here, because every xml update includes the entire tenant >>>>>>>>>> (business) and has the potential in harming other users in the same tenant, >>>>>>>>>> also DB has much higher capacities then XMLs, did anyone think of enabling >>>>>>>>>> MySQL as a directory of parameters instead of xml? >>>>>>>>>> Thanks, >>>>>>>>>> Yiftach. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Anthony Minessale II >>>>>>>> >>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>> >>>>>>>> AIM: anthm >>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>> >>>>>>>> FreeSWITCH Developer Conference >>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>> pstn:+19193869900 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II >>>>>> >>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>> ClueCon http://www.cluecon.com/ >>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>> >>>>>> AIM: anthm >>>>>> MSN:anthony_minessale at hotmail.com >>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>> IRC: irc.freenode.net #freeswitch >>>>>> >>>>>> FreeSWITCH Developer Conference >>>>>> sip:888 at conference.freeswitch.org >>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>> pstn:+19193869900 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121025/743c3ca5/attachment-0001.html From avi at avimarcus.net Fri Oct 26 04:11:11 2012 From: avi at avimarcus.net (Avi Marcus) Date: Fri, 26 Oct 2012 02:11:11 +0200 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: I do that via mod_odbc_query. http://wiki.freeswitch.org/wiki/Mod_odbc_query It does a query and loads the result (only supports 1 row, I think) as a chan variable, which you can then use. -Avi On Fri, Oct 26, 2012 at 2:04 AM, Yiftach Golan wrote: > OK I loaded the code to : > http://jira.freeswitch.org/browse/FS-4766 > I have to say that this version is much less tested than the one we had > for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement > > I have a different question on the same issue : > Even with this fix it is very hard to put huge XMLs, the memory > consumption is going crazy > Did you think about adding MySQL support ? > I thought on adding something like : > > This will allow us to still use the flexibility of the XMLs and the > scalability of a database > Do you know if someone did already? > > Thanks, > Yiftach. > > > > On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Can you git diff it and post it to JIRA so we can have some people look >> at it and test? >> >> >> On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: >> >>> It may be a bit problematic since I will need 3 hooks : >>> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >>> 2. *preprocess :* indexing the file names (adding a note before and >>> after each file ) >>> 3. *switch_xml_parse_file :* use my reload instead the regular one for >>> creating the big xml and then I just let the function continue as usual >>> through the "__switch_xml_open_root" function >>> I am reloading the file to the memory and then let the regular >>> "switch_xml.c" do its work, so using the existing functions in >>> "switch_xml.c" will not do the work >>> However, we do not have to add it I just thought it would be good >>> improvement for FreeSWITCH as it was very helpful for us >>> >>> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> I thought you were going to move it to be a module? >>>> >>>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>>> >>>>> I merged my code to the HEAD here are the results (I yet checked in >>>>> the code) : >>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>>> +OK [Success] >>>>> real *0m24.424s* >>>>> user 0m0.000s >>>>> sys 0m0.020s >>>>> >>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>>> +OK [Success] >>>>> real *0m0.315s* >>>>> user 0m0.000s >>>>> sys 0m0.010s >>>>> >>>>> Looks like there is major improvement in the loading time >>>>> How does it work, I just need to check in my code to the git? with my >>>>> subscribe user? >>>>> Thanks, >>>>> Yiftach. >>>>> >>>>> >>>>> >>>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>>> >>>>>> OK I will do so >>>>>> >>>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> Also, if you design it cleanly and generic enough you can check the >>>>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>>>> use it. >>>>>>> >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>>>>>> >>>>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>>>> community is looking for a very fast way of loading a specific file from >>>>>>>> the "reloadxml" command I can update it to the HEAD >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>> >>>>>>>>> The man xml registry is already reloaded using the method >>>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>>> it even when a new one has been loaded into place. >>>>>>>>> >>>>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan < >>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>> >>>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>>> problem of pushing configuration fast >>>>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>>>> >>>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>>>> to implement. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>>> >>>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a >>>>>>>>>>> hosted PBX solution company >>>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>>>> Lately we have made a decision to get more close to the >>>>>>>>>>> community so that we can enjoy the bug fixes and the new feature from the >>>>>>>>>>> community and we can contribute our knowledge and bug fixes >>>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>>> We are using dialplan xmls in order to load the configuration, >>>>>>>>>>> we have a lot of users on each freeswitch (+4k), it took a very long time >>>>>>>>>>> for the configuration to load (around 5 minutes) during this time no new >>>>>>>>>>> calls could be served by FreeSWITCH >>>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>>> The problem is that we had to introduce a lot of code in order >>>>>>>>>>> to solve this problem, has anyone else encounter this problem? we do not >>>>>>>>>>> want to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>>> machine >>>>>>>>>>> Another approach that we thought is that a database might be >>>>>>>>>>> much better fit in here, because every xml update includes the entire >>>>>>>>>>> tenant (business) and has the potential in harming other users in the same >>>>>>>>>>> tenant, also DB has much higher capacities then XMLs, did anyone think of >>>>>>>>>>> enabling MySQL as a directory of parameters instead of xml? >>>>>>>>>>> Thanks, >>>>>>>>>>> Yiftach. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Anthony Minessale II >>>>>>>>> >>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>> >>>>>>>>> AIM: anthm >>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>> >>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>> pstn:+19193869900 >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II >>>>>>> >>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>> ClueCon http://www.cluecon.com/ >>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>> >>>>>>> AIM: anthm >>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>> >>>>>>> FreeSWITCH Developer Conference >>>>>>> sip:888 at conference.freeswitch.org >>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>> pstn:+19193869900 >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.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://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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II >>>> >>>> FreeSWITCH http://www.freeswitch.org/ >>>> ClueCon http://www.cluecon.com/ >>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>> >>>> AIM: anthm >>>> MSN:anthony_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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/20121026/74c3511e/attachment-0001.html From yiftah at choochee.com Fri Oct 26 04:17:15 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 17:17:15 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: Have you used it for directory as well ? On Thu, Oct 25, 2012 at 5:11 PM, Avi Marcus wrote: > I do that via mod_odbc_query. > http://wiki.freeswitch.org/wiki/Mod_odbc_query > > It does a query and loads the result (only supports 1 row, I think) as a > chan variable, which you can then use. > > -Avi > > > On Fri, Oct 26, 2012 at 2:04 AM, Yiftach Golan wrote: > >> OK I loaded the code to : >> http://jira.freeswitch.org/browse/FS-4766 >> I have to say that this version is much less tested than the one we had >> for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement >> >> I have a different question on the same issue : >> Even with this fix it is very hard to put huge XMLs, the memory >> consumption is going crazy >> Did you think about adding MySQL support ? >> I thought on adding something like : >> >> This will allow us to still use the flexibility of the XMLs and the >> scalability of a database >> Do you know if someone did already? >> >> Thanks, >> Yiftach. >> >> >> >> On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Can you git diff it and post it to JIRA so we can have some people look >>> at it and test? >>> >>> >>> On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: >>> >>>> It may be a bit problematic since I will need 3 hooks : >>>> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >>>> 2. *preprocess :* indexing the file names (adding a note before and >>>> after each file ) >>>> 3. *switch_xml_parse_file :* use my reload instead the regular one >>>> for creating the big xml and then I just let the function continue as usual >>>> through the "__switch_xml_open_root" function >>>> I am reloading the file to the memory and then let the regular >>>> "switch_xml.c" do its work, so using the existing functions in >>>> "switch_xml.c" will not do the work >>>> However, we do not have to add it I just thought it would be good >>>> improvement for FreeSWITCH as it was very helpful for us >>>> >>>> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> I thought you were going to move it to be a module? >>>>> >>>>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>>>> >>>>>> I merged my code to the HEAD here are the results (I yet checked in >>>>>> the code) : >>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>>>> +OK [Success] >>>>>> real *0m24.424s* >>>>>> user 0m0.000s >>>>>> sys 0m0.020s >>>>>> >>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>>>> +OK [Success] >>>>>> real *0m0.315s* >>>>>> user 0m0.000s >>>>>> sys 0m0.010s >>>>>> >>>>>> Looks like there is major improvement in the loading time >>>>>> How does it work, I just need to check in my code to the git? with my >>>>>> subscribe user? >>>>>> Thanks, >>>>>> Yiftach. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>>>> >>>>>>> OK I will do so >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>> >>>>>>>> Also, if you design it cleanly and generic enough you can check the >>>>>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>>>>> use it. >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan >>>>>>> > wrote: >>>>>>>> >>>>>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>>>>> community is looking for a very fast way of loading a specific file from >>>>>>>>> the "reloadxml" command I can update it to the HEAD >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> The man xml registry is already reloaded using the method >>>>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>>>> it even when a new one has been loaded into place. >>>>>>>>>> >>>>>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan < >>>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>>> >>>>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>>>> problem of pushing configuration fast >>>>>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>>>>> >>>>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>>>>> to implement. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>>>> >>>>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a >>>>>>>>>>>> hosted PBX solution company >>>>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>>>>> Lately we have made a decision to get more close to the >>>>>>>>>>>> community so that we can enjoy the bug fixes and the new feature from the >>>>>>>>>>>> community and we can contribute our knowledge and bug fixes >>>>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>>>> We are using dialplan xmls in order to load the configuration, >>>>>>>>>>>> we have a lot of users on each freeswitch (+4k), it took a very long time >>>>>>>>>>>> for the configuration to load (around 5 minutes) during this time no new >>>>>>>>>>>> calls could be served by FreeSWITCH >>>>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>>>> The problem is that we had to introduce a lot of code in order >>>>>>>>>>>> to solve this problem, has anyone else encounter this problem? we do not >>>>>>>>>>>> want to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>>>> machine >>>>>>>>>>>> Another approach that we thought is that a database might be >>>>>>>>>>>> much better fit in here, because every xml update includes the entire >>>>>>>>>>>> tenant (business) and has the potential in harming other users in the same >>>>>>>>>>>> tenant, also DB has much higher capacities then XMLs, did anyone think of >>>>>>>>>>>> enabling MySQL as a directory of parameters instead of xml? >>>>>>>>>>>> Thanks, >>>>>>>>>>>> Yiftach. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Anthony Minessale II >>>>>>>>>> >>>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>>> >>>>>>>>>> AIM: anthm >>>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>>> >>>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>>> pstn:+19193869900 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Anthony Minessale II >>>>>>>> >>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>> >>>>>>>> AIM: anthm >>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>> >>>>>>>> FreeSWITCH Developer Conference >>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>> pstn:+19193869900 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II >>>>> >>>>> FreeSWITCH http://www.freeswitch.org/ >>>>> ClueCon http://www.cluecon.com/ >>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>> >>>>> AIM: anthm >>>>> MSN:anthony_minessale at hotmail.com >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>> IRC: irc.freenode.net #freeswitch >>>>> >>>>> FreeSWITCH Developer Conference >>>>> sip:888 at conference.freeswitch.org >>>>> googletalk:conf+888 at conference.freeswitch.org >>>>> pstn:+19193869900 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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/20121025/c6edce86/attachment-0001.html From anthony.minessale at gmail.com Fri Oct 26 06:05:01 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 25 Oct 2012 21:05:01 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: I appreciate your patch but it looks very specific to your needs. I think you should stop and join the community and learn the philosophy behind how things work and learn how to make a module. You are breaking holes in the wall to get through because you are not seeing the door. I really think you should understand how the xml hooks or dialplan modules work and how to actually scale things in FreeSWITCH. Join IRC and call the weekly call and maybe study the wiki. On Thu, Oct 25, 2012 at 7:04 PM, Yiftach Golan wrote: > OK I loaded the code to : > http://jira.freeswitch.org/browse/FS-4766 > I have to say that this version is much less tested than the one we had > for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement > > I have a different question on the same issue : > Even with this fix it is very hard to put huge XMLs, the memory > consumption is going crazy > Did you think about adding MySQL support ? > I thought on adding something like : > > This will allow us to still use the flexibility of the XMLs and the > scalability of a database > Do you know if someone did already? > > Thanks, > Yiftach. > > > > On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Can you git diff it and post it to JIRA so we can have some people look >> at it and test? >> >> >> On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: >> >>> It may be a bit problematic since I will need 3 hooks : >>> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >>> 2. *preprocess :* indexing the file names (adding a note before and >>> after each file ) >>> 3. *switch_xml_parse_file :* use my reload instead the regular one for >>> creating the big xml and then I just let the function continue as usual >>> through the "__switch_xml_open_root" function >>> I am reloading the file to the memory and then let the regular >>> "switch_xml.c" do its work, so using the existing functions in >>> "switch_xml.c" will not do the work >>> However, we do not have to add it I just thought it would be good >>> improvement for FreeSWITCH as it was very helpful for us >>> >>> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> I thought you were going to move it to be a module? >>>> >>>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>>> >>>>> I merged my code to the HEAD here are the results (I yet checked in >>>>> the code) : >>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>>> +OK [Success] >>>>> real *0m24.424s* >>>>> user 0m0.000s >>>>> sys 0m0.020s >>>>> >>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>>> +OK [Success] >>>>> real *0m0.315s* >>>>> user 0m0.000s >>>>> sys 0m0.010s >>>>> >>>>> Looks like there is major improvement in the loading time >>>>> How does it work, I just need to check in my code to the git? with my >>>>> subscribe user? >>>>> Thanks, >>>>> Yiftach. >>>>> >>>>> >>>>> >>>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>>> >>>>>> OK I will do so >>>>>> >>>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> Also, if you design it cleanly and generic enough you can check the >>>>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>>>> use it. >>>>>>> >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan wrote: >>>>>>> >>>>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>>>> community is looking for a very fast way of loading a specific file from >>>>>>>> the "reloadxml" command I can update it to the HEAD >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>> >>>>>>>>> The man xml registry is already reloaded using the method >>>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>>> it even when a new one has been loaded into place. >>>>>>>>> >>>>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan < >>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>> >>>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>>> problem of pushing configuration fast >>>>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>>>> >>>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>>>> to implement. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>>> >>>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a >>>>>>>>>>> hosted PBX solution company >>>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>>>> Lately we have made a decision to get more close to the >>>>>>>>>>> community so that we can enjoy the bug fixes and the new feature from the >>>>>>>>>>> community and we can contribute our knowledge and bug fixes >>>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>>> We are using dialplan xmls in order to load the configuration, >>>>>>>>>>> we have a lot of users on each freeswitch (+4k), it took a very long time >>>>>>>>>>> for the configuration to load (around 5 minutes) during this time no new >>>>>>>>>>> calls could be served by FreeSWITCH >>>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>>> The problem is that we had to introduce a lot of code in order >>>>>>>>>>> to solve this problem, has anyone else encounter this problem? we do not >>>>>>>>>>> want to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>>> machine >>>>>>>>>>> Another approach that we thought is that a database might be >>>>>>>>>>> much better fit in here, because every xml update includes the entire >>>>>>>>>>> tenant (business) and has the potential in harming other users in the same >>>>>>>>>>> tenant, also DB has much higher capacities then XMLs, did anyone think of >>>>>>>>>>> enabling MySQL as a directory of parameters instead of xml? >>>>>>>>>>> Thanks, >>>>>>>>>>> Yiftach. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Anthony Minessale II >>>>>>>>> >>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>> >>>>>>>>> AIM: anthm >>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>> >>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>> pstn:+19193869900 >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II >>>>>>> >>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>> ClueCon http://www.cluecon.com/ >>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>> >>>>>>> AIM: anthm >>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>> >>>>>>> FreeSWITCH Developer Conference >>>>>>> sip:888 at conference.freeswitch.org >>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>> pstn:+19193869900 >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.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://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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II >>>> >>>> FreeSWITCH http://www.freeswitch.org/ >>>> ClueCon http://www.cluecon.com/ >>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>> >>>> AIM: anthm >>>> MSN:anthony_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121025/30fb01b0/attachment-0001.html From yiftah at choochee.com Fri Oct 26 09:23:12 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Thu, 25 Oct 2012 22:23:12 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: Yes it is kind specific to our needs, which is very fast loading of specific XML in big environments We have some experience with FreeSWITCH modules, we wrote the Voicemail module from scratch after the existing one did not fit our need I think on the FreeSWITCH clustering we were really struggling and this is were the scaling became very challenging for us Do you have any good document or reference on good practice to cluster FreeSWITCH, specifically cluster of FreeSWITCHes that can hold tenth of thousands of users in a single cluster? On Thu, Oct 25, 2012 at 7:05 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > I appreciate your patch but it looks very specific to your needs. > > I think you should stop and join the community and learn the philosophy > behind how things work and learn how to make a module. > You are breaking holes in the wall to get through because you are not > seeing the door. > > I really think you should understand how the xml hooks or dialplan modules > work and how to actually scale things in FreeSWITCH. > > Join IRC and call the weekly call and maybe study the wiki. > > > > > > > > On Thu, Oct 25, 2012 at 7:04 PM, Yiftach Golan wrote: > >> OK I loaded the code to : >> http://jira.freeswitch.org/browse/FS-4766 >> I have to say that this version is much less tested than the one we had >> for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement >> >> I have a different question on the same issue : >> Even with this fix it is very hard to put huge XMLs, the memory >> consumption is going crazy >> Did you think about adding MySQL support ? >> I thought on adding something like : >> >> This will allow us to still use the flexibility of the XMLs and the >> scalability of a database >> Do you know if someone did already? >> >> Thanks, >> Yiftach. >> >> >> >> On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Can you git diff it and post it to JIRA so we can have some people look >>> at it and test? >>> >>> >>> On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: >>> >>>> It may be a bit problematic since I will need 3 hooks : >>>> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >>>> 2. *preprocess :* indexing the file names (adding a note before and >>>> after each file ) >>>> 3. *switch_xml_parse_file :* use my reload instead the regular one >>>> for creating the big xml and then I just let the function continue as usual >>>> through the "__switch_xml_open_root" function >>>> I am reloading the file to the memory and then let the regular >>>> "switch_xml.c" do its work, so using the existing functions in >>>> "switch_xml.c" will not do the work >>>> However, we do not have to add it I just thought it would be good >>>> improvement for FreeSWITCH as it was very helpful for us >>>> >>>> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> I thought you were going to move it to be a module? >>>>> >>>>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>>>> >>>>>> I merged my code to the HEAD here are the results (I yet checked in >>>>>> the code) : >>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>>>> +OK [Success] >>>>>> real *0m24.424s* >>>>>> user 0m0.000s >>>>>> sys 0m0.020s >>>>>> >>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>>>> +OK [Success] >>>>>> real *0m0.315s* >>>>>> user 0m0.000s >>>>>> sys 0m0.010s >>>>>> >>>>>> Looks like there is major improvement in the loading time >>>>>> How does it work, I just need to check in my code to the git? with my >>>>>> subscribe user? >>>>>> Thanks, >>>>>> Yiftach. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>>>> >>>>>>> OK I will do so >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>> >>>>>>>> Also, if you design it cleanly and generic enough you can check the >>>>>>>> module itself into HEAD and maintain it yourself and others can choose to >>>>>>>> use it. >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan >>>>>>> > wrote: >>>>>>>> >>>>>>>>> Yes I agree, I can solve it this way for me, if anyone else in the >>>>>>>>> community is looking for a very fast way of loading a specific file from >>>>>>>>> the "reloadxml" command I can update it to the HEAD >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> The man xml registry is already reloaded using the method >>>>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>>>> it even when a new one has been loaded into place. >>>>>>>>>> >>>>>>>>>> I think if you pursue the custom C module with the XML hook, that >>>>>>>>>> you can put your same logic into a module and not bother the core as any >>>>>>>>>> access to the core xml will be redirected to your module callback where you >>>>>>>>>> can do whatever you want and not disturb the core of FS unless you have >>>>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan < >>>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>>> >>>>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>>>> problem of pushing configuration fast >>>>>>>>>>> We have a front end that pushes the configuration changes and it >>>>>>>>>>> needs to be fast, so even if we change it in the background it will be slow >>>>>>>>>>> >>>>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt wrote: >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose the >>>>>>>>>>>> xml config memory section is locked while the files are proccessed so other >>>>>>>>>>>> modules are waiting for it. Instead of loading just one file you could >>>>>>>>>>>> continue to load all the files into somekind of a new temporary config >>>>>>>>>>>> section without locking the main. Once the files are loaded and processed >>>>>>>>>>>> the temporary and main section could be swapped or the temporary is used >>>>>>>>>>>> and the other is deleted from memory. No idea how many time this could take >>>>>>>>>>>> to implement. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>>>> >>>>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a >>>>>>>>>>>> hosted PBX solution company >>>>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added a >>>>>>>>>>>> lot of code changes to the core and to the different modules >>>>>>>>>>>> Lately we have made a decision to get more close to the >>>>>>>>>>>> community so that we can enjoy the bug fixes and the new feature from the >>>>>>>>>>>> community and we can contribute our knowledge and bug fixes >>>>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>>>> We are using dialplan xmls in order to load the configuration, >>>>>>>>>>>> we have a lot of users on each freeswitch (+4k), it took a very long time >>>>>>>>>>>> for the configuration to load (around 5 minutes) during this time no new >>>>>>>>>>>> calls could be served by FreeSWITCH >>>>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>>>> The problem is that we had to introduce a lot of code in order >>>>>>>>>>>> to solve this problem, has anyone else encounter this problem? we do not >>>>>>>>>>>> want to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>>>> machine >>>>>>>>>>>> Another approach that we thought is that a database might be >>>>>>>>>>>> much better fit in here, because every xml update includes the entire >>>>>>>>>>>> tenant (business) and has the potential in harming other users in the same >>>>>>>>>>>> tenant, also DB has much higher capacities then XMLs, did anyone think of >>>>>>>>>>>> enabling MySQL as a directory of parameters instead of xml? >>>>>>>>>>>> Thanks, >>>>>>>>>>>> Yiftach. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Anthony Minessale II >>>>>>>>>> >>>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>>> >>>>>>>>>> AIM: anthm >>>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>>> >>>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>>> pstn:+19193869900 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Anthony Minessale II >>>>>>>> >>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>> >>>>>>>> AIM: anthm >>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>> >>>>>>>> FreeSWITCH Developer Conference >>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>> pstn:+19193869900 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II >>>>> >>>>> FreeSWITCH http://www.freeswitch.org/ >>>>> ClueCon http://www.cluecon.com/ >>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>> >>>>> AIM: anthm >>>>> MSN:anthony_minessale at hotmail.com >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>> IRC: irc.freenode.net #freeswitch >>>>> >>>>> FreeSWITCH Developer Conference >>>>> sip:888 at conference.freeswitch.org >>>>> googletalk:conf+888 at conference.freeswitch.org >>>>> pstn:+19193869900 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121025/4ffdf918/attachment-0001.html From ocset at the800group.com Fri Oct 26 12:54:40 2012 From: ocset at the800group.com (ocset) Date: Fri, 26 Oct 2012 16:54:40 +0800 Subject: [Freeswitch-users] Sangoma Vega 50 FXO Message-ID: <508A4FD0.3070703@the800group.com> Hi Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? I have used the Grandstream GXW4104 FXO gateway before and I am thinking of switching to the Sangoma as they seem to be more active in FreeSWITCH support and development. Thanks in advance O. From modesto at isimples.com.br Fri Oct 26 17:21:25 2012 From: modesto at isimples.com.br (Antonio Modesto) Date: Fri, 26 Oct 2012 11:21:25 -0200 Subject: [Freeswitch-users] FreeTDM and Brazil DTMF - CallerID Detection Message-ID: Hi, I would like to know if I can help, in someway, to implement this feature in FreeTDM. Today, if we use an analog card here in Brazil, we have to use dtmf to fsk converters to enable the callerid detection, both on freeswitch and asterisk. If there is anybody who works on FreeTDM / FreeSWITCH project that is available to help us with this, I can give access to an machine with analog boards, I have some knowledge in C programming too. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/c0d930f7/attachment.html From jason.holden at start.ca Fri Oct 26 18:49:09 2012 From: jason.holden at start.ca (Jason Holden) Date: Fri, 26 Oct 2012 10:49:09 -0400 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch Message-ID: Does anyone have a tutorial in how to setup Polycom endpoint auto provisioning in Freeswitch? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/65069f70/attachment.html From philq at qsystemsengineering.com Fri Oct 26 18:49:26 2012 From: philq at qsystemsengineering.com (PhilQ) Date: Fri, 26 Oct 2012 07:49:26 -0700 (PDT) Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> <1351054522812-7583938.post@n2.nabble.com> Message-ID: <1351262966404-7584009.post@n2.nabble.com> Perhaps GV previously allowed you to send them an FQDN and did the lookup for you but now they don't? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7584009.html Sent from the freeswitch-users mailing list archive at Nabble.com. From 8f27e956 at gmail.com Fri Oct 26 04:27:00 2012 From: 8f27e956 at gmail.com (S. Scott) Date: Thu, 25 Oct 2012 20:27:00 -0400 Subject: [Freeswitch-users] SQLITE ALT Message-ID: <-8978589123643184313@unknownmsgid> Read somewhere about sqlite3 becoming a bottleneck point. This bottle necking, combined with the XML issues under discussion, I might suggest some investigation be given to DB2 EXPRESS-C (free community edition). DB2 is oft overlooked, but it is mature and capital-F FULL featured. It also supports trueXML, which allows native XML storage and retrieval via SQL language -- a nice fs get a long thing. it might be a great fit for high-end fs implementations. Left to default settings, it can be grabby of the machines resources -- cores and ram. Default likely too selfish for fs+db2 same-machine coexistence, but this is highly and easily tunable. In the small foot print (embedded) SQL engine space -- we love "mimer" Cheers, /S ????? iThing: Big thumbs & little keys. Please excuse typo, spelling and grammar errors ? Good planets are hard to find ? think before you print ? My desire to be well-informed is currently at odds with my desire to remain sane. ? Last night I played a blank CD at full blast. The Mime next door went nuts. From gvvsubhashkumar at gmail.com Fri Oct 26 16:36:29 2012 From: gvvsubhashkumar at gmail.com (Subhash) Date: Fri, 26 Oct 2012 18:06:29 +0530 Subject: [Freeswitch-users] How to handle SIP REFER message Message-ID: Hi All, I am trying to handle SIP REFER mesage from the dialplan but i could not ,actually our intention is when we get the SIP REFER message based on the refered-to header we need to bridge the call.I am not getting any idea to achieve this flow. Please suggest me.Thanks in advance -- Thanks, Subhash. From msc at freeswitch.org Fri Oct 26 19:01:35 2012 From: msc at freeswitch.org (Michael Collins) Date: Fri, 26 Oct 2012 08:01:35 -0700 Subject: [Freeswitch-users] Sangoma Vega 50 FXO In-Reply-To: <508A4FD0.3070703@the800group.com> References: <508A4FD0.3070703@the800group.com> Message-ID: I've used the Vega 50 8FXO and 4FXS/2FXO gateways with the CudaTel. My experience has been mixed at best. Anyone else? -MC On Fri, Oct 26, 2012 at 1:54 AM, ocset wrote: > Hi > > Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? > > I have used the Grandstream GXW4104 FXO gateway before and I am > thinking of switching to the Sangoma as they seem to be more active in > FreeSWITCH support and development. > > Thanks in advance > O. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/116feae7/attachment.html From yehavi.bourvine at gmail.com Fri Oct 26 19:41:57 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Fri, 26 Oct 2012 17:41:57 +0200 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch In-Reply-To: References: Message-ID: Have you looked in http://wiki.freeswitch.org/wiki/Polycom_configuration ? Regards, __Yehavi: 2012/10/26 Jason Holden > Does anyone have a tutorial in how to setup Polycom endpoint auto > provisioning in Freeswitch?**** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121026/939b8e28/attachment.html From krice at freeswitch.org Fri Oct 26 21:00:40 2012 From: krice at freeswitch.org (Ken Rice) Date: Fri, 26 Oct 2012 12:00:40 -0500 Subject: [Freeswitch-users] SQLITE ALT In-Reply-To: <-8978589123643184313@unknownmsgid> References: <-8978589123643184313@unknownmsgid> Message-ID: just use odbc or the native pgsql extensions if you need more performance the sqlite k On Oct 26, 2012 11:03 AM, "S. Scott" <8f27e956 at gmail.com> wrote: > Read somewhere about sqlite3 becoming a bottleneck point. This bottle > necking, combined with the XML issues under discussion, I might > suggest some investigation be given to DB2 EXPRESS-C (free community > edition). > > DB2 is oft overlooked, but it is mature and capital-F FULL featured. > It also supports trueXML, which allows native XML storage and > retrieval via SQL language -- a nice fs get a long thing. > > it might be a great fit for high-end fs implementations. Left to > default settings, it can be grabby of the machines resources -- cores > and ram. Default likely too selfish for fs+db2 same-machine > coexistence, but this is highly and easily tunable. > > In the small foot print (embedded) SQL engine space -- we love "mimer" > > Cheers, > /S > > > > ????? > iThing: Big thumbs & little keys. Please excuse typo, spelling and > grammar errors ? Good planets are hard to find ? think before you > print ? My desire to be well-informed is currently at odds with my > desire to remain sane. ? Last night I played a blank CD at full blast. > The Mime next door went nuts. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121026/da44ee52/attachment-0001.html From jason.holden at start.ca Fri Oct 26 21:19:56 2012 From: jason.holden at start.ca (Jason Holden) Date: Fri, 26 Oct 2012 13:19:56 -0400 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch In-Reply-To: References: Message-ID: Yes, that does not answer my questions though. I want to auto provision config files based on specific extensions that have already been created in Freeswitch automaticly. _____ From: Yehavi Bourvine [mailto:yehavi.bourvine at gmail.com] Sent: Friday, October 26, 2012 11:42 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Polycom auto provisioning freeswitch Have you looked in http://wiki.freeswitch.org/wiki/Polycom_configuration ? Regards, __Yehavi: 2012/10/26 Jason Holden Does anyone have a tutorial in how to setup Polycom endpoint auto provisioning in Freeswitch? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121026/1a7f46ec/attachment.html From babak.freeswitch at gmail.com Fri Oct 26 21:21:33 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Fri, 26 Oct 2012 20:51:33 +0330 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: <19C08D44-B598-4C99-8BCA-3E5D1F19C369@freeswitch.org> References: <5089962C.7000704@elder.hu> <19C08D44-B598-4C99-8BCA-3E5D1F19C369@freeswitch.org> Message-ID: I can not find anything about it on the net! can you guide me where the info about it is hidden please. On Fri, Oct 26, 2012 at 2:29 AM, Brian West wrote: > You know the reboot section in FreeSWITCH can already send that exact > notify for the Cisco phones. It was added last month sometime by MikeJ and > I once I found the hiding information on the net. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 25, 2012, at 4:50 PM, Yiftach Golan wrote: > > > I do not know if it works like Polycom and SNOM, but for us we had to > first SUBSCRIBE the phones and only then send the NOTIFY > > The NOTIFY needs to share the same call id as the SUBSCRIBE > > We actually solved those problems in OpenSIPs, they have a pretty good > presence modules and in general OpenSIPs works very good with FreeSWITCH > > > > On Thu, Oct 25, 2012 at 12:42 PM, Pusk?s Zsolt wrote: > > > > Read the articles here: > > > > http://wiki.freeswitch.org/wiki/Event_Socket#sendevent > > > > You need something like this: > > > > sendevent NOTIFY > > profile: internal > > event-string: reboot > > user: 1000 > > host: 10.20.30.40 > > content-type: application/simple-message-summary > > > > > > Maybe you need restart or reset instead of reboot after the > "event-string" > > > > > > > > 2012-10-25 13:19 keltez?ssel, Babak Yakhchali ?rta: > >> Hi > >> Is there anyway to send a notify message to a cisco phone with sip > firmware to reset or restart it like this link: > >> > http://www.freepbx.org/forum/freepbx/tips-and-tricks/cisco-9971-phone-configuration-working-example-with-setup-tips > >> > >> The following variables and functions should be included in > sip_notify_custom.conf settings: > >> [cisco-restart] > >> Event=>service-control > >> Subscription-State=>active > >> Content-Type=>text/plain > >> Content=>action=restart > >> Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} > >> Content=>ConfigVersionStamp={0000000000000000} > >> Content=>DialplanVersionStamp={0000000000000000} > >> Content=>SoftkeyVersionStamp={0000000000000000} > >> > >> [cisco-reset] > >> Event=>service-control > >> Subscription-State=>active > >> Content-Type=>text/plain > >> Content=>action=reset > >> Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}} > >> Content=>ConfigVersionStamp={0000000000000000} > >> Content=>DialplanVersionStamp={0000000000000000} > >> Content=>SoftkeyVersionStamp={0000000000000000} > >> > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.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://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://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://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/20121026/903ea7d8/attachment.html From yiftah at choochee.com Fri Oct 26 21:35:19 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Fri, 26 Oct 2012 10:35:19 -0700 Subject: [Freeswitch-users] SQLITE ALT In-Reply-To: <-8978589123643184313@unknownmsgid> References: <-8978589123643184313@unknownmsgid> Message-ID: Hi Scott, I can tell you that for us the sqlite3 was really bottleneck as well and in several times it just corrupted and we had to restart FreeSWITCH However, it looks like everyone today is working with MySQL, for us MySQL is a much better choice because we are in a cloud environment and not in embedded environment A choice of the DB to use might be good Thanks, Yiftach. On Thu, Oct 25, 2012 at 5:27 PM, S. Scott <8f27e956 at gmail.com> wrote: > Read somewhere about sqlite3 becoming a bottleneck point. This bottle > necking, combined with the XML issues under discussion, I might > suggest some investigation be given to DB2 EXPRESS-C (free community > edition). > > DB2 is oft overlooked, but it is mature and capital-F FULL featured. > It also supports trueXML, which allows native XML storage and > retrieval via SQL language -- a nice fs get a long thing. > > it might be a great fit for high-end fs implementations. Left to > default settings, it can be grabby of the machines resources -- cores > and ram. Default likely too selfish for fs+db2 same-machine > coexistence, but this is highly and easily tunable. > > In the small foot print (embedded) SQL engine space -- we love "mimer" > > Cheers, > /S > > > > ????? > iThing: Big thumbs & little keys. Please excuse typo, spelling and > grammar errors ? Good planets are hard to find ? think before you > print ? My desire to be well-informed is currently at odds with my > desire to remain sane. ? Last night I played a blank CD at full blast. > The Mime next door went nuts. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121026/b6cd177b/attachment-0001.html From anthony.minessale at gmail.com Fri Oct 26 21:59:43 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 26 Oct 2012 12:59:43 -0500 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: That is why I keep mentioning the XML hooks. This is exactly what it's for. When you have an xml hook every single request to the xml document can be hooked into and your custom callback function is called with every search param allowing you to dynamically find the right xml and return it on-the-fly. This way you don't need to manage a giant root of XML for user data. Try looking at it from further back. You can even make an xml hook module that uses a database directly and builds binary xml structures and returns them without them ever having to exist as text. With combinations of the C interfaces like dialplan app, dialplan module, xml_hooks and the like you can scale to any size. Anyway, I do understand the point of the xml patch, I am very concerned about the stability of the xml parser with that patch you made applied. The entire design of FreeSWITCH is based around allowing you to extend it through modules and hooks. If you can find a hook that is missing that is a much more compelling case than modifying the core for multi-home configurations which is not a primary purpose of the software. I don't know if you even care about my advice but I assume since you came here asking for it that you want me to continue to help you understand the right direction to take. On Fri, Oct 26, 2012 at 12:23 AM, Yiftach Golan wrote: > Yes it is kind specific to our needs, which is very fast loading of > specific XML in big environments > We have some experience with FreeSWITCH modules, we wrote the Voicemail > module from scratch after the existing one did not fit our need > I think on the FreeSWITCH clustering we were really struggling and this is > were the scaling became very challenging for us > Do you have any good document or reference on good practice to cluster > FreeSWITCH, specifically cluster of FreeSWITCHes that can hold tenth of > thousands of users in a single cluster? > > On Thu, Oct 25, 2012 at 7:05 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> I appreciate your patch but it looks very specific to your needs. >> >> I think you should stop and join the community and learn the philosophy >> behind how things work and learn how to make a module. >> You are breaking holes in the wall to get through because you are not >> seeing the door. >> >> I really think you should understand how the xml hooks or dialplan >> modules work and how to actually scale things in FreeSWITCH. >> >> Join IRC and call the weekly call and maybe study the wiki. >> >> >> >> >> >> >> >> On Thu, Oct 25, 2012 at 7:04 PM, Yiftach Golan wrote: >> >>> OK I loaded the code to : >>> http://jira.freeswitch.org/browse/FS-4766 >>> I have to say that this version is much less tested than the one we had >>> for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement >>> >>> I have a different question on the same issue : >>> Even with this fix it is very hard to put huge XMLs, the memory >>> consumption is going crazy >>> Did you think about adding MySQL support ? >>> I thought on adding something like : >>> >>> This will allow us to still use the flexibility of the XMLs and the >>> scalability of a database >>> Do you know if someone did already? >>> >>> Thanks, >>> Yiftach. >>> >>> >>> >>> On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> Can you git diff it and post it to JIRA so we can have some people look >>>> at it and test? >>>> >>>> >>>> On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: >>>> >>>>> It may be a bit problematic since I will need 3 hooks : >>>>> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >>>>> 2. *preprocess :* indexing the file names (adding a note before and >>>>> after each file ) >>>>> 3. *switch_xml_parse_file :* use my reload instead the regular one >>>>> for creating the big xml and then I just let the function continue as usual >>>>> through the "__switch_xml_open_root" function >>>>> I am reloading the file to the memory and then let the regular >>>>> "switch_xml.c" do its work, so using the existing functions in >>>>> "switch_xml.c" will not do the work >>>>> However, we do not have to add it I just thought it would be good >>>>> improvement for FreeSWITCH as it was very helpful for us >>>>> >>>>> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >>>>> anthony.minessale at gmail.com> wrote: >>>>> >>>>>> I thought you were going to move it to be a module? >>>>>> >>>>>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>>>>> >>>>>>> I merged my code to the HEAD here are the results (I yet checked in >>>>>>> the code) : >>>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>>>>> +OK [Success] >>>>>>> real *0m24.424s* >>>>>>> user 0m0.000s >>>>>>> sys 0m0.020s >>>>>>> >>>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>>>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>>>>> +OK [Success] >>>>>>> real *0m0.315s* >>>>>>> user 0m0.000s >>>>>>> sys 0m0.010s >>>>>>> >>>>>>> Looks like there is major improvement in the loading time >>>>>>> How does it work, I just need to check in my code to the git? with >>>>>>> my subscribe user? >>>>>>> Thanks, >>>>>>> Yiftach. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan wrote: >>>>>>> >>>>>>>> OK I will do so >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>> >>>>>>>>> Also, if you design it cleanly and generic enough you can check >>>>>>>>> the module itself into HEAD and maintain it yourself and others can choose >>>>>>>>> to use it. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan < >>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>> >>>>>>>>>> Yes I agree, I can solve it this way for me, if anyone else in >>>>>>>>>> the community is looking for a very fast way of loading a specific file >>>>>>>>>> from the "reloadxml" command I can update it to the HEAD >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> The man xml registry is already reloaded using the method >>>>>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>>>>> it even when a new one has been loaded into place. >>>>>>>>>>> >>>>>>>>>>> I think if you pursue the custom C module with the XML hook, >>>>>>>>>>> that you can put your same logic into a module and not bother the core as >>>>>>>>>>> any access to the core xml will be redirected to your module callback where >>>>>>>>>>> you can do whatever you want and not disturb the core of FS unless you have >>>>>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan < >>>>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> You may be able to develop it as well but it will not solve our >>>>>>>>>>>> problem of pushing configuration fast >>>>>>>>>>>> We have a front end that pushes the configuration changes and >>>>>>>>>>>> it needs to be fast, so even if we change it in the background it will be >>>>>>>>>>>> slow >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt >>>>>>>>>>> > wrote: >>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose >>>>>>>>>>>>> the xml config memory section is locked while the files are proccessed so >>>>>>>>>>>>> other modules are waiting for it. Instead of loading just one file you >>>>>>>>>>>>> could continue to load all the files into somekind of a new temporary >>>>>>>>>>>>> config section without locking the main. Once the files are loaded and >>>>>>>>>>>>> processed the temporary and main section could be swapped or the temporary >>>>>>>>>>>>> is used and the other is deleted from memory. No idea how many time this >>>>>>>>>>>>> could take to implement. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>>>>> >>>>>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a >>>>>>>>>>>>> hosted PBX solution company >>>>>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added >>>>>>>>>>>>> a lot of code changes to the core and to the different modules >>>>>>>>>>>>> Lately we have made a decision to get more close to the >>>>>>>>>>>>> community so that we can enjoy the bug fixes and the new feature from the >>>>>>>>>>>>> community and we can contribute our knowledge and bug fixes >>>>>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>>>>> We are using dialplan xmls in order to load the configuration, >>>>>>>>>>>>> we have a lot of users on each freeswitch (+4k), it took a very long time >>>>>>>>>>>>> for the configuration to load (around 5 minutes) during this time no new >>>>>>>>>>>>> calls could be served by FreeSWITCH >>>>>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>>>>> The problem is that we had to introduce a lot of code in order >>>>>>>>>>>>> to solve this problem, has anyone else encounter this problem? we do not >>>>>>>>>>>>> want to use mod_xml_curl as we want to take care bringing the file to the >>>>>>>>>>>>> machine >>>>>>>>>>>>> Another approach that we thought is that a database might be >>>>>>>>>>>>> much better fit in here, because every xml update includes the entire >>>>>>>>>>>>> tenant (business) and has the potential in harming other users in the same >>>>>>>>>>>>> tenant, also DB has much higher capacities then XMLs, did anyone think of >>>>>>>>>>>>> enabling MySQL as a directory of parameters instead of xml? >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> Yiftach. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Anthony Minessale II >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>>>> >>>>>>>>>>> AIM: anthm >>>>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>>>> pstn:+19193869900 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Anthony Minessale II >>>>>>>>> >>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>> >>>>>>>>> AIM: anthm >>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>> >>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>> pstn:+19193869900 >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at freeswitch.org >>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Anthony Minessale II >>>>>> >>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>> ClueCon http://www.cluecon.com/ >>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>> >>>>>> AIM: anthm >>>>>> MSN:anthony_minessale at hotmail.com >>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>> IRC: irc.freenode.net #freeswitch >>>>>> >>>>>> FreeSWITCH Developer Conference >>>>>> sip:888 at conference.freeswitch.org >>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>> pstn:+19193869900 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at freeswitch.org >>>>>> http://www.freeswitchsolutions.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://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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II >>>> >>>> FreeSWITCH http://www.freeswitch.org/ >>>> ClueCon http://www.cluecon.com/ >>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>> >>>> AIM: anthm >>>> MSN:anthony_minessale at hotmail.com >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>> IRC: irc.freenode.net #freeswitch >>>> >>>> FreeSWITCH Developer Conference >>>> sip:888 at conference.freeswitch.org >>>> googletalk:conf+888 at conference.freeswitch.org >>>> pstn:+19193869900 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/32c67914/attachment-0001.html From luis.daniel.lucio at gmail.com Fri Oct 26 22:03:14 2012 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Fri, 26 Oct 2012 13:03:14 -0500 Subject: [Freeswitch-users] SNMP module Message-ID: 2012-10-26 13:58:42.252891 [CRIT] switch_loadable_module.c:1310 Error Loading module /usr/local/freeswitch/mod/mod_snmp.so **/usr/lib64/libnssutil3.so: undefined symbol: PR_GetDirectorySeparator** under Centos5.8, Freeswitch 1.2.3, and compilled with source. Any comment? From trel.nadal at gmail.com Fri Oct 26 22:04:15 2012 From: trel.nadal at gmail.com (Trel) Date: Fri, 26 Oct 2012 11:04:15 -0700 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: <1351262966404-7584009.post@n2.nabble.com> References: <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> <1351054522812-7583938.post@n2.nabble.com> <1351262966404-7584009.post@n2.nabble.com> Message-ID: I had been using value="host:hostnameformynetwork.com" for both, our freeswitch box is on a public IP, but only semi-static. On Fri, Oct 26, 2012 at 7:49 AM, PhilQ wrote: > Perhaps GV previously allowed you to send them an FQDN and did the lookup for > you but now they don't? > > > > -- > View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7584009.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://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 From mitch.capper at gmail.com Fri Oct 26 22:48:44 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Fri, 26 Oct 2012 11:48:44 -0700 Subject: [Freeswitch-users] anyone using t38faxing.com through ezcall? Message-ID: I am curious if anyone actually uses t38faxing.com and their experience? I have used them as a backup but they seem to have multi day outages (current one is around two weeks now) periodically with little level of caring. I can't believe this is the actual service they provide but they claim the issues are with an upstream carrier so I would assume affecting all customers. ~Mitch From yiftah at choochee.com Fri Oct 26 22:57:08 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Fri, 26 Oct 2012 11:57:08 -0700 Subject: [Freeswitch-users] ReloadXML takes very long time In-Reply-To: References: <5087063D.7080900@elder.hu> Message-ID: OK it does make sense and I do like this direction, and in general I do think that FreeSWITCH is a great product otherwise we would not keep using it I can probably take "mod_dialplan_xml" and make a copy for it "mod_dialplan_db" and then treat all the needed requests as db requests In general for cloud based solutions I think the XMLs are great for the overall templates but the dynamic changes can probably come from the database I do understand that everyone wants to take to his own market, our market in general involves many small businesses (1 to 10) that requires a simple pbx services Since we are funded by one of the largest telco in the world we are working with top of the class solutions such as ACME packet One of the basic requirement that we get is to have a stateless pbx but the amount of tenants that we have is huge, this is where the XML and SQLite is causing us some problems In general it looks like no one really clustered many FreeSWITCHs together (above 100 servers) that holds the same configuration I think adding the ability to cluster many FreeSWITCHs together in a stateless mode will give a very good competitive edge on top of Asterisk As it seems Asterisk does not have a very good solution for it as well I will try to join to the next conference to meet you guys a bit more Thanks, Yiftach. On Fri, Oct 26, 2012 at 10:59 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > That is why I keep mentioning the XML hooks. This is exactly what it's > for. When you have an xml hook every single request to the xml document > can be hooked into and your custom callback function is called with every > search param allowing you to dynamically find the right xml and return it > on-the-fly. This way you don't need to manage a giant root of XML for user > data. > > Try looking at it from further back. You can even make an xml hook module > that uses a database directly and builds binary xml structures and returns > them without them ever having to exist as text. With combinations of the > C interfaces like dialplan app, dialplan module, xml_hooks and the like you > can scale to any size. > > Anyway, I do understand the point of the xml patch, I am very concerned > about the stability of the xml parser with that patch you made applied. > The entire design of FreeSWITCH is based around allowing you to extend it > through modules and hooks. If you can find a hook that is missing that is > a much more compelling case than modifying the core for multi-home > configurations which is not a primary purpose of the software. > > I don't know if you even care about my advice but I assume since you came > here asking for it that you want me to continue to help you understand the > right direction to take. > > > > On Fri, Oct 26, 2012 at 12:23 AM, Yiftach Golan wrote: > >> Yes it is kind specific to our needs, which is very fast loading of >> specific XML in big environments >> We have some experience with FreeSWITCH modules, we wrote the Voicemail >> module from scratch after the existing one did not fit our need >> I think on the FreeSWITCH clustering we were really struggling and this >> is were the scaling became very challenging for us >> Do you have any good document or reference on good practice to cluster >> FreeSWITCH, specifically cluster of FreeSWITCHes that can hold tenth of >> thousands of users in a single cluster? >> >> On Thu, Oct 25, 2012 at 7:05 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> I appreciate your patch but it looks very specific to your needs. >>> >>> I think you should stop and join the community and learn the philosophy >>> behind how things work and learn how to make a module. >>> You are breaking holes in the wall to get through because you are not >>> seeing the door. >>> >>> I really think you should understand how the xml hooks or dialplan >>> modules work and how to actually scale things in FreeSWITCH. >>> >>> Join IRC and call the weekly call and maybe study the wiki. >>> >>> >>> >>> >>> >>> >>> >>> On Thu, Oct 25, 2012 at 7:04 PM, Yiftach Golan wrote: >>> >>>> OK I loaded the code to : >>>> http://jira.freeswitch.org/browse/FS-4766 >>>> I have to say that this version is much less tested than the one we had >>>> for FreeSWITCH1.0.7 but hopefully we can still gain from this improvement >>>> >>>> I have a different question on the same issue : >>>> Even with this fix it is very hard to put huge XMLs, the memory >>>> consumption is going crazy >>>> Did you think about adding MySQL support ? >>>> I thought on adding something like : >>>> >>>> This will allow us to still use the flexibility of the XMLs and the >>>> scalability of a database >>>> Do you know if someone did already? >>>> >>>> Thanks, >>>> Yiftach. >>>> >>>> >>>> >>>> On Thu, Oct 25, 2012 at 3:19 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> Can you git diff it and post it to JIRA so we can have some people >>>>> look at it and test? >>>>> >>>>> >>>>> On Thu, Oct 25, 2012 at 5:11 PM, Yiftach Golan wrote: >>>>> >>>>>> It may be a bit problematic since I will need 3 hooks : >>>>>> 1. *switch_xml_parse_fd :* Create the initial pre allocated buffer >>>>>> 2. *preprocess :* indexing the file names (adding a note before and >>>>>> after each file ) >>>>>> 3. *switch_xml_parse_file :* use my reload instead the regular one >>>>>> for creating the big xml and then I just let the function continue as usual >>>>>> through the "__switch_xml_open_root" function >>>>>> I am reloading the file to the memory and then let the regular >>>>>> "switch_xml.c" do its work, so using the existing functions in >>>>>> "switch_xml.c" will not do the work >>>>>> However, we do not have to add it I just thought it would be good >>>>>> improvement for FreeSWITCH as it was very helpful for us >>>>>> >>>>>> On Thu, Oct 25, 2012 at 2:58 PM, Anthony Minessale < >>>>>> anthony.minessale at gmail.com> wrote: >>>>>> >>>>>>> I thought you were going to move it to be a module? >>>>>>> >>>>>>> On Thu, Oct 25, 2012 at 4:50 PM, Yiftach Golan wrote: >>>>>>> >>>>>>>> I merged my code to the HEAD here are the results (I yet checked in >>>>>>>> the code) : >>>>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml" >>>>>>>> +OK [Success] >>>>>>>> real *0m24.424s* >>>>>>>> user 0m0.000s >>>>>>>> sys 0m0.020s >>>>>>>> >>>>>>>> # time /opt/freeswitch/bin/fs_cli -x "reloadxml >>>>>>>> /repository/generated_configs/tenant_dialplan/156792923823_tenant_dialplan.xml" >>>>>>>> +OK [Success] >>>>>>>> real *0m0.315s* >>>>>>>> user 0m0.000s >>>>>>>> sys 0m0.010s >>>>>>>> >>>>>>>> Looks like there is major improvement in the loading time >>>>>>>> How does it work, I just need to check in my code to the git? with >>>>>>>> my subscribe user? >>>>>>>> Thanks, >>>>>>>> Yiftach. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Oct 23, 2012 at 5:42 PM, Yiftach Golan >>>>>>> > wrote: >>>>>>>> >>>>>>>>> OK I will do so >>>>>>>>> >>>>>>>>> On Tue, Oct 23, 2012 at 5:41 PM, Anthony Minessale < >>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Also, if you design it cleanly and generic enough you can check >>>>>>>>>> the module itself into HEAD and maintain it yourself and others can choose >>>>>>>>>> to use it. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Oct 23, 2012 at 5:54 PM, Yiftach Golan < >>>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>>> >>>>>>>>>>> Yes I agree, I can solve it this way for me, if anyone else in >>>>>>>>>>> the community is looking for a very fast way of loading a specific file >>>>>>>>>>> from the "reloadxml" command I can update it to the HEAD >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Oct 23, 2012 at 3:49 PM, Anthony Minessale < >>>>>>>>>>> anthony.minessale at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> The man xml registry is already reloaded using the method >>>>>>>>>>>> described. In fact the xml root has reference counting and everyone who >>>>>>>>>>>> was on the old one will be able to hold on to that root until they release >>>>>>>>>>>> it even when a new one has been loaded into place. >>>>>>>>>>>> >>>>>>>>>>>> I think if you pursue the custom C module with the XML hook, >>>>>>>>>>>> that you can put your same logic into a module and not bother the core as >>>>>>>>>>>> any access to the core xml will be redirected to your module callback where >>>>>>>>>>>> you can do whatever you want and not disturb the core of FS unless you have >>>>>>>>>>>> some kind of functionality that is useful to everyone in general. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Oct 23, 2012 at 4:32 PM, Yiftach Golan < >>>>>>>>>>>> yiftah at choochee.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> You may be able to develop it as well but it will not solve >>>>>>>>>>>>> our problem of pushing configuration fast >>>>>>>>>>>>> We have a front end that pushes the configuration changes and >>>>>>>>>>>>> it needs to be fast, so even if we change it in the background it will be >>>>>>>>>>>>> slow >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Oct 23, 2012 at 2:03 PM, Pusk?s Zsolt < >>>>>>>>>>>>> errotan at elder.hu> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm not an expert ( correct me if I'm wrong ) but I suppose >>>>>>>>>>>>>> the xml config memory section is locked while the files are proccessed so >>>>>>>>>>>>>> other modules are waiting for it. Instead of loading just one file you >>>>>>>>>>>>>> could continue to load all the files into somekind of a new temporary >>>>>>>>>>>>>> config section without locking the main. Once the files are loaded and >>>>>>>>>>>>>> processed the temporary and main section could be swapped or the temporary >>>>>>>>>>>>>> is used and the other is deleted from memory. No idea how many time this >>>>>>>>>>>>>> could take to implement. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2012-10-23 02:56 keltez?ssel, Yiftach Golan ?rta: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi FreeSWITCH community, >>>>>>>>>>>>>> My name is Yiftah and I am working for ChooChee which is a >>>>>>>>>>>>>> hosted PBX solution company >>>>>>>>>>>>>> We have been using FreeSWITCH for almost 2 years and we added >>>>>>>>>>>>>> a lot of code changes to the core and to the different modules >>>>>>>>>>>>>> Lately we have made a decision to get more close to the >>>>>>>>>>>>>> community so that we can enjoy the bug fixes and the new feature from the >>>>>>>>>>>>>> community and we can contribute our knowledge and bug fixes >>>>>>>>>>>>>> I would please like to start with a very basic question : >>>>>>>>>>>>>> We are using dialplan xmls in order to load the >>>>>>>>>>>>>> configuration, we have a lot of users on each freeswitch (+4k), it took a >>>>>>>>>>>>>> very long time for the configuration to load (around 5 minutes) during this >>>>>>>>>>>>>> time no new calls could be served by FreeSWITCH >>>>>>>>>>>>>> In order to solve this problem we introduce reload xml that >>>>>>>>>>>>>> accepts file names and has the ability to load just one file name into the >>>>>>>>>>>>>> memory (we achieved 10ms loading time instead of 5 minutes) >>>>>>>>>>>>>> The problem is that we had to introduce a lot of code in >>>>>>>>>>>>>> order to solve this problem, has anyone else encounter this problem? we do >>>>>>>>>>>>>> not want to use mod_xml_curl as we want to take care bringing the file to >>>>>>>>>>>>>> the machine >>>>>>>>>>>>>> Another approach that we thought is that a database might be >>>>>>>>>>>>>> much better fit in here, because every xml update includes the entire >>>>>>>>>>>>>> tenant (business) and has the potential in harming other users in the same >>>>>>>>>>>>>> tenant, also DB has much higher capacities then XMLs, did anyone think of >>>>>>>>>>>>>> enabling MySQL as a directory of parameters instead of xml? >>>>>>>>>>>>>> Thanks, >>>>>>>>>>>>>> Yiftach. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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://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 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Anthony Minessale II >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>>>>> >>>>>>>>>>>> AIM: anthm >>>>>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>>>>> pstn:+19193869900 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at freeswitch.org >>>>>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Anthony Minessale II >>>>>>>>>> >>>>>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>>>>> ClueCon http://www.cluecon.com/ >>>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>>>>> >>>>>>>>>> AIM: anthm >>>>>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>>>>> >>>>>>>>>> FreeSWITCH Developer Conference >>>>>>>>>> sip:888 at conference.freeswitch.org >>>>>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>>>>> pstn:+19193869900 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at freeswitch.org >>>>>>>>>> http://www.freeswitchsolutions.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://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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Anthony Minessale II >>>>>>> >>>>>>> FreeSWITCH http://www.freeswitch.org/ >>>>>>> ClueCon http://www.cluecon.com/ >>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>>>> >>>>>>> AIM: anthm >>>>>>> MSN:anthony_minessale at hotmail.com >>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>>>> IRC: irc.freenode.net #freeswitch >>>>>>> >>>>>>> FreeSWITCH Developer Conference >>>>>>> sip:888 at conference.freeswitch.org >>>>>>> googletalk:conf+888 at conference.freeswitch.org >>>>>>> pstn:+19193869900 >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.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://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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II >>>>> >>>>> FreeSWITCH http://www.freeswitch.org/ >>>>> ClueCon http://www.cluecon.com/ >>>>> Twitter: http://twitter.com/FreeSWITCH_wire >>>>> >>>>> AIM: anthm >>>>> MSN:anthony_minessale at hotmail.com >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>>>> IRC: irc.freenode.net #freeswitch >>>>> >>>>> FreeSWITCH Developer Conference >>>>> sip:888 at conference.freeswitch.org >>>>> googletalk:conf+888 at conference.freeswitch.org >>>>> pstn:+19193869900 >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Anthony Minessale II >>> >>> FreeSWITCH http://www.freeswitch.org/ >>> ClueCon http://www.cluecon.com/ >>> Twitter: http://twitter.com/FreeSWITCH_wire >>> >>> AIM: anthm >>> MSN:anthony_minessale at hotmail.com >>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >>> IRC: irc.freenode.net #freeswitch >>> >>> FreeSWITCH Developer Conference >>> sip:888 at conference.freeswitch.org >>> googletalk:conf+888 at conference.freeswitch.org >>> pstn:+19193869900 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121026/14221df3/attachment-0001.html From msc at freeswitch.org Fri Oct 26 23:28:48 2012 From: msc at freeswitch.org (Michael Collins) Date: Fri, 26 Oct 2012 12:28:48 -0700 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch In-Reply-To: References: Message-ID: This is essentially a matter of creating configuration files and putting them on a TFTP/FTP/HTTP server, depending on what you want to do. Polycom's have crazy config files, and the configs have changed between 3.x and 4.x firmware. If you're not familiar with shell scripting, XML file parsing, etc. then you really need to start there and build your way up. If you have a working Polycom config then you can turn that into a template, putting placeholders in various fields, and then you could write a script that would parse your user directory and generate config files for each user. Of course, then you'll need to deal with questions like: which mac address belongs to which user and are all users on the same model and firmware. It's a bigger undertaking than you might imagine. :) -MC P.S. - If you REALLY want to get into phone provisioning then you might want to check out provisioner.net. On Fri, Oct 26, 2012 at 10:19 AM, Jason Holden wrote: > Yes, that does not answer my questions though.**** > > I want to auto provision config files based on specific extensions that > have already been created in Freeswitch automaticly.**** > > ** ** > ------------------------------ > > *From:* Yehavi Bourvine [mailto:yehavi.bourvine at gmail.com] > *Sent:* Friday, October 26, 2012 11:42 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Polycom auto provisioning freeswitch**** > > ** ** > > Have you looked in http://wiki.freeswitch.org/wiki/Polycom_configuration ? > **** > > **** > > Regards, __Yehavi:**** > > 2012/10/26 Jason Holden **** > > Does anyone have a tutorial in how to setup Polycom endpoint auto > provisioning in Freeswitch?**** > > **** > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/ca278a38/attachment.html From anthony.minessale at gmail.com Fri Oct 26 23:29:53 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 26 Oct 2012 14:29:53 -0500 Subject: [Freeswitch-users] Problems with GV/mod_dingaling on latest stable version? In-Reply-To: References: <1350996656322-7583878.post@n2.nabble.com> <01c701cdb142$210954f0$631bfed0$@com> <1351018481517-7583903.post@n2.nabble.com> <1351054522812-7583938.post@n2.nabble.com> <1351262966404-7584009.post@n2.nabble.com> Message-ID: I updated mod_dingaling to translate the name into IP. So you can try the host:foo thing again. On Fri, Oct 26, 2012 at 1:04 PM, Trel wrote: > I had been using value="host:hostnameformynetwork.com" for both, our > freeswitch box is on a public IP, but only semi-static. > > On Fri, Oct 26, 2012 at 7:49 AM, PhilQ > wrote: > > Perhaps GV previously allowed you to send them an FQDN and did the > lookup for > > you but now they don't? > > > > > > > > -- > > View this message in context: > http://freeswitch-users.2379917.n2.nabble.com/Problems-with-GV-mod-dingaling-on-latest-stable-version-tp7583499p7584009.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://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://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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/0c8c6b8b/attachment.html From gabe at gundy.org Sat Oct 27 00:21:20 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Fri, 26 Oct 2012 14:21:20 -0600 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch In-Reply-To: References: Message-ID: On Fri, Oct 26, 2012 at 8:49 AM, Jason Holden wrote: > Does anyone have a tutorial in how to setup Polycom endpoint auto > provisioning in Freeswitch? Strictly speaking, it's outside the scope of FreeSWITCH. Endpoint provisioning would be part of larger solution that would very likely use FreeSWITCH as it's core telephony switch. Best, Gabe From anthony.minessale at gmail.com Sat Oct 27 02:28:21 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 26 Oct 2012 17:28:21 -0500 Subject: [Freeswitch-users] SQLITE ALT In-Reply-To: References: <-8978589123643184313@unknownmsgid> Message-ID: We try not to talk about performance because its misleading. It all depends on your platform , the hardware and the configuration you choose. On Fri, Oct 26, 2012 at 12:35 PM, Yiftach Golan wrote: > Hi Scott, > I can tell you that for us the sqlite3 was really bottleneck as well and > in several times it just corrupted and we had to restart FreeSWITCH > However, it looks like everyone today is working with MySQL, for us MySQL > is a much better choice because we are in a cloud environment and not in > embedded environment > A choice of the DB to use might be good > > Thanks, > Yiftach. > > > On Thu, Oct 25, 2012 at 5:27 PM, S. Scott <8f27e956 at gmail.com> wrote: > >> Read somewhere about sqlite3 becoming a bottleneck point. This bottle >> necking, combined with the XML issues under discussion, I might >> suggest some investigation be given to DB2 EXPRESS-C (free community >> edition). >> >> DB2 is oft overlooked, but it is mature and capital-F FULL featured. >> It also supports trueXML, which allows native XML storage and >> retrieval via SQL language -- a nice fs get a long thing. >> >> it might be a great fit for high-end fs implementations. Left to >> default settings, it can be grabby of the machines resources -- cores >> and ram. Default likely too selfish for fs+db2 same-machine >> coexistence, but this is highly and easily tunable. >> >> In the small foot print (embedded) SQL engine space -- we love "mimer" >> >> Cheers, >> /S >> >> >> >> ????? >> iThing: Big thumbs & little keys. Please excuse typo, spelling and >> grammar errors ? Good planets are hard to find ? think before you >> print ? My desire to be well-informed is currently at odds with my >> desire to remain sane. ? Last night I played a blank CD at full blast. >> The Mime next door went nuts. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/ac87fbe9/attachment-0001.html From yiftah at choochee.com Sat Oct 27 03:06:40 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Fri, 26 Oct 2012 16:06:40 -0700 Subject: [Freeswitch-users] SQLITE ALT In-Reply-To: References: <-8978589123643184313@unknownmsgid> Message-ID: Here is a nice comparison : http://zenadmin.org/en/blog/post720.html On Fri, Oct 26, 2012 at 3:28 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > We try not to talk about performance because its misleading. > It all depends on your platform , the hardware and the configuration you > choose. > > > > On Fri, Oct 26, 2012 at 12:35 PM, Yiftach Golan wrote: > >> Hi Scott, >> I can tell you that for us the sqlite3 was really bottleneck as well and >> in several times it just corrupted and we had to restart FreeSWITCH >> However, it looks like everyone today is working with MySQL, for us MySQL >> is a much better choice because we are in a cloud environment and not in >> embedded environment >> A choice of the DB to use might be good >> >> Thanks, >> Yiftach. >> >> >> On Thu, Oct 25, 2012 at 5:27 PM, S. Scott <8f27e956 at gmail.com> wrote: >> >>> Read somewhere about sqlite3 becoming a bottleneck point. This bottle >>> necking, combined with the XML issues under discussion, I might >>> suggest some investigation be given to DB2 EXPRESS-C (free community >>> edition). >>> >>> DB2 is oft overlooked, but it is mature and capital-F FULL featured. >>> It also supports trueXML, which allows native XML storage and >>> retrieval via SQL language -- a nice fs get a long thing. >>> >>> it might be a great fit for high-end fs implementations. Left to >>> default settings, it can be grabby of the machines resources -- cores >>> and ram. Default likely too selfish for fs+db2 same-machine >>> coexistence, but this is highly and easily tunable. >>> >>> In the small foot print (embedded) SQL engine space -- we love "mimer" >>> >>> Cheers, >>> /S >>> >>> >>> >>> ????? >>> iThing: Big thumbs & little keys. Please excuse typo, spelling and >>> grammar errors ? Good planets are hard to find ? think before you >>> print ? My desire to be well-informed is currently at odds with my >>> desire to remain sane. ? Last night I played a blank CD at full blast. >>> The Mime next door went nuts. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121026/a36410c2/attachment.html From brian at freeswitch.org Sat Oct 27 03:37:27 2012 From: brian at freeswitch.org (Brian West) Date: Fri, 26 Oct 2012 18:37:27 -0500 Subject: [Freeswitch-users] SQLITE ALT In-Reply-To: References: <-8978589123643184313@unknownmsgid> Message-ID: Around the time that was written a fairly nasty bug related to performance of SQLite and some linux kernel versions. I can't for the life of me find that story... I would get in and test drive it yourself before proclaiming one thing is better than the other. Wish I could find that link... it was rather in depth. On Oct 26, 2012, at 6:06 PM, Yiftach Golan wrote: > Here is a nice comparison : > http://zenadmin.org/en/blog/post720.html -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/696e70a8/attachment.html From brian at freeswitch.org Sat Oct 27 03:38:02 2012 From: brian at freeswitch.org (Brian West) Date: Fri, 26 Oct 2012 18:38:02 -0500 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch In-Reply-To: References: Message-ID: <797BCC32-463F-4E0C-B715-94A84B8494B6@freeswitch.org> +1 for this... On Oct 26, 2012, at 3:21 PM, Gabriel Gunderson wrote: > Strictly speaking, it's outside the scope of FreeSWITCH. Endpoint > provisioning would be part of larger solution that would very likely > use FreeSWITCH as it's core telephony switch. > > > Best, > Gabe -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire http://freeswitchcookbook.com http://freeswitchbook.com T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST iNUM: +883 5100 1286 0410 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/2bdde16a/attachment-0001.html From luis.daniel.lucio at gmail.com Sat Oct 27 05:26:49 2012 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Fri, 26 Oct 2012 20:26:49 -0500 Subject: [Freeswitch-users] SNMP module In-Reply-To: References: Message-ID: strange thing is tat usign Centos63 with FS 1.2.3, same source works perfectly. Could be NSS lib? 2012/10/26 Luis Daniel Lucio Quiroz : > 2012-10-26 13:58:42.252891 [CRIT] switch_loadable_module.c:1310 Error > Loading module /usr/local/freeswitch/mod/mod_snmp.so > **/usr/lib64/libnssutil3.so: undefined symbol: PR_GetDirectorySeparator** > > under Centos5.8, Freeswitch 1.2.3, and compilled with source. Any comment? From 8f27e956 at gmail.com Sat Oct 27 07:49:24 2012 From: 8f27e956 at gmail.com (Scott) Date: Fri, 26 Oct 2012 23:49:24 -0400 Subject: [Freeswitch-users] freeswitch + luasql Message-ID: We have download and make && make install luasql, where 'config' uncommented for ODBC per the wiki (not for sqlite3). Is ODBC correct for lua+sqlite3 use? If so, what is the correct /etc/odbc.ini file entries for ODBC driver access to sqlite3? All the wiki examples we can find are mysql-specific examples. (Kind of surprised fs lua isn't lua+luasql+sqlite3 ready) Thanks, /S -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121026/fe207eb9/attachment.html From woodydickson at gmail.com Sat Oct 27 08:17:49 2012 From: woodydickson at gmail.com (Woody Dickson) Date: Sat, 27 Oct 2012 12:17:49 +0800 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer Message-ID: Hello I have a client who is looking for open source high cps auto dialer. Can freeswitch be used for that and if so, how? Thank you for any recommendation. -- Woody Dickson woodydickson at gmail.com US and International Dialer Termination ============ Contact me for the following offering Dialer Termination and LRN Dipping Services ============ China/AUS/CAN/UK Dialer Deck - Plenty of Capacity, Direct Route, No FAS, Unlimited Capacity US Dialer DNIS Dialer Deck - Oversea Tier 1 Quality, Unlimited Capacity US Dialer LRN Dialer Deck - Best Rates - 60K codes < 0.005, 123K codes < 0.009, 151K codes < 0.012 US Premium LRN Dialer Deck - Unlimited Capacity - 30K codes < 0.005, 72K codes < 0.009, 114K codes < 0.012 US LRN Dipping starting from 0.00006 to 0.00003 with FLAT Rate Option Available -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121027/000291bf/attachment.html From gabe at gundy.org Sat Oct 27 09:19:50 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Fri, 26 Oct 2012 23:19:50 -0600 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: References: Message-ID: On Fri, Oct 26, 2012 at 10:17 PM, Woody Dickson wrote: > Thank you for any recommendation. I recommend you remove the obnoxious footer when engaging the community. You might think I'm just being up tight, but I know that I ignore emails that seem spammy. This is a place where we come to help help others, not to be subjected to in-your-face advertisements. Now, to answer your question... Yes, FreeSWITCH can be used as a "high cps auto dialer", but that's not what it is out-of-the-box. Your client will have to pay someone to build the thing that tells FreeSWITCH *when* and *how* many calls to make. That tends to take some work and often costs more than people looking for open source solutions first think (or hope). Good luck, Gabe From chad at apartmentlines.com Sat Oct 27 10:49:01 2012 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 26 Oct 2012 23:49:01 -0700 Subject: [Freeswitch-users] freeswitch + luasql In-Reply-To: References: Message-ID: Use a modern version of FreeSWITCH, and: http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh hunmonk On Friday, October 26, 2012 at 8:49 PM, Scott wrote: > We have download and make && make install luasql, where 'config' uncommented for ODBC per the wiki (not for sqlite3). > > Is ODBC correct for lua+sqlite3 use? If so, what is the correct /etc/odbc.ini file entries for ODBC driver access to sqlite3? > > All the wiki examples we can find are mysql-specific examples. > > (Kind of surprised fs lua isn't lua+luasql+sqlite3 ready) > > Thanks, > /S > _________________________________________________________________________ > 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://wiki.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/20121026/169df2dc/attachment.html From andrew at cassidywebservices.co.uk Sat Oct 27 15:32:03 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Sat, 27 Oct 2012 12:32:03 +0100 Subject: [Freeswitch-users] Polycom auto provisioning freeswitch In-Reply-To: References: Message-ID: +1 On 26 October 2012 21:21, Gabriel Gunderson wrote: > On Fri, Oct 26, 2012 at 8:49 AM, Jason Holden > wrote: > > Does anyone have a tutorial in how to setup Polycom endpoint auto > > provisioning in Freeswitch? > > Strictly speaking, it's outside the scope of FreeSWITCH. Endpoint > provisioning would be part of larger solution that would very likely > use FreeSWITCH as it's core telephony switch. > > > Best, > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- *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/20121027/128ce416/attachment.html From andrew at cassidywebservices.co.uk Sat Oct 27 15:34:32 2012 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Sat, 27 Oct 2012 12:34:32 +0100 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: References: Message-ID: I would recommend to just remove the footer full stop. Nothing more irritating or unprofessional than an oversized footer. On 27 October 2012 06:19, Gabriel Gunderson wrote: > On Fri, Oct 26, 2012 at 10:17 PM, Woody Dickson > wrote: > > Thank you for any recommendation. > > I recommend you remove the obnoxious footer when engaging the > community. You might think I'm just being up tight, but I know that I > ignore emails that seem spammy. This is a place where we come to help > help others, not to be subjected to in-your-face advertisements. > > Now, to answer your question... Yes, FreeSWITCH can be used as a "high > cps auto dialer", but that's not what it is out-of-the-box. Your > client will have to pay someone to build the thing that tells > FreeSWITCH *when* and *how* many calls to make. That tends to take > some work and often costs more than people looking for open source > solutions first think (or hope). > > > Good luck, > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- *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/20121027/bed24a61/attachment-0001.html From avi at avimarcus.net Sat Oct 27 20:02:23 2012 From: avi at avimarcus.net (Avi Marcus) Date: Sat, 27 Oct 2012 18:02:23 +0200 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: References: Message-ID: http://www.newfies-dialer.org/ is built on FS, it sounds like what you're you're looking for. -Avi Marcus BestFone On Sat, Oct 27, 2012 at 6:17 AM, Woody Dickson wrote: > Hello > > I have a client who is looking for open source high cps auto dialer. Can > freeswitch be used for that and if so, how? > > Thank you for any recommendation. > > -- > > Woody Dickson > > woodydickson at gmail.com > > US and International Dialer Termination > > > ============ Contact me for the following offering Dialer Termination and > LRN Dipping Services ============ > > China/AUS/CAN/UK Dialer Deck - Plenty of Capacity, Direct Route, No FAS, > Unlimited Capacity > > US Dialer DNIS Dialer Deck - Oversea Tier 1 Quality, Unlimited Capacity > > US Dialer LRN Dialer Deck - Best Rates - 60K codes < 0.005, 123K codes < > 0.009, 151K codes < 0.012 > > US Premium LRN Dialer Deck - Unlimited Capacity - 30K codes < 0.005, 72K > codes < 0.009, 114K codes < 0.012 > > US LRN Dipping starting from 0.00006 to 0.00003 with FLAT Rate Option > Available > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121027/1baf9c72/attachment.html From geddes.jeffrey at gmail.com Sat Oct 27 22:38:00 2012 From: geddes.jeffrey at gmail.com (Jeff Geddes) Date: Sat, 27 Oct 2012 15:38:00 -0300 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question Message-ID: this is not so much a question but rather I'd like to know if I'm on the right track with this. I want to use mod_xml_curl to call a SOAP web service and return a dialplan. Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires? thanks jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121027/6b201cc3/attachment.html From ben at langfeld.co.uk Sat Oct 27 23:30:52 2012 From: ben at langfeld.co.uk (Ben Langfeld) Date: Sat, 27 Oct 2012 12:30:52 -0700 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question In-Reply-To: References: Message-ID: Correct. On 27 October 2012 11:38, Jeff Geddes wrote: > this is not so much a question but rather I'd like to know if I'm on the > right track with this. > > I want to use mod_xml_curl to call a SOAP web service and return a > dialplan. > > Am I correct in saying that the SOAP response has to be re-formatted by > some other script/etc. on the web server before the response is sent back > to FS so it is in the correct XML dialplan format that FS requires? > > thanks > jeff > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121027/4bb7d230/attachment.html From juanito1982 at gmail.com Sat Oct 27 23:32:13 2012 From: juanito1982 at gmail.com (=?ISO-8859-1?Q?Juan_Antonio_Iba=F1ez_Santorum?=) Date: Sat, 27 Oct 2012 21:32:13 +0200 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question In-Reply-To: References: Message-ID: You are right. FS must receive a response formatted as XML FS format. Regards 2012/10/27 Jeff Geddes > this is not so much a question but rather I'd like to know if I'm on the > right track with this. > > I want to use mod_xml_curl to call a SOAP web service and return a > dialplan. > > Am I correct in saying that the SOAP response has to be re-formatted by > some other script/etc. on the web server before the response is sent back > to FS so it is in the correct XML dialplan format that FS requires? > > thanks > jeff > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121027/bd550018/attachment.html From yiftah at choochee.com Sat Oct 27 23:33:47 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Sat, 27 Oct 2012 12:33:47 -0700 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question In-Reply-To: References: Message-ID: It depends on what you want to do In general the mod_xml_curl sends a request to web server with many parameters and you need to reply to the request based on those parameters I did a very simple example in which I bind only the dialplan (by setting the autoload configs) and removed all the static xml files (well not all but just the one that contains information about the users) When the call came in the module requested the dialplan from my web server (LAMP) which replied just a static dialplan file It is a very simple example but it worked On Sat, Oct 27, 2012 at 11:38 AM, Jeff Geddes wrote: > this is not so much a question but rather I'd like to know if I'm on the > right track with this. > > I want to use mod_xml_curl to call a SOAP web service and return a > dialplan. > > Am I correct in saying that the SOAP response has to be re-formatted by > some other script/etc. on the web server before the response is sent back > to FS so it is in the correct XML dialplan format that FS requires? > > thanks > jeff > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121027/b1d911a6/attachment-0001.html From talk2ram at gmail.com Sun Oct 28 00:09:07 2012 From: talk2ram at gmail.com (ram) Date: Sun, 28 Oct 2012 01:39:07 +0530 Subject: [Freeswitch-users] Allow calls per day 250 Message-ID: Hi all I have seen above syntax in wiki if that command executed, how can i see in command line is that executed or not ? if its executed, how can reset in fs_cli 500/86400. tried googling and wiki, but did not find the answer. any advice will be grateful. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121028/b318329d/attachment.html From anthony.minessale at gmail.com Sun Oct 28 00:32:19 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sat, 27 Oct 2012 15:32:19 -0500 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: References: Message-ID: Eww AGPL..... On Sat, Oct 27, 2012 at 11:02 AM, Avi Marcus wrote: > http://www.newfies-dialer.org/ is built on FS, it sounds like what > you're you're looking for. > > -Avi Marcus > BestFone > > > On Sat, Oct 27, 2012 at 6:17 AM, Woody Dickson wrote: > >> Hello >> >> I have a client who is looking for open source high cps auto dialer. Can >> freeswitch be used for that and if so, how? >> >> Thank you for any recommendation. >> >> -- >> >> Woody Dickson >> >> woodydickson at gmail.com >> >> US and International Dialer Termination >> >> >> ============ Contact me for the following offering Dialer Termination and >> LRN Dipping Services ============ >> >> China/AUS/CAN/UK Dialer Deck - Plenty of Capacity, Direct Route, No FAS, >> Unlimited Capacity >> >> US Dialer DNIS Dialer Deck - Oversea Tier 1 Quality, Unlimited Capacity >> >> US Dialer LRN Dialer Deck - Best Rates - 60K codes < 0.005, 123K codes < >> 0.009, 151K codes < 0.012 >> >> US Premium LRN Dialer Deck - Unlimited Capacity - 30K codes < 0.005, 72K >> codes < 0.009, 114K codes < 0.012 >> >> US LRN Dipping starting from 0.00006 to 0.00003 with FLAT Rate Option >> Available >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121027/28ba921c/attachment.html From babak.freeswitch at gmail.com Sun Oct 28 02:21:22 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Sun, 28 Oct 2012 01:51:22 +0330 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: References: <5089962C.7000704@elder.hu> <19C08D44-B598-4C99-8BCA-3E5D1F19C369@freeswitch.org> Message-ID: Thanks. Finally I found the way I should send the restart request. I'm using sofia profile internal check_sync 223 at 192.168.1.3 But nothing happens. I captured packets sent from freeswitch to my Cisco Ip Communicator and attached them. it seems softphone is sending bad request. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121028/733ce004/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: cisco_reset.pcap Type: application/octet-stream Size: 1511 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121028/733ce004/attachment.obj From 8f27e956 at gmail.com Sun Oct 28 10:05:02 2012 From: 8f27e956 at gmail.com (Scott) Date: Sun, 28 Oct 2012 03:05:02 -0400 Subject: [Freeswitch-users] freeswitch + luasql In-Reply-To: References: Message-ID: Thanks Chad/hunmonk! That nailed it on the head perfectly. Cheers, /Scott On 27 October 2012 02:49, Chad Phillips wrote: > Use a modern version of FreeSWITCH, and: > > http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh > > hunmonk > > On Friday, October 26, 2012 at 8:49 PM, Scott wrote: > > We have download and make && make install luasql, where 'config' > uncommented for ODBC per the wiki (not for sqlite3). > > Is ODBC correct for lua+sqlite3 use? If so, what is the correct > /etc/odbc.ini file entries for ODBC driver access to sqlite3? > > All the wiki examples we can find are mysql-specific examples. > > (Kind of surprised fs lua isn't lua+luasql+sqlite3 ready) > > Thanks, > /S > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121028/dcb6ed49/attachment.html From tomasz.szuster at gmail.com Sun Oct 28 11:18:14 2012 From: tomasz.szuster at gmail.com (Tomasz Szuster) Date: Sun, 28 Oct 2012 09:18:14 +0100 Subject: [Freeswitch-users] Atcom AX-400P In-Reply-To: References: Message-ID: I've got openvox a400p and it is working like charm. Regards Tom. On Oct 17, 2012 10:03 AM, "Tomasz Szuster" wrote: > Thank you Curriegrad . > > On Wed, Oct 17, 2012 at 9:56 AM, curriegrad2004 wrote: > >> As long as this card uses the FreeTDM as the interfacing software, I >> don't think there would be any issues with this card. If this card is >> a digium clone, I think it should work just fine. >> >> On Wed, Oct 17, 2012 at 12:47 AM, Tomasz Szuster >> wrote: >> > Hello. >> > >> > I want to buy Atcom AX-400P. >> > Have any of you using this card ? >> > Any issues, problems with configuration or operation of the device ? >> > >> > -- >> > Regards >> > >> > Tomasz >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.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://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 >> > > > > -- > Pozdrawiam > Tomasz > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121028/0f34b4fb/attachment-0001.html From jnvines at gmail.com Sun Oct 28 21:12:11 2012 From: jnvines at gmail.com (Nick Vines) Date: Sun, 28 Oct 2012 14:12:11 -0400 Subject: [Freeswitch-users] Multiple Domains Message-ID: I have previously been using many sofia profiles to handle a multi-tenant setup, but I'm working on consolidating them into one for simplicity. Is it possible to get the following behavior in the freeswitch cli? sofia status profile sip_profile_name reg -Returns all of the users registered to this sofia profile/port (the combined set of domainN.mine.com) sofia status profile domain1.mine.com reg -Returns all of the users registered to the domain1.mine.com domain sofia status profile domain2.mine.com reg -Returns all of the users registered to the domain2.mine.com domain Right now, each of the domainN.mine.com commands returns the same as the sip_profile_name command, as each is an alias of sip_profile. The domain tag in my sofia profile is: If I change alias to false, I cannot run the sofia status profile domainN reg commands, but domain_exists domainN.mine.com will still return true. Parse did not seem to make any difference. Thanks for the help, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121028/300edf34/attachment.html From babak.freeswitch at gmail.com Sun Oct 28 21:45:06 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Sun, 28 Oct 2012 22:15:06 +0330 Subject: [Freeswitch-users] tx fax: call drops prematurely Message-ID: Hi Sending faxes results in dropped calls: "The call dropped prematurely" http://pastebin.freeswitch.org/20133 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121028/6e60edc4/attachment.html From mitch.capper at gmail.com Sun Oct 28 23:05:31 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Sun, 28 Oct 2012 13:05:31 -0700 Subject: [Freeswitch-users] tx fax: call drops prematurely In-Reply-To: References: Message-ID: Hi Babak, Check the wiki for the suggested methods to try for faxing also provider can make a big difference. Let us know what you have tried /are doing. ~mitch On Sun, Oct 28, 2012 at 11:45 AM, Babak Yakhchali wrote: > Hi > Sending faxes results in dropped calls: "The call dropped prematurely" > http://pastebin.freeswitch.org/20133 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > From ocset at the800group.com Mon Oct 29 03:26:14 2012 From: ocset at the800group.com (ocset) Date: Mon, 29 Oct 2012 08:26:14 +0800 Subject: [Freeswitch-users] Sangoma Vega 50 FXO In-Reply-To: References: <508A4FD0.3070703@the800group.com> Message-ID: <508DCD26.9050007@the800group.com> Thanks Michael What about the native PCI cards like the A200BRMDE. Are they any better because they are native to the PC running FreeSWITCH and have been better integrated? Thanks On 26/10/12 23:01, Michael Collins wrote: > I've used the Vega 50 8FXO and 4FXS/2FXO gateways with the CudaTel. My > experience has been mixed at best. Anyone else? > -MC > > On Fri, Oct 26, 2012 at 1:54 AM, ocset > wrote: > > Hi > > Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? > > I have used the Grandstream GXW4104 FXO gateway before and I am > thinking of switching to the Sangoma as they seem to be more active in > FreeSWITCH support and development. > > Thanks in advance > O. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121029/b153da56/attachment.html From brian.wiese.freeswitch at gmail.com Mon Oct 29 05:29:04 2012 From: brian.wiese.freeswitch at gmail.com (Brian Wiese) Date: Sun, 28 Oct 2012 21:29:04 -0500 Subject: [Freeswitch-users] Sangoma Vega 50 FXO In-Reply-To: <508DCD26.9050007@the800group.com> References: <508A4FD0.3070703@the800group.com> <508DCD26.9050007@the800group.com> Message-ID: O: First, the positives... Sangoma has great employees that go the extra mile when attempting to resolve issues. Their hardware seems rock solid and in the event of a rare hardware problem they are quick to get you the RMA information to get it exchanged. Really a stellar company, and I am really excited that they sponsor this project as much as they do. Kudos to them! For the opportunities, unfortunately it would seem that FreeTDM doesn't have all of the features that "software *" has. In fact, I've been recently told that if I wanted feature X to work I'd need to use "software *" or some kludgy workaround. There are also Jira tickets open for FreeTDM that haven't been addressed recently. Once these features are added to FreeTDM I believe Sangoma will have a product that will be mighty impressive. Don't get me wrong here, this isn't a knock on Sangoma either... other cards use the FreeTDM module as well. Moy has been super great and easy to work with, but even I can tell that he is extremely worn thin and has a huge workload. I hope that Sangoma can put some more resources into improving the software. Anyone else have any thoughts to share? Am I way off here? ~Brian On Sun, Oct 28, 2012 at 7:26 PM, ocset wrote: > Thanks Michael > > What about the native PCI cards like the A200BRMDE. Are they any better > because they are native to the PC running FreeSWITCH and have been better > integrated? > > Thanks > > > > On 26/10/12 23:01, Michael Collins wrote: > > I've used the Vega 50 8FXO and 4FXS/2FXO gateways with the CudaTel. My > experience has been mixed at best. Anyone else? > -MC > > On Fri, Oct 26, 2012 at 1:54 AM, ocset wrote: >> >> Hi >> >> Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? >> >> I have used the Grandstream GXW4104 FXO gateway before and I am >> thinking of switching to the Sangoma as they seem to be more active in >> FreeSWITCH support and development. >> >> Thanks in advance >> O. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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 > From khuenm at vega.com.vn Mon Oct 29 06:46:18 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Mon, 29 Oct 2012 10:46:18 +0700 Subject: [Freeswitch-users] How to mix audio in FreeSWITCH Message-ID: Hi all, I want create a js scripts to execute a simple karaoke application. When user make call to my system, js scripts will play a audio file and user can sing. The js scripts will record the song and mix it with audio that is playing. Now, I can create a js to play audio, record call but I don't know how I can mix audio. Please help me. Thanks & Best regards, Khue. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/221263f3/attachment-0001.html From brian at freeswitch.org Mon Oct 29 06:53:58 2012 From: brian at freeswitch.org (Brian West) Date: Sun, 28 Oct 2012 22:53:58 -0500 Subject: [Freeswitch-users] Multiple Domains In-Reply-To: References: Message-ID: <76779EFE-92C0-413A-9BE6-A1D47425B7FA@freeswitch.org> Yes, thats the entire purpose of that alias feature. While the domain_exists doesn't use the alias feature to find the domain it actually looks in the XML. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 28, 2012, at 1:12 PM, Nick Vines wrote: > The domain tag in my sofia profile is: > > > If I change alias to false, I cannot run the sofia status profile domainN reg commands, but domain_exists domainN.mine.com will still return true. From brian at freeswitch.org Mon Oct 29 06:54:28 2012 From: brian at freeswitch.org (Brian West) Date: Sun, 28 Oct 2012 22:54:28 -0500 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: References: <5089962C.7000704@elder.hu> <19C08D44-B598-4C99-8BCA-3E5D1F19C369@freeswitch.org> Message-ID: You need to make sure you're on the latest code first. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 27, 2012, at 5:21 PM, Babak Yakhchali wrote: > Thanks. Finally I found the way I should send the restart request. I'm using > sofia profile internal check_sync 223 at 192.168.1.3 > But nothing happens. I captured packets sent from freeswitch to my Cisco Ip Communicator and attached them. it seems softphone is sending bad request. > From brian at freeswitch.org Mon Oct 29 06:55:51 2012 From: brian at freeswitch.org (Brian West) Date: Sun, 28 Oct 2012 22:55:51 -0500 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: References: Message-ID: <29D83EEE-CDB0-4A74-9A3B-E8239F0D2726@freeswitch.org> Yah AGPL is the one that can reach over a socket and OWN YOU if I recall correctly. You can't even build services that are web facing without disclosure of all your code. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 27, 2012, at 3:32 PM, Anthony Minessale wrote: > Eww AGPL..... From brian at freeswitch.org Mon Oct 29 06:56:37 2012 From: brian at freeswitch.org (Brian West) Date: Sun, 28 Oct 2012 22:56:37 -0500 Subject: [Freeswitch-users] anyone using t38faxing.com through ezcall? In-Reply-To: References: Message-ID: I had but when they made changes recently I had stopped using them due to not having time to trouble shoot yet another provider issue. I guess I should revisit this! LOL -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 26, 2012, at 1:48 PM, Mitch Capper wrote: > I am curious if anyone actually uses t38faxing.com and their > experience? I have used them as a backup but they seem to have multi > day outages (current one is around two weeks now) periodically with > little level of caring. I can't believe this is the actual service > they provide but they claim the issues are with an upstream carrier so > I would assume affecting all customers. > > ~Mitch From brian at freeswitch.org Mon Oct 29 06:57:41 2012 From: brian at freeswitch.org (Brian West) Date: Sun, 28 Oct 2012 22:57:41 -0500 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question In-Reply-To: References: Message-ID: <64EE3E4D-48C2-4EA4-874C-D96053F49679@freeswitch.org> Bottom line is.. SOAP won't even factor in. -- Brian West brian at freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 27, 2012, at 1:38 PM, Jeff Geddes wrote: > this is not so much a question but rather I'd like to know if I'm on the right track with this. > > I want to use mod_xml_curl to call a SOAP web service and return a dialplan. > > Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires? > > thanks > jeff > ________ From babak.freeswitch at gmail.com Mon Oct 29 08:08:08 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Mon, 29 Oct 2012 08:38:08 +0330 Subject: [Freeswitch-users] sending notify to reset or restart cisco sip ip phones In-Reply-To: References: <5089962C.7000704@elder.hu> <19C08D44-B598-4C99-8BCA-3E5D1F19C369@freeswitch.org> Message-ID: I updated 2 days ago! I captured packets from a cucm and they look like fs packets. but I donno why it is not working On Mon, Oct 29, 2012 at 7:24 AM, Brian West wrote: > You need to make sure you're on the latest code first. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 27, 2012, at 5:21 PM, Babak Yakhchali > wrote: > > > Thanks. Finally I found the way I should send the restart request. I'm > using > > sofia profile internal check_sync 223 at 192.168.1.3 > > But nothing happens. I captured packets sent from freeswitch to my Cisco > Ip Communicator and attached them. it seems softphone is sending bad > request. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121029/8988cc69/attachment.html From babak.freeswitch at gmail.com Mon Oct 29 08:12:34 2012 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Mon, 29 Oct 2012 08:42:34 +0330 Subject: [Freeswitch-users] tx fax: call drops prematurely In-Reply-To: References: Message-ID: Thanks Mitch My set up is fs(g711) => cisco (e1 pri) => pstn. and I'm not using t38. If you see my pastebin link it seems some timer is causing sofia to send bye message and causes the call to drop. On Sun, Oct 28, 2012 at 11:35 PM, Mitch Capper wrote: > Hi Babak, > Check the wiki for the suggested methods to try for faxing also > provider can make a big difference. Let us know what you have tried > /are doing. > ~mitch > > On Sun, Oct 28, 2012 at 11:45 AM, Babak Yakhchali > wrote: > > Hi > > Sending faxes results in dropped calls: "The call dropped prematurely" > > http://pastebin.freeswitch.org/20133 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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/20121029/2c9518fd/attachment-0001.html From talk2ram at gmail.com Mon Oct 29 08:16:05 2012 From: talk2ram at gmail.com (ram) Date: Mon, 29 Oct 2012 10:46:05 +0530 Subject: [Freeswitch-users] Mod_limit questions In-Reply-To: References: Message-ID: Hi Rupa I have done the same thing as mentioned over this email freeswitch at internal> limit_usage hash MAX_CALLS call_per_day 100/84600 0 i see the results 0 is this normal ? how can reset that value from fs_cli from 100 calls to 200 in hash ? or any idea how can i reset hash to unlimited ? On Tue, Mar 16, 2010 at 9:28 PM, Rupa Schomaker wrote: > 1) limit_hash use an in-memory hash for it's storage. There is nor storing > to a database when using limit_hash. If you want to use the database, then > use plain limit. > > 2) If you want a max calls in a 24hrs period use you rate with limit_hash. > This should be about a true max per period, not concurrent. > > limit_hash realm id 50/86400 > > should do what you want -- from memory. double check the wiki/help to > verify syntax. > > On Tue, Mar 16, 2010 at 10:20 AM, ivdreg ivdreg wrote: > >> Hi All, >> >> I have some questions regarding mod_limit. >> >> 1. I'm using 16674 in production but tested and with 17001. I try >> mod_limit with odbc/mysql and sqlite and have same problem: mod_limit using >> limit_hash never tries to write data to SQL. It works (counts sessions) on >> log screen but no data in MySQL/Sqlite. It seems that data is cached but >> cache never flushed to DB. Is anyone has this problem. My limits are: >> >> >> >> >> and they are applied on inbound call profile in same extension. >> >> >> 2. I need to implement rule maximum of 50 calls per day/24h from the same >> CLID (A NUMBER) after that calls to be limited. I'm not sure but rule in >> example "Limit calls to 5 calls every 10 minutes" is about concurrent call >> but not calls processed as count. Any idea ? >> >> Thanks for any help >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > > -- > -Rupa > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/2f12e824/attachment.html From govoiper at gmail.com Mon Oct 29 08:45:22 2012 From: govoiper at gmail.com (SamyGo) Date: Mon, 29 Oct 2012 10:45:22 +0500 Subject: [Freeswitch-users] How to mix audio in FreeSWITCH In-Reply-To: References: Message-ID: Hi, You should try using "sox" if there is nothing you've found in freeswitch. Execute a system sox command and input the two recordings. Later the mixed audio can be played back to user. Another approach can be to use a conference bridge in which a local channel and the incoming caller are bridged and the conference is recorded. The recorded conference can be played back or used as well. BR Sammy On Mon, Oct 29, 2012 at 8:46 AM, Khue Nguyen Minh wrote: > Hi all, > > I want create a js scripts to execute a simple karaoke application. When > user make call to my system, js scripts will play a audio file and user can > sing. The js scripts will record the song and mix it with audio that is > playing. Now, I can create a js to play audio, record call but I don't know > how I can mix audio. Please help me. > > Thanks & Best regards, > Khue. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121029/712a2676/attachment.html From rstevens at robcoit.com Mon Oct 29 07:03:51 2012 From: rstevens at robcoit.com (Robert Stevens) Date: Mon, 29 Oct 2012 00:03:51 -0400 Subject: [Freeswitch-users] Recording calls with a beep Message-ID: Hi All, I have been searching the wiki for a good way to insert a beep every 10 seconds into a call that is being recorded (I plan on recording all calls to Comcast from here on out). This is my dialplan: I would also like to playback a tone so they know I'm recording them (for legal reasons). Per the wiki, the displace_session does indeed play back a tone every 15 seconds. But I'm afraid it never bridges the call.. It's probably something stupid, but what am I doing wrong here? I hear the intial beep after dialing the number but no early media with dead air on the line. What is the best way to insert a tone every x seconds while both legs of the call are in progress and so that each party hears the tone? Also, when testing this without tone_stream, the recording works (horaah) but the recording itself is really ssssssssllllooowwwwww. I am still working on that one, its probably in the wiki, i'm looking now, but if anyone has a suggestion let me know. Best regards, Robert Stevens -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/a8b8d2ea/attachment.html From talk2ram at gmail.com Mon Oct 29 13:02:36 2012 From: talk2ram at gmail.com (ram) Date: Mon, 29 Oct 2012 15:32:36 +0530 Subject: [Freeswitch-users] how can reset hash, with out reloading mod_hash Message-ID: Hi all I've tried hash_reset, but it did not work how can i reset hash_dump all L/MAX_CALLS/0/1/86400/1xxxxxx how can i reset this value in fs_cli ? any advise, thanks in advance. Ram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/de6a9137/attachment.html From kamminthang.nengzalam at a-cti.com Mon Oct 29 13:55:37 2012 From: kamminthang.nengzalam at a-cti.com (Kamminthang Nengzalam) Date: Mon, 29 Oct 2012 16:25:37 +0530 Subject: [Freeswitch-users] G400P wit Freeswitch In-Reply-To: References: Message-ID: Hi Team I'm trying to configure Freeswitch to work with my GSM G400P. Can you please let mi know the step by step procedure. I'm new to freeswitch. And thank you in advance for helping mi. Thanks, Kam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/cb93da9b/attachment-0001.html From chrisbware at yahoo.it Mon Oct 29 14:06:25 2012 From: chrisbware at yahoo.it (Chris B. Ware) Date: Mon, 29 Oct 2012 11:06:25 +0000 (GMT) Subject: [Freeswitch-users] Open Source Question Message-ID: <1351508785.39239.YahooMailNeo@web132305.mail.ird.yahoo.com> Hi all, Hope this question is not so OT. I've made a PBX, FS based, writing functions with XML and Lua, for a customer. FS and all its components are based on many open source licenses, so I can't sell this software. Here my question: can I sell the solution I've made? Can I sell my particular configuration? If the answer is 'No', can I mantain intellectual property of my work? I'd like to avoid that a customer copy 'my' files and sell the service. Thanks for your help. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/5b6bcefb/attachment.html From grsingh750 at gmail.com Mon Oct 29 14:22:57 2012 From: grsingh750 at gmail.com (Gurteshwar S) Date: Mon, 29 Oct 2012 16:52:57 +0530 Subject: [Freeswitch-users] Originate working from fs_cli but not via ESL Message-ID: Hi, I can't figure out what could be the problem here. If i run 'originate {ignore_early_media=true}freetdm/1/a/9999999999 &speak(flite|kal|hello)' from fs_cli it works as expected, the cellphone number is called and TTS message played. However, if I run the exact same command via ESL and watch the logs, the call never goes to the cell phone number and I get: "originate Resulted in Error Cause: 31 [NORMAL_UNSPECIFIED]" . I am using this library https://github.com/fiorix/eventsocket Any ideas why this happens? I tried the ESL command with api and bgapi, same result in both cases. Thanks From nasida at live.ru Mon Oct 29 15:12:29 2012 From: nasida at live.ru (Yuriy Nasida) Date: Mon, 29 Oct 2012 16:12:29 +0400 Subject: [Freeswitch-users] Recording calls with a beep In-Reply-To: References: Message-ID: I can be wrong but most likely it is possible via event_socket only. So you have to listen events on FS from some script and when the call is bridged, the script must playback the beep to both legs. From: rstevens at robcoit.com Date: Mon, 29 Oct 2012 00:03:51 -0400 To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Recording calls with a beep Hi All, I have been searching the wiki for a good way to insert a beep every 10 seconds into a call that is being recorded (I plan on recording all calls to Comcast from here on out). This is my dialplan: I would also like to playback a tone so they know I'm recording them (for legal reasons). Per the wiki, the displace_session does indeed play back a tone every 15 seconds. But I'm afraid it never bridges the call.. It's probably something stupid, but what am I doing wrong here? I hear the intial beep after dialing the number but no early media with dead air on the line. What is the best way to insert a tone every x seconds while both legs of the call are in progress and so that each party hears the tone? Also, when testing this without tone_stream, the recording works (horaah) but the recording itself is really ssssssssllllooowwwwww. I am still working on that one, its probably in the wiki, i'm looking now, but if anyone has a suggestion let me know. Best regards, Robert Stevens _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121029/043cbbf7/attachment.html From nasida at live.ru Mon Oct 29 15:22:49 2012 From: nasida at live.ru (Yuriy Nasida) Date: Mon, 29 Oct 2012 16:22:49 +0400 Subject: [Freeswitch-users] Originate working from fs_cli but not via ESL In-Reply-To: References: Message-ID: Did you try php esl ? This works for me fine. > Date: Mon, 29 Oct 2012 16:52:57 +0530 > From: grsingh750 at gmail.com > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Originate working from fs_cli but not via ESL > > Hi, > > I can't figure out what could be the problem here. > > If i run 'originate {ignore_early_media=true}freetdm/1/a/9999999999 > &speak(flite|kal|hello)' from fs_cli it works as expected, the > cellphone number is called and TTS message played. However, if I run > the exact same command via ESL and watch the logs, the call never goes > to the cell phone number and I get: "originate Resulted in Error > Cause: 31 [NORMAL_UNSPECIFIED]" . I am using this library > https://github.com/fiorix/eventsocket > > Any ideas why this happens? I tried the ESL command with api and > bgapi, same result in both cases. > > > Thanks > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121029/177dc756/attachment.html From grsingh750 at gmail.com Mon Oct 29 15:55:21 2012 From: grsingh750 at gmail.com (Gurteshwar S) Date: Mon, 29 Oct 2012 18:25:21 +0530 Subject: [Freeswitch-users] Originate working from fs_cli but not via ESL In-Reply-To: References: Message-ID: Hi, My bad, please ignore this email. My cellphone was having network problems, as luck would have it, trying at least 20 calls had the behaviour I described :) It's all good now. Thanks On Mon, Oct 29, 2012 at 5:52 PM, Yuriy Nasida wrote: > Did you try php esl ? This works for me fine. > >> Date: Mon, 29 Oct 2012 16:52:57 +0530 >> From: grsingh750 at gmail.com >> To: freeswitch-users at lists.freeswitch.org >> Subject: [Freeswitch-users] Originate working from fs_cli but not via ESL > >> >> Hi, >> >> I can't figure out what could be the problem here. >> >> If i run 'originate {ignore_early_media=true}freetdm/1/a/9999999999 >> &speak(flite|kal|hello)' from fs_cli it works as expected, the >> cellphone number is called and TTS message played. However, if I run >> the exact same command via ESL and watch the logs, the call never goes >> to the cell phone number and I get: "originate Resulted in Error >> Cause: 31 [NORMAL_UNSPECIFIED]" . I am using this library >> https://github.com/fiorix/eventsocket >> >> Any ideas why this happens? I tried the ESL command with api and >> bgapi, same result in both cases. >> >> >> Thanks >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > From john.teller84 at yahoo.com Mon Oct 29 11:44:16 2012 From: john.teller84 at yahoo.com (JT) Date: Mon, 29 Oct 2012 01:44:16 -0700 (PDT) Subject: [Freeswitch-users] Attended transfer fails when in bypass or proxy mode In-Reply-To: <001801cd4fa1$c07a9380$416fba80$@gmail.com> References: <001801cd4fa1$c07a9380$416fba80$@gmail.com> Message-ID: <1351500256164-7584069.post@n2.nabble.com> Im not sure about the problem but I can tell you, I use Ozeki Phone System XE telehone system and its attended transfer functionality works without problems. I can recommend this telephone system to everyone who needs reliability. I found an article on their site that describes attended transfer quite well, and the users are helped with a video tutorial as well. http://www.ozekiphone.com/attended-transfer-explained-372.html -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Attended-transfer-fails-when-in-bypass-or-proxy-mode-tp7580126p7584069.html Sent from the freeswitch-users mailing list archive at Nabble.com. From satheesh.ukt at gmail.com Mon Oct 29 12:54:54 2012 From: satheesh.ukt at gmail.com (satheeshukt) Date: Mon, 29 Oct 2012 02:54:54 -0700 (PDT) Subject: [Freeswitch-users] Not able to connect mysql using Dbh Message-ID: <1351504494438-7584071.post@n2.nabble.com> Hi all, I'm a newbie to the Freeswitch. While trying to configure freeswitch am getting the below error: [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/directory.lua:73: attempt to call field 'Dbh' (a nil value) stack traceback: /usr/local/freeswitch/scripts/directory.lua:73: in main chunk Could you any of you kindly let me what I'm missing here in order to resolve it? Many thanks! -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Not-able-to-connect-mysql-using-Dbh-tp7584071.html Sent from the freeswitch-users mailing list archive at Nabble.com. From darcy at Vex.Net Mon Oct 29 16:49:57 2012 From: darcy at Vex.Net (D'Arcy J.M. Cain) Date: Mon, 29 Oct 2012 09:49:57 -0400 Subject: [Freeswitch-users] Open Source Question In-Reply-To: <1351508785.39239.YahooMailNeo@web132305.mail.ird.yahoo.com> References: <1351508785.39239.YahooMailNeo@web132305.mail.ird.yahoo.com> Message-ID: <20121029094957.4d8ff04c@dilbert> On Mon, 29 Oct 2012 11:06:25 +0000 (GMT) "Chris B. Ware" wrote: > Hope this question is not so OT. A little bit. > I've made a PBX, FS based, writing functions with XML and Lua, for a > customer. > > FS and all its components are based on many open source licenses, so > I can't sell this software. Why not? Most open source licenses let you sell the code. Even GPL allows it with certain restrictions. > Here my question: can I sell the solution I've made? Can I sell my > particular configuration? If you are using multiple licenses it may be complicated. You should really be asking your lawyer this question. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net From lazyvirus at gmx.com Mon Oct 29 16:20:56 2012 From: lazyvirus at gmx.com (Bzzz) Date: Mon, 29 Oct 2012 14:20:56 +0100 Subject: [Freeswitch-users] Open Source Question In-Reply-To: <1351508785.39239.YahooMailNeo@web132305.mail.ird.yahoo.com> References: <1351508785.39239.YahooMailNeo@web132305.mail.ird.yahoo.com> Message-ID: <20121029142056.399c9b2d@anubis.defcon1> On Mon, 29 Oct 2012 11:06:25 +0000 (GMT) "Chris B. Ware" wrote: > I've made a PBX, FS based, writing functions with XML and Lua, for a customer. > > FS and all its components are based on many open source licenses, so I can't > sell this software. > > Here my question: can I sell the solution I've made? Can I sell my particular > configuration? > > If the answer is 'No', can I mantain intellectual property of my work? > > I'd like to avoid that a customer copy 'my' files and sell the service. Hi Chris, AFAIK FS licenses are very permissives and let you make almost whatever you want AFA you retain the original authors credits. So, I guess (I'm not a lawyer) you can either sell you software (or the engineering you've made). In this case you can add you own NDA clause; beware though about forbidding onerous transfer of property, there's a recent french jurisprudence that allows it and I was told that EU is gonna follow that path; which is perfectly logical: judges considered the license the same as any consumption good. -- how much do you weight? 45Ko FRIGGING GEEK shit, Kg From anthony.minessale at gmail.com Mon Oct 29 19:28:46 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 29 Oct 2012 11:28:46 -0500 Subject: [Freeswitch-users] Open Source Question In-Reply-To: <20121029142056.399c9b2d@anubis.defcon1> References: <1351508785.39239.YahooMailNeo@web132305.mail.ird.yahoo.com> <20121029142056.399c9b2d@anubis.defcon1> Message-ID: But you and the customer can both support the project! On Mon, Oct 29, 2012 at 8:20 AM, Bzzz wrote: > On Mon, 29 Oct 2012 11:06:25 +0000 (GMT) > "Chris B. Ware" wrote: > > > I've made a PBX, FS based, writing functions with XML and Lua, for a > customer. > > > > FS and all its components are based on many open source licenses, so I > can't > > sell this software. > > > > Here my question: can I sell the solution I've made? Can I sell my > particular > > configuration? > > > > If the answer is 'No', can I mantain intellectual property of my work? > > > > I'd like to avoid that a customer copy 'my' files and sell the service. > > Hi Chris, > > AFAIK FS licenses are very permissives and let you make almost whatever > you want AFA you retain the original authors credits. > > So, I guess (I'm not a lawyer) you can either sell you software (or the > engineering you've made). In this case you can add you own NDA clause; > beware though about forbidding onerous transfer of property, there's a > recent french jurisprudence that allows it and I was told that EU is > gonna follow that path; which is perfectly logical: judges considered > the license the same as any consumption good. > > -- > how much do you weight? > 45Ko > FRIGGING GEEK > shit, Kg > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/19b50d70/attachment.html From geddes.jeffrey at gmail.com Mon Oct 29 19:04:01 2012 From: geddes.jeffrey at gmail.com (Jeff Geddes) Date: Mon, 29 Oct 2012 13:04:01 -0300 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question (Jeff Geddes) Message-ID: I'm dealing with a third party interface which only supplies a SOAP response, so that's why I was wondering if that SOAP response has to be reformatted before sending the response back to FS. Is there a better way? thanks jeff On Mon, Oct 29, 2012 at 2:13 AM, < freeswitch-users-request at lists.freeswitch.org> 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: Multiple Domains (Brian West) > 2. Re: sending notify to reset or restart cisco sip ip phones > (Brian West) > 3. Re: Using Freeswitch as a High CPS Outbound Dialer (Brian West) > 4. Re: anyone using t38faxing.com through ezcall? (Brian West) > 5. Re: mod_xml_curl SOAP newbie question (Brian West) > 6. Re: sending notify to reset or restart cisco sip ip phones > (Babak Yakhchali) > 7. Re: tx fax: call drops prematurely (Babak Yakhchali) > > > ---------- Forwarded message ---------- > From: Brian West > To: FreeSWITCH Users Help > Cc: > Date: Sun, 28 Oct 2012 22:53:58 -0500 > Subject: Re: [Freeswitch-users] Multiple Domains > Yes, thats the entire purpose of that alias feature. While the > domain_exists doesn't use the alias feature to find the domain it actually > looks in the XML. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 28, 2012, at 1:12 PM, Nick Vines wrote: > > > The domain tag in my sofia profile is: > > > > > > If I change alias to false, I cannot run the sofia status profile > domainN reg commands, but domain_exists domainN.mine.com will still > return true. > > > > > > ---------- Forwarded message ---------- > From: Brian West > To: FreeSWITCH Users Help > Cc: > Date: Sun, 28 Oct 2012 22:54:28 -0500 > Subject: Re: [Freeswitch-users] sending notify to reset or restart cisco > sip ip phones > You need to make sure you're on the latest code first. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 27, 2012, at 5:21 PM, Babak Yakhchali > wrote: > > > Thanks. Finally I found the way I should send the restart request. I'm > using > > sofia profile internal check_sync 223 at 192.168.1.3 > > But nothing happens. I captured packets sent from freeswitch to my Cisco > Ip Communicator and attached them. it seems softphone is sending bad > request. > > > > > > > > ---------- Forwarded message ---------- > From: Brian West > To: FreeSWITCH Users Help > Cc: > Date: Sun, 28 Oct 2012 22:55:51 -0500 > Subject: Re: [Freeswitch-users] Using Freeswitch as a High CPS Outbound > Dialer > Yah AGPL is the one that can reach over a socket and OWN YOU if I recall > correctly. You can't even build services that are web facing without > disclosure of all your code. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 27, 2012, at 3:32 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > > Eww AGPL..... > > > > > > ---------- Forwarded message ---------- > From: Brian West > To: FreeSWITCH Users Help > Cc: > Date: Sun, 28 Oct 2012 22:56:37 -0500 > Subject: Re: [Freeswitch-users] anyone using t38faxing.com through ezcall? > I had but when they made changes recently I had stopped using them due to > not having time to trouble shoot yet another provider issue. I guess I > should revisit this! LOL > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 26, 2012, at 1:48 PM, Mitch Capper wrote: > > > I am curious if anyone actually uses t38faxing.com and their > > experience? I have used them as a backup but they seem to have multi > > day outages (current one is around two weeks now) periodically with > > little level of caring. I can't believe this is the actual service > > they provide but they claim the issues are with an upstream carrier so > > I would assume affecting all customers. > > > > ~Mitch > > > > > > ---------- Forwarded message ---------- > From: Brian West > To: FreeSWITCH Users Help > Cc: > Date: Sun, 28 Oct 2012 22:57:41 -0500 > Subject: Re: [Freeswitch-users] mod_xml_curl SOAP newbie question > Bottom line is.. SOAP won't even factor in. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 27, 2012, at 1:38 PM, Jeff Geddes wrote: > > > this is not so much a question but rather I'd like to know if I'm on the > right track with this. > > > > I want to use mod_xml_curl to call a SOAP web service and return a > dialplan. > > > > Am I correct in saying that the SOAP response has to be re-formatted by > some other script/etc. on the web server before the response is sent back > to FS so it is in the correct XML dialplan format that FS requires? > > > > thanks > > jeff > > ________ > > > > > > ---------- Forwarded message ---------- > From: Babak Yakhchali > To: FreeSWITCH Users Help > Cc: > Date: Mon, 29 Oct 2012 08:38:08 +0330 > Subject: Re: [Freeswitch-users] sending notify to reset or restart cisco > sip ip phones > I updated 2 days ago! I captured packets from a cucm and they look like fs > packets. but I donno why it is not working > > On Mon, Oct 29, 2012 at 7:24 AM, Brian West wrote: > >> You need to make sure you're on the latest code first. >> -- >> Brian West >> brian at freeswitch.org >> FreeSWITCH Solutions, LLC >> PO BOX PO BOX 2531 >> Brookfield, WI 53008-2531 >> Twitter: @FreeSWITCH_Wire >> T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST >> iNUM: +883 5100 1420 9266 >> UK: +44 20 3298 4900 >> ISN: 410*543 >> >> >> >> >> >> On Oct 27, 2012, at 5:21 PM, Babak Yakhchali >> wrote: >> >> > Thanks. Finally I found the way I should send the restart request. I'm >> using >> > sofia profile internal check_sync 223 at 192.168.1.3 >> > But nothing happens. I captured packets sent from freeswitch to my >> Cisco Ip Communicator and attached them. it seems softphone is sending bad >> request. >> > >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > ---------- Forwarded message ---------- > From: Babak Yakhchali > To: FreeSWITCH Users Help > Cc: > Date: Mon, 29 Oct 2012 08:42:34 +0330 > Subject: Re: [Freeswitch-users] tx fax: call drops prematurely > Thanks Mitch > My set up is fs(g711) => cisco (e1 pri) => pstn. and I'm not using t38. If > you see my pastebin link it seems some timer is causing sofia to send bye > message and causes the call to drop. > > On Sun, Oct 28, 2012 at 11:35 PM, Mitch Capper wrote: > >> Hi Babak, >> Check the wiki for the suggested methods to try for faxing also >> provider can make a big difference. Let us know what you have tried >> /are doing. >> ~mitch >> >> On Sun, Oct 28, 2012 at 11:45 AM, Babak Yakhchali >> wrote: >> > Hi >> > Sending faxes results in dropped calls: "The call dropped prematurely" >> > http://pastebin.freeswitch.org/20133 >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.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://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 >> > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/8c5fc092/attachment-0001.html From chrisbware at yahoo.it Mon Oct 29 19:40:36 2012 From: chrisbware at yahoo.it (Chris B. Ware) Date: Mon, 29 Oct 2012 16:40:36 +0000 (GMT) Subject: [Freeswitch-users] Open Source Question Message-ID: <1351528836.50040.YahooMailNeo@web132302.mail.ird.yahoo.com> Thank you for your answers. Anthony: I know the effort made by you and your team.? Hope to earn some money from this project and support FS! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/6dc1a7df/attachment.html From yiftah at choochee.com Mon Oct 29 20:14:56 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Mon, 29 Oct 2012 10:14:56 -0700 Subject: [Freeswitch-users] tx fax: call drops prematurely In-Reply-To: References: Message-ID: Hi Babak, we have a lot of experience with Faxes and FreeSWITCH We had to add some changes to the both the T.30 and the T.38 code in order for the fax to be stable I can share those changes with the community, most of the changes were making larger timeouts and transitions between states mostly around the DCN ) However, we have a pretty old version of FreeSWITCH I know that the fax code has changed a lot since then Thanks, Yiftach. On Sun, Oct 28, 2012 at 1:05 PM, Mitch Capper wrote: > Hi Babak, > Check the wiki for the suggested methods to try for faxing also > provider can make a big difference. Let us know what you have tried > /are doing. > ~mitch > > On Sun, Oct 28, 2012 at 11:45 AM, Babak Yakhchali > wrote: > > Hi > > Sending faxes results in dropped calls: "The call dropped prematurely" > > http://pastebin.freeswitch.org/20133 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at freeswitch.org > > http://www.freeswitchsolutions.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://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/20121029/9bd70b29/attachment.html From gabe at gundy.org Mon Oct 29 22:32:14 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Mon, 29 Oct 2012 13:32:14 -0600 Subject: [Freeswitch-users] mod_xml_curl SOAP newbie question (Jeff Geddes) In-Reply-To: References: Message-ID: On Mon, Oct 29, 2012 at 10:04 AM, Jeff Geddes wrote: > I'm dealing with a third party interface which only supplies a SOAP > response, so that's why I was wondering if that SOAP response has to be > reformatted before sending the response back to FS. Is there a better way? It's your job to sit between FS and anything else that you want to be in the picture. Like so: [3rd party] <---(SOAP)---> [your server] <---(FS XML*)---> [FreeSWITCH] * See the wiki for Request [1] and Response [2] details for how you should communicate with FreeSWITCH over HTTP and XML. 1) http://wiki.freeswitch.org/wiki/Xml_curl#Request_2 2) http://wiki.freeswitch.org/wiki/Xml_curl#Response Good luck, Gabe From vipkilla at gmail.com Mon Oct 29 23:10:52 2012 From: vipkilla at gmail.com (Vik Killa) Date: Mon, 29 Oct 2012 16:10:52 -0400 Subject: [Freeswitch-users] inaccurate display of Call-info 'appearance-uri' in SIP NOTIFY Message-ID: I have a semi-complex dial-plan that uses the 'transfer' dp tool to route calls through various contexts. For instance, if a caller dials '*1' it will eventual go to '5' (which is an arbitrary ID) in the 'route' context. What I've noticed is, when using SLA, the Polycom's display is updated with the '5', instead of displaying '*1' as it should. I do not have this problem when not using SLA. I looked through the SIP trace to see where the Polycom was getting this on the display and it's happening in the NOTIFY (which makes sense why I don't have this problem when not using SLA). If you look at this line in the NOTIFY, you'll see: Call-Info: ;appearance-index=1;appearance-state=alerting;appearance-uri="\"5\" " Here is the full NOTIFY packet... NOTIFY sip:2000 at XX.YY.ZZ.YYY:1411 SIP/2.0 Via: SIP/2.0/UDP XX.YY.ZZ.154;rport;branch=z9hG4bKQp5tXcrD1jj2j Max-Forwards: 70 From: ;tag=YN59QVIfZbRE To: "Ext. 2000" ;tag=307FCA01-A83BB3C Call-ID: 510f5fc5-b143c4b0-ecbece7f at 192.168.99.78 CSeq: 388215190 NOTIFY Contact: Expires: 0 Call-Info: ;appearance-index=1;appearance-state=alerting;appearance-uri="\"5\" " Call-Info: ;appearance-index=*;appearance-state=idle User-Agent: AMPSwitch Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Event: line-seize Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: terminated;reason=noresource Content-Length: 0 Is there anyway to set the 'appearance-uri' or have FS use the original SIP URI dialed here (*1) ??? Thanks in advance! From anthony.minessale at gmail.com Tue Oct 30 01:08:51 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 29 Oct 2012 17:08:51 -0500 Subject: [Freeswitch-users] tx fax: call drops prematurely In-Reply-To: References: Message-ID: If you had real issues along the way. Too bad you never used JIRA to report them....... You should probably start using the latest HEAD if you want to participate on the lists about how the code works. On Mon, Oct 29, 2012 at 12:14 PM, Yiftach Golan wrote: > Hi Babak, > we have a lot of experience with Faxes and FreeSWITCH > We had to add some changes to the both the T.30 and the T.38 code in order > for the fax to be stable > I can share those changes with the community, most of the changes were > making larger timeouts and transitions between states mostly around the DCN > ) > However, we have a pretty old version of FreeSWITCH I know that the fax > code has changed a lot since then > > Thanks, > Yiftach. > > On Sun, Oct 28, 2012 at 1:05 PM, Mitch Capper wrote: > >> Hi Babak, >> Check the wiki for the suggested methods to try for faxing also >> provider can make a big difference. Let us know what you have tried >> /are doing. >> ~mitch >> >> On Sun, Oct 28, 2012 at 11:45 AM, Babak Yakhchali >> wrote: >> > Hi >> > Sending faxes results in dropped calls: "The call dropped prematurely" >> > http://pastebin.freeswitch.org/20133 >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at freeswitch.org >> > http://www.freeswitchsolutions.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://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://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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/90dc1730/attachment-0001.html From msc at freeswitch.org Tue Oct 30 01:57:24 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Oct 2012 15:57:24 -0700 Subject: [Freeswitch-users] How to mix audio in FreeSWITCH In-Reply-To: References: Message-ID: You might also try uuid_displace API with the "mux" option, although I kind of like the idea of getting a group of uninhibited users all in a conference room singing "Love Shack" by the B52's. -MC On Sun, Oct 28, 2012 at 10:45 PM, SamyGo wrote: > Hi, > > You should try using "sox" if there is nothing you've found in freeswitch. > Execute a system sox command and input the two recordings. Later the mixed > audio can be played back to user. > > Another approach can be to use a conference bridge in which a local > channel and the incoming caller are bridged and the conference is recorded. > The recorded conference can be played back or used as well. > > BR > Sammy > > > On Mon, Oct 29, 2012 at 8:46 AM, Khue Nguyen Minh wrote: > >> Hi all, >> >> I want create a js scripts to execute a simple karaoke application. When >> user make call to my system, js scripts will play a audio file and user can >> sing. The js scripts will record the song and mix it with audio that is >> playing. Now, I can create a js to play audio, record call but I don't know >> how I can mix audio. Please help me. >> >> Thanks & Best regards, >> Khue. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/1700eeb6/attachment.html From msc at freeswitch.org Tue Oct 30 02:05:08 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Oct 2012 16:05:08 -0700 Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: <29D83EEE-CDB0-4A74-9A3B-E8239F0D2726@freeswitch.org> References: <29D83EEE-CDB0-4A74-9A3B-E8239F0D2726@freeswitch.org> Message-ID: FYI, I spoke w/ Areski at ClueCon 2012 and he said he had already or was about to re-license Newfies under MPL. We'll invite him to come speak to us at an upcoming Wed conf call and we can get the latest on his project. -MC On Sun, Oct 28, 2012 at 8:55 PM, Brian West wrote: > Yah AGPL is the one that can reach over a socket and OWN YOU if I recall > correctly. You can't even build services that are web facing without > disclosure of all your code. > -- > Brian West > brian at freeswitch.org > FreeSWITCH Solutions, LLC > PO BOX PO BOX 2531 > Brookfield, WI 53008-2531 > Twitter: @FreeSWITCH_Wire > T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST > iNUM: +883 5100 1420 9266 > UK: +44 20 3298 4900 > ISN: 410*543 > > > > > > On Oct 27, 2012, at 3:32 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > > Eww AGPL..... > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/2f8ef0dc/attachment.html From djbinter at gmail.com Tue Oct 30 03:02:20 2012 From: djbinter at gmail.com (DJB International) Date: Mon, 29 Oct 2012 17:02:20 -0700 Subject: [Freeswitch-users] B-leg Call-ID Message-ID: I have only used and enabled a leg parameter in mod_cdr_csv. Is there a way to get the sip_call_id variable from b-leg in mod_cdr_csv without enabling the b legs parameter; something like bleg_sip_call_id ? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/dc921910/attachment.html From msc at freeswitch.org Tue Oct 30 03:09:24 2012 From: msc at freeswitch.org (Michael Collins) Date: Mon, 29 Oct 2012 17:09:24 -0700 Subject: [Freeswitch-users] Recording calls with a beep In-Reply-To: References: Message-ID: Sounds like this is something that's more ad-hoc, so you might want to do a quick and dirty combo of Lua and sched_api. Roughly it would look something like this: Then have beep.lua be something like this: -- beep.lua uuid = argv[1] if ( uuid == nil ) then freeswitch.consoleLog("WARNING","No uuid specified, exiting...\n") return "exit" end interval = argv[2] if ( interval == nil ) then interval = 15 end api = freeswitch.API() dump = api:execute('uuid_dump',uuid); test = string.sub(dump,1,4) if ( test == '-ERR' ) then freeswitch.consoleLog("INFO","UUID " .. uuid .. " not present, ending the beeps\n") else -- grab the other leg's uuid other_leg = api:execute('uuid_getvar',uuid .. ' bridge_to') -- uuid_displace to both legs with muxing on so that parties can still hear each other -- set the v=-xx to an appropriate dB value for the volume you want -- change the '40' to a higher number to make the beep duration longer command = ' start tone_stream://v=-18;%(40,0,1000) mux' api:execute('uuid_displace',uuid .. command) api:execute('uuid_displace',other_leg .. command) -- queue it up to run again in seconds api:execute('sched_api',' +' .. interval .. ' none luarun beep.lua ' .. uuid .. ' ' .. interval) end Remember, standard disclaimerapplies, so tinker with it before you report back that it does not work. If you get it working then it would be great if you could pay the wiki tax and put it up there as an example of what can be done w/ sched_api and Lua. -MC On Mon, Oct 29, 2012 at 5:12 AM, Yuriy Nasida wrote: > I can be wrong but most likely it is possible via event_socket only. So > you have to listen events on FS from some script and when the call is > bridged, the script must playback the beep to both legs. > > ------------------------------ > From: rstevens at robcoit.com > Date: Mon, 29 Oct 2012 00:03:51 -0400 > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Recording calls with a beep > > > Hi All, > > > > I have been searching the wiki for a good way to insert a beep every 10 > seconds into a call that is being recorded (I plan on recording all calls > to Comcast from here on out). This is my dialplan: > > > > /> > > > > data="effective_caller_id_name=${outbound_caller_id_name}" /> > data="effective_caller_id_number=${outbound_caller_id_number}" /> > > > > > > > > data="tone_stream://%(100,15000,800);loops=-1" /> > data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav" > /> > > > > > > I would also like to playback a tone so they know I'm recording them (for > legal reasons). Per the wiki, the displace_session does indeed play back a > tone every 15 seconds. But I'm afraid it never bridges the call.. It's > probably something stupid, but what am I doing wrong here? I hear the > intial beep after dialing the number but no early media with dead air on > the line. What is the best way to insert a tone every x seconds while both > legs of the call are in progress and so that each party hears the tone? > > > Also, when testing this without tone_stream, the recording works (horaah) > but the recording itself is really ssssssssllllooowwwwww. I am still > working on that one, its probably in the wiki, i'm looking now, but if > anyone has a suggestion let me know. > > > > Best regards, > > Robert Stevens > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.org > http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel > Communication Server 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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/9ed4018c/attachment-0001.html From anthony.minessale at gmail.com Tue Oct 30 04:01:14 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 29 Oct 2012 20:01:14 -0500 Subject: [Freeswitch-users] Recording calls with a beep In-Reply-To: References: Message-ID: if you want displace session to mux you have to supply the m flag On Mon, Oct 29, 2012 at 7:09 PM, Michael Collins wrote: > Sounds like this is something that's more ad-hoc, so you might want to do > a quick and dirty combo of Lua and sched_api. Roughly it would look > something like this: > > > > Then have beep.lua be something like this: > -- beep.lua > uuid = argv[1] > if ( uuid == nil ) then > freeswitch.consoleLog("WARNING","No uuid specified, exiting...\n") > return "exit" > end > > interval = argv[2] > if ( interval == nil ) then > interval = 15 > end > > api = freeswitch.API() > dump = api:execute('uuid_dump',uuid); > test = string.sub(dump,1,4) > if ( test == '-ERR' ) then > freeswitch.consoleLog("INFO","UUID " .. uuid .. " not present, ending > the beeps\n") > else > -- grab the other leg's uuid > other_leg = api:execute('uuid_getvar',uuid .. ' bridge_to') > > -- uuid_displace to both legs with muxing on so that parties can still > hear each other > -- set the v=-xx to an appropriate dB value for the volume you want > -- change the '40' to a higher number to make the beep duration longer > command = ' start tone_stream://v=-18;%(40,0,1000) mux' > api:execute('uuid_displace',uuid .. command) > api:execute('uuid_displace',other_leg .. command) > > -- queue it up to run again in seconds > api:execute('sched_api',' +' .. interval .. ' none luarun beep.lua ' .. > uuid .. ' ' .. interval) > end > > Remember, standard disclaimerapplies, so tinker with it before you report back that it does not work. If > you get it working then it would be great if you could pay the wiki tax and > put it up there as an example of what can be done w/ sched_api and Lua. > > -MC > > > > > On Mon, Oct 29, 2012 at 5:12 AM, Yuriy Nasida wrote: > >> I can be wrong but most likely it is possible via event_socket only. So >> you have to listen events on FS from some script and when the call is >> bridged, the script must playback the beep to both legs. >> >> ------------------------------ >> From: rstevens at robcoit.com >> Date: Mon, 29 Oct 2012 00:03:51 -0400 >> To: freeswitch-users at lists.freeswitch.org >> Subject: [Freeswitch-users] Recording calls with a beep >> >> >> Hi All, >> >> >> >> I have been searching the wiki for a good way to insert a beep every 10 >> seconds into a call that is being recorded (I plan on recording all calls >> to Comcast from here on out). This is my dialplan: >> >> >> >> > /> >> >> >> >> > data="effective_caller_id_name=${outbound_caller_id_name}" /> >> > data="effective_caller_id_number=${outbound_caller_id_number}" /> >> >> >> >> >> >> >> >> > data="tone_stream://%(100,15000,800);loops=-1" /> >> > data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav" >> /> >> >> >> >> >> >> I would also like to playback a tone so they know I'm recording them (for >> legal reasons). Per the wiki, the displace_session does indeed play back a >> tone every 15 seconds. But I'm afraid it never bridges the call.. It's >> probably something stupid, but what am I doing wrong here? I hear the >> intial beep after dialing the number but no early media with dead air on >> the line. What is the best way to insert a tone every x seconds while both >> legs of the call are in progress and so that each party hears the tone? >> >> >> Also, when testing this without tone_stream, the recording works (horaah) >> but the recording itself is really ssssssssllllooowwwwww. I am still >> working on that one, its probably in the wiki, i'm looking now, but if >> anyone has a suggestion let me know. >> >> >> >> Best regards, >> >> Robert Stevens >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.org >> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The >> CudaTel Communication Server 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-usersUNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121029/6d840e93/attachment.html From ocset at the800group.com Tue Oct 30 07:20:56 2012 From: ocset at the800group.com (ocset) Date: Tue, 30 Oct 2012 12:20:56 +0800 Subject: [Freeswitch-users] Sangoma Vega 50 FXO In-Reply-To: References: <508A4FD0.3070703@the800group.com> Message-ID: <508F55A8.9010902@the800group.com> Michael What was your eventual solution to integrate POTS/PSTN lines into CudaTel if the Vega 50 was not up to par? On 26/10/12 23:01, Michael Collins wrote: > I've used the Vega 50 8FXO and 4FXS/2FXO gateways with the CudaTel. My > experience has been mixed at best. Anyone else? > -MC > > On Fri, Oct 26, 2012 at 1:54 AM, ocset > wrote: > > Hi > > Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? > > I have used the Grandstream GXW4104 FXO gateway before and I am > thinking of switching to the Sangoma as they seem to be more active in > FreeSWITCH support and development. > > Thanks in advance > O. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/0bec855d/attachment-0001.html From talk2ram at gmail.com Tue Oct 30 09:06:14 2012 From: talk2ram at gmail.com (ram) Date: Tue, 30 Oct 2012 11:36:14 +0530 Subject: [Freeswitch-users] reloading mod_hash...stopping freeswitch Message-ID: Hi i am having FreeSWITCH Version 1.3.0+git~20121023T150615Z~2246b84554 (git 2246b84 2012-10-23 15:06:15Z) in fs_cli, when the call was on going reload mod_hash freeswitch stoped ? why ? any idea ? Ram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/dfb8792c/attachment.html From peter.olsson at visionutveckling.se Tue Oct 30 09:36:02 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 30 Oct 2012 06:36:02 +0000 Subject: [Freeswitch-users] reloading mod_hash...stopping freeswitch In-Reply-To: References: Message-ID: <1FFF97C269757C458224B7C895F35F151A3C0A@cantor.std.visionutv.se> Please report to Jira. http://wiki.freeswitch.org/wiki/Reporting_Bugs /Peter ________________________________ Fr?n: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] f?r ram [talk2ram at gmail.com] Skickat: den 30 oktober 2012 07:06 Till: FreeSWITCH Users Help ?mne: [Freeswitch-users] reloading mod_hash...stopping freeswitch Hi i am having FreeSWITCH Version 1.3.0+git~20121023T150615Z~2246b84554 (git 2246b84 2012-10-23 15:06:15Z) in fs_cli, when the call was on going reload mod_hash freeswitch stoped ? why ? any idea ? Ram !DSPAM:508f6db832761558012898! From gabe at gundy.org Tue Oct 30 09:45:36 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Tue, 30 Oct 2012 00:45:36 -0600 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware Message-ID: All, This is a bit off topic, but I know many of you use Polycom phones. I'm just wondering if you've all update to the 4.0.x firmwares, or if your holding out until lingering bugs get worked out. If you've updated, what features do you like? Is there anything that makes it worth upgrading? Thanks for your opinions! Gabe From rstevens at robcoit.com Tue Oct 30 04:52:40 2012 From: rstevens at robcoit.com (Robert Stevens) Date: Mon, 29 Oct 2012 21:52:40 -0400 Subject: [Freeswitch-users] Recording calls with a beep In-Reply-To: References: Message-ID: Ok. I will try this. Best regards, Robert Stevens On Oct 29, 2012, at 9:01 PM, Anthony Minessale wrote: > if you want displace session to mux you have to supply the m flag > > > > On Mon, Oct 29, 2012 at 7:09 PM, Michael Collins wrote: >> Sounds like this is something that's more ad-hoc, so you might want to do a quick and dirty combo of Lua and sched_api. Roughly it would look something like this: >> >> >> >> Then have beep.lua be something like this: >> -- beep.lua >> uuid = argv[1] >> if ( uuid == nil ) then >> freeswitch.consoleLog("WARNING","No uuid specified, exiting...\n") >> return "exit" >> end >> >> interval = argv[2] >> if ( interval == nil ) then >> interval = 15 >> end >> >> api = freeswitch.API() >> dump = api:execute('uuid_dump',uuid); >> test = string.sub(dump,1,4) >> if ( test == '-ERR' ) then >> freeswitch.consoleLog("INFO","UUID " .. uuid .. " not present, ending the beeps\n") >> else >> -- grab the other leg's uuid >> other_leg = api:execute('uuid_getvar',uuid .. ' bridge_to') >> >> -- uuid_displace to both legs with muxing on so that parties can still hear each other >> -- set the v=-xx to an appropriate dB value for the volume you want >> -- change the '40' to a higher number to make the beep duration longer >> command = ' start tone_stream://v=-18;%(40,0,1000) mux' >> api:execute('uuid_displace',uuid .. command) >> api:execute('uuid_displace',other_leg .. command) >> >> -- queue it up to run again in seconds >> api:execute('sched_api',' +' .. interval .. ' none luarun beep.lua ' .. uuid .. ' ' .. interval) >> end >> >> Remember, standard disclaimer applies, so tinker with it before you report back that it does not work. If you get it working then it would be great if you could pay the wiki tax and put it up there as an example of what can be done w/ sched_api and Lua. >> >> -MC >> >> >> >> >> On Mon, Oct 29, 2012 at 5:12 AM, Yuriy Nasida wrote: >>> I can be wrong but most likely it is possible via event_socket only. So you have to listen events on FS from some script and when the call is bridged, the script must playback the beep to both legs. >>> >>> From: rstevens at robcoit.com >>> Date: Mon, 29 Oct 2012 00:03:51 -0400 >>> To: freeswitch-users at lists.freeswitch.org >>> Subject: [Freeswitch-users] Recording calls with a beep >>> >>> >>> Hi All, >>> >>> >>> >>> I have been searching the wiki for a good way to insert a beep every 10 seconds into a call that is being recorded (I plan on recording all calls to Comcast from here on out). This is my dialplan: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> I would also like to playback a tone so they know I'm recording them (for legal reasons). Per the wiki, the displace_session does indeed play back a tone every 15 seconds. But I'm afraid it never bridges the call.. It's probably something stupid, but what am I doing wrong here? I hear the intial beep after dialing the number but no early media with dead air on the line. What is the best way to insert a tone every x seconds while both legs of the call are in progress and so that each party hears the tone? >>> >>> >>> Also, when testing this without tone_stream, the recording works (horaah) but the recording itself is really ssssssssllllooowwwwww. I am still working on that one, its probably in the wiki, i'm looking now, but if anyone has a suggestion let me know. >>> >>> >>> >>> Best regards, >>> >>> Robert Stevens >>> >>> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 >> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121029/9fc2ab49/attachment-0001.html From cal.leeming at simplicitymedialtd.co.uk Tue Oct 30 07:43:23 2012 From: cal.leeming at simplicitymedialtd.co.uk (Cal Leeming [Simplicity Media Ltd]) Date: Tue, 30 Oct 2012 04:43:23 +0000 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? Message-ID: Hello all, Attempting to increase 'sessions-per-second' to 100 does not appear to make any difference. Inside switch.conf, I have the following; And yet for some reason, I still get this; 2012-10-30 04:20:22.205003 [CRIT] switch_core_session.c:2038 Throttle Error! 99 2012-10-30 04:20:22.224956 [CRIT] switch_core_session.c:2038 Throttle Error! 99 2012-10-30 04:20:22.244981 [CRIT] switch_core_session.c:2038 Throttle Error! 99 2012-10-30 04:20:22.265109 [CRIT] switch_core_session.c:2038 Throttle Error! 99 2012-10-30 04:20:22.309297 [CRIT] switch_time.c:997 Over Session Rate of 30! Which then eventually leads to this; 2012-10-30 04:29:42.284991 [CRIT] switch_time.c:997 Over Session Rate of 30! VAL: tried to access cart in -4784 type val After looking through the source code, I found only a few places where this is referenced; ./src/switch_core.c: runtime.sps_total = 30; ./src/switch_core.c: runtime.sps_total = oldintval; ./src/switch_core.c: newintval = runtime.sps_total; ./src/include/private/switch_core_pvt.h: uint32_t sps_total; ./src/switch_time.c: runtime.sps = runtime.sps_total; ./src/switch_time.c: switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Over Session Rate of %d!\n", runtime.sps_total); ./src/switch_time.c: runtime.sps_last = runtime.sps_total - runtime.sps; ./src/switch_time.c: runtime.sps = runtime.sps_total; ./src/switch_core_session.c: runtime.sps_total = new_limit; ./src/switch_core_session.c: return runtime.sps_total; So for shits and giggles, I changed runtime.sps_total from 30 to 101 in the code, and low and behold it worked fine - wtf? lol. 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! 972 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! 972 2012-10-30 04:42:02.104969 [CRIT] switch_time.c:997 Over Session Rate of 101! Does anyone know why FS seems to be ignoring the "sessions-per-second" value? Thanks Cal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/fa45ac8a/attachment-0001.html From binni at caresolutions.dk Tue Oct 30 09:34:49 2012 From: binni at caresolutions.dk (Caresolutions) Date: Tue, 30 Oct 2012 07:34:49 +0100 Subject: [Freeswitch-users] Question re. load balancing and web-based interface Message-ID: <000701cdb668$a961b7e0$fc2527a0$@dk> Hello all I'm new on this list and rather green when it comes to IP telephony in general. During the last year or so I have been managing an existing setup with an Asterisk 1.4 server and a web-based user interface. The user interface is geared towards small medical clinics (typically 2 - 10 users in each) and we currently have in the region of 20 clinics. This setup has been running for 4 years or so. My employees want to expand our client base into the thousands based on the interface which has a lot of functionality. My problem is that our current setup does not allow for load-balancing of the Asterisk server since all the code is written based on the assumption that there is only one server. Our current short-term plan is simply to duplicate the setup if the load on our current Asterisk server gets too big. That way some of our clients would use setup A, others would use setup B etc. This is obviously not optimal and doesn't really give a decent level of fault tolerance. Our web interface allows users to create and manage voice messages, menus, queues, to transfer calls, view callers in queue etc. All sound files can be created through the web interface by utilising the user's phone. Rewriting the code behind the user interface so that it can talk to more than one telephony server in a load-balancing setup is presumably the way to go. This can be done using Asterisk, and I presume, also using FreeSWITCH. But which would be easier? The Asterisk solution would require quite a lot of coding. The problems I can foresee is mostly managing queues and the location of user-created sound files. My preferred solution would be a collection of load-balancing IP servers that presented a unified interface for me to program against, but that may not be possible? I am very much intrigued by the claims FreeSWITCH makes regarding performance, load balancing and fault tolerance. Using XML or writing code is no problem, but obviously I want the best solution with minimum coding effort J I'd love to hear what opinions and pointers you could give me, thanks in advance Binni Care Solutions Brettevillesgade 14 9000 Aalborg Telefon: 8832 1600 Mobil: 3020 0868 Fax: 7262 3921 www.netklinik.dk, www.gangweb.dk, www.caresolutions.dk Hjem -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/9d44415a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 9906 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/9d44415a/attachment-0001.png From yehavi.bourvine at gmail.com Tue Oct 30 10:27:54 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 30 Oct 2012 09:27:54 +0200 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware In-Reply-To: References: Message-ID: Hi, Stay with the latest version 3 if you use shared lines. Here are the problems I reported to Polycom and got no reply: calls lists: when using shared lines outgoing calls are put in the incoming calls lists, and ananswred outgoing calls go into missed calls. When listenning to voicemail messages FS sends UPDATE packets with the information of the one who left the message. version 3 displayed name and number, version 4 displays only number. Regards, __Yehavi: 2012/10/30 Gabriel Gunderson > All, > > This is a bit off topic, but I know many of you use Polycom phones. > I'm just wondering if you've all update to the 4.0.x firmwares, or if > your holding out until lingering bugs get worked out. > > If you've updated, what features do you like? Is there anything that > makes it worth upgrading? > > Thanks for your opinions! > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/5bb668b1/attachment.html From rdmitry0911 at gmail.com Tue Oct 30 10:50:20 2012 From: rdmitry0911 at gmail.com (Dmitry R) Date: Tue, 30 Oct 2012 11:50:20 +0400 Subject: [Freeswitch-users] Can't call registered user with a reason [USER_NOT_REGISTERED] In-Reply-To: Message-ID: Hi, I've just faced with a problem of being unable to call a registered user as FS thinks it's not registered. I set up a multi-tenant configuration with 2 domains. The default domain works fine. I can make calls between extensions in this domain without any problems. The new domain d.balyakhov which accepts registrations but calls can't get thru. in paste bin http://pastebin.com/pnDAuXPV I attached a log with "siptrace on" of such a call between 2 registered in this domain extensions. FS rejected this call with a reason [USER_NOT_REGISTERED] The question is how to overcome this problem? Thanks, Dmitry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/3f03c389/attachment.html From talk2ram at gmail.com Tue Oct 30 11:04:48 2012 From: talk2ram at gmail.com (ram) Date: Tue, 30 Oct 2012 13:34:48 +0530 Subject: [Freeswitch-users] reloading mod_hash...stopping freeswitch In-Reply-To: <1FFF97C269757C458224B7C895F35F151A3C0A@cantor.std.visionutv.se> References: <1FFF97C269757C458224B7C895F35F151A3C0A@cantor.std.visionutv.se> Message-ID: Hi i never submitted any JIRA can some one assists me what all need to submit. On Tue, Oct 30, 2012 at 12:06 PM, Peter Olsson < peter.olsson at visionutveckling.se> wrote: > Please report to Jira. > > http://wiki.freeswitch.org/wiki/Reporting_Bugs > > /Peter > > ________________________________ > Fr?n: freeswitch-users-bounces at lists.freeswitch.org [ > freeswitch-users-bounces at lists.freeswitch.org] f?r ram [talk2ram at gmail.com > ] > Skickat: den 30 oktober 2012 07:06 > Till: FreeSWITCH Users Help > ?mne: [Freeswitch-users] reloading mod_hash...stopping freeswitch > > Hi > > i am having > > FreeSWITCH Version 1.3.0+git~20121023T150615Z~2246b84554 (git 2246b84 > 2012-10-23 15:06:15Z) > > in fs_cli, when the call was on going > > reload mod_hash > > freeswitch stoped ? why ? > > any idea ? > > Ram > !DSPAM:508f6db832761558012898! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/b9995bba/attachment.html From anton.jugatsu at gmail.com Tue Oct 30 15:15:56 2012 From: anton.jugatsu at gmail.com (Anton Kvashenkin) Date: Tue, 30 Oct 2012 16:15:56 +0400 Subject: [Freeswitch-users] Can't call registered user with a reason [USER_NOT_REGISTERED] In-Reply-To: References: Message-ID: Check out dial-string @ default.xml. Also, very handy tool is sofia_contact */11, for example. If you are using separate sofia profiles to register different users, you should check out force_register_domain @ sofia.conf.xml appropriate profile. Also, don't forget to check out for users directory for that users. 2012/10/30 Dmitry R > ** > Hi, > > I've just faced with a problem of being unable to call a registered user > as FS thinks it's not registered. > I set up a multi-tenant configuration with 2 domains. The default domain > works fine. I can make calls between extensions in this domain without any > problems. The new domain d.balyakhov which accepts registrations but calls > can't get thru. > in paste bin http://pastebin.com/pnDAuXPV I attached a log with "siptrace > on" of such a call between 2 registered in this domain extensions. FS > rejected this call with a reason [USER_NOT_REGISTERED] > The question is how to overcome this problem? > > Thanks, Dmitry > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/84146778/attachment.html From peter.olsson at visionutveckling.se Tue Oct 30 15:27:57 2012 From: peter.olsson at visionutveckling.se (Peter Olsson) Date: Tue, 30 Oct 2012 12:27:57 +0000 Subject: [Freeswitch-users] reloading mod_hash...stopping freeswitch Message-ID: <1FFF97C269757C458224B7C895F35F151A4516@cantor.std.visionutv.se> Read the link I provided, it will tell you what you need to provide when submitting to Jira. /Peter Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r ram Skickat: den 30 oktober 2012 09:05 Till: FreeSWITCH Users Help ?mne: Re: [Freeswitch-users] reloading mod_hash...stopping freeswitch Hi i never submitted any JIRA can some one assists me what all need to submit. On Tue, Oct 30, 2012 at 12:06 PM, Peter Olsson > wrote: Please report to Jira. http://wiki.freeswitch.org/wiki/Reporting_Bugs /Peter ________________________________ Fr?n: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] f?r ram [talk2ram at gmail.com] Skickat: den 30 oktober 2012 07:06 Till: FreeSWITCH Users Help ?mne: [Freeswitch-users] reloading mod_hash...stopping freeswitch Hi i am having FreeSWITCH Version 1.3.0+git~20121023T150615Z~2246b84554 (git 2246b84 2012-10-23 15:06:15Z) in fs_cli, when the call was on going reload mod_hash freeswitch stoped ? why ? any idea ? Ram _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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 !DSPAM:508f873332764633510977! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/3a38d2ca/attachment-0001.html From mahesh.katta at flexydial.com Tue Oct 30 15:45:56 2012 From: mahesh.katta at flexydial.com (mahesh katta) Date: Tue, 30 Oct 2012 18:15:56 +0530 Subject: [Freeswitch-users] mod_freetdm problem Message-ID: Hi List, I have getting problem in EXAWEALTH server, we have installed our telephony software FreeSWITCH for IVR. The problem I am facing when I reboot the server module mod_freetdm is not loading on boot. Please find attachments which is configure for mod_freetdm files. Please find in freeswitch.log file bellow message. "FreeTDM global configuration failed!" switch_loadable_module.c:1309 Error Loading module /usr/lib/freeswitch/mod_freetdm.so **Module load routine returned an error** Kindly suggest me to resolve the issue. Thanking you. Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 222, Arunvihar,Sector-28, Noida 201301 GSM +91.99993 45699 | Phone +91.12.0431.0581 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/6ae34e55/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.log Type: application/octet-stream Size: 74522 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/6ae34e55/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: freetdm.conf Type: application/octet-stream Size: 324 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/6ae34e55/attachment-0003.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: freetdm.conf.xml Type: text/xml Size: 1245 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/6ae34e55/attachment-0002.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: modules.conf.xml Type: text/xml Size: 4202 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/6ae34e55/attachment-0003.xml From khuenm at vega.com.vn Tue Oct 30 15:46:33 2012 From: khuenm at vega.com.vn (Khue Nguyen Minh) Date: Tue, 30 Oct 2012 19:46:33 +0700 Subject: [Freeswitch-users] How to mix audio in FreeSWITCH In-Reply-To: References: Message-ID: Hi Michael, I create a js script as follow: session.answer() while (session.ready()) { apiExecute("uuid_displace", session.uuid + " start /opt/freeswitch/sounds/welcome.wav 60 mux"); apiExecute("uuid_displae", session.uuid + " stop /opt/freeswitch/sounds/welcome.wav"); session.hangup() } When I make a new call, script run normal but I do not see anything (the call hangup immediately) and I don't know How I can save "mux audio" to new file? Please guide me. Brs, Khue 2012/10/30 Michael Collins > You might also try uuid_displace API with the "mux" option, although I > kind of like the idea of getting a group of uninhibited users all in a > conference room singing "Love Shack" by the B52's. > -MC > > > On Sun, Oct 28, 2012 at 10:45 PM, SamyGo wrote: > >> Hi, >> >> You should try using "sox" if there is nothing you've found in >> freeswitch. Execute a system sox command and input the two recordings. >> Later the mixed audio can be played back to user. >> >> Another approach can be to use a conference bridge in which a local >> channel and the incoming caller are bridged and the conference is recorded. >> The recorded conference can be played back or used as well. >> >> BR >> Sammy >> >> >> On Mon, Oct 29, 2012 at 8:46 AM, Khue Nguyen Minh wrote: >> >>> Hi all, >>> >>> I want create a js scripts to execute a simple karaoke application. When >>> user make call to my system, js scripts will play a audio file and user can >>> sing. The js scripts will record the song and mix it with audio that is >>> playing. Now, I can create a js to play audio, record call but I don't know >>> how I can mix audio. Please help me. >>> >>> Thanks & Best regards, >>> Khue. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/6b59be07/attachment.html From nbhatti at gmail.com Tue Oct 30 16:16:35 2012 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Tue, 30 Oct 2012 16:16:35 +0300 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: References: Message-ID: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Did you restart FreeSWITCH after changing this param in switch.conf? Thanks, -- Muhammad Naseer Bhatti On Oct 30, 2012, at 7:43 AM, "Cal Leeming [Simplicity Media Ltd]" wrote: > Hello all, > > Attempting to increase 'sessions-per-second' to 100 does not appear to make any difference. > > Inside switch.conf, I have the following; > > > > > And yet for some reason, I still get this; > 2012-10-30 04:20:22.205003 [CRIT] switch_core_session.c:2038 Throttle Error! 99 > 2012-10-30 04:20:22.224956 [CRIT] switch_core_session.c:2038 Throttle Error! 99 > 2012-10-30 04:20:22.244981 [CRIT] switch_core_session.c:2038 Throttle Error! 99 > 2012-10-30 04:20:22.265109 [CRIT] switch_core_session.c:2038 Throttle Error! 99 > 2012-10-30 04:20:22.309297 [CRIT] switch_time.c:997 Over Session Rate of 30! > > Which then eventually leads to this; > > 2012-10-30 04:29:42.284991 [CRIT] switch_time.c:997 Over Session Rate of 30! > VAL: tried to access cart in -4784 type val > > After looking through the source code, I found only a few places where this is referenced; > > ./src/switch_core.c: runtime.sps_total = 30; > ./src/switch_core.c: runtime.sps_total = oldintval; > ./src/switch_core.c: newintval = runtime.sps_total; > ./src/include/private/switch_core_pvt.h: uint32_t sps_total; > ./src/switch_time.c: runtime.sps = runtime.sps_total; > ./src/switch_time.c: switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Over Session Rate of %d!\n", runtime.sps_total); > ./src/switch_time.c: runtime.sps_last = runtime.sps_total - runtime.sps; > ./src/switch_time.c: runtime.sps = runtime.sps_total; > ./src/switch_core_session.c: runtime.sps_total = new_limit; > ./src/switch_core_session.c: return runtime.sps_total; > > So for shits and giggles, I changed runtime.sps_total from 30 to 101 in the code, and low and behold it worked fine - wtf? lol. > > 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! 972 > 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! 972 > 2012-10-30 04:42:02.104969 [CRIT] switch_time.c:997 Over Session Rate of 101! > > Does anyone know why FS seems to be ignoring the "sessions-per-second" value? > > Thanks > > Cal > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/f98b1a16/attachment.html From krice at freeswitch.org Tue Oct 30 16:54:29 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 30 Oct 2012 08:54:29 -0500 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Message-ID: fsctl sps NEW_LIMIT >From fs_cli to change it while the switch is running... On 10/30/12 8:16 AM, "Muhammad Bhatti" wrote: > > Did you restart FreeSWITCH after changing this param in switch.conf? > > > Thanks, > -- > Muhammad Naseer Bhatti > > > > On Oct 30, 2012, at 7:43 AM, "Cal Leeming [Simplicity Media Ltd]" > wrote: > >> Hello all, >> >> Attempting to increase 'sessions-per-second' to 100 does not appear to make >> any difference. >> >> Inside switch.conf, I have the following; >> >> >> >> >> And yet for some reason, I still get this; >> 2012-10-30 04:20:22.205003 [CRIT] switch_core_session.c:2038 Throttle Error! >> 99 >> 2012-10-30 04:20:22.224956 [CRIT] switch_core_session.c:2038 Throttle Error! >> 99 >> 2012-10-30 04:20:22.244981 [CRIT] switch_core_session.c:2038 Throttle Error! >> 99 >> 2012-10-30 04:20:22.265109 [CRIT] switch_core_session.c:2038 Throttle Error! >> 99 >> 2012-10-30 04:20:22.309297 [CRIT] switch_time.c:997 Over Session Rate of 30! >> >> Which then eventually leads to this; >> >> 2012-10-30 04:29:42.284991 [CRIT] switch_time.c:997 Over Session Rate of 30! >> VAL: tried to access cart in -4784 type val >> >> After looking through the source code, I found only a few places where this >> is referenced; >> >> ./src/switch_core.c: runtime.sps_total = 30; >> ./src/switch_core.c: runtime.sps_total = oldintval; >> ./src/switch_core.c: newintval = runtime.sps_total; >> ./src/include/private/switch_core_pvt.h: uint32_t sps_total; >> ./src/switch_time.c: runtime.sps = runtime.sps_total; >> ./src/switch_time.c: >> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Over Session Rate of >> %d!\n", runtime.sps_total); >> ./src/switch_time.c: runtime.sps_last = runtime.sps_total >> - runtime.sps; >> ./src/switch_time.c: runtime.sps = runtime.sps_total; >> ./src/switch_core_session.c: runtime.sps_total = new_limit; >> ./src/switch_core_session.c: return runtime.sps_total; >> >> So for shits and giggles, I changed runtime.sps_total from 30 to 101 in the >> code, and low and behold it worked fine - wtf? lol. >> >> 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! >> 972 >> 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! >> 972 >> 2012-10-30 04:42:02.104969 [CRIT] switch_time.c:997 Over Session Rate of 101! >> >> Does anyone know why FS seems to be ignoring the "sessions-per-second" value? >> >> Thanks >> >> Cal >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/89dab365/attachment-0001.html From mario_fs at mgtech.com Tue Oct 30 19:10:18 2012 From: mario_fs at mgtech.com (Mario G) Date: Tue, 30 Oct 2012 09:10:18 -0700 Subject: [Freeswitch-users] Newbie at patches, can someone shed light on my git issue? Message-ID: <959AE919-D524-46C6-BFDF-1CEC8F5AACAC@mgtech.com> I have made some source changes to fix build issues. I spent all day yesterday trying to get git to build a patch. Many web sites have info but no a-z info for someone new to this (the FS wiki and others all assume you know git pretty well). I tried several things such as the sequence below. But all I can ever get is format-patch generating the whole program instead of just the changes. I am thinking it may have to do with what directory I put the patch in. I tried various places with no luck. Do I duplicate the freeswitch dir and compare the two? I tried using linux diff but it does not create what looks like a FS patch. Thanks, Mario G cd freeswitch mkdir afixes git checkout -b afixes put changed pgmname.c in afixes directory git add afixes/pgmname.c git commit -m "Lion spandsp compat" git format-patch master <-results in entire program added From avi at avimarcus.net Tue Oct 30 19:10:49 2012 From: avi at avimarcus.net (Avi Marcus) Date: Tue, 30 Oct 2012 18:10:49 +0200 Subject: [Freeswitch-users] B-leg Call-ID In-Reply-To: References: Message-ID: I don't see one.. you can get bleg_uuid, but not much else. Variable_copy_xml_cdr -- this copies the entire XML from the B leg into the A leg, but that won't quite help for mod_cdr_csv. Either you need a patch similar to bleg_uuid, which I don't know if Anthony would want in the main repo, or you need to use xml_cdr (or json_cdr?) to get both cdrs at once and save the sip_call_id. I couldn't find the code that creates bleg_uuid, I'm not sure how that one works. -Avi On Tue, Oct 30, 2012 at 2:02 AM, DJB International wrote: > I have only used and enabled a leg parameter in mod_cdr_csv. Is there a > way to get the sip_call_id variable from b-leg in mod_cdr_csv without > enabling the b legs parameter; something like bleg_sip_call_id ? > > Thank you. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/eec0fff3/attachment.html From nicholas at hellohunter.com Tue Oct 30 15:14:55 2012 From: nicholas at hellohunter.com (Nicholas Blasgen) Date: Tue, 30 Oct 2012 05:14:55 -0700 Subject: [Freeswitch-users] Event Consumers Message-ID: I have an Event Consumer somewhere that isn't consuming enough events or isn't being alerted to those events. Is there any way to get Freeswitch to dump the list of queued events? switch_event.c:XXX Event queue is full! If I could figure out what pending events there were, I could optimize the function. Nicholas Blasgen Developer Predictive Dialer Limited +1 (724) 252-7436 (cell) Skype: nblasgen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/72d10af1/attachment.html From cal.leeming at simplicitymedialtd.co.uk Tue Oct 30 16:32:46 2012 From: cal.leeming at simplicitymedialtd.co.uk (Cal Leeming [Simplicity Media Ltd]) Date: Tue, 30 Oct 2012 13:32:46 +0000 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> References: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Message-ID: The switch.conf is loaded in via mod_xml_curl. However I have not confirmed whether the bug still exists if it uses a static file - so I shall do this first and post back the results. Cal On Tue, Oct 30, 2012 at 1:16 PM, Muhammad Naseer Bhatti wrote: > > Did you restart FreeSWITCH after changing this param in switch.conf? > > > Thanks, > -- > Muhammad Naseer Bhatti > > > > On Oct 30, 2012, at 7:43 AM, "Cal Leeming [Simplicity Media Ltd]" < > cal.leeming at simplicitymedialtd.co.uk> wrote: > > Hello all, > > Attempting to increase 'sessions-per-second' to 100 does not appear to > make any difference. > > Inside switch.conf, I have the following; > > > > > And yet for some reason, I still get this; > 2012-10-30 04:20:22.205003 [CRIT] switch_core_session.c:2038 Throttle > Error! 99 > 2012-10-30 04:20:22.224956 [CRIT] switch_core_session.c:2038 Throttle > Error! 99 > 2012-10-30 04:20:22.244981 [CRIT] switch_core_session.c:2038 Throttle > Error! 99 > 2012-10-30 04:20:22.265109 [CRIT] switch_core_session.c:2038 Throttle > Error! 99 > 2012-10-30 04:20:22.309297 [CRIT] switch_time.c:997 Over Session Rate of > 30! > > Which then eventually leads to this; > > 2012-10-30 04:29:42.284991 [CRIT] switch_time.c:997 Over Session Rate of > 30! > VAL: tried to access cart in -4784 type val > > After looking through the source code, I found only a few places where > this is referenced; > > ./src/switch_core.c: runtime.sps_total = 30; > ./src/switch_core.c: runtime.sps_total = oldintval; > ./src/switch_core.c: newintval = runtime.sps_total; > ./src/include/private/switch_core_pvt.h: uint32_t sps_total; > ./src/switch_time.c: runtime.sps = runtime.sps_total; > ./src/switch_time.c: > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Over Session Rate > of %d!\n", runtime.sps_total); > ./src/switch_time.c: runtime.sps_last = > runtime.sps_total - runtime.sps; > ./src/switch_time.c: runtime.sps = runtime.sps_total; > ./src/switch_core_session.c: runtime.sps_total = new_limit; > ./src/switch_core_session.c: return runtime.sps_total; > > So for shits and giggles, I changed runtime.sps_total from 30 to 101 in > the code, and low and behold it worked fine - wtf? lol. > > 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle > Error! 972 > 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle > Error! 972 > 2012-10-30 04:42:02.104969 [CRIT] switch_time.c:997 Over Session Rate of > 101! > > Does anyone know why FS seems to be ignoring the "sessions-per-second" > value? > > Thanks > > Cal > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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://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/20121030/24c51f36/attachment.html From krice at freeswitch.org Tue Oct 30 19:49:20 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 30 Oct 2012 11:49:20 -0500 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: Message-ID: I don?t know if that setting can be set that way... Or that might be a bug... I know that if you are using static files setting it in switch.conf.xml works... (if it didn?t work I would be constantly setting that on my switches lol) K On 10/30/12 8:32 AM, "Cal Leeming [Simplicity Media Ltd]" wrote: > The switch.conf is loaded in via mod_xml_curl. > > However I have not confirmed whether the bug still exists if it uses a static > file - so I shall do this first and post back the results. > > Cal > > On Tue, Oct 30, 2012 at 1:16 PM, Muhammad Naseer Bhatti > wrote: >> >> Did you restart FreeSWITCH after changing this param in switch.conf? >> >> >> Thanks, >> -- >> Muhammad Naseer Bhatti >> >> >> >> On Oct 30, 2012, at 7:43 AM, "Cal Leeming [Simplicity Media Ltd]" >> wrote: >> >>> Hello all, >>> >>> Attempting to increase 'sessions-per-second' to 100 does not appear to make >>> any difference. >>> >>> Inside switch.conf, I have the following; >>> >>> >>> >>> >>> And yet for some reason, I still get this; >>> 2012-10-30 04:20:22.205003 [CRIT] switch_core_session.c:2038 Throttle Error! >>> 99 >>> 2012-10-30 04:20:22.224956 [CRIT] switch_core_session.c:2038 Throttle Error! >>> 99 >>> 2012-10-30 04:20:22.244981 [CRIT] switch_core_session.c:2038 Throttle Error! >>> 99 >>> 2012-10-30 04:20:22.265109 [CRIT] switch_core_session.c:2038 Throttle Error! >>> 99 >>> 2012-10-30 04:20:22.309297 [CRIT] switch_time.c:997 Over Session Rate of 30! >>> >>> Which then eventually leads to this; >>> >>> 2012-10-30 04:29:42.284991 [CRIT] switch_time.c:997 Over Session Rate of 30! >>> VAL: tried to access cart in -4784 type val >>> >>> After looking through the source code, I found only a few places where this >>> is referenced; >>> >>> ./src/switch_core.c: ? ?runtime.sps_total = 30; >>> ./src/switch_core.c: ? ? ? ? ? ? ? ? ? ?runtime.sps_total = oldintval; >>> ./src/switch_core.c: ? ? ? ? ? ?newintval = runtime.sps_total; >>> ./src/include/private/switch_core_pvt.h: ? ? ? ?uint32_t sps_total; >>> ./src/switch_time.c: ? ?runtime.sps = runtime.sps_total; >>> ./src/switch_time.c: ? ? ? ? ? ? ? ? ? ? ? ? ? >>> ?switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Over Session Rate >>> of %d!\n", runtime.sps_total); >>> ./src/switch_time.c: ? ? ? ? ? ? ? ? ? ?runtime.sps_last = runtime.sps_total >>> - runtime.sps; >>> ./src/switch_time.c: ? ? ? ? ? ? ? ? ? ?runtime.sps = runtime.sps_total; >>> ./src/switch_core_session.c: ? ? ? ? ? ?runtime.sps_total = new_limit; >>> ./src/switch_core_session.c: ? ?return runtime.sps_total; >>> >>> So for shits and giggles, I changed runtime.sps_total from 30 to 101 in the >>> code, and low and behold it worked fine - wtf? lol. >>> >>> 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! >>> 972 >>> 2012-10-30 04:42:02.084961 [CRIT] switch_core_session.c:2038 Throttle Error! >>> 972 >>> 2012-10-30 04:42:02.104969 [CRIT] switch_time.c:997 Over Session Rate of >>> 101! >>> >>> Does anyone know why FS seems to be ignoring the "sessions-per-second" >>> value? >>> >>> Thanks >>> >>> Cal >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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://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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/38d455c0/attachment-0001.html From gabe at gundy.org Tue Oct 30 20:24:54 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Tue, 30 Oct 2012 11:24:54 -0600 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: References: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Message-ID: On Tue, Oct 30, 2012 at 7:32 AM, Cal Leeming [Simplicity Media Ltd] wrote: > The switch.conf is loaded in via mod_xml_curl. Are there other values in the switch.conf that you're serving up that appear to be working? Is switch.conf loaded after mod_xml_curl? Is there a copy of switch.conf on disk that it might be falling back to? What happens when you change the value in that file? Good luck and happy hacking! Gabe From drk at drkngs.net Tue Oct 30 20:39:15 2012 From: drk at drkngs.net (Dave R. Kompel) Date: Tue, 30 Oct 2012 10:39:15 -0700 Subject: [Freeswitch-users] How to mix audio in FreeSWITCH In-Reply-To: Message-ID: <20121030173915.32e02f4b@mail.tritonwest.net> Dude, look very hard at your code. All the API commands you are using are Async. You start the file playing, and right away you stop it, and then hangup the channel "sesison.hangup()". Why are you stopping the displace right away. If you want the whole thing to keep going, till it's done, then don't stop it, and don't hangup the channel. Maybe you should change the "session.hangup" to "session.execute("park")? --Dave _____ From: Khue Nguyen Minh [mailto:khuenm at vega.com.vn] To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org] Sent: Tue, 30 Oct 2012 05:46:33 -0700 Subject: Re: [Freeswitch-users] How to mix audio in FreeSWITCH Hi Michael, I create a js script as follow: session.answer() while (session.ready()) { apiExecute("uuid_displace", session.uuid + " start /opt/freeswitch/sounds/welcome.wav 60 mux"); apiExecute("uuid_displae", session.uuid + " stop /opt/freeswitch/sounds/welcome.wav"); session.hangup() } When I make a new call, script run normal but I do not see anything (the call hangup immediately) and I don't know How I can save "mux audio" to new file? Please guide me. Brs, Khue 2012/10/30 Michael Collins You might also try uuid_displace API with the "mux" option, although I kind of like the idea of getting a group of uninhibited users all in a conference room singing "Love Shack" by the B52's. -MC On Sun, Oct 28, 2012 at 10:45 PM, SamyGo wrote: Hi, You should try using "sox" if there is nothing you've found in freeswitch. Execute a system sox command and input the two recordings. Later the mixed audio can be played back to user. Another approach can be to use a conference bridge in which a local channel and the incoming caller are bridged and the conference is recorded. The recorded conference can be played back or used as well. BR Sammy On Mon, Oct 29, 2012 at 8:46 AM, Khue Nguyen Minh wrote: Hi all, I want create a js scripts to execute a simple karaoke application. When user make call to my system, js scripts will play a audio file and user can sing. The js scripts will record the song and mix it with audio that is playing. Now, I can create a js to play audio, record call but I don't know how I can mix audio. Please help me. Thanks & Best regards, Khue. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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://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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121030/6cd51dc8/attachment.html From anthony.minessale at gmail.com Tue Oct 30 20:44:56 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 30 Oct 2012 12:44:56 -0500 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: References: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Message-ID: when you serve switch.conf.xml over xml curl you have to wait for the call to get "post_load_switch.conf" The static switch.conf is already loaded but it calls this one after all the modules are loaded in case you are using an xml binding to set switch.conf values. On Tue, Oct 30, 2012 at 12:24 PM, Gabriel Gunderson wrote: > On Tue, Oct 30, 2012 at 7:32 AM, Cal Leeming [Simplicity Media Ltd] > wrote: > > The switch.conf is loaded in via mod_xml_curl. > > Are there other values in the switch.conf that you're serving up that > appear to be working? > > Is switch.conf loaded after mod_xml_curl? Is there a copy of > switch.conf on disk that it might be falling back to? What happens > when you change the value in that file? > > > Good luck and happy hacking! > > > Gabe > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/ad359cdf/attachment.html From msc at freeswitch.org Tue Oct 30 20:51:43 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 30 Oct 2012 10:51:43 -0700 Subject: [Freeswitch-users] Sangoma Vega 50 FXO In-Reply-To: <508F55A8.9010902@the800group.com> References: <508A4FD0.3070703@the800group.com> <508F55A8.9010902@the800group.com> Message-ID: For simple setups I just used Cisco PAP2T or SPA-3102. I know that Cisco now has newer versions of these devices. That being said, I've spoken to others who've had good success with the Vega 50's. In fact, these devices have even won awards, so I wouldn't discount them without more research. -MC On Mon, Oct 29, 2012 at 9:20 PM, ocset wrote: > Michael > > What was your eventual solution to integrate POTS/PSTN lines into CudaTel > if the Vega 50 was not up to par? > > > On 26/10/12 23:01, Michael Collins wrote: > > I've used the Vega 50 8FXO and 4FXS/2FXO gateways with the CudaTel. My > experience has been mixed at best. Anyone else? > -MC > > On Fri, Oct 26, 2012 at 1:54 AM, ocset wrote: > >> Hi >> >> Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? >> >> I have used the Grandstream GXW4104 FXO gateway before and I am >> thinking of switching to the Sangoma as they seem to be more active in >> FreeSWITCH support and development. >> >> Thanks in advance >> O. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/35b10511/attachment-0001.html From msc at freeswitch.org Tue Oct 30 20:56:08 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 30 Oct 2012 10:56:08 -0700 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware In-Reply-To: References: Message-ID: On the plus side the 4.0 UI has some less intrusive updating where you don't have to wait forever while the phone reboots. I know that's petty, but when you deal with Polycoms all day long having to wait 3+ minutes every time it reboots is annoying and counter-productive. Regarding Yehavi's report, I really hope Polycom addresses those issues soon. -MC On Tue, Oct 30, 2012 at 12:27 AM, Yehavi Bourvine wrote: > Hi, > > Stay with the latest version 3 if you use shared lines. Here are the > problems I reported to Polycom and got no reply: > > calls lists: when using shared lines outgoing calls are put in the > incoming calls lists, and ananswred outgoing calls go into missed calls. > When listenning to voicemail messages FS sends UPDATE packets with the > information of the one who left the message. version 3 displayed name and > number, version 4 displays only number. > > Regards, __Yehavi: > 2012/10/30 Gabriel Gunderson > >> All, >> >> This is a bit off topic, but I know many of you use Polycom phones. >> I'm just wondering if you've all update to the 4.0.x firmwares, or if >> your holding out until lingering bugs get worked out. >> >> If you've updated, what features do you like? Is there anything that >> makes it worth upgrading? >> >> Thanks for your opinions! >> >> >> Gabe >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/85c66eca/attachment.html From Tim.Meade at Millicorp.com Tue Oct 30 21:03:42 2012 From: Tim.Meade at Millicorp.com (Tim Meade) Date: Tue, 30 Oct 2012 18:03:42 +0000 Subject: [Freeswitch-users] libtermcap, libcurses or libncurses are required! Message-ID: <804D48104511D4468F0D60DF9D3100350AC777B5@MAIL.millicorp.com> I am setting up a test server of 1.2.stable on an Amazon EC2 Instance of a CentOS 5.8 server. While doing the ./configure -C I get: libtermcap, libcurses or libncurses are required! But they are already installed: yum install ncurses ncurses-devel Loaded plugins: priorities, security, update-motd, upgrade-helper Setting up Install Process Package ncurses-5.7-3.20090208.9.amzn1.x86_64 already installed and latest version Package ncurses-devel-5.7-3.20090208.9.amzn1.x86_64 already installed and latest version Nothing to do Any ideas? I've done this install many many times on normal CentOS 5.8 servers. Thanks TIm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/269c4da6/attachment.html From a.venugopan at mundio.com Tue Oct 30 20:52:39 2012 From: a.venugopan at mundio.com (Archana Venugopan) Date: Tue, 30 Oct 2012 17:52:39 +0000 Subject: [Freeswitch-users] SQL ERR while running freeswitch Message-ID: <592A9CF93E12394E8472A6CC66E66BF231BD76@Mail-Kilo.squay.com> Hi all, I have been facing issues while running freeswitch and I am facing with the below errors and I have installed the latest version of git. I have configured /etc/odbc.ini with the username and password. 012-10-29 16:53:22.108686 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Auto Generating Table! 2012-10-29 16:53:22.108761 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_registrations] [drop table sip_registrations] 2012-10-29 16:53:22.111151 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111246 [DEBUG] sofia.c:2413 Creating agent for internal 2012-10-29 16:53:22.111424 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111485 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_subscriptions] [DROP TABLE sip_subscriptions] 2012-10-29 16:53:22.112236 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Please do guide me on this. Many thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/501a9436/attachment.html From Tim.Meade at Millicorp.com Tue Oct 30 21:42:06 2012 From: Tim.Meade at Millicorp.com (Tim Meade) Date: Tue, 30 Oct 2012 18:42:06 +0000 Subject: [Freeswitch-users] SQL ERR while running freeswitch In-Reply-To: <592A9CF93E12394E8472A6CC66E66BF231BD76@Mail-Kilo.squay.com> References: <592A9CF93E12394E8472A6CC66E66BF231BD76@Mail-Kilo.squay.com> Message-ID: <804D48104511D4468F0D60DF9D3100350AC77E8D@MAIL.millicorp.com> I know it's simple, but did you restart Freeswitch after configuring odbc.ini so that FS would create the appropriate tables? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: Tuesday, October 30, 2012 1:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] SQL ERR while running freeswitch Hi all, I have been facing issues while running freeswitch and I am facing with the below errors and I have installed the latest version of git. I have configured /etc/odbc.ini with the username and password. 012-10-29 16:53:22.108686 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Auto Generating Table! 2012-10-29 16:53:22.108761 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_registrations] [drop table sip_registrations] 2012-10-29 16:53:22.111151 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111246 [DEBUG] sofia.c:2413 Creating agent for internal 2012-10-29 16:53:22.111424 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111485 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_subscriptions] [DROP TABLE sip_subscriptions] 2012-10-29 16:53:22.112236 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Please do guide me on this. Many thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/6315f323/attachment-0001.html From gabe at gundy.org Tue Oct 30 21:50:03 2012 From: gabe at gundy.org (Gabriel Gunderson) Date: Tue, 30 Oct 2012 12:50:03 -0600 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware In-Reply-To: References: Message-ID: On Tue, Oct 30, 2012 at 11:56 AM, Michael Collins wrote: > Regarding Yehavi's report, I really hope Polycom addresses those issues > soon. But not before they add support for STUN :) Gabe From vipkilla at gmail.com Tue Oct 30 22:04:16 2012 From: vipkilla at gmail.com (Vik Killa) Date: Tue, 30 Oct 2012 15:04:16 -0400 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware In-Reply-To: References: Message-ID: I'm using only 4.0.3 firmware and I'm not having the issues described by Yehavi. I just tested and the call-lists thing is NOT happening on my Polycoms 335s I'm not sure what he means by the second part "When listenning to voicemail messages FS sends UPDATE packets with the information of the one who left the message. version 3 displayed name and number, version 4 displays only number." From vipkilla at gmail.com Tue Oct 30 22:18:29 2012 From: vipkilla at gmail.com (Vik Killa) Date: Tue, 30 Oct 2012 15:18:29 -0400 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware In-Reply-To: References: Message-ID: Okay, I see what he is saying about the second part, that is true... I'd actually prefer to disable that 'UPDATE' all together... wonder if that's possible. From errotan at elder.hu Tue Oct 30 22:53:43 2012 From: errotan at elder.hu (=?ISO-8859-1?Q?Pusk=E1s_Zsolt?=) Date: Tue, 30 Oct 2012 20:53:43 +0100 Subject: [Freeswitch-users] mod_freetdm problem In-Reply-To: References: Message-ID: <50903047.9060608@elder.hu> I bet you are starting freeswitch before starting dahdi. You need to load the kernel modules and preconfigure your channels before starting freeswitch. Review your service boot order in /etc/rc2.d/ Also check if the freeswitch process have permission to write /dev/dahdi/* files. Next time use pastebin for posting logs and configs. 2012-10-30 13:45 keltez?ssel, mahesh katta ?rta: > Hi List, > > I have getting problem in EXAWEALTH server, we have installed our > telephony software FreeSWITCH for IVR. > > The problem I am facing when I reboot the server module mod_freetdm is > not loading on boot. Please find attachments which is configure for > mod_freetdm files. > > Please find in freeswitch.log file bellow message. > > "FreeTDM global configuration failed!" > > switch_loadable_module.c:1309 Error Loading module > /usr/lib/freeswitch/mod_freetdm.so > **Module load routine returned an error** > > Kindly suggest me to resolve the issue. > > Thanking you. > > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 222, Arunvihar,Sector-28, Noida 201301 > GSM +91.99993 45699 | Phone +91.12.0431.0581 > Web http://www.buzzworks.com > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/fb9c814d/attachment.html From nasida at live.ru Tue Oct 30 23:25:12 2012 From: nasida at live.ru (Yuriy Nasida) Date: Wed, 31 Oct 2012 00:25:12 +0400 Subject: [Freeswitch-users] issue with mailer_app.php Message-ID: Hi guys, My mailer_app.php stops working. it is from http://wiki.freeswitch.org/wiki/PHP_email I try to uderstand how to debug this. Fs_cli doesn't say anything usefull. Any help welcome.Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/0943743e/attachment.html From msc at freeswitch.org Tue Oct 30 23:37:55 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 30 Oct 2012 13:37:55 -0700 Subject: [Freeswitch-users] Can't call registered user with a reason [USER_NOT_REGISTERED] In-Reply-To: References: Message-ID: FYI, we recently updated the vanilla example config to have the "*/" in the dial-string param in conf/directory/default.xml. This makes it much less painful to make calls to users when you have registrations coming in on multiple profiles. For posterity's sake I'm pasting the old and the new dial-string param. -MC Old: New: On Tue, Oct 30, 2012 at 5:15 AM, Anton Kvashenkin wrote: > Check out dial-string @ default.xml. Also, very handy tool is > sofia_contact */11, for example. If you are using separate sofia profiles > to register different users, you should check out force_register_domain @ > sofia.conf.xml appropriate profile. Also, don't forget to check out > for users directory for that users. > > 2012/10/30 Dmitry R > >> ** >> Hi, >> >> I've just faced with a problem of being unable to call a registered user >> as FS thinks it's not registered. >> I set up a multi-tenant configuration with 2 domains. The default domain >> works fine. I can make calls between extensions in this domain without any >> problems. The new domain d.balyakhov which accepts registrations but calls >> can't get thru. >> in paste bin http://pastebin.com/pnDAuXPV I attached a log with >> "siptrace on" of such a call between 2 registered in this domain >> extensions. FS rejected this call with a reason [USER_NOT_REGISTERED] >> The question is how to overcome this problem? >> >> Thanks, Dmitry >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/8cb3e05d/attachment-0001.html From yehavi.bourvine at gmail.com Tue Oct 30 23:54:18 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 30 Oct 2012 22:54:18 +0200 Subject: [Freeswitch-users] [OT] Opinions on Polycom 4.0.x Firmware In-Reply-To: References: Message-ID: Note that the problem with the call lists happens only on shared lines, not private ones. __Yehavi: 2012/10/30 Vik Killa > I'm using only 4.0.3 firmware and I'm not having the issues described by > Yehavi. > I just tested and the call-lists thing is NOT happening on my Polycoms 335s > I'm not sure what he means by the second part "When listenning to > voicemail messages FS sends UPDATE packets with the information of the > one who left the message. version 3 displayed name and number, version > 4 displays only number." > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/55e64370/attachment.html From mitch.capper at gmail.com Tue Oct 30 23:56:26 2012 From: mitch.capper at gmail.com (Mitch Capper) Date: Tue, 30 Oct 2012 13:56:26 -0700 Subject: [Freeswitch-users] Newbie at patches, can someone shed light on my git issue? In-Reply-To: <959AE919-D524-46C6-BFDF-1CEC8F5AACAC@mgtech.com> References: <959AE919-D524-46C6-BFDF-1CEC8F5AACAC@mgtech.com> Message-ID: So you clone freeswitch then: git branch my_fix master #clones master into my_fix branch for you to work in git checkout my_fix #switches to the my_fix branch #make changes to the files you change or add #Mark the changes for commit, ie: git add src/switch.c #use git add for modified or new files git commit -m "My Fix" #commits your changes git format-patch -w 1 #makes a patch for the last commit The patch will contain the differences between the original code and your code this is what you would put in a jira. ~mitch On Tue, Oct 30, 2012 at 9:10 AM, Mario G wrote: > I have made some source changes to fix build issues. I spent all day yesterday trying to get git to build a patch. Many web sites have info but no a-z info for someone new to this (the FS wiki and others all assume you know git pretty well). I tried several things such as the sequence below. But all I can ever get is format-patch generating the whole program instead of just the changes. I am thinking it may have to do with what directory I put the patch in. I tried various places with no luck. Do I duplicate the freeswitch dir and compare the two? I tried using linux diff but it does not create what looks like a FS patch. Thanks, > Mario G > > cd freeswitch > mkdir afixes > git checkout -b afixes > put changed pgmname.c in afixes directory > git add afixes/pgmname.c > git commit -m "Lion spandsp compat" > git format-patch master <-results in entire program added > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 From yehavi.bourvine at gmail.com Tue Oct 30 23:57:52 2012 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 30 Oct 2012 22:57:52 +0200 Subject: [Freeswitch-users] Sangoma Vega 50 FXO In-Reply-To: References: <508A4FD0.3070703@the800group.com> Message-ID: I had the Vega 50 and the 24 ports model (don't remember the model number). the 50 died alightly after the warranty was over. The 24 ports model had a problem of mixing the calls when there were more than 12-14 user registered on it. Vega never managed to fix it. I am using Audiocodes MP124 since then; install, define and forget... __Yehavi: 2012/10/26 Michael Collins > I've used the Vega 50 8FXO and 4FXS/2FXO gateways with the CudaTel. My > experience has been mixed at best. Anyone else? > -MC > > > On Fri, Oct 26, 2012 at 1:54 AM, ocset wrote: > >> Hi >> >> Is anyone using/tried a Sangoma Vega 50 FXO gateway with FreeSWITCH? >> >> I have used the Grandstream GXW4104 FXO gateway before and I am >> thinking of switching to the Sangoma as they seem to be more active in >> FreeSWITCH support and development. >> >> Thanks in advance >> O. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/fe896cb3/attachment.html From jmesquita at freeswitch.org Wed Oct 31 00:04:56 2012 From: jmesquita at freeswitch.org (=?ISO-8859-1?Q?Jo=E3o_Mesquita?=) Date: Tue, 30 Oct 2012 18:04:56 -0300 Subject: [Freeswitch-users] Can't call registered user with a reason [USER_NOT_REGISTERED] In-Reply-To: References: Message-ID: This might sound (actually read) really dumb, but what's the ^^ in front of the dialstring? Regards, Jo?o Mesquita On Tue, Oct 30, 2012 at 5:37 PM, Michael Collins wrote: > FYI, we recently updated the vanilla example config to have the "*/" in > the dial-string param in conf/directory/default.xml. This makes it much > less painful to make calls to users when you have registrations coming in > on multiple profiles. For posterity's sake I'm pasting the old and the new > dial-string param. > -MC > > > Old: > > value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@ > ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/> > > > New: > > value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@ > ${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}"/> > > > > On Tue, Oct 30, 2012 at 5:15 AM, Anton Kvashenkin > wrote: > >> Check out dial-string @ default.xml. Also, very handy tool is >> sofia_contact */11, for example. If you are using separate sofia profiles >> to register different users, you should check out force_register_domain @ >> sofia.conf.xml appropriate profile. Also, don't forget to check out >> for users directory for that users. >> >> 2012/10/30 Dmitry R >> >>> ** >>> Hi, >>> >>> I've just faced with a problem of being unable to call a registered user >>> as FS thinks it's not registered. >>> I set up a multi-tenant configuration with 2 domains. The default domain >>> works fine. I can make calls between extensions in this domain without any >>> problems. The new domain d.balyakhov which accepts registrations but calls >>> can't get thru. >>> in paste bin http://pastebin.com/pnDAuXPV I attached a log with >>> "siptrace on" of such a call between 2 registered in this domain >>> extensions. FS rejected this call with a reason [USER_NOT_REGISTERED] >>> The question is how to overcome this problem? >>> >>> Thanks, Dmitry >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/ee5bea3d/attachment-0001.html From jnvines at gmail.com Wed Oct 31 00:18:16 2012 From: jnvines at gmail.com (Nick Vines) Date: Tue, 30 Oct 2012 17:18:16 -0400 Subject: [Freeswitch-users] Can't call registered user with a reason [USER_NOT_REGISTERED] In-Reply-To: References: Message-ID: There was a slight typo in the one from two messages ago. (For the sake of people that tend to copy/paste without reading). The ^^ might be something with the beginning of the line along the lines of regex things. Completely stabbing in the dark though. On Tue, Oct 30, 2012 at 5:04 PM, Jo?o Mesquita wrote: > This might sound (actually read) really dumb, but what's the ^^ in front > of the dialstring? > > Regards, > Jo?o Mesquita > > > > > On Tue, Oct 30, 2012 at 5:37 PM, Michael Collins wrote: > >> FYI, we recently updated the vanilla example config to have the "*/" in >> the dial-string param in conf/directory/default.xml. This makes it much >> less painful to make calls to users when you have registrations coming in >> on multiple profiles. For posterity's sake I'm pasting the old and the new >> dial-string param. >> -MC >> >> >> Old: >> >> > value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@ >> ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/> >> >> >> New: >> >> > value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@ >> ${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}"/> >> >> >> >> On Tue, Oct 30, 2012 at 5:15 AM, Anton Kvashenkin < >> anton.jugatsu at gmail.com> wrote: >> >>> Check out dial-string @ default.xml. Also, very handy tool is >>> sofia_contact */11, for example. If you are using separate sofia profiles >>> to register different users, you should check out force_register_domain @ >>> sofia.conf.xml appropriate profile. Also, don't forget to check out >>> for users directory for that users. >>> >>> 2012/10/30 Dmitry R >>> >>>> ** >>>> Hi, >>>> >>>> I've just faced with a problem of being unable to call a registered >>>> user as FS thinks it's not registered. >>>> I set up a multi-tenant configuration with 2 domains. The default >>>> domain works fine. I can make calls between extensions in this domain >>>> without any problems. The new domain d.balyakhov which accepts >>>> registrations but calls can't get thru. >>>> in paste bin http://pastebin.com/pnDAuXPV I attached a log with >>>> "siptrace on" of such a call between 2 registered in this domain >>>> extensions. FS rejected this call with a reason [USER_NOT_REGISTERED] >>>> The question is how to overcome this problem? >>>> >>>> Thanks, Dmitry >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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/20121030/f51a74dd/attachment.html From nasida at live.ru Wed Oct 31 00:29:23 2012 From: nasida at live.ru (Yuriy Nasida) Date: Wed, 31 Oct 2012 01:29:23 +0400 Subject: [Freeswitch-users] issue with mailer_app.php In-Reply-To: References: Message-ID: Update. I can send email via mailer_app.php by means of linux console. But FS still can not send email via mailer_app.php How I can debug this ? From: nasida at live.ru To: freeswitch-users at lists.freeswitch.org Date: Wed, 31 Oct 2012 00:25:12 +0400 Subject: [Freeswitch-users] issue with mailer_app.php Hi guys, My mailer_app.php stops working. it is from http://wiki.freeswitch.org/wiki/PHP_email I try to uderstand how to debug this. Fs_cli doesn't say anything usefull. Any help welcome.Thanks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121031/c44786eb/attachment.html From mario_fs at mgtech.com Wed Oct 31 00:48:05 2012 From: mario_fs at mgtech.com (Mario G) Date: Tue, 30 Oct 2012 14:48:05 -0700 Subject: [Freeswitch-users] Newbie at patches, can someone shed light on my git issue? In-Reply-To: References: <959AE919-D524-46C6-BFDF-1CEC8F5AACAC@mgtech.com> Message-ID: Thanks very much, I finally got it to work (after 12 hours), very close to yours: Start with clean freeswitch dir modify source /usr/local/src/freeswitch-head/freeswitch/libs/spandsp/src/gsm0610_rpe.c git branch gsm git add /usr/local/src/freeswitch-head/freeswitch/libs/spandsp/src/gsm0610_rpe.c git commit -m "Lion spandsp compat" git format-patch -1 On Oct 30, 2012, at 1:56 PM, Mitch Capper wrote: > So you clone freeswitch then: > git branch my_fix master #clones master into my_fix branch for you to work in > git checkout my_fix #switches to the my_fix branch > #make changes to the files you change or add > #Mark the changes for commit, ie: > git add src/switch.c #use git add for modified or new files > git commit -m "My Fix" #commits your changes > git format-patch -w 1 #makes a patch for the last commit > > The patch will contain the differences between the original code and > your code this is what you would put in a jira. > > ~mitch > > On Tue, Oct 30, 2012 at 9:10 AM, Mario G wrote: >> I have made some source changes to fix build issues. I spent all day yesterday trying to get git to build a patch. Many web sites have info but no a-z info for someone new to this (the FS wiki and others all assume you know git pretty well). I tried several things such as the sequence below. But all I can ever get is format-patch generating the whole program instead of just the changes. I am thinking it may have to do with what directory I put the patch in. I tried various places with no luck. Do I duplicate the freeswitch dir and compare the two? I tried using linux diff but it does not create what looks like a FS patch. Thanks, >> Mario G >> >> cd freeswitch >> mkdir afixes >> git checkout -b afixes >> put changed pgmname.c in afixes directory >> git add afixes/pgmname.c >> git commit -m "Lion spandsp compat" >> git format-patch master <-results in entire program added >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 From msc at freeswitch.org Wed Oct 31 01:09:51 2012 From: msc at freeswitch.org (Michael Collins) Date: Tue, 30 Oct 2012 15:09:51 -0700 Subject: [Freeswitch-users] Can't call registered user with a reason [USER_NOT_REGISTERED] In-Reply-To: References: Message-ID: On Tue, Oct 30, 2012 at 2:18 PM, Nick Vines wrote: > There was a slight typo in the one from two messages ago. (For the sake of > people that tend to copy/paste without reading). The ^^ might be something > with the beginning of the line along the lines of regex things. Completely > stabbing in the dark though. > > value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@ > ${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}"/> > The ^^: syntax changes the delimiter between variables. Normally it's a comma, but ^^: changes it to a colon. Doing ^^; would change it to a semicolon. Check out this section of the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#Handling_Variables_With_Commas -MC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121030/4db89ed5/attachment-0001.html From cal.leeming at simplicitymedialtd.co.uk Wed Oct 31 01:12:13 2012 From: cal.leeming at simplicitymedialtd.co.uk (Cal Leeming [Simplicity Media Ltd]) Date: Tue, 30 Oct 2012 22:12:13 +0000 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: References: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Message-ID: Hi Anthony, Thank you very much for clarifying, this has probably saved me a few hours! Could you possibly take a few minutes to explain when/why post_load is used, I found a related thread [1] and read the wiki page [2], but couldn't find any clear answer. [1] http://www.mail-archive.com/freeswitch-users at lists.freeswitch.org/msg06006.html [2] http://wiki.freeswitch.org/wiki/Mod_xml_curl This is both for my own knowledge, and also so I can submit a documentation patch :) Another thing I have noticed is that the mod_xml_curl wiki documentation is in much need of some TLC, and I'd be more than happy to donate a few hours towards re-factoring it (assuming the core team are happy for me to do this?) FS has saved me so much time and effort, so it'd be good to give something in return! Cheers Ca On Tue, Oct 30, 2012 at 5:44 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > when you serve switch.conf.xml over xml curl you have to wait for the call > to get "post_load_switch.conf" > The static switch.conf is already loaded but it calls this one after all > the modules are loaded in case you are using an xml binding to set > switch.conf values. > > > > On Tue, Oct 30, 2012 at 12:24 PM, Gabriel Gunderson wrote: > >> On Tue, Oct 30, 2012 at 7:32 AM, Cal Leeming [Simplicity Media Ltd] >> wrote: >> > The switch.conf is loaded in via mod_xml_curl. >> >> Are there other values in the switch.conf that you're serving up that >> appear to be working? >> >> Is switch.conf loaded after mod_xml_curl? Is there a copy of >> switch.conf on disk that it might be falling back to? What happens >> when you change the value in that file? >> >> >> Good luck and happy hacking! >> >> >> Gabe >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_minessale at hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888 at conference.freeswitch.org > googletalk:conf+888 at conference.freeswitch.org > pstn:+19193869900 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121030/2389cf05/attachment.html From krice at freeswitch.org Wed Oct 31 01:45:24 2012 From: krice at freeswitch.org (Ken Rice) Date: Tue, 30 Oct 2012 17:45:24 -0500 Subject: [Freeswitch-users] Strange problem with sessions-per-second - requires hard coding - wtf? In-Reply-To: References: <1FAABBAC-404E-4D91-BC9C-1A29AE73E653@gmail.com> Message-ID: hey cal we welcomeadditions to the documentation. let me know how i can help you get started. if need be stop by irc, i'm swk there On Oct 30, 2012 5:14 PM, "Cal Leeming [Simplicity Media Ltd]" < cal.leeming at simplicitymedialtd.co.uk> wrote: > Hi Anthony, > > Thank you very much for clarifying, this has probably saved me a few hours! > > Could you possibly take a few minutes to explain when/why post_load is > used, I found a related thread [1] and read the wiki page [2], but couldn't > find any clear answer. > > [1] > http://www.mail-archive.com/freeswitch-users at lists.freeswitch.org/msg06006.html > [2] http://wiki.freeswitch.org/wiki/Mod_xml_curl > > This is both for my own knowledge, and also so I can submit a > documentation patch :) > > Another thing I have noticed is that the mod_xml_curl wiki documentation > is in much need of some TLC, and I'd be more than happy to donate a few > hours towards re-factoring it (assuming the core team are happy for me to > do this?) > > FS has saved me so much time and effort, so it'd be good to give something > in return! > > Cheers > > Ca > > On Tue, Oct 30, 2012 at 5:44 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> when you serve switch.conf.xml over xml curl you have to wait for the >> call to get "post_load_switch.conf" >> The static switch.conf is already loaded but it calls this one after all >> the modules are loaded in case you are using an xml binding to set >> switch.conf values. >> >> >> >> On Tue, Oct 30, 2012 at 12:24 PM, Gabriel Gunderson wrote: >> >>> On Tue, Oct 30, 2012 at 7:32 AM, Cal Leeming [Simplicity Media Ltd] >>> wrote: >>> > The switch.conf is loaded in via mod_xml_curl. >>> >>> Are there other values in the switch.conf that you're serving up that >>> appear to be working? >>> >>> Is switch.conf loaded after mod_xml_curl? Is there a copy of >>> switch.conf on disk that it might be falling back to? What happens >>> when you change the value in that file? >>> >>> >>> Good luck and happy hacking! >>> >>> >>> Gabe >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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 >>> >> >> >> >> -- >> Anthony Minessale II >> >> FreeSWITCH http://www.freeswitch.org/ >> ClueCon http://www.cluecon.com/ >> Twitter: http://twitter.com/FreeSWITCH_wire >> >> AIM: anthm >> MSN:anthony_minessale at hotmail.com >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:888 at conference.freeswitch.org >> googletalk:conf+888 at conference.freeswitch.org >> pstn:+19193869900 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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/20121030/304352f6/attachment.html From a.venugopan at mundio.com Wed Oct 31 11:45:31 2012 From: a.venugopan at mundio.com (Archana Venugopan) Date: Wed, 31 Oct 2012 08:45:31 +0000 Subject: [Freeswitch-users] SQL ERR while running freeswitch In-Reply-To: <804D48104511D4468F0D60DF9D3100350AC77E8D@MAIL.millicorp.com> References: <592A9CF93E12394E8472A6CC66E66BF231BD76@Mail-Kilo.squay.com> <804D48104511D4468F0D60DF9D3100350AC77E8D@MAIL.millicorp.com> Message-ID: <592A9CF93E12394E8472A6CC66E66BF231BE16@Mail-Kilo.squay.com> Hi, As per the installation procedure after changing odbc.ini I ran this command /usr/local/freeswitch/bin/freeswitch After which I got this error. Regards, Archana From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tim Meade Sent: 30 October 2012 18:42 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SQL ERR while running freeswitch I know it's simple, but did you restart Freeswitch after configuring odbc.ini so that FS would create the appropriate tables? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: Tuesday, October 30, 2012 1:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] SQL ERR while running freeswitch Hi all, I have been facing issues while running freeswitch and I am facing with the below errors and I have installed the latest version of git. I have configured /etc/odbc.ini with the username and password. 012-10-29 16:53:22.108686 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Auto Generating Table! 2012-10-29 16:53:22.108761 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_registrations] [drop table sip_registrations] 2012-10-29 16:53:22.111151 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111246 [DEBUG] sofia.c:2413 Creating agent for internal 2012-10-29 16:53:22.111424 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111485 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_subscriptions] [DROP TABLE sip_subscriptions] 2012-10-29 16:53:22.112236 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Please do guide me on this. Many thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/9d2bdad3/attachment-0001.html From abdlquadri at googlemail.com Wed Oct 31 13:54:51 2012 From: abdlquadri at googlemail.com (Mumuney Abdlquadri) Date: Wed, 31 Oct 2012 11:54:51 +0100 Subject: [Freeswitch-users] application synchronisation between freeswitch and web Message-ID: Hi all, I am think of building an application like the demo here http://www.certificall.net/Try I noticed that the calls are in complete sync with the app. I am thinking to use ESL (maybe node-esl) and tunnel the events through socket.io. Am I thinking straight? Or does anyone have a better proposition? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/16496f26/attachment.html From avi at avimarcus.net Wed Oct 31 15:06:10 2012 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 31 Oct 2012 14:06:10 +0200 Subject: [Freeswitch-users] application synchronisation between freeswitch and web In-Reply-To: References: Message-ID: Wow, that sync is impressive. When it said "The number is.." the form appeared. When I hit enter, it flashed green on the site for success, and the call immediately ended. Node.js using node-esl and socket.io should be great for this. If you don't currently have a client-side javascript framework/helper, take a look at angular.js -Avi On Wed, Oct 31, 2012 at 12:54 PM, Mumuney Abdlquadri < abdlquadri at googlemail.com> wrote: > Hi all, > > I am think of building an application like the demo here > > http://www.certificall.net/Try > > I noticed that the calls are in complete sync with the app. > > I am thinking to use ESL (maybe node-esl) and tunnel the events through > socket.io. > > Am I thinking straight? Or does anyone have a better proposition? > > Regards. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121031/af98dc55/attachment.html From xyangni at gmail.com Wed Oct 31 16:46:43 2012 From: xyangni at gmail.com (Yihui Li) Date: Wed, 31 Oct 2012 13:46:43 +0000 Subject: [Freeswitch-users] GSMOPEN dongle port changes randomly Message-ID: Hi, I am using gsmopen on ubuntu 12.04LTS. With E169 dongle connected as ttyUSB0, ttyUSB1 and ttyUSB2. It runs well at first. But after days, all call failed. Checked the tty files, the ports on system is somehow changed to ttyUSB0, ttyUSB1 and ttyUSB3. ttyUSB2 just disappeared. Does anyone meet the same problem? How can I make it stable? Thanks. Regards, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/77c986a4/attachment.html From gmaruzz at gmail.com Wed Oct 31 16:56:31 2012 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 31 Oct 2012 14:56:31 +0100 Subject: [Freeswitch-users] GSMOPEN dongle port changes randomly In-Reply-To: References: Message-ID: unfortunately this seems to be a problem with some USB bus adapter. Best I can counseil is: 1) use an external powered (eg: with a power supply in the wall socket) USB hub, instead of connecting directly the dongle to the computer 2) ask ubuntu support or developers how to obtain predictable devices (maybe rules in udev?) On 10/31/12, Yihui Li wrote: > Hi, > > I am using gsmopen on ubuntu 12.04LTS. With E169 dongle connected as > ttyUSB0, ttyUSB1 and ttyUSB2. It runs well at first. But after days, all > call failed. Checked the tty files, the ports on system is somehow changed > to ttyUSB0, ttyUSB1 and ttyUSB3. ttyUSB2 just disappeared. > Does anyone meet the same problem? How can I make it stable? Thanks. > > Regards, > Eric > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 From a.venugopan at mundio.com Wed Oct 31 15:39:37 2012 From: a.venugopan at mundio.com (Archana Venugopan) Date: Wed, 31 Oct 2012 12:39:37 +0000 Subject: [Freeswitch-users] SQL ERR while running freeswitch In-Reply-To: <592A9CF93E12394E8472A6CC66E66BF231BE16@Mail-Kilo.squay.com> References: <592A9CF93E12394E8472A6CC66E66BF231BD76@Mail-Kilo.squay.com> <804D48104511D4468F0D60DF9D3100350AC77E8D@MAIL.millicorp.com> <592A9CF93E12394E8472A6CC66E66BF231BE16@Mail-Kilo.squay.com> Message-ID: <592A9CF93E12394E8472A6CC66E66BF231BECA@Mail-Kilo.squay.com> Hi, Database connection is executed [root at squay-laptop-1 log]# isql -v SMEPBX smepbx smeswitch +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> But still when I run freeswitch I am getting SQL ERR errors. Can someone please help me out, this looks so peculiar for me. Many thanks. Regards, Archana From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: 31 October 2012 08:46 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SQL ERR while running freeswitch Hi, As per the installation procedure after changing odbc.ini I ran this command /usr/local/freeswitch/bin/freeswitch After which I got this error. Regards, Archana From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tim Meade Sent: 30 October 2012 18:42 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SQL ERR while running freeswitch I know it's simple, but did you restart Freeswitch after configuring odbc.ini so that FS would create the appropriate tables? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: Tuesday, October 30, 2012 1:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] SQL ERR while running freeswitch Hi all, I have been facing issues while running freeswitch and I am facing with the below errors and I have installed the latest version of git. I have configured /etc/odbc.ini with the username and password. 012-10-29 16:53:22.108686 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Auto Generating Table! 2012-10-29 16:53:22.108761 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_registrations] [drop table sip_registrations] 2012-10-29 16:53:22.111151 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111246 [DEBUG] sofia.c:2413 Creating agent for internal 2012-10-29 16:53:22.111424 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111485 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_subscriptions] [DROP TABLE sip_subscriptions] 2012-10-29 16:53:22.112236 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Please do guide me on this. Many thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/78e164e3/attachment-0001.html From ivan.mironov at infra-it.ru Wed Oct 31 17:47:04 2012 From: ivan.mironov at infra-it.ru (Ivan Mironov) Date: Wed, 31 Oct 2012 20:47:04 +0600 Subject: [Freeswitch-users] GSMOPEN dongle port changes randomly In-Reply-To: References: Message-ID: <509139E8.70107@infra-it.ru> Some USB dongles with some firmware versions can sometimes spontaneously reboot or even freeze. In case of reboot, for host system it looks like modem has been unplugged and then plugged back. You can check kernel log (usually /var/log/kern.log in ubuntu) for related messages from USB subsystem. Device files /dev/ttyUSB* doesn't have any stable numbering scheme, especially when multiple USB-Serial adapters (or modems) connected to system. You can use symlinks from /dev/serial/by-id or /dev/serial/by-path if you wish stable device paths. Unfortunately, most vendors doesn't assign serial numbers to their dongles, so by-id/ not usable when you have more than one dongle from one vendor with same model name. Symlinks in by-path/ should be stable when connecting devices directly to motherboard USB ports without any USB hubs, but I'm not quite sure in that... Also, mod_gsmopen from 1.2.3 doesn't work with long device names, here is the bugreport with patch: http://jira.freeswitch.org/browse/FS-4691. 31.10.2012 19:46, Yihui Li ?????: > Hi, > > I am using gsmopen on ubuntu 12.04LTS. With E169 dongle connected as > ttyUSB0, ttyUSB1 and ttyUSB2. It runs well at first. But after days, all > call failed. Checked the tty files, the ports on system is somehow > changed to ttyUSB0, ttyUSB1 and ttyUSB3. ttyUSB2 just disappeared. > Does anyone meet the same problem? How can I make it stable? Thanks. > > Regards, > Eric > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- ? ?????????, ???? ??????? , ??? "?????-????". ????????? ???????: +7-912-479-2263 From a.venugopan at mundio.com Wed Oct 31 18:05:12 2012 From: a.venugopan at mundio.com (Archana Venugopan) Date: Wed, 31 Oct 2012 15:05:12 +0000 Subject: [Freeswitch-users] SQL ERR while running freeswitch In-Reply-To: <592A9CF93E12394E8472A6CC66E66BF231BECA@Mail-Kilo.squay.com> References: <592A9CF93E12394E8472A6CC66E66BF231BD76@Mail-Kilo.squay.com> <804D48104511D4468F0D60DF9D3100350AC77E8D@MAIL.millicorp.com> <592A9CF93E12394E8472A6CC66E66BF231BE16@Mail-Kilo.squay.com> <592A9CF93E12394E8472A6CC66E66BF231BECA@Mail-Kilo.squay.com> Message-ID: <592A9CF93E12394E8472A6CC66E66BF231BF37@Mail-Kilo.squay.com> Hi, To give you further information. This is my version FreeSWITCH Version 1.2.3+git~20121004T033301Z~94664868a8 (1.2.3; git at commit 94664868a8 on Thu, 04 Oct 2012 03:33:01 Z) Regards, Archana From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: 31 October 2012 12:40 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SQL ERR while running freeswitch Hi, Database connection is executed [root at squay-laptop-1 log]# isql -v SMEPBX smepbx smeswitch +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> But still when I run freeswitch I am getting SQL ERR errors. Can someone please help me out, this looks so peculiar for me. Many thanks. Regards, Archana From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: 31 October 2012 08:46 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SQL ERR while running freeswitch Hi, As per the installation procedure after changing odbc.ini I ran this command /usr/local/freeswitch/bin/freeswitch After which I got this error. Regards, Archana From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Tim Meade Sent: 30 October 2012 18:42 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SQL ERR while running freeswitch I know it's simple, but did you restart Freeswitch after configuring odbc.ini so that FS would create the appropriate tables? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Archana Venugopan Sent: Tuesday, October 30, 2012 1:53 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] SQL ERR while running freeswitch Hi all, I have been facing issues while running freeswitch and I am facing with the below errors and I have installed the latest version of git. I have configured /etc/odbc.ini with the username and password. 012-10-29 16:53:22.108686 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Auto Generating Table! 2012-10-29 16:53:22.108761 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_registrations] [drop table sip_registrations] 2012-10-29 16:53:22.111151 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111246 [DEBUG] sofia.c:2413 Creating agent for internal 2012-10-29 16:53:22.111424 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_subscriptions] [delete from sip_subscriptions where hostname='squay-laptop-1.squay.com' and full_to='XXX'] Auto Generating Table! 2012-10-29 16:53:22.111485 [DEBUG] switch_core_sqldb.c:979 SQL ERR [no such table: sip_subscriptions] [DROP TABLE sip_subscriptions] 2012-10-29 16:53:22.112236 [DEBUG] switch_core_sqldb.c:972 SQL ERR [no such table: sip_registrations] [delete from sip_registrations where (sub_host is null or contact like '%TCP%' or status like '%TCP%' or status like '%TLS%') and hostname='squay-laptop-1.squay.com' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'] Please do guide me on this. Many thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/a10cb1db/attachment.html From msc at freeswitch.org Wed Oct 31 18:20:36 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Oct 2012 08:20:36 -0700 Subject: [Freeswitch-users] FreeSWITCH Conference Call Today Message-ID: Hello All! On today's call we are happy to have Amitava Mukherjee from Redshift Networks. The folks at Redshift are experts when it comes to diagnosing and mitigating SIP attacks. We look forward to hearing from Amitava about the various threats that are occurring around the world. Please join us at 1PM Eastern, 10AM Pacific: http://wiki.freeswitch.org/wiki/FS_weekly_2012_10_31 Talk to you soon! -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/313cdbbc/attachment.html From georgediam at gmail.com Wed Oct 31 18:44:10 2012 From: georgediam at gmail.com (George Diamantopoulos) Date: Wed, 31 Oct 2012 17:44:10 +0200 Subject: [Freeswitch-users] Can anyone share freeswitch/freetdm tapping configuration files that work? Message-ID: Hello all, I've been trying to configure freeswitch with freetdm/ftmod_pritap, and in my book my configuration should work, but I'm getting some weird behaviour (missed calls, channels mixed up). So I was wondering whether anyone has and is willing to share a working set of config files that are known to work (maybe my dialplan or span definitions are messed up or something?). I doubt they will be of any use to anyone, but my configs can be found at the following JIRA ticket: http://jira.freeswitch.org/browse/OPENZAP-198 Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/eae2c03b/attachment-0001.html From krice at freeswitch.org Wed Oct 31 19:15:16 2012 From: krice at freeswitch.org (Ken Rice) Date: Wed, 31 Oct 2012 11:15:16 -0500 Subject: [Freeswitch-users] http://wiki.freeswitch.org/wiki/Mod_xml_curl updated and big thanks to Cal Message-ID: Hey Guys, I gotta take the time to say thanks to Cal Leeming... Cal had a problem with the documentation as many of us do, he got on the mailing list and figured his issues out, then took the time to totally re-write the mod_xml_curl page on the wiki. This is a perfect example of how wikis work... So Cal, Thanks! You earned it and paid the wiki tax all at the same time. Yes there are other people that make wiki edits on a regular basis, but there are a very large number more people that can assist with this. Tony and the core team cant do it alone, Help us help you, by helping each other! And don?t forget Join us on 888 today for the weekly call, and join us on Friday for the Free For All!! K -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/b49eb1ad/attachment.html From jnvines at gmail.com Wed Oct 31 19:28:06 2012 From: jnvines at gmail.com (Nick Vines) Date: Wed, 31 Oct 2012 12:28:06 -0400 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: References: Message-ID: Just a little reminder in case this slipped out of mind. Some of the conference recordings have broken links. Nick On Tue, Oct 23, 2012 at 12:19 PM, Michael Collins wrote: > Thanks for the heads up. Raymond and I are checking into it. > -MC > > > On Tue, Oct 23, 2012 at 7:57 AM, Nick Vines wrote: > >> Still getting 404 for the following conference recordings. >> >> 2012_10_17 >> 2012_10_10 >> and >> 2012_08_15 >> >> http://wiki.freeswitch.org/wiki/Weekly_Conference_Call >> >> Nick >> >> On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT Limited >> wrote: >> >>> I get 404's for those two torrent links. >>> >>> >>> Stuart >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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/20121031/d5bee844/attachment.html From blee at gocentrix.com Wed Oct 31 19:13:25 2012 From: blee at gocentrix.com (Bryant Lee) Date: Wed, 31 Oct 2012 12:13:25 -0400 Subject: [Freeswitch-users] mod_rtmp included flex client not reliably getting a session_id Message-ID: Hi All! We have been experimenting with mod_rtmp and the included flex client, and it works quite well except the flash app reliably getting a session_id. This is a problem because without a session ID I am not able to login as a user, or for our implementation, to let our webserver to know what the session_id so we can log in the user via the ESL. The URL is a pcap of 2 consecutive connections to our local test FS box, with no firewalls in between. If you filter out only rtmpt you will see the connections. It is important to note, that Freeswitch seems think everything is 100% and good to go. I can actually log in a session from the CLI, when the flex client doesn't think its connected. 192.168.88.120 = Client 192.168.88.231 = Freeswitch Packets 7-18: First failed connection Packets 28-38: First successful connection Anyone familiar enough with the Flex client or mod_rtmp have any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/c371d140/attachment.html From msc at freeswitch.org Wed Oct 31 19:32:43 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Oct 2012 09:32:43 -0700 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: References: Message-ID: Thanks for the reminders. We'll get to them as soon as possible. -MC On Wed, Oct 31, 2012 at 9:28 AM, Nick Vines wrote: > Just a little reminder in case this slipped out of mind. Some of the > conference recordings have broken links. > > Nick > > On Tue, Oct 23, 2012 at 12:19 PM, Michael Collins wrote: > >> Thanks for the heads up. Raymond and I are checking into it. >> -MC >> >> >> On Tue, Oct 23, 2012 at 7:57 AM, Nick Vines wrote: >> >>> Still getting 404 for the following conference recordings. >>> >>> 2012_10_17 >>> 2012_10_10 >>> and >>> 2012_08_15 >>> >>> http://wiki.freeswitch.org/wiki/Weekly_Conference_Call >>> >>> Nick >>> >>> On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT Limited >>> wrote: >>> >>>> I get 404's for those two torrent links. >>>> >>>> >>>> Stuart >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/02c41001/attachment-0001.html From krice at freeswitch.org Wed Oct 31 19:34:12 2012 From: krice at freeswitch.org (Ken Rice) Date: Wed, 31 Oct 2012 11:34:12 -0500 Subject: [Freeswitch-users] Wiki Call Recording Torrents - 404 In-Reply-To: Message-ID: Some of these might actually not have recordings... Collins I still have a pile of backups for many of these in mp3 format... Get with me after todays call and we?ll look to see if any of them match up On 10/31/12 11:28 AM, "Nick Vines" wrote: > Just a little reminder in case this slipped out of mind. Some of the > conference recordings have broken links.? > > Nick? > > On Tue, Oct 23, 2012 at 12:19 PM, Michael Collins wrote: >> Thanks for the heads up. Raymond and I are checking into it. >> -MC >> >> >> On Tue, Oct 23, 2012 at 7:57 AM, Nick Vines wrote: >>> Still getting 404 for the following conference recordings. >>> >>> 2012_10_17 >>> 2012_10_10 >>> and >>> 2012_08_15 >>> >>> http://wiki.freeswitch.org/wiki/Weekly_Conference_Call >>> >>> Nick >>> >>> On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT Limited >>> wrote: >>>> I get 404's for those two torrent links. >>>> >>>> >>>> Stuart >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >> >> -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/19ad5891/attachment.html From slickwilly2000 at gmx.de Wed Oct 31 19:34:41 2012 From: slickwilly2000 at gmx.de (=?iso-8859-1?Q?=22Alex_M=FCller=22?=) Date: Wed, 31 Oct 2012 17:34:41 +0100 Subject: [Freeswitch-users] Strange behaviour of codec-negotiation Message-ID: <20121031163441.75650@gmx.net> Hey guys! I have a real problem with FreeSWITCH (latest GIT) and the codec negotiation. I tried all, even did packet-capturing with wireshark. Something goes wrong with negotiation. First of all an overview: Siemens OpenStage (Phone) <-- internal-profile --> FreeSWITCH (Gateway) <-- external-profile --> FRITZ!Box 7270 (Gateway) Siemens OpenStage codec-order: G722,PCMA,PCMU,G729 FreeSWITCH internal-sofia-profile: FreeSWITCH external-sofia-profile: 1) When I originate a call to a cellphone from the Siemens OpenStage, the phone offers G722, PCMA, PCMU and G729 in the INVITE to FreeSWITCH. All ok! 2) FreeSWITCH forwards this INVITE to the FRITZ!Box 7270. All ok! 3) FRITZ!Box 7270 answers the INVITE with a "100 Trying" to FreeSWITCH. All ok! 4) FRITZ!Box 7270 sends a "183 Session progress" with SDP to FreeSWITCH and offers G722, PCMA and PCMU. All ok! 5) FreeSWITCH sends this "183 Session progress" with SDP to Siemens OpenStage and offers only G722. All ok! At this stage, the codec is negotiated and I can hear the ringing (early media) without any problems. 6) When picking up the call on the cellphone, FreeSWITCH receives a "200 OK" with SDP from FRITZ!Box 7270. In the SDP there is codec-change and the FRITZ!Box 7270 now offers only PCMA and PCMU. 7) FreeSWITCH sends an "ACK" to FRITZ!Box 7270. 8) FreeSWITCH sends the "200 OK" to the Siemens OpenStage but still offers only "G722" and not the "new" "PCMA, PCMU". 9) FRITZ!Box 7270 sends an "ACK" to FreeSWITCH. 9) FRITZ!Box 7270 sends its media still in G722. The result is: The Siemens OpenStage does not receive any packets and there is a complete silence on the phone. On the cellphone, I receive a complete distorted voice. It sounds like a "kidnapper". Wireshark shows the following with the rtp-media: FreeSWITCH --G722--> FRITZ!Box 7270 FreeSWITCH <--PCMA-- FRITZ!Box 7270 Siemens OpenStage -----G722--> FreeSWITCH Siemens OpenStage <--no packets-- FreeSWITCH Can anybody help? Why does FreeSWITCH don't propogate the second SDP (with the "200 OK Message") to the Siemens OpenStage? Alex From blee at gocentrix.com Wed Oct 31 19:38:01 2012 From: blee at gocentrix.com (Bryant Lee) Date: Wed, 31 Oct 2012 12:38:01 -0400 Subject: [Freeswitch-users] mod_rtmp included flex client not reliably getting a session_id Message-ID: Sorry, here is the link to the capture: https://dl.dropbox.com/u/59830905/out.pcap Best regards, On Wed, Oct 31, 2012 at 12:33 PM, < freeswitch-users-request at lists.freeswitch.org> 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. http://wiki.freeswitch.org/wiki/Mod_xml_curl updated and big > thanks to Cal (Ken Rice) > 2. Re: Wiki Call Recording Torrents - 404 (Nick Vines) > 3. mod_rtmp included flex client not reliably getting a > session_id (Bryant Lee) > 4. Re: Wiki Call Recording Torrents - 404 (Michael Collins) > > > ---------- Forwarded message ---------- > From: Ken Rice > To: FreeSWITCH Users Help > Cc: > Date: Wed, 31 Oct 2012 11:15:16 -0500 > Subject: [Freeswitch-users] http://wiki.freeswitch.org/wiki/Mod_xml_curlupdated and big thanks to Cal > Hey Guys, > > I gotta take the time to say thanks to Cal Leeming... > > Cal had a problem with the documentation as many of us do, he got on the > mailing list and figured his issues out, then took the time to totally > re-write the mod_xml_curl page on the wiki. > > This is a perfect example of how wikis work... > > So Cal, Thanks! You earned it and paid the wiki tax all at the same time. > > Yes there are other people that make wiki edits on a regular basis, but > there are a very large number more people that can assist with this. Tony > and the core team cant do it alone, Help us help you, by helping each other! > > And don?t forget Join us on 888 today for the weekly call, and join us on > Friday for the Free For All!! > > K > > -- > Ken > *http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > *irc.freenode.net #freeswitch > > > ---------- Forwarded message ---------- > From: Nick Vines > To: FreeSWITCH Users Help > Cc: > Date: Wed, 31 Oct 2012 12:28:06 -0400 > Subject: Re: [Freeswitch-users] Wiki Call Recording Torrents - 404 > Just a little reminder in case this slipped out of mind. Some of the > conference recordings have broken links. > > Nick > > On Tue, Oct 23, 2012 at 12:19 PM, Michael Collins wrote: > >> Thanks for the heads up. Raymond and I are checking into it. >> -MC >> >> >> On Tue, Oct 23, 2012 at 7:57 AM, Nick Vines wrote: >> >>> Still getting 404 for the following conference recordings. >>> >>> 2012_10_17 >>> 2012_10_10 >>> and >>> 2012_08_15 >>> >>> http://wiki.freeswitch.org/wiki/Weekly_Conference_Call >>> >>> Nick >>> >>> On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT Limited >>> wrote: >>> >>>> I get 404's for those two torrent links. >>>> >>>> >>>> Stuart >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at freeswitch.org >>>> http://www.freeswitchsolutions.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://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 >>> >>> >> >> >> -- >> Michael S Collins >> Twitter: @mercutioviz >> http://www.FreeSWITCH.org >> http://www.ClueCon.com >> http://www.OSTAG.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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 >> >> > > > ---------- Forwarded message ---------- > From: Bryant Lee > To: freeswitch-users at lists.freeswitch.org > Cc: > Date: Wed, 31 Oct 2012 12:13:25 -0400 > Subject: [Freeswitch-users] mod_rtmp included flex client not reliably > getting a session_id > Hi All! > > We have been experimenting with mod_rtmp and the included flex client, and > it works quite well except the flash app reliably getting a session_id. > This is a problem because without a session ID I am not able to login as a > user, or for our implementation, to let our webserver to know what the > session_id so we can log in the user via the ESL. > > The URL is a pcap of 2 consecutive connections to our local test FS box, > with no firewalls in between. If you filter out only rtmpt you will see > the connections. > > It is important to note, that Freeswitch seems think everything is 100% > and good to go. I can actually log in a session from the CLI, when the > flex client doesn't think its connected. > > 192.168.88.120 = Client > 192.168.88.231 = Freeswitch > > Packets 7-18: First failed connection > Packets 28-38: First successful connection > > Anyone familiar enough with the Flex client or mod_rtmp have any ideas? > > > ---------- Forwarded message ---------- > From: Michael Collins > To: FreeSWITCH Users Help > Cc: > Date: Wed, 31 Oct 2012 09:32:43 -0700 > Subject: Re: [Freeswitch-users] Wiki Call Recording Torrents - 404 > Thanks for the reminders. We'll get to them as soon as possible. > -MC > > On Wed, Oct 31, 2012 at 9:28 AM, Nick Vines wrote: > >> Just a little reminder in case this slipped out of mind. Some of the >> conference recordings have broken links. >> >> Nick >> >> On Tue, Oct 23, 2012 at 12:19 PM, Michael Collins wrote: >> >>> Thanks for the heads up. Raymond and I are checking into it. >>> -MC >>> >>> >>> On Tue, Oct 23, 2012 at 7:57 AM, Nick Vines wrote: >>> >>>> Still getting 404 for the following conference recordings. >>>> >>>> 2012_10_17 >>>> 2012_10_10 >>>> and >>>> 2012_08_15 >>>> >>>> http://wiki.freeswitch.org/wiki/Weekly_Conference_Call >>>> >>>> Nick >>>> >>>> On Fri, Oct 19, 2012 at 9:12 AM, Stuart Gilbertson | Consider IT >>>> Limited wrote: >>>> >>>>> I get 404's for those two torrent links. >>>>> >>>>> >>>>> Stuart >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.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://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 >>>> >>>> >>> >>> >>> -- >>> Michael S Collins >>> Twitter: @mercutioviz >>> http://www.FreeSWITCH.org >>> http://www.ClueCon.com >>> http://www.OSTAG.org >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at freeswitch.org >>> http://www.freeswitchsolutions.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://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 >> >> > > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/2b6e3156/attachment-0001.html From drk at drkngs.net Wed Oct 31 20:15:48 2012 From: drk at drkngs.net (Dave R. Kompel) Date: Wed, 31 Oct 2012 10:15:48 -0700 Subject: [Freeswitch-users] application synchronisation between freeswitch and web In-Reply-To: Message-ID: <20121031171548.73626745@mail.tritonwest.net> I didn't see Michael get this posted so here's a private download link to last weeks conference call demo, using SignalR, inside FS, and JS on the web side plus KnockOutJS to maintain a web page. For those of you that didn't see the demo, there is a very small IVR application in FS written in C# using mod_managed, which just in a loop has you input digits. It also implments a self hosted SignalR end point, that a web page talks to, to keep a table in sync with the channels that are in the simple dial plan app. The display is 100% real time. This could be done with other tech, including node.js, talking to something in Spidermonkey JS, on FS, or any other language. Or anything else you wanted to do to have a Dialplan App talk to a server, that also comunited to a web site. Here's the download of the code: http://download.drknetworking.com/RTMonDemo.zip --Dave _____ From: Avi Marcus [mailto:avi at avimarcus.net] To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org] Sent: Wed, 31 Oct 2012 05:06:10 -0700 Subject: Re: [Freeswitch-users] application synchronisation between freeswitch and web Wow, that sync is impressive. When it said "The number is.." the form appeared. When I hit enter, it flashed green on the site for success, and the call immediately ended. Node.js using node-esl and socket.io should be great for this. If you don't currently have a client-side javascript framework/helper, take a look at angular.js -Avi On Wed, Oct 31, 2012 at 12:54 PM, Mumuney Abdlquadri wrote: Hi all, I am think of building an application like the demo here http://www.certificall.net/Try I noticed that the calls are in complete sync with the app. I am thinking to use ESL (maybe node-esl) and tunnel the events through socket.io. Am I thinking straight? Or does anyone have a better proposition? Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.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/20121031/d68aad9e/attachment.html From a.venugopan at mundio.com Wed Oct 31 20:21:13 2012 From: a.venugopan at mundio.com (Archana Venugopan) Date: Wed, 31 Oct 2012 17:21:13 +0000 Subject: [Freeswitch-users] sofia_reg.c:2452 Can't find user Message-ID: <592A9CF93E12394E8472A6CC66E66BF231C039@Mail-Kilo.squay.com> Hi, I am getting the below warning when I register my phone. I have registered the phone correctly but not sure from where this message is being picked up. Am i missing something? Can anyone point me out please. Many thanks 2012-10-31 17:06:04.798150 [WARNING] sofia_reg.c:2452 Can't find user [100 at fsfailover.uk01.com] You must define a domain called 'fsfailover.uk01.com' in your directory and add a user with the id="100" attribute and you must configure your device to use the proper domain in it's authentication credentials. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/2e71629d/attachment.html From areski at gmail.com Wed Oct 31 20:19:04 2012 From: areski at gmail.com (areski) Date: Wed, 31 Oct 2012 10:19:04 -0700 (PDT) Subject: [Freeswitch-users] Using Freeswitch as a High CPS Outbound Dialer In-Reply-To: References: <29D83EEE-CDB0-4A74-9A3B-E8239F0D2726@freeswitch.org> Message-ID: <1351703943778-7584161.post@n2.nabble.com> To clarify we updated the license to MPL V2.0 after we presented the project on wed conf, https://github.com/Star2Billing/newfies-dialer/blob/master/COPYING Strangely we updated the license everywhere (doc, github, license section) except on the front page, ummm big fail :/ /Areski -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Using-Freeswitch-as-a-High-CPS-Outbound-Dialer-tp7584033p7584161.html Sent from the freeswitch-users mailing list archive at Nabble.com. From anthony.minessale at gmail.com Wed Oct 31 21:11:37 2012 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 31 Oct 2012 13:11:37 -0500 Subject: [Freeswitch-users] Strange behaviour of codec-negotiation In-Reply-To: <20121031163441.75650@gmx.net> References: <20121031163441.75650@gmx.net> Message-ID: As soon as you type Problem, that's when you should realize you should be on jira and not on the users list. Use Jira and attach full debug logs as documented on the wiki with "sofia global siptrace on" and "console loglevel debug" On Wed, Oct 31, 2012 at 11:34 AM, "Alex M?ller" wrote: > Hey guys! > > I have a real problem with FreeSWITCH (latest GIT) and the codec > negotiation. I tried all, even did packet-capturing with wireshark. > Something goes wrong with negotiation. First of all an overview: > > Siemens OpenStage (Phone) <-- internal-profile --> FreeSWITCH (Gateway) > <-- external-profile --> FRITZ!Box 7270 (Gateway) > > Siemens OpenStage codec-order: > G722,PCMA,PCMU,G729 > > FreeSWITCH internal-sofia-profile: > > > > > FreeSWITCH external-sofia-profile: > > > > > > 1) When I originate a call to a cellphone from the Siemens OpenStage, the > phone offers G722, PCMA, PCMU and G729 in the INVITE to FreeSWITCH. All ok! > 2) FreeSWITCH forwards this INVITE to the FRITZ!Box 7270. All ok! > 3) FRITZ!Box 7270 answers the INVITE with a "100 Trying" to FreeSWITCH. > All ok! > 4) FRITZ!Box 7270 sends a "183 Session progress" with SDP to FreeSWITCH > and offers G722, PCMA and PCMU. All ok! > 5) FreeSWITCH sends this "183 Session progress" with SDP to Siemens > OpenStage and offers only G722. All ok! At this stage, the codec is > negotiated and I can hear the ringing (early media) without any problems. > 6) When picking up the call on the cellphone, FreeSWITCH receives a "200 > OK" with SDP from FRITZ!Box 7270. In the SDP there is codec-change and the > FRITZ!Box 7270 now offers only PCMA and PCMU. > 7) FreeSWITCH sends an "ACK" to FRITZ!Box 7270. > 8) FreeSWITCH sends the "200 OK" to the Siemens OpenStage but still offers > only "G722" and not the "new" "PCMA, PCMU". > 9) FRITZ!Box 7270 sends an "ACK" to FreeSWITCH. > 9) FRITZ!Box 7270 sends its media still in G722. > > The result is: > > The Siemens OpenStage does not receive any packets and there is a complete > silence on the phone. > On the cellphone, I receive a complete distorted voice. It sounds like a > "kidnapper". > > Wireshark shows the following with the rtp-media: > > FreeSWITCH --G722--> FRITZ!Box 7270 > FreeSWITCH <--PCMA-- FRITZ!Box 7270 > > Siemens OpenStage -----G722--> FreeSWITCH > Siemens OpenStage <--no packets-- FreeSWITCH > > > Can anybody help? Why does FreeSWITCH don't propogate the second SDP (with > the "200 OK Message") to the Siemens OpenStage? > > > Alex > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale at hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888 at conference.freeswitch.org googletalk:conf+888 at conference.freeswitch.org pstn:+19193869900 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/1f552175/attachment.html From spencer at 5ninesolutions.com Wed Oct 31 21:16:21 2012 From: spencer at 5ninesolutions.com (Spencer Thomason) Date: Wed, 31 Oct 2012 11:16:21 -0700 Subject: [Freeswitch-users] FreeTDM with old a101 Message-ID: Hello, I have an old Sangoma a101 that I'd like to use with FreeSWITCH. When I try to configure it, I receive the error "Old a101/102 card not supported in this release!!! with FreeSwitch". If anyone can help out with any versioning (Wanpipe, Kernel, Distro, etc.) info that would work, I'd be greatly appreciative! It's really old I know :-) #wanrouter hwprobe ------------------------------- | Wanpipe Hardware Probe Info | ------------------------------- 1 . AFT-A101c : SLOT=3 : BUS=1 : IRQ=28 : CPU=A : PORT=PRI : V=25 Sangoma Card Count: A101-2=1 Thanks, Spencer From rdmitry0911 at gmail.com Wed Oct 31 21:29:55 2012 From: rdmitry0911 at gmail.com (Dmitry R) Date: Wed, 31 Oct 2012 22:29:55 +0400 Subject: [Freeswitch-users] Passing dtmf to an IVR behind Google Voice problem In-Reply-To: Message-ID: Hi, does anybody know how to pass dtmf codes to an IVR behind the Google Voice entrance number? A simple example code from http://wiki.freeswitch.org/wiki/Google_Voice doesn't work for me. DTMF codes can't get thru. Everything else other then that works fine. Any help would be very much appreciated, Dmitry From yiftah at choochee.com Wed Oct 31 22:04:48 2012 From: yiftah at choochee.com (Yiftach Golan) Date: Wed, 31 Oct 2012 12:04:48 -0700 Subject: [Freeswitch-users] [Freeswitch-dev] FreeSWITCH Conference Call Today In-Reply-To: References: Message-ID: Hi Michael, I was attending in today's conference it was very interesting Would you be interesting in a number in Germany for the conference? (for free, a small donation from our company) I can just redirect the number to : sip:888 at conference.freeswitch.org Any other countries you are interested in ? Thanks, Yiftach. On Wed, Oct 31, 2012 at 8:20 AM, Michael Collins wrote: > Hello All! > > On today's call we are happy to have Amitava Mukherjee from Redshift > Networks. The folks at Redshift are experts when it comes to diagnosing and > mitigating SIP attacks. We look forward to hearing from Amitava about the > various threats that are occurring around the world. Please join us at 1PM > Eastern, 10AM Pacific: > > http://wiki.freeswitch.org/wiki/FS_weekly_2012_10_31 > > Talk to you soon! > > -- > Michael S Collins > Twitter: @mercutioviz > http://www.FreeSWITCH.org > http://www.ClueCon.com > http://www.OSTAG.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.com > > > > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-dev mailing list > FreeSWITCH-dev at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/a07b3d1e/attachment.html From msc at freeswitch.org Wed Oct 31 23:28:20 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Oct 2012 13:28:20 -0700 Subject: [Freeswitch-users] application synchronisation between freeswitch and web In-Reply-To: <20121031171548.73626745@mail.tritonwest.net> References: <20121031171548.73626745@mail.tritonwest.net> Message-ID: Sorry, I meant to get this on there... I've added this link for the time being until such time as I can physically put the files out on the server. -MC On Wed, Oct 31, 2012 at 10:15 AM, Dave R. Kompel wrote: > ** > I didn't see Michael get this posted so here's a private download link to > last weeks conference call demo, using SignalR, inside FS, and JS on the > web side plus KnockOutJS to maintain a web page. > > For those of you that didn't see the demo, there is a very small IVR > application in FS written in C# using mod_managed, which just in a loop has > you input digits. It also implments a self hosted SignalR end point, that a > web page talks to, to keep a table in sync with the channels that are in > the simple dial plan app. The display is 100% real time. > > This could be done with other tech, including node.js, talking to > something in Spidermonkey JS, on FS, or any other language. Or anything > else you wanted to do to have a Dialplan App talk to a server, that also > comunited to a web site. > > Here's the download of the code: > http://download.drknetworking.com/RTMonDemo.zip > > --Dave > > ------------------------------ > *From:* Avi Marcus [mailto:avi at avimarcus.net] > *To:* FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org] > *Sent:* Wed, 31 Oct 2012 05:06:10 -0700 > *Subject:* Re: [Freeswitch-users] application synchronisation between > freeswitch and web > > Wow, that sync is impressive. > When it said "The number is.." the form appeared. > When I hit enter, it flashed green on the site for success, and the > call immediately ended. > > Node.js using node-esl and socket.io should be great for this. > If you don't currently have a client-side javascript framework/helper, > take a look at angular.js > > -Avi > > > On Wed, Oct 31, 2012 at 12:54 PM, Mumuney Abdlquadri < > abdlquadri at googlemail.com> wrote: > >> Hi all, >> >> I am think of building an application like the demo here >> >> http://www.certificall.net/Try >> >> I noticed that the calls are in complete sync with the app. >> >> I am thinking to use ESL (maybe node-esl) and tunnel the events through >> socket.io. >> >> Am I thinking straight? Or does anyone have a better proposition? >> >> Regards. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at freeswitch.org >> http://www.freeswitchsolutions.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://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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/add2907c/attachment.html From msc at freeswitch.org Wed Oct 31 23:29:33 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Oct 2012 13:29:33 -0700 Subject: [Freeswitch-users] sofia_reg.c:2452 Can't find user In-Reply-To: <592A9CF93E12394E8472A6CC66E66BF231C039@Mail-Kilo.squay.com> References: <592A9CF93E12394E8472A6CC66E66BF231C039@Mail-Kilo.squay.com> Message-ID: What precipitated this message? Was it a phone call to user 100? In any case a full debug log put out on pastebin.freeswitch.org would be very helpful. -MC On Wed, Oct 31, 2012 at 10:21 AM, Archana Venugopan wrote: > Hi,**** > > ** ** > > I am getting the below warning when I register my phone. I have registered > the phone correctly but not sure from where this message is being picked > up. Am i missing something? Can anyone point me out please. Many thanks*** > * > > ** ** > > 2012-10-31 17:06:04.798150 [WARNING] sofia_reg.c:2452 Can't find user [ > 100 at fsfailover.uk01.com]**** > > You must define a domain called 'fsfailover.uk01.com' in your directory > and add a user with the id="100" attribute**** > > and you must configure your device to use the proper domain in it's > authentication credentials.**** > > ** ** > > Regards,**** > > Archana**** > > ** ** > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/c12c3d8f/attachment-0001.html From msc at freeswitch.org Wed Oct 31 23:31:04 2012 From: msc at freeswitch.org (Michael Collins) Date: Wed, 31 Oct 2012 13:31:04 -0700 Subject: [Freeswitch-users] Passing dtmf to an IVR behind Google Voice problem In-Reply-To: References: Message-ID: For the sake of posterity (and search engines) there's a workaround mentioned here: http://wiki.freeswitch.org/wiki/Dingaling#How_do_I_send_DTMF_with_Googletalk.3F -MC On Wed, Oct 31, 2012 at 11:29 AM, Dmitry R wrote: > Hi, does anybody know how to pass dtmf codes to an IVR behind the Google > Voice entrance number? > A simple example code from http://wiki.freeswitch.org/wiki/Google_Voice > > > > > > > > > doesn't work for me. DTMF codes can't get thru. Everything else other then > that works fine. > > Any help would be very much appreciated, Dmitry > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at freeswitch.org > http://www.freeswitchsolutions.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 > -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121031/8b2967a7/attachment.html